Aspose::Pub::Document class

Document class

Represents PUB document, holds all fields and relevant values.

class Document : public Aspose::Pub::Licensing::IVentureLicenseTarget

Methods

MethodDescription
AddDefaultParagraphStyle(System::SharedPtr<ParagraphStyle>)Adds default paragraph style.
AddDefaultTextStyle(System::SharedPtr<TextStyle>)Adds default text style.
get_Colors()Array of colors.
get_DefaultParagraphStyles()Array of default paragraph styles.
get_DefaultTextStyles()Array of default text styles.
get_DocumentSummaryInfo() constDocument Summary Info.
get_FieldCount()Count of all fields.
get_FontNames()Array of font names.
get_Height() constHeight of document in PUB metrics(EMUs)
get_SummaryInfo() constSummary Info.
get_Width() constWidth of document in PUB metrics(EMUs)
SetDocSummaryInfo(System::SharedPtr<DocSummaryInfo>)Sets document summary info.
SetSummaryInfo(System::SharedPtr<Aspose::Pub::SummaryInfo>)Sets summary info.

See Also