Compartilhar via


InPlaceTextEditor.SetFont Method

Definition

Sets the font for this editor.

public:
 void SetFont(System::String ^ familyName, float emSize, System::Drawing::FontStyle style, System::Drawing::GraphicsUnit unit, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public void SetFont (string familyName, float emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
member this.SetFont : string * single * System.Drawing.FontStyle * System.Drawing.GraphicsUnit * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> unit
Public Sub SetFont (familyName As String, emSize As Single, style As FontStyle, unit As GraphicsUnit, view As DiagramClientView)

Parameters

familyName
String
emSize
Single
style
FontStyle

Applies to