public class ImageOutputOptions : OutputOptions
Public Class ImageOutputOptions
Inherits OutputOptions
Increasing the resolution of the output images (default is 96 DPI):
var outputOptions = new ImageOutputOptions(DocumentFormat.Jpg)
{
Resolution = 120
};
DocumentConverter.Convert(@"c:\SomeFolder\InputFile.pdf", outputOptions);
Dim outputOptions As New ImageOutputOptions(DocumentFormat.Jpg) With {
.Resolution = 120
}
DocumentConverter.Convert("c:\SomeFolder\InputFile.pdf", outputOptions)
ImageOutputOptions | Initializes a new instance of the ImageOutputOptions class. |
ImageOutputOptions(DocumentFormat) | Initializes a new instance of the ImageOutputOptions class with a document format. |
Format | Gets 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. |