PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / MemoryStream Class / setPosition Method
The current position within the stream.
Collapse All Expand All
In This Topic

setPosition Method
In This Topic
Sets the position within the current stream.
Syntax

    public void setPosition(
       long value
    )

#### Parameters

value
  The current position within the stream.

Exceptions

Exception | Description
--- | ---
com.o2sol.pdf4java.core.exceptions.PDFIOException | When the stream is closed.
java.lang.IllegalArgumentException | When value is negative.

See Also

#### Reference

MemoryStream Class
MemoryStream Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.