Skip to main content
All docs
V26.1
  • WrapType Enum

    Lists values that specify how text wraps around the floating object.

    Declaration

    export enum WrapType {
        Inline = 0,
        TopAndBottom = 1,
        Tight = 2,
        Through = 3,
        Square = 4,
        BehindText = 5,
        InFrontOfText = 6
    }

    Members

    Name Description
    BehindText

    A floating object is displayed behind the text.

    InFrontOfText

    A floating object is displayed in front of the text.

    Inline

    A floating object is displayed in the text and is treated like a character.

    Square

    The text is wrapped around the rectangular borders of a floating object.

    Through

    Currently not supported and is displayed as the Square wrap type.
    The text is wrapped tightly around a floating object and can fill the transparent background around the floating object.

    Tight

    Currently not supported and is displayed as the Square wrap type.
    The text is wrapped tightly around a floating object.

    TopAndBottom

    The text is displayed above and below a floating object.