ESRI.ArcGIS.ADF.IMS
FontInfo Constructor(String,Int32,Color,FontStyle)
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS Namespace > FontInfo Class > FontInfo Constructor : FontInfo Constructor(String,Int32,Color,FontStyle)




Name
Name of the font.
Size
Size to display font characters, in points.
Color
Color of the font characters.
Style
Style for the font, such as Regular or Bold.
Constructs a FontInfo object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal Name As String, _
   ByVal Size As Integer, _
   ByVal Color As Color, _
   ByVal Style As FontStyle _
)
Visual Basic (Usage)Copy Code
Dim Name As String
Dim Size As Integer
Dim Color As Color
Dim Style As FontStyle
 
Dim instance As New FontInfo(Name, Size, Color, Style)
C# 
public FontInfo( 
   string Name,
   int Size,
   Color Color,
   FontStyle Style
)

Parameters

Name
Name of the font.
Size
Size to display font characters, in points.
Color
Color of the font characters.
Style
Style for the font, such as Regular or Bold.

Example

For an example, see TextSymbol .

Remarks

The font set in the Name property must be installed the ArcIMS Spatial Server machine. If multiple machines host Spatial Servers, then each must have the font installed. Client browser machines do not need the font to be installed locally.

Requirements

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

See Also

© 2011 All Rights Reserved.