Skip to main content
All docs
V25.1
  • Create(TPersistent,TFontName,Integer) Constructor

    Creates a new instance of font settings for the specified parent settings object.

    Declaration

    constructor Create(AOwner: TPersistent; const ADefaultName: TFontName; const ADefaultSize: Integer); reintroduce; overload;

    Parameters

    Name Type Description
    AOwner TPersistent

    The parent object for the created instance of font appearance settings. In DevExpress products, the parent for a TdxFontOptions object is another settings class instance.

    ADefaultName TFontName

    The default font typeface. This parameter value initializes the Name property.

    ADefaultSize Integer

    The default font size. This parameter value initializes the Size property.

    Remarks

    Warning

    Call this constructor only if you use the TdxFontOptions class in a custom component. DevExpress components create required line settings automatically.

    See Also