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

ConvertedFile.Height Property

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

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

Syntax

Visual Basic
Public ReadOnly Property Height As Integer
C#
public int Height { get; }

Property Value

Type: System.Int32

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

Remarks

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

See Also

Reference