PDF4Java Reference Documentation
com.o2sol.pdf4java.core.cos Package / PDFCosArray Class / getAsNumber Method
Index of element to return.
Collapse All Expand All
In This Topic

getAsNumber Method
In This Topic
Gets the element at the specified index as a double.
Syntax

    public double getAsNumber(
       int index
    )

#### Parameters

index
  Index of element to return.

#### Return Value

A double representing the element.
Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | Thrown when the index value is invalid

See Also

#### Reference

PDFCosArray Class
PDFCosArray Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.