OfficeIMO

API Reference

Class

WordEmbeddedObjectOptions

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word

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: WordEmbeddedObjectOptions

Creates a new instance configured to display the embedded object as an icon.

Parameters

iconPath System.String = null optionalposition: 0
The icon image path.
width System.Nullable{System.Double} = null optionalposition: 1
Optional icon width in points.
height System.Nullable{System.Double} = null optionalposition: 2
Optional icon height in points.

Returns

A configured WordEmbeddedObjectOptions instance.

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.