Holds members that once were a part of AxMap class. New API members to substitute deprecated ones are listed in description. More...
Public Member Functions | |
void | AddDrawingLabel (int DrawHandle, string Text, uint Color, double x, double y, tkHJustification hJustification) |
Adds label to the specified drawing layer. More... | |
void | AddDrawingLabelEx (int DrawHandle, string Text, uint Color, double x, double y, tkHJustification hJustification, double Rotation) |
Adds label to the specified drawing layer. Angle of rotation is accepted. More... | |
void | AddLabel (int LayerHandle, string Text, uint Color, double x, double y, tkHJustification hJustification) |
Adds a label to the map. More... | |
void | AddLabelEx (int LayerHandle, string Text, uint Color, double x, double y, tkHJustification hJustification, double Rotation) |
Adds an extended label to the map, allowing for rotated labels. More... | |
bool | AdjustLayerExtents (int LayerHandle) |
Deprecated. Updates the extents of the layer before the drawing. More... | |
bool | ApplyLegendColors (object Legend) |
Applies the coloring scheme to a layer (the layer handle is specified in the coloring scheme object). More... | |
void | ClearLabels (int LayerHandle) |
Clears all labels that have been added to the specified layer. More... | |
void | ClearUDPointImageList (int LayerHandle) |
Clears the images from the user defined list of point symbols. More... | |
void | DrawingFont (int DrawHandle, string FontName, int FontSize) |
Sets the font for the labels of the drawing layer. More... | |
int | get_DrawingLabelsOffset (int DrawHandle) |
Gets the vertical offset of the labels for the specified drawing layer in pixels. More... | |
bool | get_DrawingLabelsScale (int DrawHandle) |
Gets a boolean value which indicates whether the labels of the drawing layer will be scaled. More... | |
bool | get_DrawingLabelsShadow (int DrawHandle) |
Gets a boolean value which indicates whether a shadow will be displayed for the labels of the drawing layer. More... | |
uint | get_DrawingLabelsShadowColor (int DrawHandle) |
Gets the color of the shadow for the labels of the specified drawing layer. More... | |
string | get_GridFileName (int LayerHandle) |
Gets or sets the filename of the Grid object associated with an Image object loaded into the map. More... | |
float | get_ImageLayerPercentTransparent (int LayerHandle) |
Gets or sets the percentage of transparency of an Image layer. More... | |
int | get_LayerLabelsOffset (int LayerHandle) |
Gets the offset for the labels on the layer. More... | |
bool | get_LayerLabelsScale (int LayerHandle) |
Gets whether to scale the labels on the layer. More... | |
bool | get_LayerLabelsShadow (int LayerHandle) |
Gets whether to use shadows for the labels on the layer. More... | |
uint | get_LayerLabelsShadowColor (int LayerHandle) |
Gets the shadow color for the labels on the layer More... | |
bool | get_LayerLabelsVisible (int LayerHandle) |
Gets label visibility for the specified layer. More... | |
bool | get_ShapeDrawFill (int LayerHandle, int Shape) |
Deprecated. Gets whether the specified shape is drawn with a fill. Only works on polygon shapefiles. More... | |
bool | get_ShapeDrawLine (int LayerHandle, int Shape) |
Deprecated. Gets whether the lines for the specified shape are drawn. More... | |
bool | get_ShapeDrawPoint (int LayerHandle, int Shape) |
Deprecated. Gets whether the points/vertices in specified shape are drawn. More... | |
uint | get_ShapeFillColor (int LayerHandle, int Shape) |
Deprecated. Gets the fill color for the specified shape. Only works on polygon shapefiles. More... | |
MapWinGIS.tkFillStipple | get_ShapeFillStipple (int LayerHandle, int Shape) |
Deprecated. Gets the fill stipple for the specified shape. Only works on polygon shapefiles More... | |
float | get_ShapeFillTransparency (int LayerHandle, int Shape) |
Deprecated. Gets the percentage of fill transparency for the specified layer. Only works on polygon shapefiles. More... | |
uint | get_ShapeLineColor (int LayerHandle, int Shape) |
Deprecated. Gets the line color for the specified shape. Only works on shapefiles. More... | |
MapWinGIS.tkLineStipple | get_ShapeLineStipple (int LayerHandle, int Shape) |
Deprecated. Gets the line stipple for the specified shape. Only works on shapefiles. More... | |
float | get_ShapeLineWidth (int LayerHandle, int Shape) |
Deprecated. Gets the line width for the specified shape. Only works on shapefiles. Suggested values for line width: 1 - 5 More... | |
uint | get_ShapePointColor (int LayerHandle, int Shape) |
Deprecated. Gets the point color for the specified shape. Only works on shapefiles. More... | |
int | get_ShapePointFontCharListID (int LayerHandle, int Shape) |
Deprecated. Gets the index of the point marker represented by font character. More... | |
int | get_ShapePointImageListID (int LayerHandle, int Shape) |
Allows you specify an image from the image list so that one point shapefile can have multiple icons. More... | |
float | get_ShapePointSize (int LayerHandle, int Shape) |
Gets the line point/vertex size for the specified shape. Only works on shapefiles. More... | |
MapWinGIS.tkPointType | get_ShapePointType (int LayerHandle, int Shape) |
Deprecated. Gets the line point type for the specified shape. Only works on shapefiles. More... | |
uint | get_ShapeStippleColor (int LayerHandle, int Shape) |
Deprecated. Gets the color of the polygon fill stipple for the given shape of the layer. More... | |
bool | get_ShapeStippleTransparent (int LayerHandle, int Shape) |
Deprecated. Gets a boolean value which indicates whether the background of fill stipple for given shape of will be transparent. More... | |
bool | get_ShapeVisible (int LayerHandle, int Shape) |
Deprecated. Gets the visibility of the specified shape. More... | |
int | get_UDFillStipple (int LayerHandle, int StippleRow) |
Gets one user defined stipple row. More... | |
int | get_UDLineStipple (int LayerHandle) |
Gets the user defined line stipple for the specified layer. More... | |
int | get_UDPointImageListCount (int LayerHandle) |
Gets the number of images currently stored in the image list for custom points images. More... | |
object | get_UDPointImageListItem (int LayerHandle, int ImageIndex) |
Allows you to build an image list so that one point shapefile can have multiple icons. More... | |
object | get_UDPointType (int LayerHandle) |
Gets the image used when drawing points on the specified layer. More... | |
bool | get_UseDrawingLabelCollision (int DrawHandle) |
Gets a boolean value which indicates whether overlapping labels will be allowed for drawing layer. More... | |
bool | get_UseLabelCollision (int LayerHandle) |
Gets a boolean value which indicates whether overlapping labels will be allowed for the layer. More... | |
MapWinGIS.Point | GetBaseProjectionPoint (double rotX, double rotY) |
Gets or set the point which is used as a center of the map rotation/ More... | |
void | GetDrawingStandardViewWidth (int DrawHandle, ref double Width) |
Gets the value which affects the scaling of labels. More... | |
void | GetLayerStandardViewWidth (int LayerHandle, ref double Width) |
Gets the standard view width used to scale the labels on the layer More... | |
MapWinGIS.Extents | GetRotatedExtent () |
Gets the bounding box which holds the extents of the map when rotation is applied. More... | |
bool | IsSameProjection (string proj4_a, string proj4_b) |
Tests the identity of 2 projections. More... | |
bool | IsTIFFGrid (string Filename) |
Returns a boolean value which indicates whether the specified file holds tiff grid. More... | |
void | LabelColor (int LayerHandle, uint LabelFontColor) |
Sets the color of the font for labels of the layer. More... | |
void | LayerFont (int LayerHandle, string FontName, int FontSize) |
Sets the font to use when drawing labels for a layer. More... | |
void | LayerFontEx (int LayerHandle, string FontName, int FontSize, bool isBold, bool isItalic, bool isUnderline) |
Sets the font for labels of the layer. More... | |
void | set_DrawingLabelsOffset (int DrawHandle, int newValue) |
Sets the vertical offset of the labels for the specified drawing layer in pixels. More... | |
void | set_DrawingLabelsScale (int DrawHandle, bool newValue) |
Sets a boolean value which indicates whether the labels of the drawing layer will be scaled. More... | |
void | set_DrawingLabelsShadow (int DrawHandle, bool newValue) |
Sets a boolean value which indicates whether a shadow will be displayed for the labels of the drawing layer. More... | |
void | set_DrawingLabelsShadowColor (int DrawHandle, uint newValue) |
Sets the color of the shadow for the labels of the specified drawing layer. More... | |
void | set_GridFileName (int LayerHandle, string newValue) |
Sets the filename of the grid associated with the specified layer. More... | |
void | set_ImageLayerPercentTransparent (int LayerHandle, float newValue) |
Sets the numeric value which determines the transparency of the given image layer. More... | |
void | set_LayerLabelsOffset (int LayerHandle, int newValue) |
Sets the offset for the labels on the layer. More... | |
void | set_LayerLabelsScale (int LayerHandle, bool newValue) |
Sets whether to scale the labels on the layer More... | |
void | set_LayerLabelsShadow (int LayerHandle, bool newValue) |
Sets whether to use shadows for the labels on the layer. More... | |
void | set_LayerLabelsShadowColor (int LayerHandle, uint newValue) |
Sets the shadow color for the labels on the layer. More... | |
void | set_LayerLabelsVisible (int LayerHandle, bool newValue) |
Sets label visibility for the specified layer. More... | |
void | set_ShapeDrawFill (int LayerHandle, int Shape, bool newValue) |
Deprecated. Sets whether the specified shape is drawn with a fill. Only works on polygon shapefiles. More... | |
void | set_ShapeDrawLine (int LayerHandle, int Shape, bool newValue) |
Deprecated. Sets whether the lines for the specified shape are drawn. More... | |
void | set_ShapeDrawPoint (int LayerHandle, int Shape, bool newValue) |
Deprecated. Sets whether the points/vertices in specified shape are drawn. More... | |
void | set_ShapeFillColor (int LayerHandle, int Shape, uint newValue) |
Deprecated. Sets the fill color for the specified shape. Only works on polygon shapefiles More... | |
void | set_ShapeFillStipple (int LayerHandle, int Shape, MapWinGIS.tkFillStipple newValue) |
Deprecated. Sets the fill stipple for the specified shape. Only works on polygon shapefiles. More... | |
void | set_ShapeFillTransparency (int LayerHandle, int Shape, float newValue) |
Deprecated. Sets the percentage of fill transparency for the specified layer. Only works on polygon shapefiles. More... | |
void | set_ShapeLineColor (int LayerHandle, int Shape, uint newValue) |
Deprecated. Sets the line color for the specified shape. Only works on shapefiles. More... | |
void | set_ShapeLineStipple (int LayerHandle, int Shape, MapWinGIS.tkLineStipple newValue) |
Deprecated. Sets the line stipple for the specified shape. Only works on shapefiles. More... | |
void | set_ShapeLineWidth (int LayerHandle, int Shape, float newValue) |
Deprecated. Sets the line width for the specified shape. Only works on shapefiles. Suggested values for line width: 1 - 5 More... | |
void | set_ShapePointColor (int LayerHandle, int Shape, uint newValue) |
Deprecated. Sets the point color for the specified shape. Only works on shapefiles. More... | |
void | set_ShapePointFontCharListID (int LayerHandle, int Shape, int newValue) |
Deprecated. Sets the index of the point marker represented by font character. More... | |
void | set_ShapePointImageListID (int LayerHandle, int Shape, int newValue) |
Allows you specify an image from the image list so that one point shapefile can have multiple icons More... | |
void | set_ShapePointSize (int LayerHandle, int Shape, float newValue) |
Sets the line point/vertex size for the specified shape. Only works on shapefiles. More... | |
void | set_ShapePointType (int LayerHandle, int Shape, MapWinGIS.tkPointType newValue) |
Deprecated. Sets the line point type for the specified shape. Only works on shapefiles. More... | |
void | set_ShapeStippleColor (int LayerHandle, int Shape, uint newValue) |
Deprecated. Sets the color of the polygon fill stipple for the given shape of the layer. More... | |
void | set_ShapeStippleTransparent (int LayerHandle, int Shape, bool newValue) |
Deprecated. Sets a boolean value which indicates whether the background of fill stipple for given shape of will be transparent. More... | |
void | set_ShapeVisible (int LayerHandle, int Shape, bool newValue) |
Deprecated. Sets the visibility of the specified shape. More... | |
void | set_UDFillStipple (int LayerHandle, int StippleRow, int newValue) |
Sets one user defined stipple row. More... | |
void | set_UDLineStipple (int LayerHandle, int newValue) |
Sets the user defined line stipple for the specified layer. More... | |
void | set_UDPointFontCharFont (int LayerHandle, string FontName, float FontSize, bool isBold, bool isItalic, bool isUnderline) |
Sets the font for point markers defined by font characters. More... | |
void | set_UDPointFontCharFontSize (int LayerHandle, float FontSize) |
Sets the font size for point markers defined by font characters. More... | |
int | set_UDPointFontCharListAdd (int LayerHandle, int newValue, uint Color) |
Adds a new item in the list of point markers defined by font characters More... | |
int | set_UDPointImageListAdd (int LayerHandle, object newValue) |
Allows you to build an image list so that one point shapefile can have multiple icons. More... | |
void | set_UDPointType (int LayerHandle, object newValue) |
Sets the image used when drawing points on the specified layer. More... | |
void | set_UseDrawingLabelCollision (int DrawHandle, bool newValue) |
Sets a boolean value which indicates whether overlapping labels will be allowed for drawing layer. More... | |
void | set_UseLabelCollision (int LayerHandle, bool newValue) |
Sets a boolean value which indicates whether overlapping labels will be allowed for the layer. More... | |
void | SetDrawingStandardViewWidth (int DrawHandle, double Width) |
Deprecated. Affects the scaling of the labels of the specified drawing layer. More... | |
bool | SetImageLayerColorScheme (int LayerHandle, object ColorScheme) |
Sets a coloring scheme to be associated with an image layer. More... | |
void | SetLayerStandardViewWidth (int LayerHandle, double Width) |
Sets the standard view width used to scale the labels on the layer. More... | |
void | UpdateImage (int LayerHandle) |
Updates the display of the specified image object. More... | |
Properties | |
bool | CanUseImageGrouping [get, set] |
Gets or sets a boolean value which indicates how images with identical size and position on the map will be drawn. More... | |
bool | DoubleBuffer [get, set] |
Gets or sets whether or not the map uses double buffering. More... | |
int | LineSeparationFactor [get, set] |
Gets or sets line separation factor. More... | |
double | MapRotationAngle [get, set] |
Gets or sets the angle of map rotation in degrees. More... | |
string | MapState [get, set] |
Gets or sets the MapState string which stores all information needed to restore a view. More... | |
bool | MultilineLabels [get, set] |
Gets or sets a boolean value which indicates whether multiline labels will be drawn correctly on the map. More... | |
string | SerialNumber [get, set] |
Serial number functionality is deprecated as MapWindow is now Open Source. This property may be left unset. More... | |
tkShapeDrawingMethod | ShapeDrawingMethod [get, set] |
Gets or sets the drawing method for vector layers. More... | |
Holds members that once were a part of AxMap class. New API members to substitute deprecated ones are listed in description.
void AxMap_Deprecated.AddDrawingLabel | ( | int | DrawHandle, |
string | Text, | ||
uint | Color, | ||
double | x, | ||
double | y, | ||
tkHJustification | hJustification | ||
) |
Adds label to the specified drawing layer.
This method corresponds to the Labels.AddLabel method.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
Text | The text of the label. |
Color | The color of the label. |
x | The x coordinate of the label. |
y | The y coordinate of the label. |
hJustification | The justification of the label. |
void AxMap_Deprecated.AddDrawingLabelEx | ( | int | DrawHandle, |
string | Text, | ||
uint | Color, | ||
double | x, | ||
double | y, | ||
tkHJustification | hJustification, | ||
double | Rotation | ||
) |
Adds label to the specified drawing layer. Angle of rotation is accepted.
This method corresponds to the Labels.AddLabel method.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
Text | The text of the label. |
Color | The color of the label. |
x | The x coordinate of the label. |
y | The y coordinate of the label. |
hJustification | The justification of the label. |
Rotation | The angle of rotation in degrees. |
void AxMap_Deprecated.AddLabel | ( | int | LayerHandle, |
string | Text, | ||
uint | Color, | ||
double | x, | ||
double | y, | ||
tkHJustification | hJustification | ||
) |
Adds a label to the map.
LayerHandle | The handle of the layer where the label will be added to. |
Text | The text to be used for the label. |
Color | The color of the added label. This is a UInt32 representation of an RGB color. |
x | The x coordinate in projected map units which determines where the label will be added on the map. |
y | The y coordinate in projected map units which determines where the label will be added on the map. |
hJustification | Specifies whether to justify the label's text right, left, or center. |
void AxMap_Deprecated.AddLabelEx | ( | int | LayerHandle, |
string | Text, | ||
uint | Color, | ||
double | x, | ||
double | y, | ||
tkHJustification | hJustification, | ||
double | Rotation | ||
) |
Adds an extended label to the map, allowing for rotated labels.
LayerHandle | The handle of the layer where the label will be added to. |
Text | The text to be used for the label. |
Color | The color of the added label. This is a UInt32 representation of an RGB color. |
x | The x coordinate in projected map units which determines where the label will be added on the map. |
y | The y coordinate in projected map units which determines where the label will be added on the map. |
hJustification | Specifies whether to justify the label's text right, left, or center. |
Rotation | The number of degrees to rotate the label. Positive angles rotate the text counter-clockwise, and negative angles rotate the text clockwise |
bool AxMap_Deprecated.AdjustLayerExtents | ( | int | LayerHandle | ) |
Deprecated. Updates the extents of the layer before the drawing.
LayerHandle | The handle of the layer. |
bool AxMap_Deprecated.ApplyLegendColors | ( | object | Legend | ) |
Applies the coloring scheme to a layer (the layer handle is specified in the coloring scheme object).
Deprecated for shapefile layers.
Legend | The coloring scheme to apply. |
void AxMap_Deprecated.ClearLabels | ( | int | LayerHandle | ) |
Clears all labels that have been added to the specified layer.
LayerHandle | Handle of the layer. |
void AxMap_Deprecated.ClearUDPointImageList | ( | int | LayerHandle | ) |
Clears the images from the user defined list of point symbols.
LayerHandle | The handle of the layer. |
void AxMap_Deprecated.DrawingFont | ( | int | DrawHandle, |
string | FontName, | ||
int | FontSize | ||
) |
Sets the font for the labels of the drawing layer.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
FontName | The name of the font. |
FontSize | The size of the font. |
int AxMap_Deprecated.get_DrawingLabelsOffset | ( | int | DrawHandle | ) |
Gets the vertical offset of the labels for the specified drawing layer in pixels.
DrawHandle | The index of the drawing layer returned by AxMap.NewDrawing method. |
bool AxMap_Deprecated.get_DrawingLabelsScale | ( | int | DrawHandle | ) |
Gets a boolean value which indicates whether the labels of the drawing layer will be scaled.
This property corresponds to the Labels.ScaleLabels property.
DrawHandle | he index of the drawing layer returned by AxMap.NewDrawing method. |
bool AxMap_Deprecated.get_DrawingLabelsShadow | ( | int | DrawHandle | ) |
Gets a boolean value which indicates whether a shadow will be displayed for the labels of the drawing layer.
This property corresponds to the Labels.HaloVisible property.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
uint AxMap_Deprecated.get_DrawingLabelsShadowColor | ( | int | DrawHandle | ) |
Gets the color of the shadow for the labels of the specified drawing layer.
This property corresponds to the Labels.HaloColor property.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
string AxMap_Deprecated.get_GridFileName | ( | int | LayerHandle | ) |
Gets or sets the filename of the Grid object associated with an Image object loaded into the map.
LayerHandle | The handle of the layer for which the grid filename is to be set. |
float AxMap_Deprecated.get_ImageLayerPercentTransparent | ( | int | LayerHandle | ) |
Gets or sets the percentage of transparency of an Image layer.
LayerHandle | The layer handle of the Image layer for which the transparency is to be set. |
int AxMap_Deprecated.get_LayerLabelsOffset | ( | int | LayerHandle | ) |
Gets the offset for the labels on the layer.
The offset is the distance in pixels from the label point to the text.
LayerHandle | The handle of the layer for which the offset is to be set. |
bool AxMap_Deprecated.get_LayerLabelsScale | ( | int | LayerHandle | ) |
Gets whether to scale the labels on the layer.
LayerHandle | The handle of the layer for which the scaling of labels is to be set. |
bool AxMap_Deprecated.get_LayerLabelsShadow | ( | int | LayerHandle | ) |
Gets whether to use shadows for the labels on the layer.
LayerHandle | The handle of the layer for which the use of label shadows is to be set. |
uint AxMap_Deprecated.get_LayerLabelsShadowColor | ( | int | LayerHandle | ) |
Gets the shadow color for the labels on the layer
LayerHandle | The handle of the layer for which the shadow color is to be set. |
bool AxMap_Deprecated.get_LayerLabelsVisible | ( | int | LayerHandle | ) |
Gets label visibility for the specified layer.
LayerHandle | The handle for the layer for which its label's visibility are to be set. |
bool AxMap_Deprecated.get_ShapeDrawFill | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets whether the specified shape is drawn with a fill. Only works on polygon shapefiles.
LayerHandle | Handle of the layer containing the shape for which the fill is to be set. |
Shape | Handle of the shape for which the fill is to be set. |
bool AxMap_Deprecated.get_ShapeDrawLine | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets whether the lines for the specified shape are drawn.
LayerHandle | Handle of the layer containing the shape for which the lines are to be set. |
Shape | Handle of the shape for which the lines are to be set. |
bool AxMap_Deprecated.get_ShapeDrawPoint | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets whether the points/vertices in specified shape are drawn.
LayerHandle | Handle of the layer containing the shape for which the points are to be set. |
Shape | Handle of the shape for which the points are to be set. |
uint AxMap_Deprecated.get_ShapeFillColor | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the fill color for the specified shape. Only works on polygon shapefiles.
LayerHandle | Handle of the layer containing the shape for which the fill color is to be set. |
Shape | Handle for the shape for which the fill color is to be set. |
MapWinGIS.tkFillStipple AxMap_Deprecated.get_ShapeFillStipple | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the fill stipple for the specified shape. Only works on polygon shapefiles
LayerHandle | Handle of the layer containing the shape for which the fill stipple is to be set. |
Shape | Handle of the shape for which the fill stipple is required. |
float AxMap_Deprecated.get_ShapeFillTransparency | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the percentage of fill transparency for the specified layer. Only works on polygon shapefiles.
LayerHandle | Handle of the layer containing the shape for which the fill transparency is to be set. |
Shape | Handle of the shape for which the fill transparency is to be set. |
uint AxMap_Deprecated.get_ShapeLineColor | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the line color for the specified shape. Only works on shapefiles.
LayerHandle | Handle of the layer containing the shape for which the line color is required. |
Shape | Handle of the shape for which the line color is required. |
MapWinGIS.tkLineStipple AxMap_Deprecated.get_ShapeLineStipple | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the line stipple for the specified shape. Only works on shapefiles.
LayerHandle | Handle of the layer containing the shape for which the line stipple is required. |
Shape | Handle of the shape for which the line stipple is required. |
float AxMap_Deprecated.get_ShapeLineWidth | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the line width for the specified shape. Only works on shapefiles. Suggested values for line width: 1 - 5
LayerHandle | Handle of the layer for which the line width is required. |
Shape | Handle of the shape for which the line width is required. |
uint AxMap_Deprecated.get_ShapePointColor | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the point color for the specified shape. Only works on shapefiles.
LayerHandle | Handle of the layer containing the shape for which the point color is required. |
Shape | Handle of the shape for which the point color is required. |
int AxMap_Deprecated.get_ShapePointFontCharListID | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the index of the point marker represented by font character.
LayerHandle | The handle of the layer. |
Shape | The index of the shape. |
int AxMap_Deprecated.get_ShapePointImageListID | ( | int | LayerHandle, |
int | Shape | ||
) |
Allows you specify an image from the image list so that one point shapefile can have multiple icons.
LayerHandle | The layer handle of the layer for which the image list is defined. |
Shape | The specific shape in the layer that you wish to determine the image index for |
float AxMap_Deprecated.get_ShapePointSize | ( | int | LayerHandle, |
int | Shape | ||
) |
Gets the line point/vertex size for the specified shape. Only works on shapefiles.
LayerHandle | Handle of the layer containing the shape for which the point/vertex size is required. |
Shape | Handle of the shape for which the point/vertex size is required |
MapWinGIS.tkPointType AxMap_Deprecated.get_ShapePointType | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the line point type for the specified shape. Only works on shapefiles.
LayerHandle | Handle of the layer containing the shape for which the point type is required. |
Shape | Handle of the shape for which the point type is required. |
uint AxMap_Deprecated.get_ShapeStippleColor | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the color of the polygon fill stipple for the given shape of the layer.
LayerHandle | The handle of the layer. |
Shape | The index of the shape. |
bool AxMap_Deprecated.get_ShapeStippleTransparent | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets a boolean value which indicates whether the background of fill stipple for given shape of will be transparent.
LayerHandle | The handle of the layer. |
Shape | The index of the shape. |
bool AxMap_Deprecated.get_ShapeVisible | ( | int | LayerHandle, |
int | Shape | ||
) |
Deprecated. Gets the visibility of the specified shape.
LayerHandle | Handle of the layer containing the shape for which the visibility is required. |
Shape | Handle of the shape for which the visibility is required. |
int AxMap_Deprecated.get_UDFillStipple | ( | int | LayerHandle, |
int | StippleRow | ||
) |
Gets one user defined stipple row.
The user defined fill stipple contains 32 rows of 32 bits. The stipple is created by setting patterns in the bits contained in each row.
LayerHandle | The handle of the layer for which the fill stipple is to be set. |
StippleRow | The row in the custom stipple for which the pattern is to be set. |
int AxMap_Deprecated.get_UDLineStipple | ( | int | LayerHandle | ) |
Gets the user defined line stipple for the specified layer.
The user defined line stipple is represented by an Integer (VB.NET) or a Long (VB 6). The first digit represents the stipple multiplier. Each of the following digits alternate between representing pixels drawn and pixels skipped in the pattern. The number of pixels to be drawn or skipped are determined by multiplying the digit representing that segment of the stipple by the stipple multiplier.
This custom line stipple would draw six pixels(2*3), skip eight pixels(2*4), draw ten pixels(2*5), skip twelve pixels(2*6), with the pattern repeating from the beginning after that. The largest valid line stipple is 2147483647. Any value greater than this will result in overflow. A line stipple value less than 111 will result in a solid line.
LayerHandle | The handle of the layer for which the user defined shape line stipple is to be set. |
int AxMap_Deprecated.get_UDPointImageListCount | ( | int | LayerHandle | ) |
Gets the number of images currently stored in the image list for custom points images.
LayerHandle | The layer handle of the layer for which the image list is defined. |
object AxMap_Deprecated.get_UDPointImageListItem | ( | int | LayerHandle, |
int | ImageIndex | ||
) |
Allows you to build an image list so that one point shapefile can have multiple icons.
LayerHandle | The layer handle of the layer for which the image list is defined. |
ImageIndex | The Integer index for the image to retrieve |
object AxMap_Deprecated.get_UDPointType | ( | int | LayerHandle | ) |
Gets the image used when drawing points on the specified layer.
LayerHandle | The layer handle of the layer for which the point type is required. |
bool AxMap_Deprecated.get_UseDrawingLabelCollision | ( | int | DrawHandle | ) |
Gets a boolean value which indicates whether overlapping labels will be allowed for drawing layer.
This property corresponds to the Labels.AvoidCollisions property.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
bool AxMap_Deprecated.get_UseLabelCollision | ( | int | LayerHandle | ) |
Gets a boolean value which indicates whether overlapping labels will be allowed for the layer.
LayerHandle | The handle of the layer. |
MapWinGIS.Point AxMap_Deprecated.GetBaseProjectionPoint | ( | double | rotX, |
double | rotY | ||
) |
Gets or set the point which is used as a center of the map rotation/
rotX | The x coordinate of the rotation point in map units. |
rotY | The y coordinate of the rotation point in map units. |
void AxMap_Deprecated.GetDrawingStandardViewWidth | ( | int | DrawHandle, |
ref double | Width | ||
) |
Gets the value which affects the scaling of labels.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
Width | The standard width of the view in pixels to use normal size of labels. |
void AxMap_Deprecated.GetLayerStandardViewWidth | ( | int | LayerHandle, |
ref double | Width | ||
) |
Gets the standard view width used to scale the labels on the layer
LayerHandle | The handle of the layer for which the standard view width is required. |
Width | Reference parameter. The standard view width for the specified layer is returned through this parameter. |
MapWinGIS.Extents AxMap_Deprecated.GetRotatedExtent | ( | ) |
Gets the bounding box which holds the extents of the map when rotation is applied.
The bounding box is equal to the map extents when rotation angle is 0 and larger than map extents if the angle differs from it.
bool AxMap_Deprecated.IsSameProjection | ( | string | proj4_a, |
string | proj4_b | ||
) |
Tests the identity of 2 projections.
proj4_a | The first projection string. |
proj4_b | The second projection string. |
bool AxMap_Deprecated.IsTIFFGrid | ( | string | Filename | ) |
Returns a boolean value which indicates whether the specified file holds tiff grid.
Filename | The name of the file. |
void AxMap_Deprecated.LabelColor | ( | int | LayerHandle, |
uint | LabelFontColor | ||
) |
Sets the color of the font for labels of the layer.
LayerHandle | The handle of the layer. |
LabelFontColor | The color of the labels font. |
void AxMap_Deprecated.LayerFont | ( | int | LayerHandle, |
string | FontName, | ||
int | FontSize | ||
) |
Sets the font to use when drawing labels for a layer.
LayerHandle | Layer handle of the layer for which the label fonts are to be set. |
FontName | Name of the font to use for the labels. (Ex: "Arial") |
FontSize | Size of the font to use for the labels. |
void AxMap_Deprecated.LayerFontEx | ( | int | LayerHandle, |
string | FontName, | ||
int | FontSize, | ||
bool | isBold, | ||
bool | isItalic, | ||
bool | isUnderline | ||
) |
Sets the font for labels of the layer.
LayerHandle | The handle of the layer. |
FontName | The name of the font. |
FontSize | The size of the font. |
isBold | A boolean value which indicates whether the font is bold. |
isItalic | A boolean value which indicates whether the font is italic. |
isUnderline | A boolean value which indicates whether the font is underlined. |
void AxMap_Deprecated.set_DrawingLabelsOffset | ( | int | DrawHandle, |
int | newValue | ||
) |
Sets the vertical offset of the labels for the specified drawing layer in pixels.
DrawHandle | The index of the drawing layer returned by AxMap.NewDrawing method. |
newValue | The offset in pixels. |
void AxMap_Deprecated.set_DrawingLabelsScale | ( | int | DrawHandle, |
bool | newValue | ||
) |
Sets a boolean value which indicates whether the labels of the drawing layer will be scaled.
This property corresponds to the Labels.ScaleLabels property.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
newValue | True if the labels are scaled and false otherwise. |
void AxMap_Deprecated.set_DrawingLabelsShadow | ( | int | DrawHandle, |
bool | newValue | ||
) |
Sets a boolean value which indicates whether a shadow will be displayed for the labels of the drawing layer.
This property corresponds to the Labels.HaloVisible property.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
newValue | True if the shadow is displayed and false otherwise. |
void AxMap_Deprecated.set_DrawingLabelsShadowColor | ( | int | DrawHandle, |
uint | newValue | ||
) |
Sets the color of the shadow for the labels of the specified drawing layer.
This property corresponds to the Labels.HaloColor property.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
newValue | The color of shadow. |
void AxMap_Deprecated.set_GridFileName | ( | int | LayerHandle, |
string | newValue | ||
) |
Sets the filename of the grid associated with the specified layer.
MapWinGIS will create a bitmap representation for the grid and use instance of Image class for display.
LayerHandle | The layer handle. |
newValue | The name of the file with grid. |
void AxMap_Deprecated.set_ImageLayerPercentTransparent | ( | int | LayerHandle, |
float | newValue | ||
) |
Sets the numeric value which determines the transparency of the given image layer.
It is recommended to the properties of the Image class directly.
LayerHandle | The handle of the layer with the image. |
newValue | The value ranging from 0.0(transparent) to 1.0(opaque). |
void AxMap_Deprecated.set_LayerLabelsOffset | ( | int | LayerHandle, |
int | newValue | ||
) |
Sets the offset for the labels on the layer.
The offset is the distance in pixels from the label point to the text.
LayerHandle | The handle of the layer for which the offset is to be set. |
newValue | The offset for the labels on the specified layer. |
void AxMap_Deprecated.set_LayerLabelsScale | ( | int | LayerHandle, |
bool | newValue | ||
) |
Sets whether to scale the labels on the layer
LayerHandle | The handle of the layer for which the scaling of labels is to be set. |
newValue | A boolean value representing whether or not to scale the labels on the specified layer. |
void AxMap_Deprecated.set_LayerLabelsShadow | ( | int | LayerHandle, |
bool | newValue | ||
) |
Sets whether to use shadows for the labels on the layer.
LayerHandle | The handle of the layer for which the use of label shadows is to be set. |
newValue | A boolean value representing whether or not label shadows will be used for the specified layer. |
void AxMap_Deprecated.set_LayerLabelsShadowColor | ( | int | LayerHandle, |
uint | newValue | ||
) |
Sets the shadow color for the labels on the layer.
LayerHandle | The layer handle of the layer for which the shadow color is to be set. |
newValue | The color of use as the shadow color of the specified layer. This is a System.UInt32 representation of an RGB color. |
void AxMap_Deprecated.set_LayerLabelsVisible | ( | int | LayerHandle, |
bool | newValue | ||
) |
Sets label visibility for the specified layer.
LayerHandle | The layer handle for the layer for which its label's visibility are to be set. |
newValue | A boolean value which determines whether the specified layer's labels are visible or not. |
void AxMap_Deprecated.set_ShapeDrawFill | ( | int | LayerHandle, |
int | Shape, | ||
bool | newValue | ||
) |
Deprecated. Sets whether the specified shape is drawn with a fill. Only works on polygon shapefiles.
LayerHandle | Handle of the layer containing the shape for which the fill is to be set. |
Shape | Handle of the shape for which the fill is to be set. |
newValue | Sets whether the shape is drawn with a fill or not. |
void AxMap_Deprecated.set_ShapeDrawLine | ( | int | LayerHandle, |
int | Shape, | ||
bool | newValue | ||
) |
Deprecated. Sets whether the lines for the specified shape are drawn.
LayerHandle | Handle of the layer containing the shape for which the lines are to be set. |
Shape | Handle of the shape for which the lines are to be set. |
newValue | Sets whether the shape is drawn with lines or not. |
void AxMap_Deprecated.set_ShapeDrawPoint | ( | int | LayerHandle, |
int | Shape, | ||
bool | newValue | ||
) |
Deprecated. Sets whether the points/vertices in specified shape are drawn.
LayerHandle | Handle of the layer containing the shape for which the points are to be set. |
Shape | Handle of the shape for which the points are to be set. |
newValue | Sets whether the shape is drawn with points or not. |
void AxMap_Deprecated.set_ShapeFillColor | ( | int | LayerHandle, |
int | Shape, | ||
uint | newValue | ||
) |
Deprecated. Sets the fill color for the specified shape. Only works on polygon shapefiles
LayerHandle | Handle of the layer containing the shape for which the fill color is to be set. |
Shape | Handle for the shape for which the fill color is to be set. |
newValue | Fill color for the shape in the polygon shapefile. This is a System.UInt32 representation of an RGB color |
void AxMap_Deprecated.set_ShapeFillStipple | ( | int | LayerHandle, |
int | Shape, | ||
MapWinGIS.tkFillStipple | newValue | ||
) |
Deprecated. Sets the fill stipple for the specified shape. Only works on polygon shapefiles.
LayerHandle | Handle of the layer containing the shape for which the fill stipple is to be set. |
Shape | Handle of the shape for which the fill stipple is to be set. |
newValue | Sets fill stipple for the specified shape. |
void AxMap_Deprecated.set_ShapeFillTransparency | ( | int | LayerHandle, |
int | Shape, | ||
float | newValue | ||
) |
Deprecated. Sets the percentage of fill transparency for the specified layer. Only works on polygon shapefiles.
LayerHandle | Handle of the layer containing the shape for which the fill transparency is to be set. |
Shape | Handle of the shape for which the fill transparency is to be set. |
newValue | Sets the percentage of fill transparency for the specified shape. |
void AxMap_Deprecated.set_ShapeLineColor | ( | int | LayerHandle, |
int | Shape, | ||
uint | newValue | ||
) |
Deprecated. Sets the line color for the specified shape. Only works on shapefiles.
LayerHandle | Handle of the layer containing the shape for which the line color is to be set. |
Shape | Handle of the shape for which the line color is to be set. |
newValue | Line color for the shape in the polygon shapefile. This is a System.UInt32 representation of an RGB color |
void AxMap_Deprecated.set_ShapeLineStipple | ( | int | LayerHandle, |
int | Shape, | ||
MapWinGIS.tkLineStipple | newValue | ||
) |
Deprecated. Sets the line stipple for the specified shape. Only works on shapefiles.
LayerHandle | Handle of the layer containing the shape for which the line stipple is to be set. |
Shape | Handle of the shape for which the line stipple is to be set. |
newValue | Line stipple for the shape in the shapefile. |
void AxMap_Deprecated.set_ShapeLineWidth | ( | int | LayerHandle, |
int | Shape, | ||
float | newValue | ||
) |
Deprecated. Sets the line width for the specified shape. Only works on shapefiles. Suggested values for line width: 1 - 5
LayerHandle | Handle of the layer containing the shape for which the line width is to be set. |
Shape | Handle of the shape for which the line width is to be set |
newValue | Line width for the shape in the shapefile. |
void AxMap_Deprecated.set_ShapePointColor | ( | int | LayerHandle, |
int | Shape, | ||
uint | newValue | ||
) |
Deprecated. Sets the point color for the specified shape. Only works on shapefiles.
LayerHandle | Handle of the layer containing the shape for which the point color is to be set. |
Shape | Handle of the shape for which the point color is to be set. |
newValue | Point color for the shape in the polygon shapefile. This is a System.UInt32 representation of an RGB color |
void AxMap_Deprecated.set_ShapePointFontCharListID | ( | int | LayerHandle, |
int | Shape, | ||
int | newValue | ||
) |
Deprecated. Sets the index of the point marker represented by font character.
LayerHandle | The handle of the layer. |
Shape | The index of the shape. |
newValue | The index of the marker associated with shape. |
void AxMap_Deprecated.set_ShapePointImageListID | ( | int | LayerHandle, |
int | Shape, | ||
int | newValue | ||
) |
Allows you specify an image from the image list so that one point shapefile can have multiple icons
LayerHandle | The layer handle of the layer containing the list to specify an image from. |
Shape | The specific shape to be assigned a value in the layer. |
newValue | The index of the image in the imagelist that you want to assign to the specified shape |
void AxMap_Deprecated.set_ShapePointSize | ( | int | LayerHandle, |
int | Shape, | ||
float | newValue | ||
) |
Sets the line point/vertex size for the specified shape. Only works on shapefiles.
LayerHandle | Handle of the layer containing the shape for which the point/vertex size is to be set. |
Shape | Handle of the shape for which the point/vertex size is to be set. |
newValue | Point/vertex size for the shape in the shapefile. |
void AxMap_Deprecated.set_ShapePointType | ( | int | LayerHandle, |
int | Shape, | ||
MapWinGIS.tkPointType | newValue | ||
) |
Deprecated. Sets the line point type for the specified shape. Only works on shapefiles.
LayerHandle | Handle of the layer containing the shape for which the point type is to be set. |
Shape | Handle of the shape for which the point type is to be set. |
newValue | Point type for the shape in the shapefile. |
void AxMap_Deprecated.set_ShapeStippleColor | ( | int | LayerHandle, |
int | Shape, | ||
uint | newValue | ||
) |
Deprecated. Sets the color of the polygon fill stipple for the given shape of the layer.
LayerHandle | The handle of the layer. |
Shape | The index of the shape. |
newValue | The color of stipple. |
void AxMap_Deprecated.set_ShapeStippleTransparent | ( | int | LayerHandle, |
int | Shape, | ||
bool | newValue | ||
) |
Deprecated. Sets a boolean value which indicates whether the background of fill stipple for given shape of will be transparent.
LayerHandle | The handle of the layer. |
Shape | The index of the shape. |
newValue | True in case the background is transparent and false otherwise. |
void AxMap_Deprecated.set_ShapeVisible | ( | int | LayerHandle, |
int | Shape, | ||
bool | newValue | ||
) |
Deprecated. Sets the visibility of the specified shape.
LayerHandle | Handle of the layer containing the shape for which the visibility is to be set |
Shape | Handle of the shape for which the visibility is to be set. |
newValue | Boolean value representing whether the shape is to be visible or not. |
void AxMap_Deprecated.set_UDFillStipple | ( | int | LayerHandle, |
int | StippleRow, | ||
int | newValue | ||
) |
Sets one user defined stipple row.
The user defined fill stipple contains 32 rows of 32 bits. The stipple is created by setting patterns in the bits contained in each row.
LayerHandle | The handle of the layer for which the fill stipple is to be set. |
StippleRow | The row in the custom stipple for which the pattern is to be set. |
newValue | The custom fill stipple as an integer value where the stipple is defined by arranging the 32 bits in desired pattern |
void AxMap_Deprecated.set_UDLineStipple | ( | int | LayerHandle, |
int | newValue | ||
) |
Sets the user defined line stipple for the specified layer.
The user defined line stipple is represented by an Integer (VB.NET) or a Long (VB 6). The first digit represents the stipple multiplier. Each of the following digits alternate between representing pixels drawn and pixels skipped in the pattern. The number of pixels to be drawn or skipped are determined by multiplying the digit representing that segment of the stipple by the stipple multiplier.
This custom line stipple would draw six pixels(2*3), skip eight pixels(2*4), draw ten pixels(2*5), skip twelve pixels(2*6), with the pattern repeating from the beginning after that. The largest valid line stipple is 2147483647. Any value greater than this will result in overflow. A line stipple value less than 111 will result in a solid line.
LayerHandle | The handle of the layer for which the user defined shape line stipple is to be set. |
newValue | The user defined line stipple. |
void AxMap_Deprecated.set_UDPointFontCharFont | ( | int | LayerHandle, |
string | FontName, | ||
float | FontSize, | ||
bool | isBold, | ||
bool | isItalic, | ||
bool | isUnderline | ||
) |
Sets the font for point markers defined by font characters.
LayerHandle | The handle of the layer. |
FontName | The name of the font. |
FontSize | The size of the font. |
isBold | A boolean value which indicates whether the font is bold. |
isItalic | A boolean value which indicates whether the font is italic. |
isUnderline | A boolean value which indicates whether the font is underlined. |
void AxMap_Deprecated.set_UDPointFontCharFontSize | ( | int | LayerHandle, |
float | FontSize | ||
) |
Sets the font size for point markers defined by font characters.
LayerHandle | The handle of the layer. |
FontSize | The size of the font. |
int AxMap_Deprecated.set_UDPointFontCharListAdd | ( | int | LayerHandle, |
int | newValue, | ||
uint | Color | ||
) |
Adds a new item in the list of point markers defined by font characters
LayerHandle | The handle of the layer. |
newValue | The ANSI code of the new character. |
Color | The color of the marker. |
int AxMap_Deprecated.set_UDPointImageListAdd | ( | int | LayerHandle, |
object | newValue | ||
) |
Allows you to build an image list so that one point shapefile can have multiple icons.
LayerHandle | The layer handle of the layer for which the image list is defined. |
newValue | The Integer index for the image to retrieve |
void AxMap_Deprecated.set_UDPointType | ( | int | LayerHandle, |
object | newValue | ||
) |
Sets the image used when drawing points on the specified layer.
LayerHandle | The layer handle of the layer for which the point type is required. |
newValue | The image object which is used as the point image for the specified layer. |
void AxMap_Deprecated.set_UseDrawingLabelCollision | ( | int | DrawHandle, |
bool | newValue | ||
) |
Sets a boolean value which indicates whether overlapping labels will be allowed for drawing layer.
This property corresponds to the Labels.AllowCollisions property.
DrawHandle | The handle of the drawing layer returned by AxMap.NewDrawing method. |
newValue | True in case overlapping labels are removed and false otherwise. |
void AxMap_Deprecated.set_UseLabelCollision | ( | int | LayerHandle, |
bool | newValue | ||
) |
Sets a boolean value which indicates whether overlapping labels will be allowed for the layer.
LayerHandle | The handle of the layer. |
newValue | True in case overlapping labels will be forbidden and false otherwise. |
void AxMap_Deprecated.SetDrawingStandardViewWidth | ( | int | DrawHandle, |
double | Width | ||
) |
Deprecated. Affects the scaling of the labels of the specified drawing layer.
DrawHandle | The handle of the drawing layer. |
Width | The width in pixels. |
bool AxMap_Deprecated.SetImageLayerColorScheme | ( | int | LayerHandle, |
object | ColorScheme | ||
) |
Sets a coloring scheme to be associated with an image layer.
The coloring scheme is for reference purposes only and has no effect the coloring or display of the image.
LayerHandle | The handle of the image layer to attach the coloring scheme to. |
ColorScheme | The coloring scheme to attach to the specified image layer. |
void AxMap_Deprecated.SetLayerStandardViewWidth | ( | int | LayerHandle, |
double | Width | ||
) |
Sets the standard view width used to scale the labels on the layer.
LayerHandle | The handle of the layer for which the standard view width is to be set. |
Width | The new standard view width for the specified layer. |
void AxMap_Deprecated.UpdateImage | ( | int | LayerHandle | ) |
Updates the display of the specified image object.
LayerHandle | The handle of the layer. |
|
getset |
Gets or sets a boolean value which indicates how images with identical size and position on the map will be drawn.
When set to true such images will be merged into a single bitmap. This may improve performance in case of low number of data pixels (those which differ from the transparent color). The default value is false.
|
getset |
Gets or sets whether or not the map uses double buffering.
Double buffering uses a little more memory, but allows the view to be smoother with less flickering. The default value is true. It's not recommended to change it.
|
getset |
Gets or sets line separation factor.
|
getset |
Gets or sets the angle of map rotation in degrees.
|
getset |
Gets or sets the MapState string which stores all information needed to restore a view.
This includes layer information and coloring schemes.
|
getset |
Gets or sets a boolean value which indicates whether multiline labels will be drawn correctly on the map.
|
getset |
Serial number functionality is deprecated as MapWindow is now Open Source. This property may be left unset.
|
getset |
Gets or sets the drawing method for vector layers.
The default value is vdmNewSymbology. From the version 4.8 this is the only value supported.