API Reference
Class
WordEmbeddedObject
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.
Returned or exposed by
- Property WordDocument.EmbeddedObjects
- Property WordParagraph.EmbeddedObject
- Property WordSection.EmbeddedObjects
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
- Paragraph that will host the embedded object.
- wordDocument OfficeIMO.Word.WordDocument
- Parent WordDocument.
- fileName System.String
- Path to the file to embed.
- fileImage System.String
- Path to the icon representing the embedded object.
- description System.String
- Description for the embedded object.
- width System.Nullable{System.Double} = null
- Width of the icon in points. Defaults to 64.8.
- height System.Nullable{System.Double} = null
- Height of the icon in points. Defaults to 64.8.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object