GoJS API
/ to search
    Preparing search index...

    Enumeration Wrap

    This enumeration specifies possible values for TextBlock.wrap.

    since

    3.0

    Index

    Enumeration Members

    Enumeration Members

    BreakAll: 3

    The TextBlock will attempt to wrap at each character, allowing breaks within "words."

    DesiredSize: 2

    The TextBlock will wrap text and the width of the TextBlock will be the desiredSize's width, if any.

    Fit: 1

    The TextBlock will wrap text, making the width of the TextBlock equal to the width of the longest line.

    None: 0

    The TextBlock will not wrap its text.