This documentation is for the old version. Go to the latest Upload Suite docs

ConvertedFile.Width Property

Gets an actual width (in pixels) of this converted file if it is an image.

Namespace: Aurigma.ImageUploaderFlash
Assembly: Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)


Visual Basic
Public ReadOnly Property Width As Integer
public int Width { get; }

Property Value

Type: System.Int32

The actual width of this converted file if it is an image. Otherwise, this property returns 0.


Depending on the ThumbnailFitMode, this value may differ from the value specified through the ThumbnailWidth property. This happens because Image Uploader Flash preserves the aspect ratio of the image and seldom can use the same dimensions as specified in the converter parameters.

See Also