IIXC_Page::Scale Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 2: Line 2:
 
{{#customTitle:IIXC_Page::Scale Method}}
 
{{#customTitle:IIXC_Page::Scale Method}}
 
{{#parentPage:PXV:IIXC_Page|Scale Method|method}}
 
{{#parentPage:PXV:IIXC_Page|Scale Method|method}}
{{ToWrite}}
+
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
The method scales the entire page to a specified size.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;nWidth
 
;nWidth
:[in]  Value of ULONG.
+
:[in]  Specifies the new width of the page in pixels.
 
;nHeigth
 
;nHeigth
:[in]  Value of ULONG.
+
:[in]  Specifies the new height of the page in pixels.
 
;nMethod
 
;nMethod
:[in]  Value of [[PXV:IXC_ScaleMethod|IXC_ScaleMethod]].
+
:[in]  Value of [[PXV:IXC_ScaleMethod|IXC_ScaleMethod]] specifies the method which will be used for scaling the image.
  
 
== Return Value ==
 
== Return Value ==
Line 24: Line 24:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IIXC_Page|IIXC_Page]].
+
:[[PXV:IIXC_Page|IIXC_Page]]
 +
:[[PXV:IXC_ScaleMethod|IXC_ScaleMethod]]

Revision as of 00:53, 7 May 2015


The method scales the entire page to a specified size.

Syntax

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

Parameters

nWidth
[in] Specifies the new width of the page in pixels.
nHeigth
[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
IXC_ScaleMethod