CustomPart
CustomPart
概述
CustomPart 是 Aspose.Words FOSS 中用于 .NET 的一个类。
表示一个自定义(任意内容)部件,该部件未在 ISO/IEC 29500 标准中定义。
此类提供 1 个方法,用于在 .NET 程序中处理 CustomPart 对象。可用的方法包括:Clone。在安装 Aspose.Words FOSS for .NET 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:ContentType、Data、IsExternal、Name、RelationshipType。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Name | string | 读写 | 获取或设置此部件在 OOXML 包中的绝对名称或目标 URL。 |
RelationshipType | string | 读写 | 获取或设置从父部件到此自定义部件的关系类型。 |
IsExternal | bool | 读写 | 如果此自定义部件存储在 OOXML 包中,则为 False。 |
ContentType | string | 读写 | 指定此自定义部件的内容类型。 |
Data | byte[] | 读写 | 包含此自定义部件的数据。 |
方法
| 签名 | 描述 |
|---|---|
Clone() | 对对象进行“足够深度”的复制。 |