Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfPageLayoutInfo

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision e31b305980e3 with working tree changes
Modifiers sealed

Permission-neutral page geometry used by viewing and print-layout workflows.

Inheritance

  • Object
  • PdfPageLayoutInfo

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public PdfSelectionQuad MapUserSpaceRectangleToVisual(Double left, Double bottom, Double right, Double top) #
Returns: PdfSelectionQuad

Maps a default user-space rectangle to top-left visual coordinates without extracting page content.

Parameters

left System.Double requiredposition: 0
bottom System.Double requiredposition: 1
right System.Double requiredposition: 2
top System.Double requiredposition: 3
public PdfPagePoint MapVisualPointToUserSpace(Double x, Double y) #
Returns: PdfPagePoint

Maps a top-left visual point to default user space without extracting page content.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
public PdfPageRectangle MapVisualRectangleToUserSpace(Double left, Double top, Double right, Double bottom) #
Returns: PdfPageRectangle

Maps a top-left visual rectangle to default user space, accounting for crop, rotation, and user-unit scale.

Parameters

left System.Double requiredposition: 0
top System.Double requiredposition: 1
right System.Double requiredposition: 2
bottom System.Double requiredposition: 3

Properties

public Int32 PageNumber { get; } #

One-based page number.

public Double Width { get; } #

Effective CropBox or MediaBox width in default user-space units.

public Double Height { get; } #

Effective CropBox or MediaBox height in default user-space units.

public Double VisualWidth { get; } #

Displayed page width after rotation and UserUnit are applied.

public Double VisualHeight { get; } #

Displayed page height after rotation and UserUnit are applied.

public Int32 RotationDegrees { get; } #

Inherited page rotation normalized to 0, 90, 180, or 270 degrees.

public Double UserUnit { get; } #

Effective positive UserUnit value, defaulting to 1.

public PdfPageGeometry Geometry { get; } #

Typed page boundary and presentation metadata.