PostgreSQLLargeObject.Position

From Xojo Documentation

Property (As Integer )
aPostgreSQLLargeObject.Position = newIntegerValue
or
IntegerValue = aPostgreSQLLargeObject.Position

Supported for all project types and targets.

Gets or sets the current position of the large object. The beginning of a large object is position 0.

Example

Displays the current postion within the large object:

// db is a previously connected PostgreSQLDatabase
// objectID is an integer referring to a previously created large object
Dim largeObject As PostgreSQLLargeObject
largeObject = db.OpenLargeObject(objectID)

Var currentPos As Integer = largeObject.Position