SVGBuilderExtensions.Height

SVGBuilderExtensions.Height<TBuilder> method

Sets the ‘height’ attribute for an SVG element.

public static TBuilder Height<TBuilder>(this TBuilder builder, double value, 
    LengthType type = LengthType.Px)
    where TBuilder : ISVGElementBuilder, IHeightAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
valueThe value for the ‘height’ attribute.
typeThe type of length measurement (default is pixels).

Return Value

The builder instance for chaining.

See Also