L_VecSetMarker

Summary

Sets the new marker settings.

Syntax

#include "ltvkrn.h"

L_LVKRN_API L_INT L_VecSetMarker(pVector, pMarker)

Parameters

pVECTORHANDLE pVector

Pointer to a vector handle.

const pVECTORMARKER pMarker

Pointer to a VECTORMARKER structure that contains the marker settings to set.

Returns

Value Meaning
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

See Also

Functions

Topics

Example

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 ); 
} 

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.