GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoText Class / WrappingWidth Property
In This Topic
    WrappingWidth Property
    In This Topic
    Gets or sets the width at which text is wrapped.
    Syntax
    [Category("Appearance")]
    [DefaultValue(150)]
    [Description("The width at which wrapping occurs, if Wrapping is true.")]
    public virtual float WrappingWidth {get; set;}

    Property Value

    This distance is in document coordinates. This defaults to 150. The new value must be positive and at least as wide as any single character.
    Remarks
    Text is wrapped to the next line when the Wrapping property is true and the text gets wider than this value. If Multiline is true, a NewLine character sequence (Carriage Return/ LineFeed) forces a line break. If AutoResizes is true, setting this property will resize this object to fit the text; otherwise if AutoRescales is true, setting this property will change the font size so that the text fits the bounds.
    See Also