Shapefile visualization

Functions

bool AxMap.get_ShapeLayerDrawFill (int layerHandle)
 Gets whether the specified layer is drawn with a fill. Only works on polygon shapefiles. More...
 
bool AxMap.get_ShapeLayerDrawLine (int layerHandle)
 Gets whether the lines for the shapefile in specified layer are drawn. More...
 
bool AxMap.get_ShapeLayerDrawPoint (int layerHandle)
 Gets whether the points/vertices for the shapefile in specified layer are drawn. More...
 
uint AxMap.get_ShapeLayerFillColor (int layerHandle)
 Gets the fill color for the specified layer. Only works on polygon shapefiles. More...
 
tkFillStipple AxMap.get_ShapeLayerFillStipple (int layerHandle)
 Gets the fill stipple for the specified layer. Only works on polygon shapefiles. More...
 
float AxMap.get_ShapeLayerFillTransparency (int layerHandle)
 Gets the percentage of fill transparency for the specified layer. Only works on polygon shapefiles. More...
 
uint AxMap.get_ShapeLayerLineColor (int layerHandle)
 Gets the line color for the specified layer. Only works on shapefiles. More...
 
tkLineStipple AxMap.get_ShapeLayerLineStipple (int layerHandle)
 Gets the line stipple for the specified layer. Only works on shapefiles. More...
 
float AxMap.get_ShapeLayerLineWidth (int layerHandle)
 Gets the line width for the specified layer. Only works on shapefiles. Suggested values for line width: 1 - 5 More...
 
uint AxMap.get_ShapeLayerPointColor (int layerHandle)
 Gets the point color for the specified layer. Only works on shapefiles More...
 
float AxMap.get_ShapeLayerPointSize (int layerHandle)
 Gets the line point/vertex size for the specified layer. Only works on shapefiles. More...
 
tkPointType AxMap.get_ShapeLayerPointType (int layerHandle)
 Gets the line point type for the specified layer. Only works on shapefiles. More...
 
uint AxMap.get_ShapeLayerStippleColor (int layerHandle)
 Gets the color of the polygon stipple for shapefile layer. More...
 
bool AxMap.get_ShapeLayerStippleTransparent (int layerHandle)
 Gets a boolean value which indicates whether the background of fill stipple for polygon shapefile layer will be transparent. More...
 
void AxMap.set_ShapeLayerDrawFill (int layerHandle, bool newValue)
 Sets whether the specified layer is drawn with a fill. Only works on polygon shapefiles. More...
 
void AxMap.set_ShapeLayerDrawLine (int layerHandle, bool newValue)
 Sets whether the lines for the shapefile in specified layer are drawn. More...
 
void AxMap.set_ShapeLayerDrawPoint (int layerHandle, bool newValue)
 Sets whether the points/vertices for the shapefile in specified layer are drawn. More...
 
void AxMap.set_ShapeLayerFillColor (int layerHandle, uint newValue)
 Sets the fill color for the specified layer. Only works on polygon shapefiles More...
 
void AxMap.set_ShapeLayerFillStipple (int layerHandle, tkFillStipple newValue)
 Sets the fill stipple for the specified layer. Only works on polygon shapefiles. More...
 
void AxMap.set_ShapeLayerFillTransparency (int layerHandle, float newValue)
 Sets the percentage of fill transparency for the specified layer. Only works on polygon shapefiles. More...
 
void AxMap.set_ShapeLayerLineColor (int layerHandle, uint newValue)
 Sets the line color for the specified layer. Only works on shapefiles. More...
 
void AxMap.set_ShapeLayerLineStipple (int layerHandle, tkLineStipple newValue)
 Sets the line stipple for the specified layer. Only works on shapefiles. More...
 
void AxMap.set_ShapeLayerLineWidth (int layerHandle, float newValue)
 Sets the line width for the specified layer. Only works on shapefiles. Suggested values for line width: 1 - 5 More...
 
void AxMap.set_ShapeLayerPointColor (int layerHandle, uint newValue)
 Sets the point color for the specified layer. Only works on shapefiles. More...
 
void AxMap.set_ShapeLayerPointSize (int layerHandle, float newValue)
 Sets the line point/vertex size for the specified layer. Only works on shapefiles. More...
 
void AxMap.set_ShapeLayerPointType (int layerHandle, tkPointType newValue)
 Sets the line point type for the specified layer. Only works on shapefiles. More...
 
void AxMap.set_ShapeLayerStippleColor (int layerHandle, uint newValue)
 Sets the color of the polygon stipple for shapefile layer. More...
 
void AxMap.set_ShapeLayerStippleTransparent (int layerHandle, bool newValue)
 Sets a boolean value which indicates whether the background of fill stipple for polygon shapefile layer will be transparent. More...
 

Detailed Description

Here is a list of properties for changing appearance of shapefile layer added to the map. Consider the usage of ShapeDrawingOptions class to access wider set of options. See Shapefile.DefaultDrawingOptions for details. This module is a part of the documentation of AxMap class.

