.. highlightlang:: us .. index:: LayerGetCursorAttrib .. _layergetcursorattrib: LayerGetCursorAttrib ==================== .. us.tag LayerGetCursorAttrib GERMAN LayerCursor :ref:`LayerGetCursorAttrib` liefert Attribute des Cursors. .. function:: nAttrib = LayerGetCursorAttrib(hLayer) .. us.return **Returnwert** *nAttrib* ist eine Oder-Kombination der folgenden Werte: .. list-table:: :header-rows: 1 * - Name - Wert * - CURSOR_SHOWTWO - 1 * - CURSOR_SHOWHORZ - 2 * - CURSOR_INTERPOLATION - 4 * - CURSOR_PRINT - 8 * - CURSOR_ENABLECALLBACK - 16 * - CURSOR_ONLYACTIVEDIA - 32 * - CURSOR_ONLYACTIVEDATASET - 64 * - CURSOR_HIDEGRID - 128 .. us.params **Parameter** .. uparam:: hLayer *hLayer* ist die Zugriffsnummer des Diagramms, das mit :ref:`LayerCreate` erzeugt wurde. :: nAttrib = LayerGetCursorAttrib(hLayer); if (nAttrib & CURSOR_SHOWTWO) { // Two cursor are displayed } .. seealso:: :ref:`uberblick-diagramme`, :ref:`LayerSetCursorAttrib` :sub:`id-1052387`