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 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# 
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.