dot_inline_dotgraph_33.png

Graph description

Function Documentation

◆ get_ShapeLayerDrawFill()

bool AxMap.get_ShapeLayerDrawFill ( int  layerHandle)

Gets whether the specified layer is drawn with a fill. Only works on polygon shapefiles.

Parameters
layerHandleHandle of the layer for which the fill is to be set.
Returns
Gets whether the layer is being drawn with a fill or not.

◆ get_ShapeLayerDrawLine()

bool AxMap.get_ShapeLayerDrawLine ( int  layerHandle)

Gets whether the lines for the shapefile in specified layer are drawn.

Parameters
layerHandleHandle of the layer to test if it is being drawn with a lines or not.
Returns
Gets whether the layer is being drawn with lines or not.

◆ get_ShapeLayerDrawPoint()

bool AxMap.get_ShapeLayerDrawPoint ( int  layerHandle)

Gets whether the points/vertices for the shapefile in specified layer are drawn.

Parameters
layerHandleHandle of the layer to test if it is being drawn with a points or not.
Returns
Gets whether the layer is being drawn with points or not.

◆ get_ShapeLayerFillColor()

uint AxMap.get_ShapeLayerFillColor ( int  layerHandle)

Gets the fill color for the specified layer. Only works on polygon shapefiles.

Parameters
layerHandleHandle of the layer for which the fill color is required.
Returns
Fill color for the polygon shapefile.

◆ get_ShapeLayerFillStipple()

tkFillStipple AxMap.get_ShapeLayerFillStipple ( int  layerHandle)

Gets the fill stipple for the specified layer. Only works on polygon shapefiles.

Parameters
layerHandleHandle of the layer for which the fill stipple is required.
Returns
Gets the fill stipple for the specified layer.

◆ get_ShapeLayerFillTransparency()

float AxMap.get_ShapeLayerFillTransparency ( int  layerHandle)

Gets the percentage of fill transparency for the specified layer. Only works on polygon shapefiles.

Parameters
layerHandleHandle of the layer to get percentage of fill transparency.
Returns
Gets the percentage of fill transparency for the specified layer.

◆ get_ShapeLayerLineColor()

uint AxMap.get_ShapeLayerLineColor ( int  layerHandle)

Gets the line color for the specified layer. Only works on shapefiles.

Parameters
layerHandleHandle of the layer for which the line color is required.
Returns
Line color for the polygon shapefile.

◆ get_ShapeLayerLineStipple()

tkLineStipple AxMap.get_ShapeLayerLineStipple ( int  layerHandle)

Gets the line stipple for the specified layer. Only works on shapefiles.

Parameters
layerHandleHandle of the layer for which the line stipple is required.
Returns
Line stipple for the shapefile.

◆ get_ShapeLayerLineWidth()

float AxMap.get_ShapeLayerLineWidth ( int  layerHandle)

Gets the line width for the specified layer. Only works on shapefiles. Suggested values for line width: 1 - 5

Parameters
layerHandleHandle of the layer for which the line width is required.
Returns
Line width for the shapefile.

◆ get_ShapeLayerPointColor()

uint AxMap.get_ShapeLayerPointColor ( int  layerHandle)

Gets the point color for the specified layer. Only works on shapefiles

Parameters
layerHandleHandle of the layer for which the point color is required.
Returns
Point color for the polygon shapefile.

◆ get_ShapeLayerPointSize()

float AxMap.get_ShapeLayerPointSize ( int  layerHandle)

Gets the line point/vertex size for the specified layer. Only works on shapefiles.

Parameters
layerHandleGets or sets the line point/vertex size for the specified layer. Only works on shapefiles.
Returns
Point/vertex size for the shapefile.

◆ get_ShapeLayerPointType()

tkPointType AxMap.get_ShapeLayerPointType ( int  layerHandle)

Gets the line point type for the specified layer. Only works on shapefiles.

Parameters
layerHandleHandle of the layer for which the point type is required.
Returns
Point type for the shapefile.

◆ get_ShapeLayerStippleColor()

uint AxMap.get_ShapeLayerStippleColor ( int  layerHandle)

Gets the color of the polygon stipple for shapefile layer.

This property corresponds to the ShapeDrawingOptions.FillHatchStyle property.

Parameters
layerHandleThe handle of the shapefile layer.
Returns
The color of stipple.

◆ get_ShapeLayerStippleTransparent()

bool AxMap.get_ShapeLayerStippleTransparent ( int  layerHandle)

Gets a boolean value which indicates whether the background of fill stipple for polygon shapefile layer will be transparent.

This property corresponds to the ShapeDrawingOptions.FillBgTransparent property.

Parameters
layerHandleThe handle of the shapefile layer.
Returns
True in case the background is transparent and false otherwise.

◆ set_ShapeLayerDrawFill()

void AxMap.set_ShapeLayerDrawFill ( int  layerHandle,
bool  newValue 
)

Sets whether the specified layer is drawn with a fill. Only works on polygon shapefiles.

