IUIX_RenderContext::DrawIcon 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 DrawIcon([in] IUIX_Icon* pIcon, [in] RECT* pDstRect, [in] RECT* pClipRect, [in, optional] LONG nNewScaleType, [in, optional] LONG nFlags, [in, optional] double nOpacity);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT DrawIcon([in] IUIX_Icon* pIcon, [in] RECT* pDstRect, [in] RECT* pClipRect, [in, defaultvalue(0)] LONG nNewScaleType, [in, defaultvalue(0)] LONG nFlags, [in, defaultvalue(1.0)] double nOpacity);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 15: Line 15:
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
 
;''nNewScaleType''
 
;''nNewScaleType''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  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 DrawIcon([in] IUIX_Icon* pIcon, [in] RECT* pDstRect, [in] RECT* pClipRect, [in, defaultvalue(0)] LONG nNewScaleType, [in, defaultvalue(0)] LONG nFlags, [in, defaultvalue(1.0)] double nOpacity);

Parameters

pIcon
[in] Pointer to IUIX_Icon.
pDstRect
[in] Pointer to RECT.
pClipRect
[in] Pointer to RECT.
nNewScaleType
[in, defaultvalue(0)] 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.