Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPageLayoutInfo

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
12511d2fa560 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) #

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

Parameters

left double required
bottom double required
right double required
top double required
public PdfPagePoint MapVisualPointToUserSpace(double x, double y) #

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

Parameters

x double required
y double required
public PdfPageRectangle MapVisualRectangleToUserSpace(double left, double top, double right, double bottom) #

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

Parameters

left double required
top double required
right double required
bottom double required

Properties

public int 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 in physical points (1/72 inch), after rotation and UserUnit are applied.

public double VisualHeight { get; } #

Displayed page height in physical points (1/72 inch), after rotation and UserUnit are applied.

public int RotationDegrees { get; } #

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

public double UserUnit { get; } #

Physical points (1/72 inch) per default user-space unit; the effective positive /UserUnit value defaults to 1.

public PdfPageGeometry Geometry { get; } #

Typed page boundary and presentation metadata.