IPXS_Inst::NewVar_Name Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT NewVar_Name([in]                      LPWSTR             sVal,
                    [in, defaultvalue(NULL)]  IPXS_Document*     pDoc,
                    [in, defaultvalue(0)]     VARIANT_BOOL       bIndirect,
                    [out, retval]             IPXS_PDFVariant**  pVar);

Parameters

sVal
[in] Value of LPWSTR.
pDoc
[in, defaultvalue(NULL)] Pointer to IPXS_Document.
bIndirect
[in, defaultvalue(0)] Value of VARIANT_BOOL.
pVar
[out, retval] Pointer to IPXS_PDFVariant.

Return Value

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

See Also

IPXS_Inst