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

Introduced: X19.

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

Parameters

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