KeepAspectRatio Property (ImageAlign)
In This Topic
Gets or sets a value indicating whether the original aspect ratio is preserved when rendering an image. Used when
StretchHorz or
StretchVert is
true.
Syntax
'Declaration
Public Property KeepAspectRatio As Boolean
public bool KeepAspectRatio {get; set;}
See Also