Object Model Reference : Classes : D : DataFields : Methods : DataFields.AddEx |
Function AddEx(Name As String, [DataType As cdrDataType = cdrDataTypeString], [DefaultValue As String], [Constraint As String], [Target As String], [Format As String], [AppDefault As Boolean = False], [DocDefault As Boolean = False], [SummarizeGroup As Boolean = False], [FieldWidth As Long]) As DataField
Member of DataFields
The AddEx method adds a data field.
Parameter
|
Description
|
Name
|
Specifies the name of the data field
|
DataType
|
Specifies the data-field type
This value is optional, and its default value is cdrDataTypeString (0).
|
DefaultValue
|
Specifies a default value
This value is optional.
|
Constraint
|
Specifies a constraint
This value is optional.
|
Target
|
Specifies a target
This value is optional.
|
Format
|
Specifies the format value of the data field
This value is optional.
|
AppDefault
|
Specifies the data field as a default field
This value is optional, and its default value is False.
|
DocDefault
|
Specifies the data field as a default field in the document
This value is optional, and its default value is False.
|
SummarizeGroup
|
Specifies whether to summarize the data field
This value is optional, and its default value is False.
|
FieldWidth
|
Specifies the field width
This value is optional, and its default value is 0.
|
Copyright 2013 Corel Corporation. All rights reserved.