Class
WordEmbeddedObjectOptions
OfficeIMO.Word
Options controlling how an embedded object is displayed.
Inheritance
- object
- WordEmbeddedObjectOptions
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Accepted by parameters 2
Constructors
public WordEmbeddedObjectOptions() #Methods
public static WordEmbeddedObjectOptions Icon(string? iconPath = null, OfficeLength? width = null, OfficeLength? height = null) #Creates a new instance configured to display the embedded object as an icon.
Parameters
- iconPath string? = null
- The icon image path.
- width OfficeIMO.OfficeLength? = null
- Optional physical icon width; defaults to 64.8 points.
- height OfficeIMO.OfficeLength? = null
- Optional physical icon height; defaults to 64.8 points.
Inherited Methods
Properties
public bool 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 WordEmbeddedObjectOptions.DisplayAsIcon is true.
public OfficeLength Width { get; set; } #Gets or sets the width of the embedded object when displayed as an icon.
public OfficeLength Height { get; set; } #Gets or sets the height of the embedded object when displayed as an icon.