Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfFontEmbeddingFluent

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Modifiers
static

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 required
The instance.
value byte[] required
The value.

Returns

RtfFontEmbedding The same instance.

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 required
The instance.
value int? required
The value.

Returns

RtfFontEmbedding The same instance.

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 required
The instance.
value string? required
The value.

Returns

RtfFontEmbedding The same instance.

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 required
The instance.
value OfficeIMO.Rtf.RtfEmbeddedFontType required
The value.

Returns

RtfFontEmbedding The same instance.

Examples

// C# initializer or property                                   // C# fluent
new global::OfficeIMO.Rtf.RtfFontEmbedding { Type = value };    rtfFontEmbedding.Type(value);