IUIX_RenderContext::DrawIcon Method
From PDF XChange PDF SDK
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.