IUIX_RenderContext::DrawIcon Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_RenderContext::DrawIcon Method}}
 
{{#customTitle:IUIX_RenderContext::DrawIcon Method}}
 +
{{#parentPage:PXV:IUIX_RenderContext#Methods|DrawIcon|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== 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*       stDstRect,
 +
                [in]                     RECT*       stClipRect,
 +
                [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''
+
;stDstRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''pClipRect''
+
;stClipRect
 
:[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 ==
Line 25: Line 34:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_RenderContext|IUIX_RenderContext]].
+
[[PXV:IUIX_RenderContext|IUIX_RenderContext]]

Latest revision as of 03:37, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DrawIcon([in]                     IUIX_Icon*  pIcon,
                 [in]                     RECT*       stDstRect,
                 [in]                     RECT*       stClipRect,
                 [in, defaultvalue(0)]    LONG        nNewScaleType,
                 [in, defaultvalue(0)]    LONG        nFlags,
                 [in, defaultvalue(1.0)]  double      nOpacity);

Parameters

pIcon
[in] Pointer to IUIX_Icon.
stDstRect
[in] Pointer to RECT.
stClipRect
[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

IUIX_RenderContext