Class OleObject
Represents the Ole Object implementation
Inheritance
System.Object
OleObject
Implements
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public class OleObject : Object, IOleObject
Constructors
OleObject(WorksheetImpl)
Initializes a new instance of the OleObject class.
Declaration
public OleObject(WorksheetImpl sheet)
Parameters
Type | Name | Description |
---|---|---|
WorksheetImpl | sheet |
Properties
DisplayAsIcon
Gets or sets a value indicating whether [display as icon].
Declaration
public bool DisplayAsIcon { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Location
Gets or sets the location.
Declaration
public IRange Location { get; set; }
Property Value
Type | Description |
---|---|
IRange | The location. |
Name
Gets the name of an OLE object.
Declaration
public string Name { get; }
Property Value
Type |
---|
System.String |
OleSheet
Gets or sets the index of the OLE sheet.
Declaration
public WorksheetImpl OleSheet { get; }
Property Value
Type | Description |
---|---|
WorksheetImpl | The index of the OLE sheet. |
Picture
Gets or sets the picture.
Declaration
public Image Picture { get; set; }
Property Value
Type | Description |
---|---|
Image | The picture. |
Shape
Gets shape associated with this ole object.
Declaration
public IPictureShape Shape { get; set; }
Property Value
Type |
---|
IPictureShape |
Size
Gets or sets the size.
Declaration
public Size Size { get; set; }
Property Value
Type | Description |
---|---|
Size | The size. |
Methods
GetEmbeddedOleStream()
Gets the OLE part stream.
Declaration
public Stream GetEmbeddedOleStream()
Returns
Type |
---|
System.IO.Stream |
GetWorkbookIndex()
Gets index of external workbook referenced by this ole object.
Declaration
public int GetWorkbookIndex()
Returns
Type |
---|
System.Int32 |