L_VecSetMarker
#include "lvkrn.h"
L_INT EXT_FUNCTION L_VecSetMarker(pVector, pMarker)
pVECTORHANDLE pVector; |
/* pointer to a vector handle */ |
const pVECTORMARKER pMarker; |
/* pointer to a structure */ |
Sets the new marker settings.
Parameter |
Description |
pVector |
Pointer to a vector handle. |
pMarker |
Pointer to a VECTORMARKER structure that contains the marker settings to set. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
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
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
|
Topics: |
Example
/* This example will set new marker settings */
void SetMyMarker( 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 */
L_VecSetMarker ( pVector, &Marker );
}