PdfDrawOptions Class

The options for PDF page drawings.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.PdfDrawOptions

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public class PdfDrawOptions
VB
Public Class PdfDrawOptions

The PdfDrawOptions type exposes the following members.

Properties

  NameDescription
Public propertyBackgroundColor
Gets or sets the background color of produced images.
Public propertyCompression
Gets or sets the image compression options.
Public propertyCutUnusedSpace
Gets a value indicating whether to cut unused space in produced images.
Public propertyHeight
Gets the height in pixels of produced images.
Public propertyHorizontalResolution
Gets or sets the horizontal resolution of produced images.
Public propertyScalingMode
Gets the value indicating how to resize the content of PDF pages on the produced images.
Public propertySimulateOverprint
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.
Public propertyVerticalResolution
Gets or sets the vertical resolution of produced images.
Public propertyWidth
Gets the width in pixels of produced images.
Public propertyZoomPercent
Gets the zoom percent (magnification level) to apply to pages.

Methods

  NameDescription
Public methodStatic memberCreate
Creates default draw options.
Public methodStatic memberCreateFitHeight
Creates draw options for producing images of PDF pages resized to fit the specified height.
Public methodStatic memberCreateFitSize
Creates draw options for producing images of PDF pages resized to fit the specified size.
Public methodStatic memberCreateFitWidth
Creates draw options for producing images of PDF pages resized to fit the specified width.
Public methodStatic memberCreateZoom
Creates draw options for producing images of PDF pages zoomed in or out to the specified percent.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOutputHeight
Gets the height in pixels of the image produced using these options for the specified page.
Public methodGetOutputWidth
Gets the width in pixels of the image produced using these options for the specified page.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides Object.ToString().)

See Also