IPXV_TextSelection::GetSel Method

From PDF XChange PDF SDK
Revision as of 05:09, 27 April 2017 by Palamar (Talk | contribs)

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


Gets page text selection from the given page.

Syntax

HRESULT GetSel(                       ULONG                     nPageIndex,
               [in, defaultvalue(0)]  VARIANT_BOOL              bAddIfNotExists,
               [out, retval]          IPXV_PageTextSelection**  pSel);

Parameters

nPageIndex
Value of ULONG containing a page index.
bAddIfNotExists
[in, defaultvalue(0)] Value of VARIANT_BOOL representing whether the selection should be added if it does not exist.
pSel
[out, retval] Pointer to IPXV_PageTextSelection containing a resulting page text selection.

Return Value

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

See Also

IPXV_TextSelection