WordEmbeddedObjectOptionsFluent
OfficeIMO.Word
The fluent methods of WordEmbeddedObjectOptions, 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
- WordEmbeddedObjectOptionsFluent
Methods
public static TSelf DisplayAsIcon<TSelf>(TSelf wordEmbeddedObjectOptions, bool value = true) #Sets WordEmbeddedObjectOptions.DisplayAsIcon: Gets or sets a value indicating whether the object should be displayed as an icon.
Type Parameters
- TSelf
Parameters
- wordEmbeddedObjectOptions TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordEmbeddedObjectOptions { DisplayAsIcon = value }; wordEmbeddedObjectOptions.DisplayAsIcon(value);public static TSelf Height<TSelf>(TSelf wordEmbeddedObjectOptions, OfficeLength value) #Sets WordEmbeddedObjectOptions.Height: Gets or sets the height of the embedded object when displayed as an icon.
Type Parameters
- TSelf
Parameters
- wordEmbeddedObjectOptions TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordEmbeddedObjectOptions { Height = value }; wordEmbeddedObjectOptions.Height(value);public static TSelf IconPath<TSelf>(TSelf wordEmbeddedObjectOptions, string? value) #Sets WordEmbeddedObjectOptions.IconPath: Gets or sets the path to the icon used when WordEmbeddedObjectOptions.DisplayAsIcon is true.
Type Parameters
- TSelf
Parameters
- wordEmbeddedObjectOptions TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordEmbeddedObjectOptions { IconPath = value }; wordEmbeddedObjectOptions.IconPath(value);public static TSelf Width<TSelf>(TSelf wordEmbeddedObjectOptions, OfficeLength value) #Sets WordEmbeddedObjectOptions.Width: Gets or sets the width of the embedded object when displayed as an icon.
Type Parameters
- TSelf
Parameters
- wordEmbeddedObjectOptions TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordEmbeddedObjectOptions { Width = value }; wordEmbeddedObjectOptions.Width(value);