Technical Reference > Graphics Builder Automation Interface > Page Functions > PageImport

PageImport

Imports a graphics file on to the page as a bitmap.

Syntax

PageImport(FileName)

FileName:

The name of the graphic file, including the complete path.

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

Example

' Imports the graphic file splash.bmp as a bitmap
GraphicsBuilder.PageImport "C:Program Files\Citect\CitectSCADA 7.10\Bin\splash.bmp"