Class PropertyFontExt
- Namespace
- combit.Reporting.Dom
- Assembly
- combit.ListLabel31.CrossPlatform.dll
Extended font property set allowing formula based specification of individual font aspects. Unlike simple font containers this class treats all properties as expressions.
public class PropertyFontExt : DomItem
- Inheritance
-
PropertyFontExt
- Inherited Members
Properties
Bold
Gets or sets the bold style flag.
public string Bold { get; set; }
Property Value
Color
Gets or sets the font color expression.
public string Color { get; set; }
Property Value
Default
Gets or sets whether this font inherits all values from its parent (default) font.
public string Default { get; set; }
Property Value
FaceName
Gets or sets the face name expression.
public string FaceName { get; set; }
Property Value
GdiCharSet
Gets or sets the GDI character set number.
public string GdiCharSet { get; set; }
Property Value
Italic
Gets or sets the italic style flag.
public string Italic { get; set; }
Property Value
Size
Gets or sets the font size in points.
public string Size { get; set; }
Property Value
Strikeout
Gets or sets the strikeout style flag.
public string Strikeout { get; set; }
Property Value
Underline
Gets or sets the underline style flag.
public string Underline { get; set; }
Property Value
Width
Gets or sets the font width (scaling) expression.
public string Width { get; set; }
Property Value
Methods
IsSetToUseDefault()
Determines whether all style properties are set to use their default values.
public bool IsSetToUseDefault()
Returns
- bool
true if all style properties are set to use the default value; otherwise, false.
Remarks
This method checks whether the Color, Bold, Italic, Underline, and Strikeout properties are all set to indicate the use of default styling. Use this method to determine if no explicit style overrides have been applied.
MixWith(PropertyFontExt)
Updates the current font properties with values from the specified font where the current properties are not set.
public void MixWith(PropertyFontExt otherFont)
Parameters
otherFontPropertyFontExtA font whose property values are used to fill in unset properties of the current font.
Remarks
This method only updates properties that are currently unset (null). Properties that already have a value are not modified.