Click or drag to resize

ImageSaveOptions Class

Represents a class which stores saving options for image files.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfSaveOptions
    SautinSoft.PdfImageSaveOptions

Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax
public sealed class ImageSaveOptions : SaveOptions

The ImageSaveOptions type exposes the following members.

Constructors
 NameDescription
Public methodImageSaveOptions Initializes a new instance of the ImageSaveOptions class.
Public methodImageSaveOptions(ImageSaveFormat) Initializes a new instance of the ImageSaveOptions class for a specific image format.
Top
Properties
 NameDescription
Public propertyDpiX

Gets or sets the horizontal dots per inch (dpi) of the image.

Default value is NaN, which means that component specific default value will be used (currently 300).

Public propertyDpiY

Gets or sets the vertical dots per inch (dpi) of the image.

Default value is NaN, which means that component specific default value will be used (currently 300).

Public propertyFormat Gets or sets the image format.
Public propertyGifDelay

Gets or sets the delay in milliseconds between frames in the animated GIF.

Default value: 33. (33 ms ~ 30fps, 16 ms ~ 60fps).

Public propertyHeight Gets or sets the image height in pixels.
Public propertyJpegQuality

Gets or sets the quality for output jpeg images from 1 to 100.

Default value: 90.

Public propertyPageCount

Gets or sets the number of pages which should be saved to a multi-frame image.

If image format doesn't support multiple frames, this property is ignored.

Default value is 1.

To save all pages, set value to MaxValue.

Only Tagged Image File Format (TIFF) and Graphics Interchange Format (GIF) format images support multiple frames.

Public propertyPageIndex Gets or sets the zero-based page index of the document's page which should be saved to an image.
Public propertyPixelFormat Gets or sets a pixel format, which will be used for the image.
Public propertySelectedPages Gets or sets an array with pages to save (0-based index). Setting PageIndex or PageCount properties are overrides SelectedPages.
Public propertyTiffCompression Gets or sets compression schema, which will be used when exporting to Tagged Image File Format (TIFF).
Public propertyTrasparentBackground Gets or sets the transparent background.
Public propertyWidth Gets or sets the image width in pixels.
Top
See Also