IPXC_Page::GetDimension Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Page::GetDimension Method}}
 
{{#customTitle:IPXC_Page::GetDimension Method}}
{{#parentPage:PXV:IPXC_Page|GetDimension Method|method}}
+
{{#parentPage:PXV:IPXC_Page#Methods|GetDimension|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Get pages width and height taking page's rotation into account.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetDimension([out]  double*  pWidth,
+
<pre class="brush:cpp;gutter:false">HRESULT GetDimension([out]  double*  nWidth,
                     [out]  double*  pHeight);</pre>
+
                     [out]  double*  nHeight);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pWidth
+
;nWidth
:[out]  Pointer to double.
+
:[out]  Width of the page.
;pHeight
+
;nHeight
:[out]  Pointer to double.
+
:[out]  Height of the page.
  
 
== Return Value ==
 
== Return Value ==
Line 21: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Page|IPXC_Page]].
+
[[PXV:IPXC_Page|IPXC_Page]]

Latest revision as of 03:32, 15 June 2015


Get pages width and height taking page's rotation into account.

Syntax

HRESULT GetDimension([out]  double*  nWidth,
                     [out]  double*  nHeight);

Parameters

nWidth
[out] Width of the page.
nHeight
[out] Height of the page.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_Page