Table of Contents

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

string

Color

Gets or sets the font color expression.

public string Color { get; set; }

Property Value

string

Default

Gets or sets whether this font inherits all values from its parent (default) font.

public string Default { get; set; }

Property Value

string

FaceName

Gets or sets the face name expression.

public string FaceName { get; set; }

Property Value

string

GdiCharSet

Gets or sets the GDI character set number.

public string GdiCharSet { get; set; }

Property Value

string

Italic

Gets or sets the italic style flag.

public string Italic { get; set; }

Property Value

string

Size

Gets or sets the font size in points.

public string Size { get; set; }

Property Value

string

Strikeout

Gets or sets the strikeout style flag.

public string Strikeout { get; set; }

Property Value

string

Underline

Gets or sets the underline style flag.

public string Underline { get; set; }

Property Value

string

Width

Gets or sets the font width (scaling) expression.

public string Width { get; set; }

Property Value

string

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

otherFont PropertyFontExt

A 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.