# WatermarkBuffer (/zh-CN/api-reference/rtc/macos/class-watermarkbuffer) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```objc __attribute__((visibility("default"))) @interface WatermarkBuffer : NSObject @property(assign, nonatomic) int width; @property(assign, nonatomic) int height; @property(assign, nonatomic) int length; @property(strong, nonatomic) NSData* _Nullable buffer; @property(assign, nonatomic) WatermarkBufferFormat format; @end ``` :::info[自从] 自 v4.6.0 版本新增。 ::: 包括图像的宽度、高度、长度、图像数据缓冲区和格式。 ## 属性 [#属性] 水印图像的宽度,单位为像素。 水印图像的高度,单位为像素。 缓冲区的长度,单位为字节。 原始图像数据缓冲区。 水印缓冲区的格式,详见 [WatermarkBufferFormat](/zh-CN/api-reference/rtc/macos/enum-watermarkbufferformat)。