Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / SetAspectRatio Method
The aspect (width to height) ratio.

In This Topic
    SetAspectRatio Method
    In This Topic
    Adds an AspectRatio constraint.
    Syntax
    'Declaration
     
    Public Function SetAspectRatio( _
       ByVal aspectRatio As System.Single _
    ) As AspectRatioConstraint
    public AspectRatioConstraint SetAspectRatio( 
       System.float aspectRatio
    )

    Parameters

    aspectRatio
    The aspect (width to height) ratio.

    Return Value

    New constraint just added.
    See Also