SVGBuilderExtensions.TextLength
SVGBuilderExtensions.TextLength<TBuilder> method
Sets the exact length of the text content.
public static TBuilder TextLength<TBuilder>(this TBuilder builder, double value,
LengthType type = LengthType.Px)
where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The SVG element builder. |
value | The length of the text. |
type | The type of length unit for the value. |
Return Value
The builder instance for chaining.
Remarks
This method sets the ’textLength’ attribute, specifying the desired length of the text content, potentially overriding the natural text length.
See Also
- enum LengthType
- interface ISVGElementBuilder
- interface ITextContentPositioningAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG