docx
    Preparing search index...

    Type Alias ConnectorLabel

    Text on a connector, in a box centred on its route.

    type ConnectorLabel = {
        fill?: ShapeFill;
        height?: number;
        line?: ShapeLine;
        position?: ConnectorLabelPosition;
        text: string | readonly Paragraph[];
        width?: number;
    }
    Index
    fill?: ShapeFill

    The label's background, such as "FFFFFF" to hide the line behind the text. Default is none

    height?: number

    Height of the label's box in pixels. Default fits the text

    line?: ShapeLine

    The label's outline. Default is none

    Where the label goes along the route. "start" and "end" put it just clear of the shape at that end, such as "Yes" and "No" beside a decision. A label that would sit on a shape moves along the route until it doesn't. Default is "middle"

    text: string | readonly Paragraph[]

    The text, or paragraphs for text with formatting

    width?: number

    Width of the label's box in pixels. Default fits the text, from the widths of common fonts