VectorImage.Create

VectorImage.Create method

Creates a new instance of a vector image with the specified dimensions and graphics unit.

public static VectorImage Create(float width, float height, 
    GraphicsUnit graphicsUnit = GraphicsUnit.Pixel)
ParameterTypeDescription
widthSingleThe width of the vector image, in the specified graphics unit. Must be greater than or equal to 0.
heightSingleThe height of the vector image, in the specified graphics unit. Must be greater than or equal to 0.
graphicsUnitGraphicsUnitThe unit of measurement for the width and height. The default is Pixel.

Return Value

A new VectorImage instance with the specified dimensions and graphics unit.

See Also