API Reference

Class

WordEmbeddedObject

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word

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

Inheritance

  • Object
  • WordEmbeddedObject

Usage

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, Nullable<Double> width = null, Nullable<Double> height = null) #

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

Parameters

wordParagraph OfficeIMO.Word.WordParagraph requiredposition: 0
Paragraph that will host the embedded object.
wordDocument OfficeIMO.Word.WordDocument requiredposition: 1
Parent WordDocument.
fileName System.String requiredposition: 2
Path to the file to embed.
fileImage System.String requiredposition: 3
Path to the icon representing the embedded object.
description System.String requiredposition: 4
Description for the embedded object.
width System.Nullable{System.Double} = null optionalposition: 5
Width of the icon in points. Defaults to 64.8.
height System.Nullable{System.Double} = null optionalposition: 6
Height of the icon in points. Defaults to 64.8.