IIXC_Page::Scale Method

From PDF XChange PDF SDK
Jump to: navigation, search
(See Also)
m (Automatic page editing by robot)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::Scale Method}}
 
{{#customTitle:IIXC_Page::Scale Method}}
{{#parentPage:PXV:IIXC_Page|Scale Method|method}}
+
{{#parentPage:PXV:IIXC_Page#Methods|Scale|method}}
  
{{ToReview}}
+
The '''Scale''' method scales the entire page to a specified size.
 
+
The method scales the entire page to a specified size.
+
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT Scale([in]  ULONG            nWidth,
 
<pre class="brush:cpp;gutter:false">HRESULT Scale([in]  ULONG            nWidth,
               [in]  ULONG            nHeigth,
+
               [in]  ULONG            nHeight,
 
               [in]  IXC_ScaleMethod  nMethod);</pre>
 
               [in]  IXC_ScaleMethod  nMethod);</pre>
  
Line 15: Line 14:
 
;nWidth
 
;nWidth
 
:[in]  Specifies the new width of the page in pixels.
 
:[in]  Specifies the new width of the page in pixels.
;nHeigth
+
;nHeight
 
:[in]  Specifies the new height of the page in pixels.
 
:[in]  Specifies the new height of the page in pixels.
 
;nMethod
 
;nMethod
Line 24: Line 23:
  
 
== See Also ==
 
== See Also ==
:[[PXV:IIXC_Page|IIXC_Page]]
+
[[PXV:IIXC_Page|IIXC_Page]]
:[[PXV:IIXC_Page_Crop|IIXC_Page::Crop]]
+
:[[PXV:IXC_ScaleMethod|IXC_ScaleMethod]]
+

Latest revision as of 02:17, 15 June 2015

The Scale method scales the entire page to a specified size.

Syntax

HRESULT Scale([in]  ULONG            nWidth,
              [in]  ULONG            nHeight,
              [in]  IXC_ScaleMethod  nMethod);

Parameters

nWidth
[in] Specifies the new width of the page in pixels.
nHeight
[in] Specifies the new height of the page in pixels.
nMethod
[in] Value of IXC_ScaleMethod specifies the method which will be used for scaling the image.

Return Value

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

See Also

IIXC_Page