IIXC_Page::Scale Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Scale([in]  ULONG            nWidth,
+
<pre class="brush:cpp;gutter:false">HRESULT Scale([in]  ULONG            Width,
               [in]  ULONG            nHeight,
+
               [in]  ULONG            Height,
               [in]  IXC_ScaleMethod  nMethod);</pre>
+
               [in]  IXC_ScaleMethod  Method);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nWidth
+
;Width
 
:[in]  Specifies the new width of the page in pixels.
 
:[in]  Specifies the new width of the page in pixels.
;nHeight
+
;Height
 
:[in]  Specifies the new height of the page in pixels.
 
:[in]  Specifies the new height of the page in pixels.
;nMethod
+
;Method
 
:[in]  Value of [[PXV:IXC_ScaleMethod|IXC_ScaleMethod]] specifies the method which will be used for scaling the image.
 
:[in]  Value of [[PXV:IXC_ScaleMethod|IXC_ScaleMethod]] specifies the method which will be used for scaling the image.
  

Revision as of 05:51, 12 June 2015

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

Syntax

HRESULT Scale([in]  ULONG            Width,
              [in]  ULONG            Height,
              [in]  IXC_ScaleMethod  Method);

Parameters

Width
[in] Specifies the new width of the page in pixels.
Height
[in] Specifies the new height of the page in pixels.
Method
[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