RtfObjectFluent
OfficeIMO.Rtf
The fluent methods of RtfObject, 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
- RtfObjectFluent
Methods
public static RtfObject ClassName(RtfObject rtfObject, string? value) #Sets RtfObject.ClassName: Object class text from \objclass when present.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfObject { ClassName = value }; rtfObject.ClassName(value);public static RtfObject Data(RtfObject rtfObject, byte[] value) #Sets RtfObject.Data: Raw bytes from the \objdata destination.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- value byte[]
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfObject { Data = value }; rtfObject.Data(value);public static RtfObject Height(RtfObject rtfObject, int? value) #Sets RtfObject.Height: Object source height in twips or object units when declared by \objh.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfObject { Height = value }; rtfObject.Height(value);public static RtfObject Kind(RtfObject rtfObject, RtfObjectKind value) #Sets RtfObject.Kind: Object embedding or linking kind.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- value OfficeIMO.Rtf.RtfObjectKind
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfObject { Kind = value }; rtfObject.Kind(value);public static RtfObject Name(RtfObject rtfObject, string? value) #Sets RtfObject.Name: Object name text from \objname when present.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfObject { Name = value }; rtfObject.Name(value);public static RtfObject Result(RtfObject rtfObject, Action<RtfParagraph> configure) #Configures RtfObject.Result in place: Textual/rich fallback result shown by readers that cannot activate the object.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfParagraph>
- Configures the value.
public static RtfObject ResultImage(RtfObject rtfObject, RtfImage? value) #Sets RtfObject.ResultImage: Picture fallback result when the object declares a result picture.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- value OfficeIMO.Rtf.RtfImage?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfObject { ResultImage = value }; rtfObject.ResultImage(value);public static RtfObject ResultImage(RtfObject rtfObject, Action<RtfImage> configure) #Configures RtfObject.ResultImage in place: Picture fallback result when the object declares a result picture.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfImage>
- Configures the value.
public static RtfObject ScaleX(RtfObject rtfObject, int? value) #Sets RtfObject.ScaleX: Horizontal scale percentage when declared by \objscalex.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfObject { ScaleX = value }; rtfObject.ScaleX(value);public static RtfObject ScaleY(RtfObject rtfObject, int? value) #Sets RtfObject.ScaleY: Vertical scale percentage when declared by \objscaley.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfObject { ScaleY = value }; rtfObject.ScaleY(value);public static RtfObject Width(RtfObject rtfObject, int? value) #Sets RtfObject.Width: Object source width in twips or object units when declared by \objw.
Parameters
- rtfObject OfficeIMO.Rtf.RtfObject
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfObject { Width = value }; rtfObject.Width(value);