SVGBuilderExtensions.TextDecoration
SVGBuilderExtensions.TextDecoration<TBuilder> method
Sets the ’text-decoration’ attribute for an SVG element, defining decorations that are added to the text.
public static TBuilder TextDecoration<TBuilder>(this TBuilder builder, bool underline = false,
bool overline = false, bool lineThrough = false, bool blink = false)
where TBuilder : IAttributeSetter, IPresentationAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
underline | Specifies if the text should be underlined. |
overline | Specifies if the text should have an overline. |
lineThrough | Specifies if the text should have a line through it. |
blink | Specifies if the text should blink (not recommended for use). |
Return Value
The builder instance for chaining.
See Also
- interface IAttributeSetter
- interface IPresentationAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG