Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

PdfPageMargins

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
e163ccb36643 with working tree changes
Base
ValueType
Modifiers
sealed

Represents physical page margins.

Inheritance

  • ValueType
  • PdfPageMargins

Usage

Explore 14 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.

Accepted by parameters 4

Constructors

public PdfPageMargins(OfficeLength left, OfficeLength top, OfficeLength right, OfficeLength bottom) #

Creates page margins with explicit units.

Parameters

left OfficeIMO.OfficeLength required
top OfficeIMO.OfficeLength required
right OfficeIMO.OfficeLength required
bottom OfficeIMO.OfficeLength required

Methods

public static PdfPageMargins Uniform(OfficeLength length) #

Creates uniform margins.

Parameters

length OfficeIMO.OfficeLength required

Properties

public OfficeLength Left { get; } #

Left margin.

public OfficeLength Top { get; } #

Top margin.

public OfficeLength Right { get; } #

Right margin.

public OfficeLength Bottom { get; } #

Bottom margin.

public static PdfPageMargins Normal { get; } #

Normal Word-compatible one-inch margins.

public static PdfPageMargins Narrow { get; } #

Narrow Word-compatible half-inch margins.

public static PdfPageMargins Moderate { get; } #

Moderate Word-compatible margins.

public static PdfPageMargins Wide { get; } #

Wide Word-compatible margins.

public static PdfPageMargins Mirrored { get; } #

Mirrored Word-compatible margin preset values.

public static PdfPageMargins Office2003Default { get; } #

Word 2003 compatible default margin preset values.