Diagram.BaseFontName Property

Gets or sets the name of the base font.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram/BaseFontName.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("31753e76-8e32-417c-8596-ff6db5ddf556")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram/BaseFontName.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
Public Property BaseFontName As String
'Usage
Dim instance As Diagram 
Dim value As String 

value = instance.BaseFontName

instance.BaseFontName = value
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram/BaseFontName.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("31753e76-8e32-417c-8596-ff6db5ddf556")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram/BaseFontName.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
public string BaseFontName { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Diagram/BaseFontName.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"31753e76-8e32-417c-8596-ff6db5ddf556")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Diagram/BaseFontName.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
public:
property String^ BaseFontName {
    String^ get ();
    void set (String^ value);
}
public function get BaseFontName () : String 
public function set BaseFontName (value : String)

Property Value

Type: System.String
The name of the base font.

.NET Framework Security

See Also

Reference

Diagram Class

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace