WR GET DOCUMENT INFO
version 6.5
WR GET DOCUMENT INFO (area; string; subject; author; company; notes; creationDate; creationTime; modifDate; modifTime; lock)
Parameter | Type | Description | |
area | Longint | 4D Write area | |
string | String | Title of the document | |
subject | String | Subject of the document | |
author | String | Author of the document | |
company | String | Company name | |
notes | String | Document notes | |
creationDate | Date | Creation date | |
creationTime | Time | Creation time | |
modifDate | Date | Last modification date | |
modifTime | Time | Last modification time | |
lock | Integer | 0=unlocked | |
1=locked |
Description
The WR GET DOCUMENT INFO command allows you to retrieve document information as displayed in the Document information dialog. The Document information dialog is displayed by selecting Document information from the Tools menu.
Some of this information such as the document subject, the author's name, the company name and the notes can be set using the WR SET DOCUMENT INFO command.
lock can be set using the WR LOCK DOCUMENT command. It is a logical lock that prevents the user from modifying the document. It affects user operations such as Paste, Cut, text entry, modify or replace attributes. The user can still browse the document, copy text, perform some character searches or print the document.
creationDate, creationTime, modifDate, modifTime are automatically updated by 4D Write when the document is saved.
Example
See the example for the WR SET DOCUMENT INFO command.
See Also