Nevron Open Vision Documentation
Nevron.Nov.Diagram.Shapes Namespace / NShapeInfo Class / PreserveAspectRatio Property


In This Topic
    PreserveAspectRatio Property
    In This Topic
    Gets or sets whether the original aspect ratio of the shape must be preserved, when the shape is scaled to fit the default factory size (valid only if the UsesDefaultSize property is true).
    Syntax
    'Declaration
     
    
    Public Property PreserveAspectRatio As System.Boolean
    'Usage
     
    
    Dim instance As NShapeInfo
    Dim value As System.Boolean
     
    instance.PreserveAspectRatio = value
     
    value = instance.PreserveAspectRatio
    public System.bool PreserveAspectRatio {get; set;}
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also