Skip to main content

TdxPrintStyleManager.AddStyleEx(TdxPrintStyleClass,TComponent) Method

Adds a new style to the list of available print styles.

Declaration

function AddStyleEx(AStyleClass: TdxPrintStyleClass; AOwner: TComponent): TBasedxPrintStyle;

Parameters

Name Type
AStyleClass TdxPrintStyleClass
AOwner TComponent

Returns

Type
TBasedxPrintStyle

Remarks

Call the AddStyle method to add a new print style. The AStyleClass parameter specifies which predefined style to use as the basis of the new style. The AOwner allows you to change the owner of this style. By default, it is the same as in the style manager.

See Also