Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeThemeTypeScale

OfficeIMO

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

Document type sizes in physical units.

Inheritance

  • object
  • OfficeThemeTypeScale

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 OfficeThemeTypeScale(OfficeLength title, OfficeLength heading1, OfficeLength heading2, OfficeLength heading3, OfficeLength heading4, OfficeLength heading5, OfficeLength heading6, OfficeLength body, OfficeLength caption) #

Creates immutable document type sizes in physical units.

Parameters

title OfficeIMO.OfficeLength required
heading1 OfficeIMO.OfficeLength required
heading2 OfficeIMO.OfficeLength required
heading3 OfficeIMO.OfficeLength required
heading4 OfficeIMO.OfficeLength required
heading5 OfficeIMO.OfficeLength required
heading6 OfficeIMO.OfficeLength required
body OfficeIMO.OfficeLength required
caption OfficeIMO.OfficeLength required

Methods

public OfficeThemeTypeScale With(OfficeLength? title = null, OfficeLength? heading1 = null, OfficeLength? heading2 = null, OfficeLength? heading3 = null, OfficeLength? heading4 = null, OfficeLength? heading5 = null, OfficeLength? heading6 = null, OfficeLength? body = null, OfficeLength? caption = null) #

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

Parameters

title OfficeIMO.OfficeLength? = null optional
heading1 OfficeIMO.OfficeLength? = null optional
heading2 OfficeIMO.OfficeLength? = null optional
heading3 OfficeIMO.OfficeLength? = null optional
heading4 OfficeIMO.OfficeLength? = null optional
heading5 OfficeIMO.OfficeLength? = null optional
heading6 OfficeIMO.OfficeLength? = null optional
body OfficeIMO.OfficeLength? = null optional
caption OfficeIMO.OfficeLength? = null optional

Properties

public OfficeLength Title { get; } #

Gets the Title size.

public OfficeLength Heading1 { get; } #

Gets the Heading1 size.

public OfficeLength Heading2 { get; } #

Gets the Heading2 size.

public OfficeLength Heading3 { get; } #

Gets the Heading3 size.

public OfficeLength Heading4 { get; } #

Gets the Heading4 size.

public OfficeLength Heading5 { get; } #

Gets the Heading5 size.

public OfficeLength Heading6 { get; } #

Gets the Heading6 size.

public OfficeLength Body { get; } #

Gets the Body size.

public OfficeLength Caption { get; } #

Gets the Caption size.