Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeThemeSpacing

OfficeIMO

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

Paragraph, list and slide spacing in physical units.

Inheritance

  • object
  • OfficeThemeSpacing

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 OfficeThemeSpacing(OfficeLength paragraphBefore, OfficeLength paragraphAfter, OfficeLength listIndent, OfficeLength slideMarginTop, OfficeLength slideMarginRight, OfficeLength slideMarginBottom, OfficeLength slideMarginLeft) #

Creates immutable paragraph, list and slide spacing in physical units.

Parameters

paragraphBefore OfficeIMO.OfficeLength required
paragraphAfter OfficeIMO.OfficeLength required
listIndent OfficeIMO.OfficeLength required
slideMarginTop OfficeIMO.OfficeLength required
slideMarginRight OfficeIMO.OfficeLength required
slideMarginBottom OfficeIMO.OfficeLength required
slideMarginLeft OfficeIMO.OfficeLength required

Methods

public OfficeThemeSpacing With(OfficeLength? paragraphBefore = null, OfficeLength? paragraphAfter = null, OfficeLength? listIndent = null, OfficeLength? slideMarginTop = null, OfficeLength? slideMarginRight = null, OfficeLength? slideMarginBottom = null, OfficeLength? slideMarginLeft = null) #

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

Parameters

paragraphBefore OfficeIMO.OfficeLength? = null optional
paragraphAfter OfficeIMO.OfficeLength? = null optional
listIndent OfficeIMO.OfficeLength? = null optional
slideMarginTop OfficeIMO.OfficeLength? = null optional
slideMarginRight OfficeIMO.OfficeLength? = null optional
slideMarginBottom OfficeIMO.OfficeLength? = null optional
slideMarginLeft OfficeIMO.OfficeLength? = null optional

Properties

public OfficeLength ParagraphBefore { get; } #

Gets space before paragraphs.

public OfficeLength ParagraphAfter { get; } #

Gets space after paragraphs.

public OfficeLength ListIndent { get; } #

Gets list indentation.

public OfficeLength SlideMarginTop { get; } #

Gets the top slide margin.

public OfficeLength SlideMarginRight { get; } #

Gets the right slide margin.

public OfficeLength SlideMarginBottom { get; } #

Gets the bottom slide margin.

public OfficeLength SlideMarginLeft { get; } #

Gets the left slide margin.