Functions
Shapefile visualization
Map modules

Functions

bool AxMap.get_ShapeLayerDrawFill (int LayerHandle)
 Gets whether the specified layer is drawn with a fill. Only works on polygon shapefiles.
bool AxMap.get_ShapeLayerDrawLine (int LayerHandle)
 Gets whether the lines for the shapefile in specified layer are drawn.
bool AxMap.get_ShapeLayerDrawPoint (int LayerHandle)
 Gets whether the points/vertices for the shapefile in specified layer are drawn.
uint AxMap.get_ShapeLayerFillColor (int LayerHandle)
 Gets the fill color for the specified layer. Only works on polygon shapefiles.
MapWinGIS.tkFillStipple AxMap.get_ShapeLayerFillStipple (int LayerHandle)
 Gets the fill stipple for the specified layer. Only works on polygon shapefiles.
float AxMap.get_ShapeLayerFillTransparency (int LayerHandle)
 Gets the percentage of fill transparency for the specified layer. Only works on polygon shapefiles.
uint AxMap.get_ShapeLayerLineColor (int LayerHandle)
 Gets the line color for the specified layer. Only works on shapefiles.
MapWinGIS.tkLineStipple AxMap.get_ShapeLayerLineStipple (int LayerHandle)
 Gets the line stipple for the specified layer. Only works on shapefiles.
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.
uint AxMap.get_ShapeLayerPointColor (int LayerHandle)
 Gets the point color for the specified layer. Only works on shapefiles.
float AxMap.get_ShapeLayerPointSize (int LayerHandle)
 Gets the line point/vertex size for the specified layer. Only works on shapefiles.
MapWinGIS.tkPointType AxMap.get_ShapeLayerPointType (int LayerHandle)
 Gets the line point type for the specified layer. Only works on shapefiles.
uint AxMap.get_ShapeLayerStippleColor (int LayerHandle)
 Gets the color of the polygon stipple for shapefile layer.
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.
void AxMap.set_ShapeLayerDrawFill (int LayerHandle, bool newValue)
 Sets whether the specified layer is drawn with a fill. Only works on polygon shapefiles.
void AxMap.set_ShapeLayerDrawLine (int LayerHandle, bool newValue)
 Sets whether the lines for the shapefile in specified layer are drawn.
void AxMap.set_ShapeLayerDrawPoint (int LayerHandle, bool newValue)
 Sets whether the points/vertices for the shapefile in specified layer are drawn.
void AxMap.set_ShapeLayerFillColor (int LayerHandle, uint newValue)
 Sets the fill color for the specified layer. Only works on polygon shapefiles.
void AxMap.set_ShapeLayerFillStipple (int LayerHandle, MapWinGIS.tkFillStipple newValue)
 Sets the fill stipple for the specified layer. Only works on polygon shapefiles.
void AxMap.set_ShapeLayerFillTransparency (int LayerHandle, float newValue)
 Sets the percentage of fill transparency for the specified layer. Only works on polygon shapefiles.
void AxMap.set_ShapeLayerLineColor (int LayerHandle, uint newValue)
 Sets the line color for the specified layer. Only works on shapefiles.
void AxMap.set_ShapeLayerLineStipple (int LayerHandle, MapWinGIS.tkLineStipple newValue)
 Sets the line stipple for the specified layer. Only works on shapefiles.
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.
void AxMap.set_ShapeLayerPointColor (int LayerHandle, uint newValue)
 Sets the point color for the specified layer. Only works on shapefiles.
void AxMap.set_ShapeLayerPointSize (int LayerHandle, float newValue)
 Sets the line point/vertex size for the specified layer. Only works on shapefiles.
void AxMap.set_ShapeLayerPointType (int LayerHandle, MapWinGIS.tkPointType newValue)
 Sets the line point type for the specified layer. Only works on shapefiles.
void AxMap.set_ShapeLayerStippleColor (int LayerHandle, uint newValue)
 Sets the color of the polygon stipple for shapefile layer.
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.

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_8.png

Graph description


Function Documentation

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.
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.
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.
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.

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.
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.
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.

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.
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.
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.
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.

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.
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.
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.
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.
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.
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.
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.
void AxMap.set_ShapeLayerFillStipple ( int  LayerHandle,
MapWinGIS.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.
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.
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.
void AxMap.set_ShapeLayerLineStipple ( int  LayerHandle,
MapWinGIS.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.
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.
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.
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.
void AxMap.set_ShapeLayerPointType ( int  LayerHandle,
MapWinGIS.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.
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.

Shapefile.DefaultDrawingOptions

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.
 All Classes Files Functions Enumerations Properties Events