Gets the type of auto-generation. A document target which is the target of an entry in a table of contents is automatically generated when the table of contents is inserted into the document.

Introduced: X19.

<void> DocumentTarget.getAutoGenerationType(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the document target's auto generation type.
errorCallback Optional. Is called when the operation failed with an error.