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