PdfPageElement Class

A page of an existing PDF document drawn in a page of the document being created or edited, at a given position and size, optionally rotated and with a given opacity. The page keeps its content, its resources, its links and form fields, and its structure when both documents are tagged

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public class PdfPageElement
Inheritance
Object    PdfPageElement

Constructors

PdfPageElement(Byte, Int32) Creates an element that draws a page of a PDF document given as a byte array
PdfPageElement(String, Int32) Creates an element that draws a page of a PDF document given as a file

Properties

Height The height of the drawn page in points, or 0 to use its own height. When both the width and the height are set, the page is scaled to fit inside them and keeps its proportions
IncludeAnnotations True to add the annotations of the page, such as its links and form fields, to the target page, placed with the page content. The default is true
Opacity The opacity of the drawn page, from 0 (transparent) to 1 (opaque). The default is 1
PageNumber The 1-based number of the drawn page in its document
Password The password that opens the document when it is protected, or null
RenderUnderContent True to draw the page under the existing content of the target page, false to draw it over the content. The default is false
RotationDegrees The rotation of the drawn page in degrees, counter-clockwise for a positive value, around RotationPivot. The default is 0
RotationPivot The point of the drawn page the rotation turns around. The default is the top left corner
Width The width of the drawn page in points, or 0 to use its own width. When both the width and the height are set, the page is scaled to fit inside them and keeps its proportions
X The X position of the top left corner of the drawn page, in points. In a document being created the position is relative to the content area of the current page, inside the margins; in an edited document it is relative to the top left corner of the page
Y The Y position of the top left corner of the drawn page, in points. In a document being created the position is relative to the content area of the current page, inside the margins; in an edited document it is relative to the top left corner of the page

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also