Click or drag to resize
Pdf Library for .NET

PdfResizeManager Properties

The PdfResizeManager type exposes the following members.

Properties
 NameDescription
Public propertyAllowScaleWhether the content may be scaled to fit. Default true.
Public propertyContentSizeThe size of the content in the resized page.
Public propertyHorizontalAlign Horizontal alignment of the content in the page — honored only when the content is placed at the origin, scaling is allowed and the aspect ratio is preserved.
Public propertyKeepAspectRatioWhether the content aspect ratio is preserved when scaling. Default true.
Public propertyKeepOriginalPageSettings When true, each page keeps its original size and orientation instead of using PageSize / PageOrientation, and the resized document keeps the loaded document's security. Default false.
Public propertyPageMarginsThe resized document page margins. Default 0 on every side.
Public propertyPageOrientationThe resized document page orientation. Defaults to the loaded document's first-page orientation.
Public propertyPageSizeThe resized document page size. Defaults to the loaded document's first-page size.
Public propertyCode exampleSecurity Gets the security settings of the resized document - passwords, permissions and encryption.
Public propertyStartPositionThe start position of the content in the resized page.
Public propertyVerticalAlign Vertical alignment of the content in the page — honored only when the content is placed at the origin, scaling is allowed and the aspect ratio is preserved.
Public propertyCode exampleViewerPreferences Gets the viewer preferences of the resized document.
Top
See Also