SVGBuilderExtensions.Width
SVGBuilderExtensions.Width<TBuilder> method
Sets the ‘width’ attribute for an SVG element.
public static TBuilder Width<TBuilder>(this TBuilder builder, double value,
LengthType type = LengthType.Px)
where TBuilder : ISVGElementBuilder, IWidthAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
value | The value for the ‘width’ attribute. |
type | The type of length measurement (default is pixels). |
Return Value
The builder instance for chaining.
See Also
- enum LengthType
- interface ISVGElementBuilder
- interface IWidthAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG