Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfFontFluent

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Modifiers
static

The fluent methods of RtfFont, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • RtfFontFluent

Methods

public static RtfFont AlternateName(RtfFont rtfFont, string? value) #

Sets RtfFont.AlternateName: Optional alternate font name from the {\*\falt ...} destination.

Parameters

rtfFont OfficeIMO.Rtf.RtfFont required
The instance.
value string? required
The value.

Returns

RtfFont The same instance.

Examples

// C# initializer or property     // C# fluent
rtfFont.AlternateName = value;    rtfFont.AlternateName(value);
public static RtfFont Bias(RtfFont rtfFont, int? value) #

Sets RtfFont.Bias: Optional font bias from \fbias.

Parameters

rtfFont OfficeIMO.Rtf.RtfFont required
The instance.
value int? required
The value.

Returns

RtfFont The same instance.

Examples

// C# initializer or property    // C# fluent
rtfFont.Bias = value;            rtfFont.Bias(value);
public static RtfFont Charset(RtfFont rtfFont, int? value) #

Sets RtfFont.Charset: Optional character set from \fcharset.

Parameters

rtfFont OfficeIMO.Rtf.RtfFont required
The instance.
value int? required
The value.

Returns

RtfFont The same instance.

Examples

// C# initializer or property    // C# fluent
rtfFont.Charset = value;         rtfFont.Charset(value);
public static RtfFont CodePage(RtfFont rtfFont, int? value) #

Sets RtfFont.CodePage: Optional code page from \cpg.

Parameters

rtfFont OfficeIMO.Rtf.RtfFont required
The instance.
value int? required
The value.

Returns

RtfFont The same instance.

Examples

// C# initializer or property    // C# fluent
rtfFont.CodePage = value;        rtfFont.CodePage(value);
Embedding 2 overloads
public static RtfFont Embedding(RtfFont rtfFont, RtfFontEmbedding? value) #

Sets RtfFont.Embedding: Optional embedded font metadata from the {\*\fontemb ...} destination.

Parameters

rtfFont OfficeIMO.Rtf.RtfFont required
The instance.
value OfficeIMO.Rtf.RtfFontEmbedding? required
The value.

Returns

RtfFont The same instance.

Examples

// C# initializer or property    // C# fluent
rtfFont.Embedding = value;       rtfFont.Embedding(value);
public static RtfFont Embedding(RtfFont rtfFont, Action<RtfFontEmbedding> configure) #

Configures RtfFont.Embedding in place (creating it when not set): Optional embedded font metadata from the {\*\fontemb ...} destination.

Parameters

rtfFont OfficeIMO.Rtf.RtfFont required
The instance.
configure System.Action<OfficeIMO.Rtf.RtfFontEmbedding> required
Configures the value.

Returns

RtfFont The same instance.
public static RtfFont Family(RtfFont rtfFont, RtfFontFamily? value) #

Sets RtfFont.Family: Optional RTF font family classification.

Parameters

rtfFont OfficeIMO.Rtf.RtfFont required
The instance.
value OfficeIMO.Rtf.RtfFontFamily? required
The value.

Returns

RtfFont The same instance.

Examples

// C# initializer or property    // C# fluent
rtfFont.Family = value;          rtfFont.Family(value);
public static RtfFont NonTaggedName(RtfFont rtfFont, string? value) #

Sets RtfFont.NonTaggedName: Optional non-tagged font name from the {\*\fname ...} destination.

Parameters

rtfFont OfficeIMO.Rtf.RtfFont required
The instance.
value string? required
The value.

Returns

RtfFont The same instance.

Examples

// C# initializer or property     // C# fluent
rtfFont.NonTaggedName = value;    rtfFont.NonTaggedName(value);
public static RtfFont Panose(RtfFont rtfFont, string? value) #

Sets RtfFont.Panose: Optional raw PANOSE classification from the {\*\panose ...} destination.

Parameters

rtfFont OfficeIMO.Rtf.RtfFont required
The instance.
value string? required
The value.

Returns

RtfFont The same instance.

Examples

// C# initializer or property    // C# fluent
rtfFont.Panose = value;          rtfFont.Panose(value);
public static RtfFont Pitch(RtfFont rtfFont, int? value) #

Sets RtfFont.Pitch: Optional pitch request from \fprq.

Parameters

rtfFont OfficeIMO.Rtf.RtfFont required
The instance.
value int? required
The value.

Returns

RtfFont The same instance.

Examples

// C# initializer or property    // C# fluent
rtfFont.Pitch = value;           rtfFont.Pitch(value);