![]() |
Vanilla.PDF
2.0.0
Cross-platform toolkit for creating and modifying PDF documents
|
The pages of a document are accessed through a structure known as the page tree, which defines the ordering of pages in the document. More...
error_type CALLING_CONVENTION | PageTree_GetPageCount (PageTreeHandle *handle, size_type *result) |
Get total number of pages in current document. | |
error_type CALLING_CONVENTION | PageTree_GetPage (PageTreeHandle *handle, size_type at, PageObjectHandle **result) |
Get page at index at . | |
error_type CALLING_CONVENTION | PageTree_InsertPage (PageTreeHandle *handle, size_type at, PageObjectHandle *page) |
Insert new page at index at . | |
error_type CALLING_CONVENTION | PageTree_AppendPage (PageTreeHandle *handle, PageObjectHandle *page) |
Adds a new page at the end of the page tree, after its current last element. | |
error_type CALLING_CONVENTION | PageTree_RemovePage (PageTreeHandle *handle, size_type at) |
Removed a page at index at . | |
error_type CALLING_CONVENTION | PageTree_ToUnknown (PageTreeHandle *handle, IUnknownHandle **result) |
Reinterpret current object as IUnknownHandle. | |
error_type CALLING_CONVENTION | PageTree_FromUnknown (IUnknownHandle *handle, PageTreeHandle **result) |
Convert IUnknownHandle to PageTreeHandle. | |
error_type CALLING_CONVENTION | PageTree_Release (PageTreeHandle *handle) |
Decrement the internal reference counter. | |
Additional Inherited Members | |
![]() | |
error_type CALLING_CONVENTION | IUnknown_AddRef (IUnknownHandle *handle) |
Increment the internal reference counter. | |
![]() | |
error_type CALLING_CONVENTION | IUnknown_Release (IUnknownHandle *handle) |
Decrement the internal reference counter. | |
The pages of a document are accessed through a structure known as the page tree, which defines the ordering of pages in the document.
|
related |
Insert new page at index at
.
The page tree is extended by inserting new element before the element at
the specified position, effectively increasing the container by one.
|
related |
Removed a page at index at
.
This effectively reduces the container size by one.
|
related |
Decrement the internal reference counter.
When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.