ImageOutputOptions Class

Represents a set of image output options used for document conversion.

Definition

Namespace: GleamTech.DocumentUltimate
Assembly: GleamTech.DocumentUltimate (in GleamTech.DocumentUltimate.dll) Version: 7.2.0
C#
public class ImageOutputOptions : OutputOptions
Inheritance
Object    OutputOptions    ImageOutputOptions

Example

Increasing the resolution of the output images (default is 96 DPI):

C#
var outputOptions = new ImageOutputOptions(DocumentFormat.Jpg)
{
    Resolution = 120
};

DocumentConverter.Convert(@"c:\SomeFolder\InputFile.pdf", outputOptions);

Constructors

ImageOutputOptionsInitializes a new instance of the ImageOutputOptions class.
ImageOutputOptions(DocumentFormat)Initializes a new instance of the ImageOutputOptions class with a document format.

Properties

FormatGets or sets the format to convert to.
(Inherited from OutputOptions)
Resolution Gets or sets desired resolution for the generated images, in dots per inch (DPI). The default value is 96 DPI. For example, when DPI is 96 and input document page is 8 inches wide, the output image width will be 96*8 = 768 pixels. So the output dimensions (width and height) depends both input document dimensions and DPI.

See Also