IUIX_RenderContext::DrawIcon Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_RenderContext::DrawIcon Method}}
 
{{#customTitle:IUIX_RenderContext::DrawIcon Method}}
{{#parentPage:PXV:IUIX_RenderContext|method}}
+
{{#parentPage:PXV:IUIX_RenderContext|DrawIcon Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<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>
+
<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 ==
;''pIcon''
+
;pIcon
 
:[in]  Pointer to [[PXV:IUIX_Icon|IUIX_Icon]].
 
:[in]  Pointer to [[PXV:IUIX_Icon|IUIX_Icon]].
;''pDstRect''
+
;pDstRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''pClipRect''
+
;pClipRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''nNewScaleType''
+
;nNewScaleType
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;''nFlags''
+
;nFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;''nOpacity''
+
;nOpacity
 
:[in, defaultvalue(1.0)]  Value of double.
 
:[in, defaultvalue(1.0)]  Value of double.
  

Revision as of 05:54, 23 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.