Click or drag to resize
OGFontChangeFont Method
Composes this font using a source font and a ModifyType for the operation.

Namespace: Stingray.Grid
Assembly: Stingray.GridUtils (in Stingray.GridUtils.dll) Version: 14.0.0.0
Syntax
public void ChangeFont(
	OGFont font,
	ModifyType modifyType
)

Parameters

font
Type: Stingray.GridOGFont
The face name for the font.
modifyType
Type: Stingray.GridModifyType
How the font style is impacted:
  • ApplyNew copies styles from the source font to this font if they are set in the source, but not set in this font.
  • Override copies properties from the source font to this font, even if they are already set in this font.
  • Copy copies the font settings from the source font.
  • Exclude resets attributes set in the source font.
Remarks
The OGFont style is composed in a way that is similar to that used by Style.
See Also