Share via


BaseCompareEditorControl.GetDefaultFixedWidthFont Method

Sets the font of the large text box.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.SchemaAndDataCompare.UI.Editors
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Protected Shared Function GetDefaultFixedWidthFont ( _
    size As Single _
) As Font
'Usage
Dim size As Single
Dim returnValue As Font

returnValue = BaseCompareEditorControl.GetDefaultFixedWidthFont(size)
protected static Font GetDefaultFixedWidthFont(
    float size
)
protected:
static Font^ GetDefaultFixedWidthFont(
    float size
)
protected static function GetDefaultFixedWidthFont(
    size : float
) : Font
static member GetDefaultFixedWidthFont : 
        size:float32 -> Font 

Parameters

Return Value

Type: System.Drawing.Font

Remarks

If getting the text editor font fails, then this method returns a fixed width font.

.NET Framework Security

See Also

Reference

BaseCompareEditorControl Class

BaseCompareEditorControl Members

Microsoft.VisualStudio.Data.Schema.Project.SchemaAndDataCompare.UI.Editors Namespace