TextStyle¶
Inheritance Hierarchy¶
Object
Style
PositionStyle
TextStyle
Members Summary¶
Public Constructors Summary¶
Name |
---|
TextStyle() |
TextStyle(String,GeoFont,GeoBrush) |
Protected Constructors Summary¶
Name |
---|
N/A |
Public Properties Summary¶
Name | Return Type | Description |
---|---|---|
AbbreviationDictionary | Dictionary<String ,String > | N/A |
Alignment | DrawingTextAlignment | N/A |
AllowLineCarriage | Boolean | N/A |
BasePoint | PointStyle | N/A |
BestPlacementSymbolHeight | Single | N/A |
BestPlacementSymbolWidth | Single | N/A |
CustomTextStyles | Collection<TextStyle > | This property returns a collection of area styles allowing you to stack multiple area styles on top of each other. |
DateFormat | String | This property gets and sets the format that will be applied to the text which can be parsed to DateTime type. |
DrawingLevel | DrawingLevel | Gets or sets the DrawingLavel for this style. |
DuplicateRule | LabelDuplicateRule | N/A |
Filters | Collection<String > | N/A |
FittingLineInScreen | Boolean | 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. |
FittingPolygon | Boolean | N/A |
FittingPolygonFactor | Double | N/A |
FittingPolygonInScreen | Boolean | 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. |
Font | GeoFont | This property gets and sets the font that will be used to draw the text. |
ForceHorizontalLabelForLine | Boolean | This property gets and sets whether we should force horizontal labeling for lines. |
ForceLineCarriage | Boolean | N/A |
GridSize | Int32 | N/A |
HaloPen | GeoPen | This property gets and sets the halo pen you may use to draw a halo around the text. |
IsActive | Boolean | N/A |
LabelAllLineParts | Boolean | N/A |
LabelAllPolygonParts | Boolean | N/A |
LabelPositions | Dictionary<String ,WorldLabelingCandidate > | Gets a value represents a keyValuepair which is a feature id and label position of the feature |
LeaderLineMinimumLengthInPixels | Single | N/A |
LeaderLineRule | LabelLeaderLinesRule | N/A |
LeaderLineStyle | LineStyle | N/A |
LetterCase | DrawingTextLetterCase | N/A |
Mask | AreaStyle | This property gets and sets the AreaStyle used to draw a mask behind the text. |
MaskMargin | DrawingMargin | This property gets and sets the margin around the text that will be used for the mask. |
MaskType | MaskType | N/A |
MaxCharAngleDelta | Double | N/A |
MaxNudgingInPixel | Int32 | N/A |
MinDistance | Double | N/A |
Name | String | N/A |
NudgingIntervalInPixel | Single | N/A |
NumericFormat | String | This property gets and sets the format that will be applied to the text which can be parsed to double type. |
OverlappingRule | LabelOverlappingRule | N/A |
PolygonLabelingLocationMode | PolygonLabelingLocationMode | N/A |
RequiredColumnNames | Collection<String > | N/A |
RotationAngle | Double | This property gets and sets the rotation angle of the item being positioned. |
Spacing | Double | N/A |
SplineType | SplineType | Gets or sets the SplineType for labeling. |
SuppressPartialLabels | Boolean | N/A |
TextBrush | GeoBrush | This property gets and sets the SolidBrush that will be used to draw the text. |
TextColumnName | String | This property gets and sets the column name in the data that you want to get the text from. |
TextFormat | String | This property gets and sets the format that will be applied to the text. |
TextLineSegmentRatio | Double | N/A |
TextPlacement | TextPlacement | N/A |
WrapWidth | Double | N/A |
XOffsetInPixel | Single | This property gets and sets the X pixel offset for drawing each feature. |
YOffsetInPixel | Single | This property gets and sets the Y pixel offset for drawing each feature. |
Protected Properties Summary¶
Name | Return Type | Description |
---|---|---|
AllowOverlapping | Boolean | N/A |
AllowSpline | Boolean | N/A |
DrawBasePointWithoutText | Boolean | N/A |
FiltersCore | Collection<String > | N/A |
IsDefault | Boolean | N/A |
IsStyleJsonStyle | Boolean | N/A |
LabelFeatures | Collection<Feature > | N/A |
TextBaseline | DrawingTextBaseline | N/A |
TextContent | String | N/A |
TextLetterSpacing | Double | N/A |
TextLineSpacing | Single | N/A |
Public Methods Summary¶
Protected Methods Summary¶
Public Events Summary¶
Name | Event Arguments | Description |
---|---|---|
Formatting | FormattingPositionStyleEventArgs | N/A |
Formatted | FormattedPositionStyleEventArgs | N/A |
Members Detail¶
Public Constructors¶
Name |
---|
TextStyle() |
TextStyle(String,GeoFont,GeoBrush) |
Protected Constructors¶
Public Properties¶
AbbreviationDictionary
¶
Summary
N/A
Remarks
N/A
Return Value
Dictionary<String
,String
>
Alignment
¶
Summary
N/A
Remarks
N/A
Return Value
AllowLineCarriage
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
BasePoint
¶
Summary
N/A
Remarks
N/A
Return Value
BestPlacementSymbolHeight
¶
Summary
N/A
Remarks
N/A
Return Value
Single
BestPlacementSymbolWidth
¶
Summary
N/A
Remarks
N/A
Return Value
Single
CustomTextStyles
¶
Summary
This property returns a collection of area styles allowing you to stack multiple area styles on top of each other.
Remarks
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
Collection<TextStyle
>
DateFormat
¶
Summary
This property gets and sets the format that will be applied to the text which can be parsed to DateTime type.
Remarks
With this property, you can apply formats to the text that is retrieved from the feature.
Return Value
String
DrawingLevel
¶
Summary
Gets or sets the DrawingLavel for this style.
Remarks
N/A
Return Value
DuplicateRule
¶
Summary
N/A
Remarks
N/A
Return Value
Filters
¶
Summary
N/A
Remarks
N/A
Return Value
Collection<String
>
FittingLineInScreen
¶
Summary
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.
Remarks
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
Boolean
FittingPolygon
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
FittingPolygonFactor
¶
Summary
N/A
Remarks
N/A
Return Value
Double
FittingPolygonInScreen
¶
Summary
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.
Remarks
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
Boolean
Font
¶
Summary
This property gets and sets the font that will be used to draw the text.
Remarks
None
Return Value
ForceHorizontalLabelForLine
¶
Summary
This property gets and sets whether we should force horizontal labeling for lines.
Remarks
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
Boolean
ForceLineCarriage
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
GridSize
¶
Summary
N/A
Remarks
N/A
Return Value
Int32
HaloPen
¶
Summary
This property gets and sets the halo pen you may use to draw a halo around the text.
Remarks
The halo pen allows you to draw a halo effect around the text, making it stand out more on a busy background.
Return Value
IsActive
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
LabelAllLineParts
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
LabelAllPolygonParts
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
LabelPositions
¶
Summary
Gets a value represents a keyValuepair which is a feature id and label position of the feature
Remarks
N/A
Return Value
Dictionary<String
,WorldLabelingCandidate
>
LeaderLineMinimumLengthInPixels
¶
Summary
N/A
Remarks
N/A
Return Value
Single
LeaderLineRule
¶
Summary
N/A
Remarks
N/A
Return Value
LeaderLineStyle
¶
Summary
N/A
Remarks
N/A
Return Value
LetterCase
¶
Summary
N/A
Remarks
N/A
Return Value
Mask
¶
Summary
This property gets and sets the AreaStyle used to draw a mask behind the text.
Remarks
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.
Return Value
MaskMargin
¶
Summary
This property gets and sets the margin around the text that will be used for the mask.
Remarks
This determines how much larger the mask is than the text, in pixels.
Return Value
MaskType
¶
Summary
N/A
Remarks
N/A
Return Value
MaxCharAngleDelta
¶
Summary
N/A
Remarks
N/A
Return Value
Double
MaxNudgingInPixel
¶
Summary
N/A
Remarks
N/A
Return Value
Int32
MinDistance
¶
Summary
N/A
Remarks
N/A
Return Value
Double
Name
¶
Summary
N/A
Remarks
N/A
Return Value
String
NudgingIntervalInPixel
¶
Summary
N/A
Remarks
N/A
Return Value
Single
NumericFormat
¶
Summary
This property gets and sets the format that will be applied to the text which can be parsed to double type.
Remarks
With this property, you can apply formats to the text that is retrieved from the feature.
Return Value
String
OverlappingRule
¶
Summary
N/A
Remarks
N/A
Return Value
PolygonLabelingLocationMode
¶
Summary
N/A
Remarks
N/A
Return Value
RequiredColumnNames
¶
Summary
N/A
Remarks
N/A
Return Value
Collection<String
>
RotationAngle
¶
Summary
This property gets and sets the rotation angle of the item being positioned.
Remarks
None
Return Value
Double
Spacing
¶
Summary
N/A
Remarks
N/A
Return Value
Double
SplineType
¶
Summary
Gets or sets the SplineType for labeling.
Remarks
N/A
Return Value
SuppressPartialLabels
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
TextBrush
¶
Summary
This property gets and sets the SolidBrush that will be used to draw the text.
Remarks
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.
Return Value
TextColumnName
¶
Summary
This property gets and sets the column name in the data that you want to get the text from.
Remarks
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.
Return Value
String
TextFormat
¶
Summary
This property gets and sets the format that will be applied to the text.
Remarks
With this property, you can apply formats to the text that is retrieved from the feature.
Return Value
String
TextLineSegmentRatio
¶
Summary
N/A
Remarks
N/A
Return Value
Double
TextPlacement
¶
Summary
N/A
Remarks
N/A
Return Value
WrapWidth
¶
Summary
N/A
Remarks
N/A
Return Value
Double
XOffsetInPixel
¶
Summary
This property gets and sets the X pixel offset for drawing each feature.
Remarks
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
Single
YOffsetInPixel
¶
Summary
This property gets and sets the Y pixel offset for drawing each feature.
Remarks
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
Single
Protected Properties¶
AllowOverlapping
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
AllowSpline
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
DrawBasePointWithoutText
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
FiltersCore
¶
Summary
N/A
Remarks
N/A
Return Value
Collection<String
>
IsDefault
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
IsStyleJsonStyle
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
LabelFeatures
¶
Summary
N/A
Remarks
N/A
Return Value
Collection<Feature
>
TextBaseline
¶
Summary
N/A
Remarks
N/A
Return Value
TextContent
¶
Summary
N/A
Remarks
N/A
Return Value
String
TextLetterSpacing
¶
Summary
N/A
Remarks
N/A
Return Value
Double
TextLineSpacing
¶
Summary
N/A
Remarks
N/A
Return Value
Single
Public Methods¶
CloneDeep()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Style | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
CreateMaskTextStyle(String,String,Single,DrawingFontStyles,GeoColor,GeoColor)
¶
Summary
Get simple TextStyle.
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | The desired TextStyle. |
Parameters
Name | Type | Description |
---|---|---|
textColumnName | String | The string stands for the column name. |
fontFamilyName | String | The string stands for the font family name. For example : "Arial". |
fontSize | Single | The float number stands for the font size. |
drawingFontStyle | DrawingFontStyles | The DrawingFontStyles used to set the style of the font. |
fontColor | GeoColor | The GeoColor used to set the font color. |
maskFillColor | GeoColor | The GeoColor used to set the mask fill color. |
CreateMaskTextStyle(String,String,Single,DrawingFontStyles,GeoColor,GeoColor,Single,Single)
¶
Summary
Get simple TextStyle.
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | The desired TextStyle. |
Parameters
Name | Type | Description |
---|---|---|
textColumnName | String | The string stands for the column name. |
fontFamilyName | String | The string stands for the font family name. For example : "Arial". |
fontSize | Single | The float number stands for the font size. |
drawingFontStyle | DrawingFontStyles | The DrawingFontStyles used to set the style of the font. |
fontColor | GeoColor | The GeoColor used to set the font color. |
maskFillColor | GeoColor | The GeoColor used to set the mask fill color. |
xOffset | Single | The float value stands for the xOffset of the font on the map in pixel |
yOffset | Single | The float value stands for the yOffset of the font on the map in pixel |
CreateMaskTextStyle(String,GeoFont,GeoBrush,AreaStyle,Single,Single)
¶
Summary
Get simple TextStyle.
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | The desired TextStyle. |
Parameters
Name | Type | Description |
---|---|---|
textColumnName | String | The string stands for the column name. |
textFont | GeoFont | The GeoFont used to set the font of the text. |
textBrush | GeoBrush | The GeoSolidBrush used to set the brush of the text. |
areaStyle | AreaStyle | The areaStyle used as mask of of the TextStyle. |
xOffset | Single | The float value stands for the xOffset of the font on the map in pixel |
yOffset | Single | The float value stands for the yOffset of the font on the map in pixel |
CreateMaskTextStyle(String,String,Single,DrawingFontStyles,GeoColor,GeoColor,Single)
¶
Summary
Get simple TextStyle.
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | The desired TextStyle. |
Parameters
Name | Type | Description |
---|---|---|
textColumnName | String | The string stands for the column name. |
fontFamilyName | String | The string stands for the font family name. For example : "Arial". |
fontSize | Single | The float number stands for the font size. |
drawingFontStyle | DrawingFontStyles | The DrawingFontStyles used to set the style of the font. |
fontColor | GeoColor | The GeoColor used to set the font color. |
maskPenColor | GeoColor | The GeoColor used to set the mask pen color. |
maskPenSize | Single | The float value used to set the mask pen size. |
CreateMaskTextStyle(String,String,Single,DrawingFontStyles,GeoColor,GeoColor,Single,Single,Single)
¶
Summary
Get simple TextStyle.
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | The desired TextStyle. |
Parameters
Name | Type | Description |
---|---|---|
textColumnName | String | The string stands for the column name. |
fontFamilyName | String | The string stands for the font family name. For example : "Arial". |
fontSize | Single | The float number stands for the font size. |
drawingFontStyle | DrawingFontStyles | The DrawingFontStyles used to set the style of the font. |
fontColor | GeoColor | The GeoColor used to set the font color. |
maskPenColor | GeoColor | The GeoColor used to set the mask pen color. |
maskPenSize | Single | The float value used to set the mask pen size. |
xOffset | Single | The float value stands for the xOffset of the font on the map in pixel |
yOffset | Single | The float value stands for the yOffset of the font on the map in pixel |
CreateSimpleTextStyle(String,String,Single,DrawingFontStyles,GeoColor)
¶
Summary
Get simple TextStyle.
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | The desired TextStyle. |
Parameters
Name | Type | Description |
---|---|---|
textColumnName | String | The string stands for the column name. |
fontFamilyName | String | The string stands for the font family name. For example : "Arial". |
fontSize | Single | The float number stands for the font size. |
drawingFontStyle | DrawingFontStyles | The DrawingFontStyles used to set the style of the font. |
fontColor | GeoColor | The GeoColor used to set the font color. |
CreateSimpleTextStyle(String,String,Single,DrawingFontStyles,GeoColor,Single,Single)
¶
Summary
Get simple TextStyle.
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | The desired TextStyle. |
Parameters
Name | Type | Description |
---|---|---|
textColumnName | String | The string stands for the column name. |
fontFamilyName | String | The string stands for the font family name. For example : "Arial". |
fontSize | Single | The float number stands for the font size. |
drawingFontStyle | DrawingFontStyles | The DrawingFontStyles used to set the style of the font. |
fontColor | GeoColor | The GeoColor used to set the font color. |
xOffset | Single | The float value stands for the xOffset of the font on the map in pixel |
yOffset | Single | The float value stands for the yOffset of the font on the map in pixel |
CreateSimpleTextStyle(String,String,Single,DrawingFontStyles,GeoColor,GeoColor,Single)
¶
Summary
Get simple TextStyle.
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | The desired TextStyle. |
Parameters
Name | Type | Description |
---|---|---|
textColumnName | String | The string stands for the column name. |
fontFamilyName | String | The string stands for the font family name. For example : "Arial". |
fontSize | Single | The float number stands for the font size. |
drawingFontStyle | DrawingFontStyles | The DrawingFontStyles used to set the style of the font. |
fontColor | GeoColor | The GeoColor used to set the font color. |
haloPenColor | GeoColor | The GeoColor used to set the halopen color. |
haloPenWidth | Single | The float value to set the halopen width value. |
CreateSimpleTextStyle(String,String,Single,DrawingFontStyles,GeoColor,GeoColor,Single,Single,Single)
¶
Summary
Get simple TextStyle.
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | The desired TextStyle. |
Parameters
Name | Type | Description |
---|---|---|
textColumnName | String | The string stands for the column name. |
fontFamilyName | String | The string stands for the font family name. For example : "Arial". |
fontSize | Single | The float number stands for the font size. |
drawingFontStyle | DrawingFontStyles | The DrawingFontStyles used to set the style of the font. |
fontColor | GeoColor | The GeoColor used to set the font color. |
haloPenColor | GeoColor | The GeoColor used to set the halopen color. |
haloPenWidth | Single | The float value to set the halopen width value. |
xOffset | Single | The float value stands for the xOffset of the font on the map in pixel |
yOffset | Single | The float value stands for the yOffset of the font on the map in pixel |
Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
features | IEnumerable<Feature > | N/A |
canvas | GeoCanvas | N/A |
labelsInThisLayer | Collection<SimpleCandidate > | N/A |
labelsInAllLayers | Collection<SimpleCandidate > | N/A |
Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
shapes | IEnumerable<BaseShape > | N/A |
canvas | GeoCanvas | N/A |
labelsInThisLayer | Collection<SimpleCandidate > | N/A |
labelsInAllLayers | Collection<SimpleCandidate > | N/A |
DrawSample(GeoCanvas,DrawingRectangleF)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
canvas | GeoCanvas | N/A |
drawingExtent | DrawingRectangleF | N/A |
DrawSample(GeoCanvas)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
canvas | GeoCanvas | N/A |
Equals(Object)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Boolean | N/A |
Parameters
Name | Type | Description |
---|---|---|
obj | Object | N/A |
GetHashCode()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Int32 | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
GetRequiredColumnNames()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Collection<String > | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
GetType()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Type | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
Parse(String)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | N/A |
Parameters
Name | Type | Description |
---|---|---|
styleJson | String | N/A |
SaveStyle(String)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
filePathName | String | N/A |
SaveStyle(Stream)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
stream | Stream | N/A |
ToString()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
String | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
Protected Methods¶
AbbreviateText(Feature,GeoCanvas)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
feature | Feature | N/A |
canvas | GeoCanvas | N/A |
AbbreviateTextCore(Feature,GeoCanvas)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
feature | Feature | N/A |
canvas | GeoCanvas | N/A |
CheckDuplicate(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Boolean | N/A |
Parameters
Name | Type | Description |
---|---|---|
labelingCandidate | LabelingCandidate | N/A |
canvas | GeoCanvas | N/A |
labelsInThisLayer | Collection<SimpleCandidate > | N/A |
labelsInAllLayers | Collection<SimpleCandidate > | N/A |
CheckDuplicateCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Boolean | N/A |
Parameters
Name | Type | Description |
---|---|---|
labelingCandidate | LabelingCandidate | N/A |
canvas | GeoCanvas | N/A |
labelsInThisLayer | Collection<SimpleCandidate > | N/A |
labelsInAllLayers | Collection<SimpleCandidate > | N/A |
CheckOverlapping(LabelingCandidate,GeoCanvas,GeoFont,Single,Single,Double,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Boolean | N/A |
Parameters
Name | Type | Description |
---|---|---|
labelingCandidate | LabelingCandidate | N/A |
canvas | GeoCanvas | N/A |
font | GeoFont | N/A |
xOffsetInPixel | Single | N/A |
yOffsetInPixel | Single | N/A |
rotationAngle | Double | N/A |
labelsInThisLayer | Collection<SimpleCandidate > | N/A |
labelsInAllLayers | Collection<SimpleCandidate > | N/A |
CheckOverlappingCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Boolean | N/A |
Parameters
Name | Type | Description |
---|---|---|
labelingCandidate | LabelingCandidate | N/A |
canvas | GeoCanvas | N/A |
labelsInThisLayer | Collection<SimpleCandidate > | N/A |
labelsInAllLayers | Collection<SimpleCandidate > | N/A |
CloneDeepCore()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Style | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
features | IEnumerable<Feature > | N/A |
canvas | GeoCanvas | N/A |
labelsInThisLayer | Collection<SimpleCandidate > | N/A |
labelsInAllLayers | Collection<SimpleCandidate > | N/A |
DrawMask(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
labelingCandidate | LabelingCandidate | N/A |
canvas | GeoCanvas | N/A |
labelsInThisLayer | Collection<SimpleCandidate > | N/A |
labelsInAllLayers | Collection<SimpleCandidate > | N/A |
DrawSampleCore(GeoCanvas,DrawingRectangleF)
¶
Summary
This method draws a sample feature on the view you provided.
Remarks
This virtual method is called from the concrete public method Draw. In this method, we draw a sample style on the view you provided. This is typically used to display a legend or other sample area. When implementing this virtual method, consider the view size and draw the sample image appropriately. You should keep in mind that the sample typically shows up on a legend.
Return Value
Type | Description |
---|---|
Void | None |
Parameters
Name | Type | Description |
---|---|---|
canvas | GeoCanvas | This parameter represents the view you want to draw the features on. |
drawingExtent | DrawingRectangleF | N/A |
DrawText(Feature,GeoCanvas,GeoFont,GeoBrush,GeoPen,DrawingLevel,Single,Single,DrawingTextAlignment,Double,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
feature | Feature | N/A |
canvas | GeoCanvas | N/A |
font | GeoFont | N/A |
textBrush | GeoBrush | N/A |
haloPen | GeoPen | N/A |
drawingLevel | DrawingLevel | N/A |
xOffsetInPixel | Single | N/A |
yOffsetInPixel | Single | N/A |
alignment | DrawingTextAlignment | N/A |
rotationAngle | Double | N/A |
labelsInThisLayer | Collection<SimpleCandidate > | N/A |
labelsInAllLayers | Collection<SimpleCandidate > | N/A |
FilterFeatures(IEnumerable<Feature>,GeoCanvas)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Collection<Feature > | N/A |
Parameters
Name | Type | Description |
---|---|---|
features | IEnumerable<Feature > | N/A |
canvas | GeoCanvas | N/A |
FilterFeaturesCore(IEnumerable<Feature>,GeoCanvas)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Collection<Feature > | N/A |
Parameters
Name | Type | Description |
---|---|---|
features | IEnumerable<Feature > | N/A |
canvas | GeoCanvas | N/A |
Finalize()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
Format(String,BaseShape)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
String | N/A |
Parameters
Name | Type | Description |
---|---|---|
text | String | N/A |
labeledShape | BaseShape | N/A |
FormatCore(String,BaseShape)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
String | N/A |
Parameters
Name | Type | Description |
---|---|---|
text | String | N/A |
labeledShape | BaseShape | N/A |
GetLabelingCandidateCore(Feature,GeoCanvas,GeoFont,Single,Single,Double)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Collection<LabelingCandidate > | N/A |
Parameters
Name | Type | Description |
---|---|---|
feature | Feature | N/A |
canvas | GeoCanvas | N/A |
font | GeoFont | N/A |
xOffsetInPixel | Single | N/A |
yOffsetInPixel | Single | N/A |
rotationAngle | Double | N/A |
GetLabelingCandidateForOnePolygon(PolygonShape,String,GeoFont,Single,Single,GeoCanvas,Double)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
LabelingCandidate | N/A |
Parameters
Name | Type | Description |
---|---|---|
polygon | PolygonShape | N/A |
text | String | N/A |
font | GeoFont | N/A |
xOffsetInPixel | Single | N/A |
yOffsetInPixel | Single | N/A |
canvas | GeoCanvas | N/A |
rotationAngle | Double | N/A |
GetLabelingCandidates(Feature,GeoCanvas,GeoFont,Single,Single,Double)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Collection<LabelingCandidate > | N/A |
Parameters
Name | Type | Description |
---|---|---|
feature | Feature | N/A |
canvas | GeoCanvas | N/A |
font | GeoFont | N/A |
xOffsetInPixel | Single | N/A |
yOffsetInPixel | Single | N/A |
rotationAngle | Double | N/A |
GetRequiredColumnNamesCore()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Collection<String > | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
MeasureText(GeoCanvas,String,GeoFont)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
DrawingRectangleF | N/A |
Parameters
Name | Type | Description |
---|---|---|
canvas | GeoCanvas | N/A |
text | String | N/A |
font | GeoFont | N/A |
MemberwiseClone()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Object | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
OnFormatted(FormattedPositionStyleEventArgs)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
e | FormattedPositionStyleEventArgs | N/A |
OnFormatting(FormattingPositionStyleEventArgs)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
e | FormattingPositionStyleEventArgs | N/A |
Parse(JObject)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
TextStyle | N/A |
Parameters
Name | Type | Description |
---|---|---|
jObject | JObject | N/A |
Public Events¶
Formatting¶
N/A
Remarks
N/A
Event Arguments
FormattingPositionStyleEventArgs
Formatted¶
N/A
Remarks
N/A
Event Arguments