Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayExt Class / TryAsRect Method
The current array.
OUT: The X of left-bottom corner.
OUT: The Y of left-bottom corner.
OUT: The X of right-top corner.
OUT: The Y of right-top corner.

In This Topic
    TryAsRect Method
    In This Topic
    Tries to convert the array to rectangle, the array should have 4 elements and all are numbers.
    Syntax
    'Declaration
     
    Public Shared Function TryAsRect( _
       ByVal array As IPdfArray, _
       ByRef left As IPdfNumber, _
       ByRef bottom As IPdfNumber, _
       ByRef right As IPdfNumber, _
       ByRef top As IPdfNumber _
    ) As System.Boolean
    public static System.bool TryAsRect( 
       IPdfArray array,
       out IPdfNumber left,
       out IPdfNumber bottom,
       out IPdfNumber right,
       out IPdfNumber top
    )

    Parameters

    array
    The current array.
    left
    OUT: The X of left-bottom corner.
    bottom
    OUT: The Y of left-bottom corner.
    right
    OUT: The X of right-top corner.
    top
    OUT: The Y of right-top corner.
    See Also