Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetClearPrintArea Class

An action object that implements the ClearPrintArea end-user command in Spreadsheet and Report Designer-based applications.

#Declaration

Delphi
TdxSpreadSheetClearPrintArea = class(
    TdxSpreadSheetCustomPrintingAction
)

#Remarks

This class does not introduce any new public members. Executing this action object discards the custom print area defined for the active worksheet, that is, internally calls its OptionsPrint.Source.Area.Reset procedure.

UI elements linked to a TdxSpreadSheetClearPrintArea action object are enabled only if the following conditions are met:

  • An in-place editor is inactive (the active worksheet’s IsEditing property returns False);

  • The active worksheet has a custom print area (that is, the worksheet’s OptionsPrint.Source.Area.Assigned property is True).

To localize the caption and hint displayed by UI elements linked to a TdxSpreadSheetClearPrintArea action object, use the sdxSpreadSheetActionClearPrintAreaCaption and sdxSpreadSheetActionClearPrintAreaHint resource strings, respectively.

See Also