LOTUSSCRIPT/COM/OLE CLASSES


Position property
Example

Read-write. Offset from the beginning of the stream in bytes.

Defined in

NotesStream

Data type

Long

Syntax

To get: offset& = notesStream.Position

To set: notesStream.Position = offset&

Usage

A value of 0 means the beginning of the stream.

Setting this property to a negative value or a value greater than the size of the stream sets the position at end of stream.

Write and WriteText update this property to end of stream. Setting this property has no effect on these methods.

This property affects Read and ReadText. You should exercise care setting a value other than 0. No special support exists for multi-byte characters.

Language cross-reference

Position property in Java Stream class

Example