Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
This class displays an icon with text from the data of the feature.
LeaderLineMinimumLengthInPixels
This is the constructor for the class.
If you use this, then you should set the properties manually – such as the column name, font, solid brush and the image.
This is the constructor for the class.
This constructor allows you to pass in the path to the icon, along with the column name, font and solid brush to use. This is the most commonly used constructor. If you need to use an image from a stream, then you should use the constructor that takes a GeoImage.
iconPathFilename
textFont
This is the constructor for the class.
This constructor allows you to use a GeoImage instead of specifying a path and filename of the icon. This is commonly used if the image comes from a stream.
iconImage
textFont
N/A
N/A
N/A
Return Value
features
canvas
labelsInThisLayer
labelsInAllLayers
N/A
N/A
Return Value
shapes
canvas
labelsInThisLayer
labelsInAllLayers
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
labelingCandidate
canvas
labelsInThisLayer
labelsInAllLayers
N/A
N/A
Return Value
labelingCandidate
canvas
labelsInThisLayer
labelsInAllLayers
N/A
N/A
Return Value
labelingCandidate
canvas
labelsInThisLayer
labelsInAllLayers
N/A
N/A
Return Value
labelingCandidate
canvas
labelsInThisLayer
labelsInAllLayers
N/A
This method draws the features on the canvas you provided.
This overridden method is called from the concrete public method Draw. In this method, we take the features you passed in and draw them on the canvas you provided. Each style (based on its properties) may draw each feature differently. When overriding this method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.
Return Value
features
canvas
labelsInThisLayer
labelsInAllLayers
N/A
N/A
Return Value
N/A
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
This method determines which labels will be candidates for drawing.
This overridden method is called from the concrete public method GetLabelingCandidate. In this method, we determine if the feature passed in will be a candidate for drawing. If you have the grid method enabled, then we determine this by ensuring that only one label will be eligible per grid cell. In this way, we can ensure that labels always draw in the same place at the same scale.
Return Value
feature
canvas
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
polygon
text
canvas
N/A
N/A
Return Type:Dictionary<String,String>
N/A
N/A
Return Type:TextStyleAdvanced
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:Single
N/A
N/A
N/A
N/A
Return Type:String
N/A
N/A
Return Type:DrawingLevel
N/A
N/A
Return Type:LabelDuplicateRule
N/A
N/A
Return Type:Collection<String>
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Double
N/A
N/A
Return Type:Boolean
N/A
N/A
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Int32
N/A
N/A
This property gets and sets the filename and path for the image you want to use in the style.
You can also optionally use the IconImage property if the image you want to use is derived from a stream.
Return Type:String
This property gets and sets the GeoImage you want to use for the image.
You will typically want to use this property if your image is derived from a stream. Otherwise, you can use the IconFilePathName property to specify where the icon is located and we will handle the rest.
This property gets and sets the scale of the image you want to draw.
This property allows you to scale the image up and down depending on how large or small you want it. It can be changed dynamically, so you could change it at every scale level to resize the bitmap based on the current scale. A scale of 1 would be the original size, while a scale of 2 would double the size. A scale of .5 would reduce the size of the image by half, and so on.
Return Type:Double
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Dictionary<String,WorldLabelingCandidate>
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:LabelLeaderLinesRule
N/A
N/A
N/A
N/A
N/A
N/A
Return Type:Int32
N/A
N/A
N/A
N/A
Return Type:Int32
N/A
N/A
Return Type:String
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:String
N/A
N/A
Return Type:LabelOverlappingRule
N/A
N/A
Return Type:PointPlacement
N/A
N/A
Return Type:PolygonLabelingLocationMode
N/A
N/A
Return Type:Collection<String>
N/A
N/A
Return Type:Double
N/A
N/A
Return Type:SplineType
This property gets and sets whether a partial label in the current extent will be drawn or not.
This property provides a solution to the “cut off” label issue in Map Suite Web Edition and Desktop Edition, which occurs when multiple tiles exist. When you set this property to true, any labels outside of the current extent will not be drawn.
Return Type:Boolean
N/A
N/A
Return Type:String
N/A
N/A
Return Type:String
N/A
N/A
Return Type:Double
N/A
N/A
Return Type:GeoSolidBrush
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Collection<String>
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.