CustomPart

Overview

CustomPart is a class in Aspose.Words FOSS for .NET.

Represents a custom (arbitrary content) part, that is not defined by the ISO/IEC 29500 standard.

This class provides 1 method for working with CustomPart objects in .NET programs. Available methods include: Clone. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: ContentType, Data, IsExternal, Name, RelationshipType.

Properties

NameTypeAccessDescription
NamestringRead/WriteGets or sets this part’s absolute name within the OOXML package or the target URL.
RelationshipTypestringRead/WriteGets or sets the relationship type from the parent part to this custom part.
IsExternalboolRead/WriteFalse if this custom part is stored inside the OOXML package.
ContentTypestringRead/WriteSpecifies the content type of this custom part.
Databyte[]Read/WriteContains the data of this custom part.

Methods

SignatureDescription
Clone()Makes a “deep enough” copy of the object.

See Also