combit List & Label 25 - .NET Online Web Help
DefaultFont Property (PropertySettings)
Example 


combit.ListLabel25.Dom Namespace > PropertySettings Class : DefaultFont Property
Gets or sets the project default font. This is the default for other default fonts (e.g. the DefaultFont of a report container item).
Syntax
'Declaration
 
Public ReadOnly Property DefaultFont As PropertyFont
public PropertyFont DefaultFont {get;}
public:
property PropertyFont^ DefaultFont {
   PropertyFont^ get();
}
Example
// 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)";
Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

PropertySettings Class
PropertySettings Members