SVGBuilderExtensions.Dx
Dx<TBuilder>(this TBuilder, LengthType, params double[])
Sets the ‘dx’ attribute to adjust the horizontal position of each character in the text.
public static TBuilder Dx<TBuilder>(this TBuilder builder, LengthType type = LengthType.Px,
params double[] values)
where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The SVG element builder. |
type | The type of length unit for the values. |
values | The horizontal adjustment values for each character. |
Return Value
The builder instance for chaining.
Remarks
This method allows fine control over the horizontal spacing of characters in the text.
See Also
- enum LengthType
- interface ISVGElementBuilder
- interface ITextContentPositioningAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
Dx<TBuilder>(this TBuilder, double, LengthType)
Sets a single horizontal adjustment value for the text content.
public static TBuilder Dx<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 horizontal adjustment value. |
type | The type of length unit for the value. |
Return Value
The builder instance for chaining.
Remarks
This method sets the ‘dx’ attribute with a single value, adjusting the horizontal position of the text content.
See Also
- enum LengthType
- interface ISVGElementBuilder
- interface ITextContentPositioningAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG