• IronPdf.Pages
  • IPdfPage
Search Results for

    Show / Hide Table of Contents
    • Iron.Pdf.Extensions
      • eupgtl
      • eupgtm
    • IronPdf
      • AFRelationship
      • AspxToPdf
      • AspxToPdf.FileBehavior
      • ChromeClientAccessor
      • ChromeHttpLoginCredentials
      • ChromePdfRenderer
      • ChromePdfRenderOptions
      • Cleaner
      • CleanerScanResult
      • CompressionOptions
      • ConformanceLevel
      • DocxPdfRenderOptions
      • DocxToPdfRenderer
      • EmbedFileByte
      • EmbedFileConfiguration
      • EmbedFilePath
      • EmbedFileStream
      • EmbedFileType
      • HtmlFormatOptions
      • HtmlHeaderFooter
      • ImageToPdfConverter
      • IMargins
      • Installation
      • IPdfRenderOptions
      • LayerMode
      • License
      • NaturalLanguages
      • PdfAttachment
      • PdfAttachmentCollection
      • PdfAVersions
      • PdfClientAccessor
      • PdfDocument
      • PdfDocumentExtensions
      • PdfUAVersions
      • PixelFormat
      • PropertyVersion
      • SchemaNamespace
      • SchemaPrefix
      • TableOfContentsTypes
      • TextAlignment
      • TextExtractionOrder
      • TextHeaderFooter
      • UseMargins
    • IronPdf.Annotations
      • IAnnotation
      • PdfAnnotation
      • PdfAnnotationCollection
      • PdfAnnotationType
      • PdfFreeTextAnnotation
      • PdfLinkAnnotation
      • PdfTextAnnotation
      • TextAnnotation
      • TextAnnotation.AnnotationIcon
    • IronPdf.Bookmarks
      • BookmarkDestinations
      • IPdfBookMarkCollection
      • PdfBookMark
      • PdfBookMarkCollection
    • IronPdf.DocX
      • MailMergeTemplate
    • IronPdf.Editing
      • BarcodeEncoding
      • BarcodeStamper
      • HorizontalAlignment
      • HtmlStamper
      • ImageStamper
      • Length
      • MeasurementUnit
      • Stamper
      • StampLayer
      • TextStamper
      • VerticalAlignment
    • IronPdf.Engines
      • SystemClientAccessor
    • IronPdf.Engines.Chrome
      • ChromeGpuModes
      • VirtualPaperLayoutManager
      • VirtualPaperLayoutManager1
      • WaitFor
    • IronPdf.Engines.Marshalers
      • StringDelegate
    • IronPdf.Exceptions
      • IronPdfAssemblyVersionMismatchException
      • IronPdfNativeException
      • IronPdfProductException
      • IronPdfUnsupportedException
    • IronPdf.Extensions
      • ConversionExtensions
    • IronPdf.Fonts
      • FontType
      • PdfFont
      • PdfFontCollection
      • StandardFont
    • IronPdf.GrpcLayer
      • IronPdfConnectionConfiguration
      • IronPdfConnectionType
    • IronPdf.Imaging
      • ImageBehavior
      • ImageType
    • IronPdf.Logging
      • Logger
      • Logger.LoggingModes
    • IronPdf.MetaData
      • PdfCustomMetadataProperties
      • PdfMetaData
    • IronPdf.Pages
      • IPdfPage
      • IPdfPageCollection
      • LineTextObject
      • PdfPage
      • PdfPageModel
      • PdfPagesCollection
    • IronPdf.PrintDoc
      • PdfPrintDocument
      • PdfPrintMultiplePages
      • PdfPrintSettings
    • IronPdf.Rendering
      • ChangeTrackingModes
      • PdfCssMediaType
      • PdfPageRotation
      • PdfPaperOrientation
      • PdfPaperSize
      • PdfPaperSizeConverter
      • PdfRenderingEngine
      • RequestContexts
    • IronPdf.Security
      • PdfEditSecurity
      • PdfPrintSecurity
      • PdfSecuritySettings
    • IronPdf.Signing
      • PdfSignature
      • PdfSignatureExtensions
      • PdfSignatureImage
      • SignaturePermissions
      • TimestampHashAlgorithms
    • IronPdf.Signing.Inspection
      • VerifiedSignature
    • IronSoftware
      • CharObjectCollection
      • CidGlyphWidths
      • FontObject
      • FormFieldCollection
      • ICidGlyphWidths
      • ImageObject
      • ImageObjectCollection
      • IPdfDocumentObject
      • IPdfFontObject
      • IPdfFontObjectCollection
      • IPdfImageObject
      • IPdfImageObjectCollection
      • IPdfPathObject
      • IPdfPathObjectCollection
      • IPdfTextObject
      • IPdfTextObjectCollection
      • PathObject
      • PathObjectCollection
      • PathSegment
      • TextObject
      • TextObjectCollection
    • IronSoftware.Deployment
      • BaseVersionFactory
      • SmartDeploymentBase
    • IronSoftware.Exceptions
      • ExceptionHelper
      • IronPdfInputException
      • IronSoftwareAssemblyLoadException
      • IronSoftwareAssemblyMissingException
      • IronSoftwareAssemblyVersionMismatchException
      • IronSoftwareDeploymentConfigurationMissingException
      • IronSoftwareDeploymentException
      • IronSoftwareDeploymentNotSupportedException
      • IronSoftwareDownloadException
      • IronSoftwareEmbeddedDeploymentException
      • IronSoftwareEmbeddedDeploymentMissingException
      • IronSoftwareNativeException
      • LicensingException
    • IronSoftware.Forms
      • CheckboxFormField
      • ComboboxFormField
      • FormFieldAnnotation
      • ICheckableFormField
      • IFormField
      • IFormFieldAnnotation
      • IFormFieldAnnotationObject
      • IFormFieldCollection
      • IFormFieldObject
      • ImageFormField
      • RadioFormField
      • SignatureFormField
      • TextFormField
    • IronSoftware.Pdfium
      • BitmapRenderOptions
      • IMarshalableStruct
      • IPdfMetaData
      • PdfAnnotationFlags
      • PdfClient<T>
      • PdfDateFormatter
      • PdfDocumentPermissions
      • PdfFlattenResults
      • PdfFlattenStyles
      • PdfFormFieldFlags
      • PdfFormFieldType
      • PdfImageExtractionOptions
      • PdfiumBookmarkDescriptor
      • PdfiumDeploymentBase
    • IronSoftware.Pdfium.Dom
      • IPdfPageObjectModel
    • IronSoftware.Pdfium.Dom.Encoding
      • EncodingsRegistry
    • PdfToSvg
      • DocumentInfo
      • DocumentPermissions
      • FileAttachment
      • FileAttachmentCollection
      • Font
      • FontResolver
      • FontStyle
      • FontWeight
      • Image
      • ImageEnumerable
      • ImageResolver
      • InlinedFont
      • InvalidCredentialException
      • LocalFont
      • OpenOptions
      • OptionalContentGroup
      • OptionalContentGroupCollection
      • PdfDocument
      • PdfException
      • PdfPage
      • PdfPageCollection
      • PermissionException
      • SourceFont
      • SvgConversionOptions
      • WebFont

    Interface IPdfPage

    PDF document page interface

    Namespace: IronPdf.Pages
    Assembly: IronPdf.dll
    Syntax
    public interface IPdfPage : IDocumentPage<IPdfPageObjectModel>, IPageContainer

    Properties

    Characters

    A collection of all characters on this page and their position

    Also see TextChunks and Lines

    Declaration
    IDocumentCharCollection Characters { get; }
    Property Value
    Type Description
    IronSoftware.IDocumentCharCollection

    Lines

    A collection of all lines of text on this page and their position

    Declaration
    IPdfTextObjectCollection Lines { get; }
    Property Value
    Type Description
    IPdfTextObjectCollection
    Remarks

    Derived from TextChunks for your convenience

    PageRotation

    Gets the page orientation.

    Declaration
    PdfPageRotation PageRotation { get; }
    Property Value
    Type Description
    PdfPageRotation

    PrintHeight

    Gets the height of the pdf page in printer points.

    Declaration
    double PrintHeight { get; }
    Property Value
    Type Description
    System.Double

    PrintWidth

    Gets the width of the pdf page in printer points.

    Declaration
    double PrintWidth { get; }
    Property Value
    Type Description
    System.Double

    Text

    Page text

    Declaration
    string Text { get; }
    Property Value
    Type Description
    System.String

    TextChunks

    A collection of all text objects on this page and their position

    The contents of each text object is rendered as a single unit

    The contents of each text object share font, origin position, etc.

    Also see Characters and Lines

    Declaration
    IPdfTextObjectCollection TextChunks { get; }
    Property Value
    Type Description
    IPdfTextObjectCollection

    Methods

    Extend(Double, Double, Double, Double, MeasurementUnit)

    Extends this page bounds using the specified parameters (in millimeters)

    Does not resize page content; results in an empty margin around existing page content

    Declaration
    void Extend(double ExtendLeft, double ExtendRight, double ExtendTop, double ExtendBottom, MeasurementUnit Units)
    Parameters
    Type Name Description
    System.Double ExtendLeft

    Desired amount (mm) to extend page width towards the left

    System.Double ExtendRight

    Desired amount (mm) to extend page width towards the right

    System.Double ExtendTop

    Desired amount (mm) to extend page height towards the top

    System.Double ExtendBottom

    Desired amount (mm) to extend page height towards the bottom

    MeasurementUnit Units

    Optionally specify units of measurement for input parameters

    Resize(Double, Double, MeasurementUnit)

    Resize this page to the specified dimensions (in millimeters)

    Declaration
    void Resize(double PageWidth, double PageHeight, MeasurementUnit Units)
    Parameters
    Type Name Description
    System.Double PageWidth

    Desired page width, in millimeters

    System.Double PageHeight

    Desired page height, in millimeters

    MeasurementUnit Units

    Optionally specify units of measurement for input parameters

    Transform(Double, Double, Double, Double)

    Transforms this page contents using the specified parameters

    Affects the appearance of all content displayed on the page. Does NOT affect the physical page dimensions.

    Declaration
    void Transform(double MoveX, double MoveY, double ScaleX, double ScaleY)
    Parameters
    Type Name Description
    System.Double MoveX

    Move the page contents left (negative) or right (positive), in millimeters

    System.Double MoveY

    Move the page contents down (negative) or up (positive), in millimeters

    System.Double ScaleX

    Scale the page contents horizontally (0.0 to infinity, where 1.0 is default scaling)

    System.Double ScaleY

    Scale the page contents vertically (0.0 to infinity, where 1.0 is default scaling)

    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    • Properties
      • Characters
      • Lines
      • PageRotation
      • PrintHeight
      • PrintWidth
      • Text
      • TextChunks
    • Methods
      • Extend(Double, Double, Double, Double, MeasurementUnit)
      • Resize(Double, Double, MeasurementUnit)
      • Transform(Double, Double, Double, Double)
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    Your trial license will be sent to this address
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.