AcDbAttributeDefinition::AcDbAttributeDefinition

C++
AcDbAttributeDefinition(
    const AcGePoint3d& position, 
    const ACHAR* text, 
    const ACHAR* tag, 
    const ACHAR* prompt, 
    AcDbObjectId style = AcDbObjectId::kNull
);
Parameters
Parameters 
Description 
position 
Input location point for the attdef 
text 
Input text string for the attdef 
tag 
Input tag string for the attdef 
prompt 
Input prompt string for the attdef 
style 
Input object ID of the AcDbTextStyleTableRecord to be referenced by the attribute 
Description

This constructor initializes the AcDbAttributeDefinition object with the arguments passed in. position must be in WCS coordinates. Copies of the text, tag, and prompt strings are used, so the caller is responsible for the memory used by the strings passed in. If used, style must be a valid AcDbTextStyleTableRecord object ID. 

In addition, the field length is initialized to 0, the flags to 0 (that is, non-constant, visible, not preset, and not verifiable), and all the initializations for a default new AcDbText object (except text and position) take place. 

 

Links