IUIX_RenderContext::DrawImage Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT DrawImage([in] IUIX_ImageData* pSrc, [in] RECT* pDstRect, RECT* pSrcRect, [in] RECT* pClipRect, [in, optional] LONG nScaleH, [in, optional] LONG nScaleV, [in, optional] LONG nStretchMethod, [in, optional] LONG nFlags, [in, optional] double nOpacity);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT DrawImage([in] IUIX_ImageData* pSrc, [in] RECT* pDstRect, RECT* pSrcRect, [in] RECT* pClipRect, [in, defaultvalue(0)] LONG nScaleH, [in, defaultvalue(0)] LONG nScaleV, [in, defaultvalue(1)] LONG nStretchMethod, [in, defaultvalue(0)] LONG nFlags, [in, defaultvalue(1.0)] double nOpacity);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 17: Line 17:
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
 
;''nScaleH''
 
;''nScaleH''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
 
;''nScaleV''
 
;''nScaleV''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
 
;''nStretchMethod''
 
;''nStretchMethod''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(1)]  Value of LONG.
 
;''nFlags''
 
;''nFlags''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
 
;''nOpacity''
 
;''nOpacity''
:[in, optional]  Value of double.
+
:[in, defaultvalue(1.0)]  Value of double.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 02:36, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DrawImage([in] IUIX_ImageData* pSrc, [in] RECT* pDstRect, RECT* pSrcRect, [in] RECT* pClipRect, [in, defaultvalue(0)] LONG nScaleH, [in, defaultvalue(0)] LONG nScaleV, [in, defaultvalue(1)] LONG nStretchMethod, [in, defaultvalue(0)] LONG nFlags, [in, defaultvalue(1.0)] double nOpacity);

Parameters

pSrc
[in] Pointer to IUIX_ImageData.
pDstRect
[in] Pointer to RECT.
pSrcRect
Pointer to RECT.
pClipRect
[in] Pointer to RECT.
nScaleH
[in, defaultvalue(0)] Value of LONG.
nScaleV
[in, defaultvalue(0)] Value of LONG.
nStretchMethod
[in, defaultvalue(1)] Value of LONG.
nFlags
[in, defaultvalue(0)] Value of LONG.
nOpacity
[in, defaultvalue(1.0)] Value of double.

Return Value

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

See Also

See also IUIX_RenderContext.