OraFormsGetPropByteArray Function

Action

Returns an element of a byte array for a specified property within a control.

Include file

OraForms.bdh

Syntax

OraFormsGetPropByteArray( in sName   : string,
                          in nPropId : number,
                          in nIndex  : number) : number;

Return value

The property's value at the specified position.

Parameter Description
sName The control's unique name.
nPropId The property ID for the byte array property, for example ORA_PID_BP_CHUNK.
nIndex The position of the element to be returned. This array index is 1-based.

Example

  var i, aByte :number;
    for i := 1 to OraFormsGetPropByteArrayLen("143", ORA_PID_IMAGE_VALUE) do
      aByte := OraFormsGetPropByteArray("143", ORA_PID_IMAGE_VALUE, i-1);
      Write(string(aByte)+",");
    end;