IUIX_Inst::GetCursorID Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
(→Parameters) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Inst::GetCursorID Method}} | {{#customTitle:IUIX_Inst::GetCursorID Method}} | ||
− | {{#parentPage:PXV:IUIX_Inst#Methods|GetCursorID | + | {{#parentPage:PXV:IUIX_Inst#Methods|GetCursorID|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets the ID by the cursor's name. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT GetCursorID([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT GetCursorID([in] BSTR sCursorName, |
− | [out, retval] LONG* | + | [out, retval] LONG* nCursorID);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;sCursorName |
− | :[in] Value of BSTR. | + | :[in] Value of BSTR containing the cursor name. Possible values are: |
− | ; | + | :{| class="wikitable properties" |
− | :[out, retval] Pointer to LONG. | + | |- |
+ | | | ||
+ | * hand.up | ||
+ | * hand.down | ||
+ | * article.onstart | ||
+ | * article.next | ||
+ | * article.prev | ||
+ | * article.tostart | ||
+ | * article.toend | ||
+ | * zoom.in | ||
+ | * zoom.out | ||
+ | * zoom.na | ||
+ | | | ||
+ | * drag.move | ||
+ | * drag.copy | ||
+ | * drag.delete | ||
+ | * draw.inside | ||
+ | * draw.node | ||
+ | * text.inside | ||
+ | * cross | ||
+ | * cross.minus | ||
+ | * cross.plus | ||
+ | * knee.h | ||
+ | | | ||
+ | * knee.v | ||
+ | * snapshot | ||
+ | * loupe | ||
+ | * text.select.h | ||
+ | * text.select.v | ||
+ | * link | ||
+ | * link.web | ||
+ | * pen | ||
+ | * pen_up | ||
+ | * mcs.up | ||
+ | | | ||
+ | * mcs.topright | ||
+ | * mcs.right | ||
+ | * mcs.bottomright | ||
+ | * mcs.down | ||
+ | * mcs.bottomleft | ||
+ | * mcs.left | ||
+ | * mcs.topleft | ||
+ | ; | ||
+ | ; | ||
+ | ; | ||
+ | |- | ||
+ | |} | ||
+ | ;nCursorID | ||
+ | :[out, retval] Pointer to LONG containing the cursor ID. | ||
== Return Value == | == Return Value == |
Latest revision as of 08:05, 21 October 2016
Gets the ID by the cursor's name.
Syntax
HRESULT GetCursorID([in] BSTR sCursorName, [out, retval] LONG* nCursorID);
Parameters
- sCursorName
- [in] Value of BSTR containing the cursor name. Possible values are:
- hand.up
- hand.down
- article.onstart
- article.next
- article.prev
- article.tostart
- article.toend
- zoom.in
- zoom.out
- zoom.na
- drag.move
- drag.copy
- drag.delete
- draw.inside
- draw.node
- text.inside
- cross
- cross.minus
- cross.plus
- knee.h
- knee.v
- snapshot
- loupe
- text.select.h
- text.select.v
- link
- link.web
- pen
- pen_up
- mcs.up
- mcs.topright
- mcs.right
- mcs.bottomright
- mcs.down
- mcs.bottomleft
- mcs.left
- mcs.topleft
- nCursorID
- [out, retval] Pointer to LONG containing the cursor ID.
Return Value
Returns S_OK if operation was successful or error code in other cases.