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 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT DrawIcon([in]                    IUIX_Icon*  Icon,
+
<pre class="brush:cpp;gutter:false">HRESULT DrawIcon([in]                    IUIX_Icon*  pIcon,
                 [in]                    RECT*      DstRect,
+
                 [in]                    RECT*      stDstRect,
                 [in]                    RECT*      ClipRect,
+
                 [in]                    RECT*      stClipRect,
                 [in, defaultvalue(0)]    LONG        NewScaleType,
+
                 [in, defaultvalue(0)]    LONG        nNewScaleType,
                 [in, defaultvalue(0)]    LONG        Flags,
+
                 [in, defaultvalue(0)]    LONG        nFlags,
                 [in, defaultvalue(1.0)]  double      Opacity);</pre>
+
                 [in, defaultvalue(1.0)]  double      nOpacity);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Icon
+
;pIcon
 
:[in]  Pointer to [[PXV:IUIX_Icon|IUIX_Icon]].
 
:[in]  Pointer to [[PXV:IUIX_Icon|IUIX_Icon]].
;DstRect
+
;stDstRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;ClipRect
+
;stClipRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;NewScaleType
+
;nNewScaleType
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;Flags
+
;nFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;Opacity
+
;nOpacity
 
:[in, defaultvalue(1.0)]  Value of double.
 
:[in, defaultvalue(1.0)]  Value of double.
  

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