Enum LengthAdjust
Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)
Specifies how text length adjustments are made in SVG.
[ComVisible(true)]
public enum LengthAdjust
Fields
Spacing = 0
Adjusts the spacing between characters to achieve the desired length.
When set to ‘spacing’, the adjustment is made by modifying the space between characters. The glyphs themselves are not stretched or compressed.
SpacingAndGlyphs = 1
Adjusts both the spacing and the size of the glyphs to achieve the desired length.
When set to ‘spacingAndGlyphs’, the adjustment is made by altering both the spacing between characters and the size of the glyphs. This can lead to stretched or compressed text appearance.
Remarks
The ’lengthAdjust’ attribute in SVG text elements controls how text scaling is applied when the text must fit into a specified length.