ESRI.ArcGIS.ADF.Connection.Local
ToStdFont(IServerContext,Font) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection.Local Namespace > Converter Class > ToStdFont Method : ToStdFont(IServerContext,Font) Method




context
An IServerContext object
font
a System.Drawing.Font object
Converts a System.Drawing.Font object to an stdole.IFontDisp object for use with ArcObjects Symbols.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function ToStdFont( _
   ByVal context As ESRI.ArcGIS.Server.IServerContext, _
   ByVal font As Font _
) As stdole.IFontDisp
Visual Basic (Usage)Copy Code
Dim context As ESRI.ArcGIS.Server.IServerContext
Dim font As Font
Dim value As stdole.IFontDisp
 
value = Converter.ToStdFont(context, font)
C# 
public static stdole.IFontDisp ToStdFont( 
   ESRI.ArcGIS.Server.IServerContext context,
   Font font
)

Parameters

context
An IServerContext object
font
a System.Drawing.Font object

Return Value

The IFontDisp object.

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.