Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPageSetupMargins

OfficeIMO.Pdf

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

Page margins of a PdfPageSetup. Each side either follows the document theme or holds an explicit value.

Inheritance

  • object
  • PdfPageSetupMargins

Usage

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

Returned or exposed by 1

Methods

public void Set(PdfPageMargins margins) #

Sets all four sides explicitly from a reusable margin value.

Parameters

margins OfficeIMO.Pdf.PdfPageMargins required
public PdfPageMargins ToPdfPageMargins() #

Returns the current effective margins as a reusable value.

Properties

public OfficeLength Left { get; set; } #

Left margin. Default comes from the theme (72 points without one).

public OfficeLength Top { get; set; } #

Top margin. Default comes from the theme (72 points without one).

public OfficeLength Right { get; set; } #

Right margin. Default comes from the theme (72 points without one).

public OfficeLength Bottom { get; set; } #

Bottom margin. Default comes from the theme (72 points without one).