SVGBuilderExtensions.FontSize
Contents
[
Hide
]FontSize<TBuilder>(this TBuilder, double, LengthType)
Sets the ‘font-size’ attribute for an SVG element using a numeric value and a specific length type.
public static TBuilder FontSize<TBuilder>(this TBuilder builder, double value,
LengthType type = LengthType.Px)
where TBuilder : IAttributeSetter, IPresentationAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
value | The font size value to set. |
type | The length type (e.g., px, em). |
Return Value
The builder instance for chaining.
See Also
- enum LengthType
- interface IAttributeSetter
- interface IPresentationAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
FontSize<TBuilder>(this TBuilder, FontSize)
Sets the ‘font-size’ attribute for an SVG element using a predefined font size value.
public static TBuilder FontSize<TBuilder>(this TBuilder builder, FontSize value)
where TBuilder : IAttributeSetter, IPresentationAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
value | The predefined font size value to set. |
Return Value
The builder instance for chaining.
See Also
- enum FontSize
- interface IAttributeSetter
- interface IPresentationAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG