IUIX_RenderContext::DrawIcon Method
From PDF XChange PDF SDK
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* | + | <pre class="brush:cpp;gutter:false">HRESULT DrawIcon([in] IUIX_Icon* Icon, |
− | [in] RECT* | + | [in] RECT* DstRect, |
− | [in] RECT* | + | [in] RECT* ClipRect, |
− | [in, defaultvalue(0)] LONG | + | [in, defaultvalue(0)] LONG NewScaleType, |
− | [in, defaultvalue(0)] LONG | + | [in, defaultvalue(0)] LONG Flags, |
− | [in, defaultvalue(1.0)] double | + | [in, defaultvalue(1.0)] double Opacity);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;Icon |
:[in] Pointer to [[PXV:IUIX_Icon|IUIX_Icon]]. | :[in] Pointer to [[PXV:IUIX_Icon|IUIX_Icon]]. | ||
− | ; | + | ;DstRect |
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
− | ; | + | ;ClipRect |
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
− | ; | + | ;NewScaleType |
:[in, defaultvalue(0)] Value of LONG. | :[in, defaultvalue(0)] Value of LONG. | ||
− | ; | + | ;Flags |
:[in, defaultvalue(0)] Value of LONG. | :[in, defaultvalue(0)] Value of LONG. | ||
− | ; | + | ;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.