GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoRuler Class / TextFormat Property
In This Topic
    TextFormat Property
    In This Topic
    Gets or sets the format string to use for formatting the measurement value.
    Syntax
    [Description("The format string for the labels")]
    [Category("Ruler Appearance")]
    [DefaultValue("{0:G}")]
    public virtual string TextFormat {get; set;}

    Property Value

    By default this is just "{0:G}", formatting the double-precision floating point value as a general number.
    See Also