IUIX_Inst::CreateButton Method

From PDF XChange PDF SDK
Revision as of 05:56, 20 March 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateButton([in] IUIX_Obj* pParent, [in] RECT* pRect, [in] BSTR pID, [in] BSTR pText, [in, optional] LONGLONG nStyle, [in, optional] IUnknown* pImageOrIcon, [in, optional] IUnknown* pCustomImpl, [out, retval, optional] IUIX_Button** ppButton);

Parameters

pParent
[in] Pointer to IUIX_Obj.
pRect
[in] Pointer to RECT.
pID
[in] Value of BSTR.
pText
[in] Value of BSTR.
nStyle
[in, optional] Value of LONGLONG.
pImageOrIcon
[in, optional] Pointer to IUnknown*.
pCustomImpl
[in, optional] Pointer to IUnknown*.
ppButton
[out, retval, optional] Pointer to IUIX_Button.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IUIX_Inst.