RtfFontFluent
OfficeIMO.Rtf
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
- The instance.
- value string?
- The value.
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
- The instance.
- value int?
- The value.
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
- The instance.
- value int?
- The value.
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
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfFont.CodePage = value; rtfFont.CodePage(value);public static RtfFont Embedding(RtfFont rtfFont, RtfFontEmbedding? value) #Sets RtfFont.Embedding: Optional embedded font metadata from the {\*\fontemb ...} destination.
Parameters
- rtfFont OfficeIMO.Rtf.RtfFont
- The instance.
- value OfficeIMO.Rtf.RtfFontEmbedding?
- The value.
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
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfFontEmbedding>
- Configures the value.
public static RtfFont Family(RtfFont rtfFont, RtfFontFamily? value) #Sets RtfFont.Family: Optional RTF font family classification.
Parameters
- rtfFont OfficeIMO.Rtf.RtfFont
- The instance.
- value OfficeIMO.Rtf.RtfFontFamily?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfFont.Pitch = value; rtfFont.Pitch(value);