Skip to main content

TdxSpreadSheetTextIndentDecrease Class

An action object that corresponds to the TextIndentDecrease command provided by the Spreadsheet and Report Designer controls.

Declaration

TdxSpreadSheetTextIndentDecrease = class(
    TdxSpreadSheetCustomFormatCellsAction
)

Remarks

This class does not introduce any new public members. Executing this action object decreases an indent from the left or right borders of all selected cells by 2 pixels.

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

If no cells can be selected in the protected worksheet (i.e., its OptionsProtection.ActualAllowSelectUnlockedCells property returns False), executing the TdxSpreadSheetTextIndentDecrease action object has no effect.

Note

Executing a TdxSpreadSheetTextIndentDecrease action object has a noticeable effect only on cell objects whose Style.AlignHorz property is set to ssahLeft, ssahRight, or ssahDistributed.

See Also