SVGBuilderExtensions.X
Contents
[
Hide
]X<TBuilder>(this TBuilder, LengthType, params double[])
Sets the ‘x’ attribute for positioning the text content along the x-axis.
public static TBuilder X<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 x-axis position values. |
Return Value
The builder instance for chaining.
Remarks
This method sets the ‘x’ attribute, which determines the horizontal position(s) of the text element.
See Also
- enum LengthType
- interface ISVGElementBuilder
- interface ITextContentPositioningAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
X<TBuilder>(this TBuilder, double, LengthType)
Sets the ‘x’ attribute for an SVG element.
public static TBuilder X<TBuilder>(this TBuilder builder, double value,
LengthType type = LengthType.Px)
where TBuilder : ISVGElementBuilder, IXAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
value | The value for the ‘x’ attribute. |
type | The type of length measurement (default is pixels). |
Return Value
The builder instance for chaining.
See Also
- enum LengthType
- interface ISVGElementBuilder
- interface IXAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG