IIXC_Page::StretchDraw Method

From Tracker Software PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
Line 16: Line 16:
 
== Parameters ==
 
== Parameters ==
 
;hDC
 
;hDC
:[in]  Value of HANDLE_T.
+
:[in]  Specifies the handle of the device context.
 
;pDestRect
 
;pDestRect
:[in]  Pointer to RECT.
+
:[in]  Pointer to RECT structure that defines the destination rectangle on the device context.
 
;pSrcRect
 
;pSrcRect
:[in]  Pointer to RECT.
+
:[in]  Pointer to RECT structure that defines the source rectangle in the image page.
 
;nScaleMethod
 
;nScaleMethod
:[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.
 
;dwFlags
 
;dwFlags
:[in, defaultvalue(0)]  Value of ULONG.
+
:[in, defaultvalue(0)]  Specifies the combination of [[PXV:IXC_DrawFlags|flags]] which define how the image should be drawn.
  
 
== Return Value ==
 
== Return Value ==
Line 30: Line 30:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IIXC_Page|IIXC_Page]].
+
:[[PXV:IIXC_Page|IIXC_Page]]
 +
:[[PXV:IIXC_Page_DrawToDC|IIXC_Page:DrawToDC]]
 +
:[[PXV:IIXC_Page_PrintToDC|IIXC_Page:PrintToDC]]
 +
:[[PXV:IXC_ScaleMethod|IXC_ScaleMethod]]
 +
:[[PXV:IXC_DrawFlags|IXC_DrawFlags]]

Revision as of 03:52, 30 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT StretchDraw([in]                   HANDLE_T         hDC,
                    [in]                   RECT*            pDestRect,
                    [in]                   RECT*            pSrcRect,
                    [in]                   IXC_ScaleMethod  nScaleMethod,
                    [in, defaultvalue(0)]  ULONG            dwFlags);

Parameters

hDC
[in] Specifies the handle of the device context.
pDestRect
[in] Pointer to RECT structure that defines the destination rectangle on the device context.
pSrcRect
[in] Pointer to RECT structure that defines the source rectangle in the image page.
nScaleMethod
[in] Value of IXC_ScaleMethod specifies the method which will be used for scaling the image.
dwFlags
[in, defaultvalue(0)] Specifies the combination of flags which define how the image should be drawn.

Return Value

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

See Also

IIXC_Page
IIXC_Page:DrawToDC
IIXC_Page:PrintToDC
IXC_ScaleMethod
IXC_DrawFlags