Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordEmbeddedObject

OfficeIMO.Word

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

Represents an embedded object, such as a spreadsheet or PDF file, within a WordDocument.

Inheritance

  • object
  • WordEmbeddedObject

Usage

Explore 5 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.

Constructors

public WordEmbeddedObject(WordParagraph wordParagraph, WordDocument wordDocument, string fileName, string fileImage, string description, OfficeLength? width = null, OfficeLength? height = null) #

Initializes a new instance of the WordEmbeddedObject class and inserts it into the specified WordParagraph.

Parameters

wordParagraph OfficeIMO.Word.WordParagraph required
Paragraph that will host the embedded object.
wordDocument OfficeIMO.Word.WordDocument required
Parent WordDocument.
fileName string required
Path to the file to embed.
fileImage string required
Path to the icon representing the embedded object.
description string required
Description for the embedded object.
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.

Properties

public WordParagraph Paragraph { get; } #

Gets the paragraph containing the embedded object.