API Documentation > CorelDRAW > 2025-v26 > DataField > IVGDataField
DataField.DocDefault property
Gets or sets whether it is a Doc Default
Syntax:
Property Get DocDefault() As Boolean
Property Let DocDefault(ByVal Value As Boolean)
Remarks:
The DocDefault property returns or specifies a value that indicates whether or not a data field is specified for a single particular shape, or whether it is common for all objects in the document. If the data field is not a default data field in the document, the Object Data Manager docker does not display this field unless it contains some data for the selected shape.
Examples:
The following VBA example sets the Comments data field not to be a default data field for the active document; therefore, it is not visible in Object Data Manager docker.
Sub Test()
ActiveDocument.DataFields("Comments").DocDefault = False 
End Sub