DocumentTools - Maple Programming Help

Home : Support : Online Help : Programming : Document Tools : DocumentTools/GetDocumentProperty

DocumentTools

 GetDocumentProperty
 Query property/properties of a document

 Calling Sequence GetDocumentProperty(all) GetDocumentProperty(attr)

Parameters

 attr - name ; property of the document that is to be queried

Description

 • The GetDocumentProperty function queries the document for the value of a property, or all properties.

Examples

Suppose that your document has an Author property. To retrieve the value of this property, you can do this:

 > $\mathrm{with}\left(\mathrm{DocumentTools}\right):$
 > $\mathrm{GetDocumentProperty}\left('\mathrm{Author}'\right)$
 ${"Maplesoft"}$ (1)