Aspose::Page::XPS::XpsDocument::AddPage Methode

XpsDocument::AddPage(bool) method

Fügt dem Dokument eine leere Seite mit Standardseitengröße hinzu.

System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::AddPage(bool activate=true)
ParameterTypBeschreibung
aktivierenboolFlag, das angibt, ob die hinzugefügte Seite als aktiv ausgewählt werden soll.

ReturnValue

Hinzugefügte Seite.

Siehe auch

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

Fügt dem Dokument eine leere Seite mit angegebenen width und height hinzu.

System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::AddPage(float width, float height, bool activate=true)
ParameterTypBeschreibung
widthfloatBreite einer neuen Seite.
heightfloatHöhe einer neuen Seite.
aktivierenboolFlag, das angibt, ob die hinzugefügte Seite als aktiv ausgewählt werden soll.

ReturnValue

Hinzugefügte Seite.

Siehe auch

XpsDocument::AddPage(System::SharedPtr<XpsModel::XpsPage>, bool) method

Fügt dem Dokument eine Seite hinzu.

System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::AddPage(System::SharedPtr<XpsModel::XpsPage> page, bool activate=true)
ParameterTypBeschreibung
pageSystem::SharedPtr<XpsModel::XpsPage>Page hinzuzufügen.
aktivierenboolFlag, das angibt, ob die hinzugefügte Seite als aktiv ausgewählt werden soll.

ReturnValue

Hinzugefügte Seite.

Siehe auch