The PageShape type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PageShape()()()() |
Create a new page shape. Use Path, Password and PageIndex to specify what page to use.
| |
| PageShape(Stream, Int32, String) |
Create a new PageShape from a PDF document in a stream with the original size of the page.
| |
| PageShape(String, Int32, String) |
Create a new PageShape from a file with the original size of the page.
| |
| PageShape(Stream, Int32, String, Double, Double, Double, Double, Boolean, Int32, PageBoundary) |
Create a new page shape. Using the specified page boundary.
| |
| PageShape(String, Int32, String, Double, Double, Double, Double, Boolean, Int32, PageBoundary) |
Create a new page shape. Using the specified page boundary.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Clones a Shape.
(Inherited from Shape.) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Read(String) |
Read from XML file.
(Inherited from Object.) | |
| Read(XmlElement) |
Read from XML element.
(Inherited from Object.) | |
| Read(XmlReader) |
Read from XML reader.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| BottomMargin |
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Dock |
How this shape is docked.
(Inherited from Shape.) | |
| Height |
The height of this page shape in points.
| |
| ID |
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.) | |
| KeepAspectRatio |
If KeepAspectRatio is set to true, the size is calculated from the
width and height so that the width/height ratio is equal to the ratio
of the original page. If set to false, the specified.
width and height are used and the page will in general appear distorted.
| |
| LeftMargin |
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Opacity |
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.) | |
| PageBoundary |
Specifies which page boundary corresponds to this page shape, the space outside the specified boundary will be clipped.
| |
| PageCount |
The number of pages in the source PDF document.
| |
| PageIndex | ||
| PageOrientation |
The orienation or rotation specified on the Page this PageShape refers.
| |
| Password |
Set the password used to open the source PDF document.
| |
| Path |
Path of the PDF file to load.
| |
| RightMargin |
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Rotate | Obsolete.
Number of degrees by which this page shape is rotated counter-clockwise around its lower-left corner.
| |
| Rotation |
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.) | |
| RotationOffsetX |
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.) | |
| RotationOffsetY |
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.) | |
| SkewX |
Amount of horizontal skew in degrees, clockwise. (default = 0)
| |
| SkewY |
Amount of vertical skew in degrees, clockwise. (default = 0)
| |
| TopMargin |
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Width |
The width of this page shape in points.
| |
| X |
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.) | |
| Y |
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.) |