Class
WordEmbeddedObject
OfficeIMO.Word
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.
Returned or exposed by 5
- Method WordDocument.AddEmbeddedObject
- Property WordDocument.EmbeddedObjects
- Method WordParagraph.AddEmbeddedObject
- Property WordParagraph.EmbeddedObject
- Property WordSection.EmbeddedObjects
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
- Paragraph that will host the embedded object.
- wordDocument OfficeIMO.Word.WordDocument
- Parent WordDocument.
- fileName string
- Path to the file to embed.
- fileImage string
- Path to the icon representing the embedded object.
- description string
- Description for the embedded object.
- width OfficeIMO.OfficeLength? = null
- Physical icon width; defaults to 64.8 points.
- height OfficeIMO.OfficeLength? = null
- Physical icon height; defaults to 64.8 points.
Inherited Methods
Properties
public WordParagraph Paragraph { get; } #Gets the paragraph containing the embedded object.