Previous Document Next Document

Object Model Reference : Classes : D : DataField : Properties : DataField.DocDefault


DataField.DocDefault

Property DocDefault As Boolean

Description

Member of DataField

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.