Table of Contents

Property HorizontalResolution

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

HorizontalResolution

Gets or sets the horizontal resolution of produced images.

public double HorizontalResolution { get; set; }

Property Value

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.

The Convert PDF to image in C# and VB.NET article contains examples of using this property.