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

Revision as of 06:57, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DrawIcon([in]                     IUIX_Icon*  Icon,
                 [in]                     RECT*       DstRect,
                 [in]                     RECT*       ClipRect,
                 [in, defaultvalue(0)]    LONG        NewScaleType,
                 [in, defaultvalue(0)]    LONG        Flags,
                 [in, defaultvalue(1.0)]  double      Opacity);

Parameters

Icon
[in] Pointer to IUIX_Icon.
DstRect
[in] Pointer to RECT.
ClipRect
[in] Pointer to RECT.
NewScaleType
[in, defaultvalue(0)] Value of LONG.
Flags
[in, defaultvalue(0)] Value of LONG.
Opacity
[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