Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbField::getFieldCode Method
Syntax
C++
OdString getFieldCode(OdDbField::FieldCodeFlag flags);

Returns the field code of this Field object in the specified form.. 

 

Parameters
Description
flags
[in] Field code flags.

flags() returns a combination of one or more of the following: 

 

Name
Value
Description
kFieldCode
0x01
Returns the raw field code.
kEvaluatedText
0x02
Returns the evaluated text.
kEvaluatedChildren
0x04
Returns the field code with evaluated text for child fields.
kObjectReference
0x08
Returns the field code as an object reference.
kAddMarkers
0x10
Includes markers around field codes.
kEscapeBackslash
0x20
Converts single backslashes to double backslashes.
kStripOptions
0x40
Strips the standard options from the field code.
kPreserveFields
0x80
Internal use only. Ignored.
kTextField
0x100
Treats the field as text with embedded fields. Ignored.
Copyright © 2002-2022. Open Design Alliance All rights reserved.