Class OleObject

Class OleObject

Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)

表示一个可以插入到MPP文件的甘特图视图中的OLE对象。

public class OleObject

继承

objectOleObject

继承的成员

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

构造函数

OleObject()

初始化Aspose.Tasks.OleObject类的新实例。

public OleObject()

属性

ApplicationName

获取或设置用于打开嵌入对象的应用程序名称。

public string ApplicationName { get; set; }

属性值

string

Content

获取或设置嵌入文件的数据;如果没有嵌入数据,则为null。

public byte[] Content { get; set; }

属性值

byte[]

DisplayAsIcon

获取或设置一个标志,指示OLE对象应显示为图标或其常规图片。

public bool DisplayAsIcon { get; set; }

属性值

bool

FileFormat

获取或设置嵌入对象的文件格式。

public string FileFormat { get; set; }

属性值

string

FullPath

获取或设置插入对象的完整路径。

public string FullPath { get; set; }

属性值

string

Id

获取或设置对象ID。

public int Id { get; set; }

属性值

int

Label

获取或设置插入对象的标签。

public string Label { get; set; }

属性值

string

Linked

获取一个值,指示项目文件是否仅包含指向存储在链接源中的实际数据的链接。

public bool Linked { get; }

属性值

bool

Name

获取或设置OLE对象实例的名称。

public string Name { get; set; }

属性值

string

TemporaryFile

获取或设置插入对象的临时文件路径。

public string TemporaryFile { get; set; }

属性值

string

View

获取或设置插入对象所属的Aspose.Tasks.OleObject.View类的实例。

public View View { get; set; }

属性值

View

 中文