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 is used to label features on the map.
If you use this constructor, you should set the required properties manually.
This constructor allows you to pass in the minimum required fields for labeling. You may want to explore the other properties to control how your labels look.
N/A
N/A
Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
DrawSampleCore(GeoCanvas,DrawingRectangleF)
This method draws a sample feature on the canvas you provided.
This virtual method is called from the concrete public method Draw. In this method, we draw a sample style on the canvas you provided. This is typically used to display a legend or other sample area. When implementing this virtual method, consider the canvas size and draw the sample image appropriately. You should keep in mind that the sample typically shows up on a legend.
DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
N/A
N/A
N/A
N/A
N/A
FilterFeaturesCore(IEnumerable<Feature>,GeoCanvas)
N/A
N/A
AbbreviateText(Feature,GeoCanvas)
N/A
N/A
AbbreviateTextCore(Feature,GeoCanvas)
N/A
N/A
GetLabelingCandidates(Feature,GeoCanvas)
N/A
N/A
GetLabelingCandidateCore(Feature,GeoCanvas)
N/A
N/A
CheckDuplicate(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
N/A
N/A
CheckDuplicateCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
N/A
N/A
CheckOverlapping(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
N/A
N/A
CheckOverlappingCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
N/A
N/A
lD8=(PolygonShape,String,GeoCanvas)
N/A
N/A
N/A
N/A
N/A
OnFormatting(FormattingPositionStyleEventArgs)
N/A
N/A
N/A
N/A
N/A
N/A
This property allows you to specify an X offset. When combined with a Y offset, it is useful to allow you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to better align it with raster satellite data.
This property allows you to specify a Y offset. When combined with an X offset, it is useful to allow you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to better align it with raster satellite data.
This property gets and sets whether the labeler will try to fit the label as best as it can on the visible part of a line on the screen.
A label will normally be displayed in the center of a line. If only a small piece of the line is visible on the screen, we cannot see it's label by default. If we set this property to ture though, the label will be displayed in the center of that piece in screen.
This property gets and sets whether the labeler will try to fit the label as best as it can on the visible part of a polygon on the screen.
A label will normally be displayed in the center of a polygon. If only a small piece of the polygon is visible on the screen, we cannot see it's label by default. If we set this property to ture though, the label will be displayed in the center of that piece in screen.
This property returns a collection of area styles allowing you to stack multiple area styles on top of each other.
Using this collection, you can stack multiple area styles on top of each other. When we draw the features, we will draw them in order that they exist in the collection. You can use these stacks to create drop shadow effects, multiple colored outlines, etc.
This property gets and sets the rotation angle of the item being positioned.
None
With this property, you can apply formats to the text that is retrieved from the feature.
This property gets and sets the format that will be applied to the text which can be parsed to double type.
With this property, you can apply formats to the text that is retrieved from the feature.
This property gets and sets the format that will be applied to the text which can be parsed to DateTime type.
With this property, you can apply formats to the text that is retrieved from the feature.
This property gets and sets the SolidBrush that will be used to draw the text.
You can use this property to draw a solid color; however, if you need to use other brushes, you can access them through the Advanced property of this class.
None
This property gets and sets the halo pen you may use to draw a halo around the text.
The halo pen allows you to draw a halo effect around the text, making it stand out more on a busy background.
This property gets and sets the column name in the data that you want to get the text from.
This property is used when retrieving text from a feature. You will want to specify the name of the column that contains the text you want to draw.
A mask is a plate behind the text that is rectangular and slightly larger than the width and height of the text. It allows the label to stand out well on a busy background. You can also try the HaloPen property instead of the mask, if the mask effect is too pronounced.
This property gets and sets the margin around the text that will be used for the mask.
This determines how much larger the mask is than the text, in pixels.
The advanced properties have been consolidated in the Advanced property. This way, the standard options are more easily visible and the advanced options are hidden away.
This property gets and sets whether we should force horizontal labeling for lines.
Normally, lines are labeled in the direction of the line. There may be some cases, however, when you want to have the line labeled horizontally regardless of the line's direction. In such a case, you can set this property to force the lines to be labeled horizontally.
N/A
N/A
Gets a value represents a keyValuepair which is a feature id and label position of the feature
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Event Arguments:FormattedPositionStyleEventArgs
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.