IPXV_PageTextSelection::SelectChars Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_PageTextSelection::SelectChars Method}} | {{#customTitle:IPXV_PageTextSelection::SelectChars Method}} | ||
− | {{#parentPage:PXV:IPXV_PageTextSelection|SelectChars | + | {{#parentPage:PXV:IPXV_PageTextSelection#Methods|SelectChars|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Selects given character range on the page. | |
== Syntax == | == Syntax == | ||
Line 15: | Line 15: | ||
== Parameters == | == Parameters == | ||
;nFirstCharIndex | ;nFirstCharIndex | ||
− | :[in] Value of ULONG. | + | :[in] Value of ULONG containing an index of the first character that should be selectd. |
;nCharsCount | ;nCharsCount | ||
− | :[in] Value of ULONG. | + | :[in] Value of ULONG containing the number of characters that should be selected. |
;bUpdate | ;bUpdate | ||
− | :[in, defaultvalue(-1)] Value of VARIANT_BOOL. | + | :[in, defaultvalue(-1)] Value of VARIANT_BOOL representing whether the selection should be invalidated. |
;bExclusive | ;bExclusive | ||
− | :[in, defaultvalue(0)] Value of VARIANT_BOOL. | + | :[in, defaultvalue(0)] Value of VARIANT_BOOL representing whether the selection should be exclusive. An exclusive selection means that all of the selections made before will be cleared. |
== Return Value == | == Return Value == | ||
Line 27: | Line 27: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IPXV_PageTextSelection|IPXV_PageTextSelection]] |
Latest revision as of 04:12, 27 April 2017
Selects given character range on the page.
Syntax
HRESULT SelectChars([in] ULONG nFirstCharIndex, [in] ULONG nCharsCount, [in, defaultvalue(-1)] VARIANT_BOOL bUpdate, [in, defaultvalue(0)] VARIANT_BOOL bExclusive);
Parameters
- nFirstCharIndex
- [in] Value of ULONG containing an index of the first character that should be selectd.
- nCharsCount
- [in] Value of ULONG containing the number of characters that should be selected.
- bUpdate
- [in, defaultvalue(-1)] Value of VARIANT_BOOL representing whether the selection should be invalidated.
- bExclusive
- [in, defaultvalue(0)] Value of VARIANT_BOOL representing whether the selection should be exclusive. An exclusive selection means that all of the selections made before will be cleared.
Return Value
Returns S_OK if operation was successful or error code in other cases.