This property sets the width of a vector image when the image is loaded.

[Visual Basic] Public Property VectorWidth As Integer
[C#] public int VectorWidth {get; set;}

Property Value

The VectorWidth property sets the width of the vector image (in pixels). Default value is 0.

Explanation

The VectorWidth property sets the width of a vector image when the image is loaded.

For EMF and WMF images

    If the VectorHeight property or the VectorWidth property is set to a value of 0 or less, the size defined in each file header will be used.

Note: When the vector image is loaded, the ratio of the height and width of the original image is maintained and the largest pixel size of the image is scaled within the area defined by the VectorHeight property or the VectorWidth properties.

See Also

ImageKit.File Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation