ThinkGeo.MapSuite.Core.TextStyle
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
This class is used to label features on the map.
Inheritance Hierarchy
Members Summary
Public Constructors
TextStyle()
Parameters
TextStyle(String,GeoFont,GeoSolidBrush)
Parameters
Protected Constructors
Public Methods
CloneDeep()
Return Value
Parameters
Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Void
Description:N/A
Parameters
Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Void
Description:N/A
Parameters
GetRequiredColumnNames()
Return Value
Type:Collection<String>
Description:N/A
Parameters
DrawSample(GeoCanvas,DrawingRectangleF)
Return Value
Type:Void
Description:N/A
Parameters
DrawSample(GeoCanvas)
Return Value
Type:Void
Description:N/A
Parameters
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
Protected Methods
DrawSampleCore(GeoCanvas,DrawingRectangleF)
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.
Return Value
Type:Void
Description:None
Parameters
Format(String,BaseShape)
Return Value
Type:String
Description:N/A
Parameters
text
Type:String
Description:N/A
FormatCore(String,BaseShape)
Return Value
Type:String
Description:N/A
Parameters
text
Type:String
Description:N/A
OnFormatting(FormattingPositionStyleEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
OnFormatted(FormattedPositionStyleEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Void
Description:N/A
Parameters
GetRequiredColumnNamesCore()
Return Value
Type:Collection<String>
Description:N/A
Parameters
FilterFeatures(IEnumerable<Feature>,GeoCanvas)
Return Value
Parameters
FilterFeaturesCore(IEnumerable<Feature>,GeoCanvas)
Return Value
Parameters
GetLabelingCandidates(Feature,GeoCanvas)
Return Value
Parameters
GetLabelingCandidateCore(Feature,GeoCanvas)
Return Value
Parameters
CheckDuplicate(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Boolean
Description:N/A
Parameters
CheckDuplicateCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Boolean
Description:N/A
Parameters
CheckOverlapping(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Boolean
Description:N/A
Parameters
CheckOverlappingCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Boolean
Description:N/A
Parameters
GetLabelingCandidateForOnePolygon(PolygonShape,String,GeoCanvas)
Return Value
Parameters
text
Type:String
Description:N/A
CloneDeepCore()
Return Value
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
XOffsetInPixel
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.
Return Value
YOffsetInPixel
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.
Return Value
FittingLineInScreen
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.
Return Value
FittingPolygonInScreen
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.
Return Value
CustomTextStyles
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.
Return Value
RotationAngle
Return Value
TextFormat
Return Value
NumericFormat
Return Value
DateFormat
Return Value
TextSolidBrush
Return Value
Font
Return Value
HaloPen
Return Value
TextColumnName
Return Value
Mask
Return Value
MaskMargin
Return Value
Advanced
Return Value
ForceHorizontalLabelForLine
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.
Return Value
SplineType
Return Value
DrawingLevel
Return Value
LabelPositions
Return Value
PolygonLabelingLocationMode
Return Value
GridSize
Return Value
DuplicateRule
Return Value
OverlappingRule
Return Value
AllowLineCarriage
Return Value
SuppressPartialLabels
Return Value
ForceLineCarriage
Return Value
FittingPolygon
Return Value
LabelAllPolygonParts
Return Value
LabelAllLineParts
Return Value
FittingPolygonFactor
Return Value
TextLineSegmentRatio
Return Value
BestPlacement
Return Value
PointPlacement
Return Value
MaskType
Return Value
Name
Return Value
IsActive
Return Value
RequiredColumnNames
Return Value
Filters
Return Value
Protected Properties
AllowSpline
Return Value
IsDefault
Return Value
FiltersCore
Return Value
Public Events
Formatting