Class OleObject
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Represents an OLE object which can be inserter into Gantt Chart View of an MPP file.
public class OleObject
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
OleObject()
Initializes a new instance of the Aspose.Tasks.OleObject class.
public OleObject()
Properties
ApplicationName
Gets or sets the application name to open the embedded object with.
public string ApplicationName { get; set; }
Property Value
Content
Gets or sets the embedded file’s data; null if no data was embedded.
public byte[] Content { get; set; }
Property Value
byte[]
DisplayAsIcon
Gets or sets a flag indicating that OLE object should be shown either as an icon or as its regular picture.
public bool DisplayAsIcon { get; set; }
Property Value
FileFormat
Gets or sets the file format of the embedded object.
public string FileFormat { get; set; }
Property Value
FullPath
Gets or sets the full path of the inserted object.
public string FullPath { get; set; }
Property Value
Id
Gets or sets the object id.
public int Id { get; set; }
Property Value
Label
Gets or sets the label of the inserted object.
public string Label { get; set; }
Property Value
Linked
Gets a value indicating whether the project file contains only a link to the actual data stored at the link source.
public bool Linked { get; }
Property Value
Name
Gets or sets the name of the instance of the OLE object.
public string Name { get; set; }
Property Value
TemporaryFile
Gets or sets the path to the temporary file of the inserted object.
public string TemporaryFile { get; set; }
Property Value
View
Gets or sets the instance of the Aspose.Tasks.OleObject.View class the inserted object belongs to.
public View View { get; set; }