MultiframeImageWatermarkOptions
Contents
[
Hide
]
MultiframeImageWatermarkOptions class
Represents watermark adding options when adding watermark to a multi-frame image.
public class MultiframeImageWatermarkOptions : WatermarkOptions
Constructors
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. |
Properties
Name | Description |
---|---|
FrameIndex { get; set; } | Gets or sets the index of frame to add watermark. |
Remarks
Learn more:
Examples
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();
}
See Also
- class WatermarkOptions
- namespace GroupDocs.Watermark.Options.Image
- assembly GroupDocs.Watermark