Skip to main content

TdxSpreadSheetSetLandscapePageOrientation Class

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

Declaration

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