Class
RtfFontEmbeddingFluent
OfficeIMO.Rtf
The fluent methods of RtfFontEmbedding, 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
- RtfFontEmbeddingFluent
Methods
public static RtfFontEmbedding Data(RtfFontEmbedding rtfFontEmbedding, byte[] value) #Sets RtfFontEmbedding.Data: Embedded font payload bytes.
Parameters
- rtfFontEmbedding OfficeIMO.Rtf.RtfFontEmbedding
- The instance.
- value byte[]
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfFontEmbedding { Data = value }; rtfFontEmbedding.Data(value);public static RtfFontEmbedding FileCodePage(RtfFontEmbedding rtfFontEmbedding, int? value) #Sets RtfFontEmbedding.FileCodePage: Optional file name code page from \cpg inside \fontfile.
Parameters
- rtfFontEmbedding OfficeIMO.Rtf.RtfFontEmbedding
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfFontEmbedding { FileCodePage = value }; rtfFontEmbedding.FileCodePage(value);public static RtfFontEmbedding FileName(RtfFontEmbedding rtfFontEmbedding, string? value) #Sets RtfFontEmbedding.FileName: Optional file name from the {\*\fontfile ...} destination.
Parameters
- rtfFontEmbedding OfficeIMO.Rtf.RtfFontEmbedding
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfFontEmbedding { FileName = value }; rtfFontEmbedding.FileName(value);public static RtfFontEmbedding Type(RtfFontEmbedding rtfFontEmbedding, RtfEmbeddedFontType value) #Sets RtfFontEmbedding.Type: Embedded font type.
Parameters
- rtfFontEmbedding OfficeIMO.Rtf.RtfFontEmbedding
- The instance.
- value OfficeIMO.Rtf.RtfEmbeddedFontType
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfFontEmbedding { Type = value }; rtfFontEmbedding.Type(value);