Parameters
layerHandleHandle of the layer for which the fill is to be set.
newValueSets whether the layer is drawn with a fill or not.

◆ set_ShapeLayerDrawLine()

void AxMap.set_ShapeLayerDrawLine ( int  layerHandle,
bool  newValue 
)

Sets whether the lines for the shapefile in specified layer are drawn.

Parameters
layerHandleHandle of the layer for which the lines are to be set.
newValueSets whether the layer is drawn with lines or not.

◆ set_ShapeLayerDrawPoint()

void AxMap.set_ShapeLayerDrawPoint ( int  layerHandle,
bool  newValue 
)

Sets whether the points/vertices for the shapefile in specified layer are drawn.

Parameters
layerHandleHandle of the layer for which the points are to be set.
newValueSets whether the layer is drawn with points or not.

◆ set_ShapeLayerFillColor()

void AxMap.set_ShapeLayerFillColor ( int  layerHandle,
uint  newValue 
)

Sets the fill color for the specified layer. Only works on polygon shapefiles

Parameters
layerHandleHandle of the layer for which the fill color is to be set.
newValueFill color for the polygon shapefile. This is a System.UInt32 representation of an RGB color.

◆ set_ShapeLayerFillStipple()

void AxMap.set_ShapeLayerFillStipple ( int  layerHandle,
tkFillStipple  newValue 
)

Sets the fill stipple for the specified layer. Only works on polygon shapefiles.

Parameters
layerHandleHandle of the layer for which the fill stipple is to be set.
newValueSets fill stipple for the specified layer.

◆ set_ShapeLayerFillTransparency()

void AxMap.set_ShapeLayerFillTransparency ( int  layerHandle,
float  newValue 
)

Sets the percentage of fill transparency for the specified layer. Only works on polygon shapefiles.

Parameters
layerHandleHandle of the layer for which the fill transparency is to be set.
newValueSets the percentage of fill transparency for the specified layer.

◆ set_ShapeLayerLineColor()

void AxMap.set_ShapeLayerLineColor ( int  layerHandle,
uint  newValue 
)

Sets the line color for the specified layer. Only works on shapefiles.

Parameters
layerHandleHandle of the layer for which the line color is to be set.
newValueLine color for the polygon shapefile. This is a System.UInt32 representation of an RGB color.

◆ set_ShapeLayerLineStipple()

void AxMap.set_ShapeLayerLineStipple ( int  layerHandle,
tkLineStipple  newValue 
)

Sets the line stipple for the specified layer. Only works on shapefiles.

Parameters
layerHandleHandle of the layer for which the line stipple is required.
newValueLine stipple for the shapefile.

◆ set_ShapeLayerLineWidth()

void AxMap.set_ShapeLayerLineWidth ( int  layerHandle,
float  newValue 
)

Sets the line width for the specified layer. Only works on shapefiles. Suggested values for line width: 1 - 5

Parameters
layerHandleHandle of the layer for which the line width is to be set.
newValueLine width for the shapefile.

◆ set_ShapeLayerPointColor()

void AxMap.set_ShapeLayerPointColor ( int  layerHandle,
uint  newValue 
)

Sets the point color for the specified layer. Only works on shapefiles.

Parameters
layerHandleHandle of the layer for which the point color is to be set.
newValuePoint color for the polygon shapefile. This is a System.UInt32 representation of an RGB color.

◆ set_ShapeLayerPointSize()

void AxMap.set_ShapeLayerPointSize ( int  layerHandle,
float  newValue 
)

Sets the line point/vertex size for the specified layer. Only works on shapefiles.

Parameters
layerHandleHandle of the layer for which the point/vertex size is to be set.
newValuePoint/vertex size for the shapefile.

◆ set_ShapeLayerPointType()

void AxMap.set_ShapeLayerPointType ( int  layerHandle,
tkPointType  newValue 
)

Sets the line point type for the specified layer. Only works on shapefiles.

Parameters
layerHandleHandle of the layer for which the point type is to be set.
newValuePoint type for the shapefile.

◆ set_ShapeLayerStippleColor()

void AxMap.set_ShapeLayerStippleColor ( int  layerHandle,
uint  newValue 
)

Sets the color of the polygon stipple for shapefile layer.

This property corresponds to the ShapeDrawingOptions.FillBgTransparent property.

This property corresponds to the ShapeDrawingOptions.FillHatchStyle property.

Parameters
layerHandleThe handle of the shapefile layer.
newValueThe color of stipple.
See also
Shapefile.DefaultDrawingOptions

◆ set_ShapeLayerStippleTransparent()

void AxMap.set_ShapeLayerStippleTransparent ( int  layerHandle,
bool  newValue 
)

Sets a boolean value which indicates whether the background of fill stipple for polygon shapefile layer will be transparent.

This property corresponds to the ShapeDrawingOptions.FillBgTransparent property.

Parameters
layerHandleThe handle of the shapefile layer.
newValueTrue in case the background is transparent and false otherwise.