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
- size
Type: System.Single
The fixed width font size
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
BaseCompareEditorControl Class
BaseCompareEditorControl Members
Microsoft.VisualStudio.Data.Schema.Project.SchemaAndDataCompare.UI.Editors Namespace