Hide Comments
Hide Comments

ParseTextAnchor(String,TSVGTextAlign,Boolean) Method

Comments (0)

Parses the input string for a text anchor value, which is used to align (start-, middle- or end-alignment) a string of text relative to a given point.

The allowable values are start | middle | end | inherit

Namespace: RSSVGUtils

expandingSyntax

Delphi

 function ParseTextAnchor( S: String; DefValue: TSVGTextAlign; var Inherits: Boolean ): TSVGTextAlign;
 

Parameters

S

Type: String

DefValue

Type: TSVGTextAlign

Inherits

Type: Boolean

Return Value

Type: TSVGTextAlign

expandingRemarks

If the string is blank, the function returns the default value ( DefValue). If the string contains 'inherits', the function returns the default value and sets the Inherits parameter to true.

expandingSee Also

Reference

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb