version 6.0
DR New offscreen area Longint
| Parameter | Type | Description | ||||
| This command does not require any parameters | ||||||
| Function result | Longint | Area's ID | ||||
Description
The command DR New offscreen area creates a 4D Draw offscreen area and returns the area's ID. The value returned by DR New offscreen area can be used in any 4D Draw command that requires a 4D Draw area.
Example
This example searches for a record, creates an offscreen area, copies a drawing from the record into the area, and then prints the area.
QUERY ([Table3];[Table3]Field1 = "Level1") `Search for the record $Offscreen := DR New offscreen area `Create a new offscreen area DR FIELD TO AREA ($Offscreen;3;2) `Copy the drawing stored in a field DR PRINT ($Offscreen;0) `Print the area DR DELETE OFFSCREEN AREA ($Offscreen) `Get rid of the offscreen area
See Also
DR AREA TO AREA, DR DELETE OFFSCREEN AREA.