Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeThemePage

OfficeIMO

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

Page margins for paged documents (Word and PDF), in physical units.

Inheritance

  • object
  • OfficeThemePage

Usage

Explore 4 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 2

Accepted by parameters 2

Constructors

public OfficeThemePage(OfficeLength marginTop, OfficeLength marginRight, OfficeLength marginBottom, OfficeLength marginLeft) #

Creates immutable page margins.

Parameters

marginTop OfficeIMO.OfficeLength required
marginRight OfficeIMO.OfficeLength required
marginBottom OfficeIMO.OfficeLength required
marginLeft OfficeIMO.OfficeLength required

Methods

public OfficeThemePage With(OfficeLength? marginTop = null, OfficeLength? marginRight = null, OfficeLength? marginBottom = null, OfficeLength? marginLeft = null) #

Returns a copy with the supplied replacements; omitted values are retained.

Parameters

marginTop OfficeIMO.OfficeLength? = null optional
marginRight OfficeIMO.OfficeLength? = null optional
marginBottom OfficeIMO.OfficeLength? = null optional
marginLeft OfficeIMO.OfficeLength? = null optional

Properties

public OfficeLength MarginTop { get; } #

Gets the top margin.

public OfficeLength MarginRight { get; } #

Gets the right margin.

public OfficeLength MarginBottom { get; } #

Gets the bottom margin.

public OfficeLength MarginLeft { get; } #

Gets the left margin.