MultiframeImageWatermarkOptions
Leave feedback
On this page
Represents watermark adding options when adding watermark to a multi-frame image.
public class MultiframeImageWatermarkOptions : WatermarkOptions
| Name | Description |
|---|---|
| MultiframeImageWatermarkOptions() | Initializes a new instance of the MultiframeImageWatermarkOptions class. |
| MultiframeImageWatermarkOptions(int) | Initializes a new instance of the MultiframeImageWatermarkOptions class with a specified index of the frame. |
| Name | Description |
|---|---|
| FrameIndex { get; set; } | Gets or sets the index of frame to add watermark. |
Learn more:
Add watermark to a particular frame of multi-frame image.
ImageLoadOptions loadOptions = new ImageLoadOptions();
using (Watermarker watermarker = new Watermarker(@"C:\test.gif", loadOptions))
{
TextWatermark watermark = new TextWatermark("Test", new Font("Arial", 12));
MultiframeImageWatermarkOptions options = new MultiframeImageWatermarkOptions();
options.FrameIndex = 0;
watermarker.Add(watermark, options);
watermarker.Save();
}
- class WatermarkOptions
- namespace GroupDocs.Watermark.Options.Image
- assembly GroupDocs.Watermark
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.