Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the font for this editor.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Sub SetFont ( _
familyName As String, _
emSize As Single, _
style As FontStyle, _
unit As GraphicsUnit, _
view As DiagramClientView _
)
public void SetFont(
string familyName,
float emSize,
FontStyle style,
GraphicsUnit unit,
DiagramClientView view
)
public:
void SetFont(
String^ familyName,
float emSize,
FontStyle style,
GraphicsUnit unit,
DiagramClientView^ view
)
member SetFont :
familyName:string *
emSize:float32 *
style:FontStyle *
unit:GraphicsUnit *
view:DiagramClientView -> unit
public function SetFont(
familyName : String,
emSize : float,
style : FontStyle,
unit : GraphicsUnit,
view : DiagramClientView
)
Parameters
- familyName
Type: System.String
- emSize
Type: System.Single
- style
Type: System.Drawing.FontStyle
- unit
Type: System.Drawing.GraphicsUnit
.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.