#include "lvkrn.h"
L_LVKRN_API L_INT L_VecSetMarker(pVector, pMarker)
Sets the new marker settings.
Pointer to a vector handle.
Pointer to a VECTORMARKER structure that contains the marker settings to set.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The marker is used to indicate those objects within the vector handle that are selected.
For more information on available marker settings, refer to the VECTORMARKER structure.
Required DLLs and Libraries
This example will set new marker settings.
L_INT VecSetMarkerExample(pVECTORHANDLE pVector)
{
VECTORMARKER Marker; /* marker */
/* Set flags to use pen color and style */
Marker.dwFlags = VECTOR_MARKER_PEN_STYLE | VECTOR_MARKER_PEN_COLOR;
/* Set marker to use a blue dot pen */
Marker.Pen.bExtPen = FALSE;
Marker.Pen.NewPen.LogPen.lopnStyle = PS_DOT;
Marker.Pen.NewPen.LogPen.lopnColor = RGB( 0x00, 0x00, 0xFF );
/* Set new marker settings */
return L_VecSetMarker( pVector, &Marker );
}