IIXC_Page::Scale Method
From PDF XChange PDF SDK
The method scales the entire page to a specified size.
Contents
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.