Enum PdfDrawScaling
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Specifies how a PdfPage should be resized before being drawn and saved as an image.
public enum PdfDrawScaling
Fields
FitHeight = 2
Scale page to fit the specified height.
FitSize = 3
Scale page to fit the specified size.
FitWidth = 1
Scale page to fit the specified width.
Zoom = 0
Scale page to the specified percent.
Remarks
The scaling mode is a part of the options specified by an object of the PdfDrawOptions type.
The Convert PDF to image in C# and VB.NET article shows how to save PDF pages as PNG, JPG, or TIFF images.
Check out the other articles and code samples on the PDF to image page.