IPXV_MediaDrawContext::DrawImage Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DrawImage([in]                     IUIX_ImageData*  pSrc,
                  [in]                     RECT*            pDstRect,
                  [in]                     RECT*            pSrcRect,
                  [in, defaultvalue(0)]    LONG             nFlags,
                  [in, defaultvalue(1.0)]  double           nOpacity);

Parameters

pSrc
[in] Pointer to IUIX_ImageData.
pDstRect
[in] Pointer to RECT.
pSrcRect
[in] Pointer to RECT.
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

IPXV_MediaDrawContext