PdfResizeManager Class | |
Namespace: SelectPdf
The PdfResizeManager type exposes the following members.
| Name | Description | |
|---|---|---|
| PdfResizeManager |
Instantiates the PdfResizeManager object.
|
| Name | Description | |
|---|---|---|
| AllowScale |
Specifies if the content can be scaled (resized) in the generated document (resized).
| |
| ContentSize |
The size of the content in the generated document (resized).
| |
| HorizontalAlign |
Specifies how the content is horizontally aligned in the destination rectangle, when the aspect ratio is preserved.
| |
| KeepAspectRatio |
Specifies if the content aspect ratio (proportion) is preserved in the generated document (resized).
| |
| PageMargins |
The generated document (resized) page margins. The default value is 0 for all margins.
| |
| PageOrientation |
The generated document (resized) page orientation. The default value is the original PDF page orientation.
| |
| PageSize |
The generated document (resized) page size. The default value is the original PDF page size.
| |
| StartPosition |
The start position of the content in the generated document (resized).
| |
| VerticalAlign |
Specifies how the content is vertically aligned in the destination rectangle, when the aspect ratio is preserved.
|
| Name | Description | |
|---|---|---|
| Close |
Closes the opened pdf documents (both initial and the newly created).
(Overrides PdfManagerClose.) | |
| GetDocument |
Returns the pdf document as PdfDocument object.
(Overrides PdfManagerGetDocument.) | |
| Load(Byte) |
Loads a pdf document from a byte array.
(Inherited from PdfManager.) | |
| Load(Stream) |
Loads a pdf document from the specified stream.
(Inherited from PdfManager.) | |
| Load(String) |
Loads a pdf document from an existing pdf file.
(Inherited from PdfManager.) | |
| Load(PdfDocument) |
Loads a pdf document from an existing PdfDocument object.
(Inherited from PdfManager.) | |
| Load(Byte, String) |
Loads a password protected pdf document from a byte array.
(Inherited from PdfManager.) | |
| Load(Stream, String) |
Loads a pdf document from a stream containing a password protected pdf document.
(Inherited from PdfManager.) | |
| Load(String, String) |
Loads a pdf document from an existing password protected pdf file.
(Inherited from PdfManager.) | |
| Load(PdfDocument, String) |
Loads a pdf document from an existing password protected PdfDocument object.
(Inherited from PdfManager.) | |
| Save |
Saves the pdf document as byte array.
(Overrides PdfManagerSave.) | |
| Save(Stream) |
Saves the pdf document to the specified stream.
(Overrides PdfManagerSave(Stream).) | |
| Save(String) |
Saves the pdf document to the specified file.
(Overrides PdfManagerSave(String).) |