Click or drag to resize
Pdf Library for .NET

PdfResizeManager Class

Resize existing PDF documents. Can be used to modify existing PDF documents, to resize the content and create space for margins, change page size or orientation.
Inheritance Hierarchy
SystemObject
  SelectPdfPdfManager
    SelectPdfPdfResizeManager

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public class PdfResizeManager : PdfManager

The PdfResizeManager type exposes the following members.

Constructors
  NameDescription
Public methodPdfResizeManager
Instantiates the PdfResizeManager object.
Top
Properties
  NameDescription
Public propertyAllowScale
Specifies if the content can be scaled (resized) in the generated document (resized).
Public propertyContentSize
The size of the content in the generated document (resized).
Public propertyHorizontalAlign
Specifies how the content is horizontally aligned in the destination rectangle, when the aspect ratio is preserved.
Public propertyKeepAspectRatio
Specifies if the content aspect ratio (proportion) is preserved in the generated document (resized).
Public propertyPageMargins
The generated document (resized) page margins. The default value is 0 for all margins.
Public propertyPageOrientation
The generated document (resized) page orientation. The default value is the original PDF page orientation.
Public propertyPageSize
The generated document (resized) page size. The default value is the original PDF page size.
Public propertyStartPosition
The start position of the content in the generated document (resized).
Public propertyVerticalAlign
Specifies how the content is vertically aligned in the destination rectangle, when the aspect ratio is preserved.
Top
Methods
  NameDescription
Public methodClose
Closes the opened pdf documents (both initial and the newly created).
(Overrides PdfManagerClose.)
Public methodGetDocument
Returns the pdf document as PdfDocument object.
(Overrides PdfManagerGetDocument.)
Public methodLoad(Byte)
Loads a pdf document from a byte array.
(Inherited from PdfManager.)
Public methodLoad(Stream)
Loads a pdf document from the specified stream.
(Inherited from PdfManager.)
Public methodLoad(String)
Loads a pdf document from an existing pdf file.
(Inherited from PdfManager.)
Public methodLoad(PdfDocument)
Loads a pdf document from an existing PdfDocument object.
(Inherited from PdfManager.)
Public methodLoad(Byte, String)
Loads a password protected pdf document from a byte array.
(Inherited from PdfManager.)
Public methodLoad(Stream, String)
Loads a pdf document from a stream containing a password protected pdf document.
(Inherited from PdfManager.)
Public methodLoad(String, String)
Loads a pdf document from an existing password protected pdf file.
(Inherited from PdfManager.)
Public methodLoad(PdfDocument, String)
Loads a pdf document from an existing password protected PdfDocument object.
(Inherited from PdfManager.)
Public methodSave
Saves the pdf document as byte array.
(Overrides PdfManagerSave.)
Public methodSave(Stream)
Saves the pdf document to the specified stream.
(Overrides PdfManagerSave(Stream).)
Public methodSave(String)
Saves the pdf document to the specified file.
(Overrides PdfManagerSave(String).)
Top
See Also