Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayExt Class / TryGetFloat Method / TryGetFloat(IPdfArray,Int32,Single,Boolean) Method
The current array.
The index of the value to get.
OUT: The float value.
Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if value at the specified index can't be converted to int.

In This Topic
    TryGetFloat(IPdfArray,Int32,Single,Boolean) Method
    In This Topic
    Tries to get the System.Single value at the specified index.
    Syntax
    'Declaration
     
    Public Overloads Shared Function TryGetFloat( _
       ByVal array As IPdfArray, _
       ByVal index As System.Integer, _
       ByRef value As System.Single, _
       Optional ByVal addWarning As System.Boolean _
    ) As System.Boolean
    public static System.bool TryGetFloat( 
       IPdfArray array,
       System.int index,
       out System.float value,
       System.bool addWarning
    )

    Parameters

    array
    The current array.
    index
    The index of the value to get.
    value
    OUT: The float value.
    addWarning
    Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if value at the specified index can't be converted to int.

    Return Value

    true if value exists and can be converted to a float; otherwise false.
    See Also