PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / ImageAlign Structure / KeepAspectRatio Property

In This Topic
    KeepAspectRatio Property
    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