Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordEmbeddedObjectOptions

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
0eef6a5756b9 with working tree changes

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 optional
The icon image path.
width OfficeIMO.OfficeLength? = null optional
Optional physical icon width; defaults to 64.8 points.
height OfficeIMO.OfficeLength? = null optional
Optional physical icon height; defaults to 64.8 points.

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.