PdfPage ClassTerminal Works - PDF Printing.Net Library
Represents a page in a PDF document.
Inheritance Hierarchy

SystemObject
  PdfEdit.PdfPdfItem
    PdfEdit.PdfPdfObject
      PdfEdit.PdfPdfDictionary
        PdfEdit.PdfPdfPage

Namespace: PdfEdit.Pdf
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax

public sealed class PdfPage : PdfDictionary, 
	[T:#=znc7XDmFfNyRKbXjOkxBALTl18Qqt]

The PdfPage type exposes the following members.

Constructors

  NameDescription
Public methodPdfPage
Initializes a new page. The page must be added to a document before it can be used. Depending of the IsMetric property of the current region the page size is set to A4 or Letter respectively. If this size is not appropriate it should be changed before any drawing operations are performed on the page.
Public methodPdfPage(PdfDocument)
Initializes a new instance of the PdfPage class.
Top
Methods

  NameDescription
Public methodAddDocumentLink
Adds an intra document link.
Public methodAddFileLink
Adds a link to a file.
Public methodAddWebLink
Adds a link to the Web.
Public methodClone
Creates a copy of this dictionary. Direct values are deep copied. Indirect references are not modified.
(Inherited from PdfDictionary.)
Public methodClose
Closes the page. A closes page cannot be modified anymore and it is not possible to get an XGraphics object for a closed page. Closing a page is not required, but may saves resources if the document has many pages.
Public methodCreateStream
Creates the stream of this dictionary and initializes it with the specified byte array. The function must not be called if the dictionary already has a stream.
(Inherited from PdfDictionary.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the dictionary elements.
(Inherited from PdfDictionary.)
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.)
Public methodSwapWidthAndHeight
Public methodToString
Returns a string with the content of this object in a readable form. Useful for debugging purposes only.
(Inherited from PdfDictionary.)
Top
Fields

  NameDescription
Public fieldForceFilters
List of filters which will be applied on the PdfDictionary stream.
(Inherited from PdfDictionary.)
Top
Properties

  NameDescription
Public propertyAnnotations
Gets the annotations array of this page.
Public propertyArtBox
Gets or sets the art box.
Public propertyBleedBox
Gets or sets the bleed box.
Public propertyContents
Gets the array of content streams of the page.
Public propertyCropBox
Gets or sets the crop box.
Public propertyCustomValues
Gets or sets the custom values.
Public propertyDisplayedHeight
Gets or sets the displayed height of the page. If orientation is Landscape, this function applies to the width.
Public propertyDisplayedWidth
Gets the displayed width of the page. If orientation is Landscape, this function applies to the height.
Public propertyElements
Gets the dictionary containing the elements of this dictionary.
(Inherited from PdfDictionary.)
Public propertyHeight
Gets or sets the height of the page. If orientation is Landscape, this function applies to the width.
Public propertyInternals
Gets the PdfInternals object of this document, that grants access to some internal structures which are not part of the public interface of PdfDocument.
(Inherited from PdfObject.)
Public propertyIsIndirect
Indicates whether the object is an indirect object.
(Inherited from PdfObject.)
Public propertyMediaBox
Gets or sets the media box directly. XGrahics is not prepared to work with a media box with an origin other than (0,0).
Public propertyOrientation
Gets or sets the orientation of the page. The default value PageOrientation.Portrait. If an imported page has a /Rotate value that matches the formula 90 + n * 180 the orientation is set to PageOrientation.Landscape.
Public propertyOwner
Gets the PdfDocument this object belongs to.
(Inherited from PdfObject.)
Public propertyReference
Gets the indirect reference of this object. If the value is null, this object is a direct object.
(Inherited from PdfObject.)
Public propertyResources
Gets the PdfResources object of this page.
Public propertyRotate
Gets or sets the /Rotate entry of the PDF page. The value is the number of degrees by which the page should be rotated clockwise when displayed or printed. The value must be a multiple of 90. TODO: Next statement is not correct: PDFEdit does not set this value, but for imported pages this value can be set and must be taken into account when adding graphic to such a page.
Public propertySize
Gets or sets one of the predefined standard sizes like.
Public propertyStream
Gets or sets the PDF stream belonging to this dictionary. Returns null if the dictionary has no stream. To create the stream, call the CreateStream function.
(Inherited from PdfDictionary.)
Public propertyTag
Gets or sets a user defined object that contains arbitrary information associated with this PDF page. The tag is not used by PDFEdit.
Public propertyTrimBox
Gets or sets the trim box.
Public propertyTrimMargins
Gets or sets the trim margins.
Public propertyWidth
Gets the displayed width of the page. If orientation is Landscape, this function applies to the height.
Top
See Also

Reference