IIXC_Image::GetPage Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(17 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IIXC_Image::GetPage Method}} | {{#customTitle:IIXC_Image::GetPage Method}} | ||
+ | {{#parentPage:PXV:IIXC_Image#Methods|GetPage|method}} | ||
− | The method of | + | The method retrieves the [[PXV:IIXC_Page|IIXC_Page]] pointer of the specified page without removing it from the image. |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT GetPage([in] ULONG nIndex, [in | + | <pre class="brush:cpp;gutter:false">HRESULT GetPage([in] ULONG nIndex, |
+ | [in, defaultvalue(NULL)] IProgressMon* pProgress, | ||
+ | [out, retval] IIXC_Page** pPage);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nIndex |
− | :[in] | + | :[in] Specifies zero-based index of the requested page. |
− | ; | + | ;pProgress |
− | :[in | + | :[in, defaultvalue(NULL)] Pointer to [[PXV:IProgressMon|IProgressMon]]. |
− | ; | + | ;pPage |
− | :[out, retval] | + | :[out, retval] Specifies a pointer to the variable which receives the [[PXV:IIXC_Page|IIXC_Page]] pointer of the requested page. |
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful | + | Returns S_OK if the operation was successful, and will return an error code if it fails. |
== See Also == | == See Also == | ||
− | + | [[PXV:IIXC_Image|IIXC_Image]] |
Latest revision as of 02:15, 15 June 2015
The method retrieves the IIXC_Page pointer of the specified page without removing it from the image.
Syntax
HRESULT GetPage([in] ULONG nIndex, [in, defaultvalue(NULL)] IProgressMon* pProgress, [out, retval] IIXC_Page** pPage);
Parameters
- nIndex
- [in] Specifies zero-based index of the requested page.
- pProgress
- [in, defaultvalue(NULL)] Pointer to IProgressMon.
- pPage
- [out, retval] Specifies a pointer to the variable which receives the IIXC_Page pointer of the requested page.
Return Value
Returns S_OK if the operation was successful, and will return an error code if it fails.