Technical Reference > Graphics Builder Automation Interface > Page Properties Functions > PageLogDevice

PageLogDevice

Retrieves or sets the LogDevice property setting for the current graphics page.

Syntax

PageLogDevice(LogDevice)

LogDevice:

The name of the log device as a string.

Return Value

The LogDevice setting for the active graphics page (as a string), or 0 (zero) if successfully used to set the LogDevice. In both cases, an error is returned if unsuccessful.

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

Related Functions

PageName, PageTitle, PageDescription, PagePrevious, PageNext, PageScanTime

See Also

Example

' Sets the LogDevice for the current graphics page
GraphicsBuilder.PageLogDevice = "MyDevice"

' Retrieves the name of the LogDevice for the current page
MyVariable = GraphicsBuilder.PageLogDevice

Note: This function is implemented in the C++ environment as two separate functions: put_PageLogDevice applies an LogDevice setting for active graphics page, and get_PageLogDevice retrieves the current LogDevice setting.