MultiframeImageWatermarkOptions Class
Represents watermark adding options when adding watermark to a multi-frame image.
Inheritance Hierarchy

Namespace: GroupDocs.Watermark.Options.Image
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 19.11.0
Syntax
public class MultiframeImageWatermarkOptions : WatermarkOptions

The MultiframeImageWatermarkOptions type exposes the following members.

Constructors
  NameDescription
Public methodMultiframeImageWatermarkOptions
Initializes a new instance of the MultiframeImageWatermarkOptions class.
Public methodMultiframeImageWatermarkOptions(Int32)
Initializes a new instance of the MultiframeImageWatermarkOptions class.
Properties
  NameDescription
Public propertyFrameIndex
Gets or sets the index of frame to add watermark.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
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