GetDocComment

Returns the document comment string.

Syntax

GetDocComment(doc)

Parameters

Parameter

Type

Description

doc

documentReference

Reference to the document

Return

Returns the document comment string.

Examples

Python

import nex
doc = nex.GetActiveDocument()
comment = nex.GetDocComment(doc)
print(comment)

NexScript

doc = GetActiveDocument()
comment = GetDocComment(doc)
Trace(comment)