[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FontScheme

Class FontScheme

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a font scheme within a theme.

The font scheme consists of a pair of major and minor fonts to use in a document. The major font corresponds well with the heading areas of a document, while the minor font corresponds well with the normal text or paragraph areas.

public class FontScheme
Inheritance
FontScheme
Inherited Members

Properties

Document

Gets the containing document.

public DocumentBase Document { get; }

Property Value

DocumentBase

IsReadOnly

Gets a value indicating whether the containing document is in reading mode.

public bool IsReadOnly { get; }

Property Value

bool

MajorFont

Gets a set of major fonts that are to be used for different languages or locales. The major font corresponds well with the heading areas of a document.

public ThemeFontCollection MajorFont { get; }

Property Value

ThemeFontCollection

MinorFont

Gets a set of minor fonts that are to be used for different languages or locales. The minor font corresponds well with the normal text or paragraph areas.

public ThemeFontCollection MinorFont { get; }

Property Value

ThemeFontCollection

Name

Gets or sets the scheme name.

public string Name { get; set; }

Property Value

string

Methods

GetFontName(ThemeFontType)

Gets a theme font name by its type.

public string GetFontName(ThemeFontType type)

Parameters

type ThemeFontType

The theme font type.

Returns

string

The theme font name.

GetThemeFont(ThemeFontType)

Gets a theme font by its type.

public ThemeFont GetThemeFont(ThemeFontType type)

Parameters

type ThemeFontType

The theme font type.

Returns

ThemeFont

The theme font.