PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / MemoryStream Class / getPosition Method
Collapse All Expand All
In This Topic

getPosition Method
In This Topic
Gets the position within the current stream.
Syntax

    public long getPosition()

#### Return Value

The current position within the stream.
Exceptions

Exception | Description
--- | ---
com.o2sol.pdf4java.core.exceptions.PDFIOException | if the stream is closed.

See Also

#### Reference

MemoryStream Class
MemoryStream Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.