PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / ImageAlign Structure / KeepAspectRatio Property

In This Topic
    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 ImageAlign.StretchHorz or ImageAlign.StretchVert is true.
    Syntax
    'Declaration
     
    Public Property KeepAspectRatio As Boolean
    public bool KeepAspectRatio {get; set;}
    See Also