PostgreSQLLargeObject.Length

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aPostgreSQLLargeObject.Length

Supported for all project types and targets.

Reads the length of the large object.

Example

Gets the size of a large object:

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

MessageBox("Object size in bytes: " + largeObject.Length.ToString)