The PageShape type exposes the following members.

Constructors

  NameDescription
Public methodPageShape()()()()
Create a new page shape. Use Path, Password and PageIndex to specify what page to use.
Public methodPageShape(Stream, Int32, String)
Create a new PageShape from a PDF document in a stream with the original size of the page.
Public methodPageShape(String, Int32, String)
Create a new PageShape from a file with the original size of the page.
Public methodPageShape(Stream, Int32, String, Double, Double, Double, Double, Boolean, Int32, PageBoundary)
Create a new page shape. Using the specified page boundary.
Public methodPageShape(String, Int32, String, Double, Double, Double, Double, Boolean, Int32, PageBoundary)
Create a new page shape. Using the specified page boundary.

Methods

  NameDescription
Public methodClone
Clones a Shape.
(Inherited from Shape.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead(String)
Read from XML file.
(Inherited from Object.)
Public methodRead(XmlElement)
Read from XML element.
(Inherited from Object.)
Public methodRead(XmlReader)
Read from XML reader.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyBottomMargin
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyDock
How this shape is docked.
(Inherited from Shape.)
Public propertyHeight
The height of this page shape in points.
Public propertyID
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.)
Public propertyKeepAspectRatio
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.
Public propertyLeftMargin
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyOpacity
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.)
Public propertyPageBoundary
Specifies which page boundary corresponds to this page shape, the space outside the specified boundary will be clipped.
Public propertyPageCount
The number of pages in the source PDF document.
Public propertyPageIndex
Public propertyPageOrientation
The orienation or rotation specified on the Page this PageShape refers.
Public propertyPassword
Set the password used to open the source PDF document.
Public propertyPath
Path of the PDF file to load.
Public propertyRightMargin
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyRotate Obsolete.
Number of degrees by which this page shape is rotated counter-clockwise around its lower-left corner.
Public propertyRotation
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.)
Public propertyRotationOffsetX
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyRotationOffsetY
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertySkewX
Amount of horizontal skew in degrees, clockwise. (default = 0)
Public propertySkewY
Amount of vertical skew in degrees, clockwise. (default = 0)
Public propertyTopMargin
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyWidth
The width of this page shape in points.
Public propertyX
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)
Public propertyY
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)

See Also