Class WOleObject
Represents the OLE object in the Word document.
Inheritance
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Portable.dll
Syntax
public class WOleObject : ParagraphItem, IXDLSSerializable, IParagraphItem, IEntity, IOfficeRun, ILeafWidget, IWidget
Constructors
WOleObject(WordDocument)
Initializes a new instance of the WOleObject class with the specified WordDocument instance.
Declaration
public WOleObject(WordDocument doc)
Parameters
Type | Name | Description |
---|---|---|
WordDocument | doc | The WordDocument instance. |
Properties
Container
Declaration
public Stream Container { get; }
Property Value
Type | Description |
---|---|
System.IO.Stream | The System.IO.Stream that represents the storage container of OLE object. |
DisplayAsIcon
Declaration
public bool DisplayAsIcon { get; set; }
Property Value
Type |
---|
System.Boolean |
See Also
EntityType
Gets the type of the entity. Read-only.
Declaration
public override EntityType EntityType { get; }
Property Value
Type | Description |
---|---|
EntityType | The EntityType of the current item. |
Overrides
LinkPath
Gets or sets the link path of the OLE object.
Declaration
public string LinkPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that specifies the link address. |
LinkType
Gets the type of the OLE object. Read-only.
Declaration
public OleLinkType LinkType { get; }
Property Value
Type | Description |
---|---|
OleLinkType | The OleLinkType member that specifies the type of the OLE object. |
NativeData
Gets the native data of embedded OLE object. Read-only.
Declaration
public byte[] NativeData { get; }
Property Value
Type | Description |
---|---|
System.Byte[] | The byte array that specifies the native data. |
ObjectType
Gets or sets the type of the OLE object.
Declaration
public string ObjectType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that specifies the type of the OLE object. |
OlePicture
Gets the OLE picture. Read-only.
Declaration
public WPicture OlePicture { get; }
Property Value
Type | Description |
---|---|
WPicture | The WPicture instance that represents the OLE picture. |
OleStorageName
Gets or sets the name of the OLE Object storage.
Declaration
public string OleStorageName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that specifies the name of the OLE storage. |
PackageFileName
Gets the name of file embedded in the package(only if OleType is "Package"). Read-only.
Declaration
public string PackageFileName { get; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the file name. |
Methods
CloneImpl()
Creates a duplicate copy of the entity.
Declaration
protected override object CloneImpl()
Returns
Type | Description |
---|---|
System.Object | An System.Object reference to the newly created object. |
Overrides
CreateLayoutInfo()
Creates layout information.
Declaration
protected override void CreateLayoutInfo()