Aspose::Page::XPS::XpsDocument::AddDocument method

XpsDocument::AddDocument(bool) method

Adds an empty document with default page size.

void Aspose::Page::XPS::XpsDocument::AddDocument(bool activate=true)
ParameterTypeDescription
activateboolFlag indicating whether to select added document as active.

See Also

XpsDocument::AddDocument(float, float, bool) method

Adds an empty document with the first page dimensions width and height .

void Aspose::Page::XPS::XpsDocument::AddDocument(float width, float height, bool activate=true)
ParameterTypeDescription
widthfloatWidth of the first page.
heightfloatHeight of the first page.
activateboolFlag indicating whether to select added document as active.

See Also