Skip to main content

FloatingObjectsFormatTabItemId Enum

Lists commands contained in the Floating Objects Format tab.

Declaration

export enum FloatingObjectsFormatTabItemId {
    WrapTextMenu = 450,
    PositionMenu = 451,
    BringForwardMenu = 452,
    SendBackwardMenu = 453,
    ChangeFloatingObjectFillColor = 343,
    ChangeFloatingObjectOutlineColor = 344,
    ChangeFloatingObjectOutlineWidth = 345,
    SetFloatingObjectInlineTextWrapType = 374,
    SetFloatingObjectSquareTextWrapType = 346,
    SetFloatingObjectTightTextWrapType = 347,
    SetFloatingObjectThroughTextWrapType = 348,
    SetFloatingObjectTopAndBottomTextWrapType = 349,
    SetFloatingObjectBehindTextWrapType = 350,
    SetFloatingObjectInFrontOfTextWrapType = 351,
    SetFloatingObjectTopLeftAlignment = 352,
    SetFloatingObjectTopCenterAlignment = 353,
    SetFloatingObjectTopRightAlignment = 354,
    SetFloatingObjectMiddleLeftAlignment = 355,
    SetFloatingObjectMiddleCenterAlignment = 356,
    SetFloatingObjectMiddleRightAlignment = 357,
    SetFloatingObjectBottomLeftAlignment = 358,
    SetFloatingObjectBottomCenterAlignment = 359,
    SetFloatingObjectBottomRightAlignment = 360,
    FloatingObjectBringForward = 361,
    FloatingObjectBringToFront = 362,
    FloatingObjectBringInFrontOfText = 363,
    FloatingObjectSendBackward = 364,
    FloatingObjectSendToBack = 365,
    FloatingObjectSendBehindText = 366
}

Members

Name Description
BringForwardMenu

Identifies the Bring Forward menu.

ChangeFloatingObjectFillColor

Identifies the Change Floating Object Fill Color command.

ChangeFloatingObjectOutlineColor

Identifies the Change Floating Object Outline Color command.

ChangeFloatingObjectOutlineWidth

Identifies the Change Floating Object Outline Width command.

FloatingObjectBringForward

Identifies the Floating Object Bring Forward command.

FloatingObjectBringInFrontOfText

Identifies the Floating Object Bring In Front Of Text command.

FloatingObjectBringToFront

Identifies the Floating Object Bring To Front command.

FloatingObjectSendBackward

Identifies the Floating Object Send Backward command.

FloatingObjectSendBehindText

Identifies the Floating Object Send Behind Text command.

FloatingObjectSendToBack

Identifies the Floating Object Send To Back command.

PositionMenu

Identifies the Position menu.

SendBackwardMenu

Identifies the Send Backward menu.

SetFloatingObjectBehindTextWrapType

Identifies the Set Floating Object Behind Text Wrap Type command.

SetFloatingObjectBottomCenterAlignment

Identifies the Set Floating Object Bottom Center Alignment command.

SetFloatingObjectBottomLeftAlignment

Identifies the Set Floating Object Bottom Left Alignment command.

SetFloatingObjectBottomRightAlignment

Identifies the Set Floating Object Bottom Right Alignment command.

SetFloatingObjectInFrontOfTextWrapType

Identifies the Set Floating Object In Front Of Text Wrap Type command.

SetFloatingObjectInlineTextWrapType

Identifies the Set Floating Object Inline Text Wrap Type command.

SetFloatingObjectMiddleCenterAlignment

Identifies the Set Floating Object Middle Center Alignment command.

SetFloatingObjectMiddleLeftAlignment

Identifies the Set Floating Object Middle Left Alignment command.

SetFloatingObjectMiddleRightAlignment

Identifies the Set Floating Object Middle Right Alignment command.

SetFloatingObjectSquareTextWrapType

Identifies the Set Floating Object Square Text Wrap Type command.

SetFloatingObjectThroughTextWrapType

Identifies the Set Floating Object Through Text Wrap Type command.

SetFloatingObjectTightTextWrapType

Identifies the Set Floating Object Tight Text Wrap Type command.

SetFloatingObjectTopAndBottomTextWrapType

Identifies the Set Floating Object Top And Bottom Text Wrap Type command.

SetFloatingObjectTopCenterAlignment

Identifies the Set Floating Object Top Center Alignment command.

SetFloatingObjectTopLeftAlignment

Identifies the Set Floating Object Top Left Alignment command.

SetFloatingObjectTopRightAlignment

Identifies the Set Floating Object Top Right Alignment command.

WrapTextMenu

Identifies the Wrap Text menu.

Remarks

The FloatingObjectsFormatTabItemId enum contains identifiers of the Format tab’s ribbon items. Use an identifier to get the corresponding item and then insert it into a tab or remove the item from the Format tab.

The example below moves the WrapTextMenu item to the first position in the Format tab:

var options = DevExpress.RichEdit.createOptions();
var tab = options.ribbon.getTab(DevExpress.RichEdit.RibbonTabType.FloatingObjectsFormat);
var ribbonItem = tab.getItem(DevExpress.RichEdit.FloatingObjectsFormatTabItemId.WrapTextMenu);
tab.removeItem(ribbonItem);
tab.insertItem(ribbonItem, 0);
var richContainer = document.getElementById("rich-container");
const richEdit = DevExpress.RichEdit.create(richContainer, options);

To execute the Format tab’s command, pass the FloatingObjectsFormatTabCommandId‘s field to the executeCommand(commandId) method.

See Also