Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclSVG > RSSVGUtils > Routines

SVGLengthToString(Single,Boolean,TSVGUnit,String,Single,Single) Method

Scroll Prev Top Next More

Returns an SVG compatible string for the length in the specified unit. If the number is a percentage, the function uses the Min and Max parameters to scale the number within the range

Namespace: RSSVGUtils

Parameters

N

Type: Single

Number to convert to string

IsPercent

Type: Boolean

Is the number a percentage or not

aUnit

Type: TSVGUnit

Measurement unit the number is in

FormatStr

Type: String

Format string for the number

Min

Type: Single

Minimum range when number is a percentage

Max

Type: Single

Maximum range when number is a percentage

Return Value

Type: String

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb