![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
Character Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > TrueTypeMarkerSymbol Class : Character Property |
Visual Basic (Declaration) | |
---|---|
Public Property Character As Char |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TrueTypeMarkerSymbol Dim value As Char instance.Character = value value = instance.Character |
C# | |
---|---|
public char Character {get; set;} |
The Character property specifies which character within the font (specified by the Font property's Name) is used by the TrueTypeMarkerSymbol to display the feature. The Windows Character Map utility may be used to look up available fonts and characters.
This property is required for TrueTypeMarkerSymbol.
The Char value may be generated using any standard .NET method. Some examples (all refer to the same character position within a font):
- C#:
- char Char1 = 'A'; // Character literal
- char Char2 = (char)65; // Cast from integer decimal
- char Char3 = '\x0041'; // Hexadecimal
- char Char4 = '\u0041'; // Unicode
- VB:
- Dim Char1 as Char = "A"c ' Using "c" to denote Char literal
- Dim Char2 as Char = ChrW(65) ' Unicode conversion from integer decimal (preferred over Chr)
- Dim Char2 as Char = Chr(65) ' Converted from integer decimal
- Dim Char3 as Char = CChar("A") ' Converted from String to Char
- Dim Char3 as Char = ChrW(Convert.ToInt32("0041", 16)) ' Converted from hexadecimal to Char
Character must be a value between 32 and 65535 in a font's character map; characters 0-31 are nonprintable and cannot be used.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family