Table of Contents

Class PdfDrawOptions

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

The options for PDF page drawings.

public class PdfDrawOptions
Inheritance
PdfDrawOptions
Inherited Members

Remarks

For detailed information about using these options, read the Convert PDF to image in C# and VB.NET article.

Check out the other articles and code samples on the PDF to image page.

Properties

BackgroundColor

Gets or sets the background color of produced images.

Compression

Gets or sets the image compression options.

CutUnusedSpace

Gets a value indicating whether to cut unused space in produced images.

Height

Gets the height in pixels of produced images.

HorizontalResolution

Gets or sets the horizontal resolution of produced images.

ScalingMode

Gets the value indicating how to resize the content of PDF pages on the produced images.

SimulateOverprint

Gets or sets the value indicating whether to simulate the effects of overprinting spot and process colors in the same way they would occur when printing.

UsePrintMode

Gets or sets the value indicating whether to simulate printing.

VerticalResolution

Gets or sets the vertical resolution of produced images.

Width

Gets the width in pixels of produced images.

ZoomPercent

Gets the zoom percent (magnification level) to apply to pages.

Methods

Create()

Creates default draw options.

CreateFitHeight(double)

Creates draw options for producing images of PDF pages resized to fit the specified height.

CreateFitSize(PdfSize, bool)

Creates draw options for producing images of PDF pages resized to fit the specified size.

CreateFitWidth(double)

Creates draw options for producing images of PDF pages resized to fit the specified width.

CreateZoom(double)

Creates draw options for producing images of PDF pages zoomed in or out to the specified percent.

GetOutputHeight(PdfPage)

Gets the height in pixels of the image produced using these options for the specified page.

GetOutputWidth(PdfPage)

Gets the width in pixels of the image produced using these options for the specified page.

ToString()

Returns a string that represents this PdfDrawOptions instance.