GifImageWatermarkOptions
Leave feedback
On this page
Represents watermark adding options when adding watermark to a GIF image.
public sealed class GifImageWatermarkOptions : MultiframeImageWatermarkOptions
| Name | Description |
|---|---|
| GifImageWatermarkOptions() | Initializes a new instance of the GifImageWatermarkOptions class. |
| GifImageWatermarkOptions(int) | Initializes a new instance of the GifImageWatermarkOptions class with a specified index of a frame. |
| Name | Description |
|---|---|
| FrameIndex { get; set; } | Gets or sets the index of frame to add watermark. |
Learn more:
Add a watermark to a particular frame of GIF image.
GifImageLoadOptions loadOptions = new GifImageLoadOptions();
using (Watermarker watermarker = new Watermarker(@"C:\test.gif", loadOptions))
{
TextWatermark watermark = new TextWatermark("Test", new Font("Arial", 12));
GifImageWatermarkOptions options = new GifImageWatermarkOptions();
options.FrameIndex = 0;
watermarker.Add(watermark, options);
watermarker.Save();
}
- class MultiframeImageWatermarkOptions
- 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.