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

TdxSpreadSheetSetLandscapePageOrientation Class

An action object that implements the SetLandscapePageOrientation end-user command in spreadsheet-based applications.

#Declaration

Delphi
TdxSpreadSheetSetLandscapePageOrientation = class(
    TdxSpreadSheetCustomPrintingAction
)

#Remarks

The SetLandscapePageOrientation and SetPortraitPageOrientation end-user commands are excluded from automatic UI generation scheme and exist only to ensure backward compatibility with previous versions of DevExpress controls. Use the PageOrientationGallery command instead.

This class does not introduce any new public members. Its overridden Execute function call sets the active worksheet‘s OptionsPrint.Page.Orientation property to oppoLandscape.

UI elements linked to a TdxSpreadSheetSetLandscapePageOrientation action object are enabled only if an in-place cell editor is inactive (that is, the active worksheet’s IsEditing property returns False).

To localize the caption of UI elements linked to a TdxSpreadSheetSetLandscapePageOrientation action object, use the sdxSpreadSheetActionSetLandscapePageOrientationCaption resource string. The action object provides no hint by default.

See Also