Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

HTMLPageBreakGetPosition Function

Overview

The HTMLPageBreakGetPosition function returns the position of the page break data in the form of a int array.

Syntax/Parameters

Syntax

int[] = HTMLPageBreakGetPosition ( handle hPageObject, int index );

Parameters

hPageObject

A handle to a Page Break Object,

index

A int specifying the zero based index to the page map.

Return Value

An int array as the position of the start and end of the page data within the file or an empty array on error. Use the GetLastError and GetLastErrorMessage to retrieve a formatted error code and detailed message.

Remarks

A four element list is returned with the key names “s_x”, “s_y”, “e_x” and “e_y”. All values are zero-based.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic