ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont
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.
<!– Class –>
This class represents a font that is used to label features on a GeoCanvas.
Inheritance Hierarchy
Members Summary
Public Constructors
Name | Parameters | DeclaringType | Summary |
GeoFont | | | This constructor creates a GeoFont to be used for labeling features on a GeoCanvas. |
GeoFont | String, Double | | This constructor creates a GeoFont to be used for labeling features on a GeoCanvas. |
GeoFont | String, Double, Boolean | | |
GeoFont | String, Double, DrawingFontStyles | | This constructor creates a GeoFont to be used for labeling features on a GeoCanvas. |
Protected Constructors
Name | Parameters | DeclaringType | Summary |
Public Methods
Protected Methods
Public Properties
Name | Return | DeclaringType | Summary |
FontName | String | | This property gets the font name property of the font. |
FontStretch | GeoFontStretch | | |
FontWeight | GeoFontWeight | | This property gets the bold property of the font. |
IsBold | Boolean | | This property gets the bold property of the font. |
IsItalic | Boolean | | This property gets the italic property of the font. |
IsUnderline | Boolean | | This property gets the underline property of the font. |
Size | Double | | This property gets the font size property of the font. |
Style | DrawingFontStyles | | This property gets the font style property of the font. |
Protected Properties
Name | Return | DeclaringType | Summary |
Public Events
Name | Event Arguments | DeclaringType | Summary |
Public Constructors
GeoFont()
This constructor creates a GeoFont to be used for labeling features on a GeoCanvas.
Overloads
This overload creates the GeoFont using its default property values.
Parameters
GeoFont(String, Double)
This constructor creates a GeoFont to be used for labeling features on a GeoCanvas.
Overloads
This overload creates the GeoFont by specifying the font name and font size.
Parameters
Name | Type | Description |
fontName | String<!– System.String –> | This parameter represents the name of the font to be used. |
size | Double<!– System.Double –> | This parameter represents the size of the font to be used. |
Go Back
GeoFont(String, Double, Boolean)
Parameters
Name | Type | Description |
fontName | String<!– System.String –> | |
size | Double<!– System.Double –> | |
isItalic | Boolean<!– System.Boolean –> | |
Go Back
GeoFont(String, Double, DrawingFontStyles)
This constructor creates a GeoFont to be used for labeling features on a GeoCanvas.
Overloads
This overload creates the GeoFont by specifying the font name, font size and font style.
Parameters
Name | Type | Description |
fontName | String<!– System.String –> | This parameter represents the name of the font to be used. |
size | Double<!– System.Double –> | This parameter represents the size of the font to be used. |
style | DrawingFontStyles<!– ThinkGeo.MapSuite.WindowsPhoneCore.DrawingFontStyles –> | This parameter represents the style of the font to be used. |
Go Back
Protected Constructors
Public Methods
Equals(Object)
Return Value
Return Type | Description |
Boolean<!– System.Boolean –> | |
Parameters
Name | Type | Description |
obj | Object<!– System.Object –> | |
<!– System.Object –>
Go Back
GetHashCode()
Return Value
Return Type | Description |
Int32<!– System.Int32 –> | |
Parameters
GetType()
Return Value
Return Type | Description |
Type<!– System.Type –> | |
Parameters
ToString()
Return Value
Return Type | Description |
String<!– System.String –> | |
Parameters
Protected Methods
Finalize()
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
MemberwiseClone()
Return Value
Return Type | Description |
Object<!– System.Object –> | |
Parameters
Public Properties
FontName
This property gets the font name property of the font.
Return Value
Return Type |
String<!– System.String –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont –>
Go Back
FontStretch
Return Value
Return Type |
GeoFontStretch<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoFontStretch –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont –>
Go Back
FontWeight
This property gets the bold property of the font.
Return Value
Return Type |
GeoFontWeight<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoFontWeight –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont –>
Go Back
IsBold
This property gets the bold property of the font.
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont –>
Go Back
IsItalic
This property gets the italic property of the font.
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont –>
Go Back
IsUnderline
This property gets the underline property of the font.
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont –>
Go Back
Size
This property gets the font size property of the font.
Return Value
Return Type |
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont –>
Go Back
Style
This property gets the font style property of the font.
Return Value
Return Type |
DrawingFontStyles<!– ThinkGeo.MapSuite.WindowsPhoneCore.DrawingFontStyles –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoFont –>
Go Back
Protected Properties
Public Events