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 2: Line 2:
 
[[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|method}}
  
 
The '''Scale''' method scales the entire page to a specified size.
 
The '''Scale''' method scales the entire page to a specified size.

Revision as of 03:03, 21 May 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
IIXC_Page::Crop
IXC_ScaleMethod