ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.util Namespace / ParameterList Class / getFloatParameter Method
The parameter name.

In This Topic
    getFloatParameter Method
    In This Topic
    Returns the value of the named parameter as a float. If the parameter has a non-numeric value a NumberFormatException is thrown. If the parameter has a multiple word value than the first word is returned as an int, others are ignored. If the parameter 'pname' is not in the parameter list, an IllegalArgumentException is thrown.
    Syntax
    'Declaration
     
    
    Public Overridable Function getFloatParameter( _
       ByVal pname As String _
    ) As Single
    public virtual float getFloatParameter( 
       string pname
    )

    Parameters

    pname
    The parameter name.

    Return Value

    the value of the parameter as a float.
    Exceptions
    ExceptionDescription
    If the parameter has a non-numeric value.
    If there is no parameter with the name 'pname' in the parameter list.
    See Also