API Reference
Class
WordEmbeddedObjectOptions
Options controlling how an embedded object is displayed.
Inheritance
- Object
- WordEmbeddedObjectOptions
Constructors
public WordEmbeddedObjectOptions() #Methods
public static WordEmbeddedObjectOptions Icon(String iconPath = null, Nullable<Double> width = null, Nullable<Double> height = null) #Returns:
WordEmbeddedObjectOptionsCreates a new instance configured to display the embedded object as an icon.
Parameters
- iconPath System.String = null
- The icon image path.
- width System.Nullable{System.Double} = null
- Optional icon width in points.
- height System.Nullable{System.Double} = null
- Optional icon height in points.
Returns
A configured WordEmbeddedObjectOptions instance.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Boolean DisplayAsIcon { get; set; } #Gets or sets a value indicating whether the object should be displayed as an icon.
public String IconPath { get; set; } #Gets or sets the path to the icon used when DisplayAsIcon is true.
public Double Width { get; set; } #Gets or sets the width of the embedded object when displayed as an icon.
public Double Height { get; set; } #Gets or sets the height of the embedded object when displayed as an icon.