Skip to main content

TBasedxReportLink.BuildPageSetupMenu(TComponent,Pointer,Boolean) Method

Builds a page setup menu in an application.

Declaration

procedure BuildPageSetupMenu(ARootItem: TComponent; AData: Pointer; AIncludeDefineItem: Boolean = True);

Parameters

Name Type
ARootItem TComponent
AData Pointer
AIncludeDefineItem Boolean

Remarks

Call this function to embed a page setup menu in your application.

The ARootItem determines a component in which a page setup menu is embedded. This component can be of any type that supports displaying a list of print styles or the “define print style” button.

The AData pointer may contain a pointer to any additional arbitrary data.

Set the AIncludeDefineItem parameter to True to display the “define print style” button or False to hide it.

See the examples to learn more about using the BuildPageSetupMenu function.

See Also