PdfDrawOptions.HorizontalResolution Property

Gets or sets the horizontal resolution of produced images.

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

Syntax

C#
public double HorizontalResolution { get; set; }
VB
Public Property HorizontalResolution As Double
	Get
	Set

Property Value

Type: Double
The horizontal resolution (pixel density) in pixels per inch.

Remarks

Default value: 72.

The horizontal resolution should be in the [1..2000] range.

The horizontal resolution affects the physical width of produced images. For the same image width, a higher horizontal resolution produces a smaller physical width.

See Also