IUIX_Inst::GetCursorID Method

From PDF XChange PDF SDK
Revision as of 08:02, 21 October 2016 by Stefan (Talk | contribs) (Parameters)

Jump to: navigation, search


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.

See Also

IUIX_Inst