combit List & Label 29 - .NET Hilfe
combit.Reporting.Dom Namespace / PropertySettings Klasse / DefaultFont Eigenschaft
Beispiele


In diesem Thema
    DefaultFont Eigenschaft (PropertySettings)
    In diesem Thema
    Stellen Sie hierüber die Standardschriftart ein, welche für jedes Objekt verwendet werden soll, dass nicht explizit eine Schriftart angegeben hat. Diese Option ist vorallem dann nützlich, sofern Sie die Gestaltung flexibel halten möchten.
    Syntax
    'Deklaration
     
    
    Public ReadOnly Property DefaultFont As PropertyFont
    public PropertyFont DefaultFont {get;}
    public:
    property PropertyFont^ DefaultFont {
       PropertyFont^ get();
    }
    Beispiele
    // change default font for objects
    proj.Settings.DefaultFont.Bold = "True"; 
    proj.Settings.DefaultFont.FaceName = "\"Arial\""; 
    proj.Settings.DefaultFont.Size = "16"; 
    proj.Settings.DefaultFont.Width = "10"; 
    proj.Settings.DefaultFont.Color = "RGB(255, 0, 0)";
    Anforderungen

    Plattformen: Windows 10 (Version 21H2 - 22H2), Windows 11 (21H2 - 23H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    Siehe auch