ESRI.ArcGIS.ADF
ToStdFont(IServerContext,Font) Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF 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) 
<ObsoleteAttribute("This method is obsolete.  Use the ESRI.ArcGIS.ADF.Connection.Local.Converter.ToStdFont method from the ESRI.ArcGIS.ADF.Connection.Local assembly instead.")>
Public Overloads Shared Function ToStdFont( _
   ByVal context As IServerContext, _
   ByVal font As Font _
) As IFontDisp
Visual Basic (Usage)Copy Code
Dim context As IServerContext
Dim font As Font
Dim value As IFontDisp
 
value = Converter.ToStdFont(context, font)
C# 
[ObsoleteAttribute("This method is obsolete.  Use the ESRI.ArcGIS.ADF.Connection.Local.Converter.ToStdFont method from the ESRI.ArcGIS.ADF.Connection.Local assembly instead.")]
public static IFontDisp ToStdFont( 
   IServerContext context,
   Font font
)

Parameters

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

Return Value

The IFontDisp object.

See Also

© 2010 All Rights Reserved.