Class GifOptions

GifOptions class

The gif file format creation options.

public class GifOptions : ImageOptionsBase


GifOptions()Initializes a new instance of the GifOptions class.
GifOptions(GifOptions)Initializes a new instance of the GifOptions class.


BackgroundColorIndex { get; set; }Gets or sets the GIF background color index.
CancellationToken { get; set; }Token that can be used to interrupt export operation
ColorResolution { get; set; }Gets or sets the GIF color resolution.
DoPaletteCorrection { get; set; }Gets or sets a value indicating whether palette correction is applied.
HasTrailer { get; set; }Gets or sets a value indicating whether GIF has trailer.
Interlaced { get; set; }True if image should be interlaced.
IsPaletteSorted { get; set; }Gets or sets a value indicating whether palette entries are sorted.
Layers { get; set; }Gets or sets a of layer names must be exported. All data will be exported without layers if names is not sets.
virtual Palette { get; set; }Gets or sets the color palette.
Pc3File { get; set; }Gets or sets the PC3 file full name.
PixelAspectRatio { get; set; }Gets or sets the GIF pixel aspect ratio.
RenderToGraphicsBound { get; set; }Gets or sets a value indicating which image sizes to use when rendering: graphic sizes (true, default) or set in metadata (false).
virtual ResolutionSettings { get; set; }Gets or sets the resolution settings.
Rotation { get; set; }Gets or sets the parameter for rotate, flip, or rotate and flip the image..
Source { get; set; }Gets or sets the source to create image in.
override TargetFormat { get; }
Timeout { get; set; }Timeout value for export operation (in milliseconds)
UserWatermarkColor { get; set; }Color for user-generated watermark
UserWatermarkText { get; set; }Text for user-generated watermark
VectorRasterizationOptions { get; set; }Gets or sets the vector rasterization options.
WatermarkGuardOptions { get; set; }Gets or sets the blind watermark options.
override XmpData { get; set; }Gets or sets the XMP metadata container.

See Also