Appendix A, Attribute Codes

4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next

version 6.0


Attributes are the characteristics of objects, such as fill pattern or color. In 4D Draw several commands refer to attributes using numeric codes. Use this Appendix to determine the correct field types when binding attributes to fields, and the correct array types when filling arrays and modifying objects in the commands DR ATTRIBUTE TO ARRAY and DR ARRAY TO ATTRIBUTE.

The Ideal type is the best possible choice. Types listed under Other types are alternates but some data may be lost when information is transferred. Note the restrictions on certain attributes.

CodeAttributeIdeal TypeOther TypesRestrictions
0IDLongintInteger, RealCan't be modified or searched
1Object TypeIntegerLongint, RealCan't be modified
2Reference NumberLongintInteger, Real
3NameAlpha/String 31Text
4Lock CodeLongintInteger, RealCan't be searched
5WidthRealInteger, LongintCan't be searched
6HeightRealInteger, LongintCan't be searched
7Left BoundaryRealInteger, LongintCan't be searched
8Right BoundaryRealInteger, LongintCan't be searched
9Top BoundaryRealInteger, LongintCan't be searched
10Bottom BoundaryRealInteger, LongintCan't be searched
11RotationIntegerLongint, Real
12Fill PatternIntegerLongint, Real
13Fill ColorLongintInteger, Real
14Line PatternIntegerLongint, Real

CodeAttributeIdeal TypeOther TypesRestrictions
15Line ColorLongintInteger, Real
16Line WidthRealInteger, Longint
17Endmark KindIntegerLongint, RealCan't be searched
18Endmark EndIntegerLongint, RealCan't be searched
19Text FontIntegerLongint, Real
20Text SizeIntegerLongint, Real
21Text StyleIntegerLongint, Real
22Text JustIntegerLongint, Real
23Text CharactersTextAlpha/String 255Can't be searched
24Corner RoundingRealInteger, Longint
25AreaRealInteger, LongintCan't be modified or searched
26Perimeter/Line LengthRealInteger, LongintCan't be modified or searched
27ObjectsIntegerInteger0 = Invisible, 1 = Visible
28ObjectsIntegerInteger0 = Not in background
1 = In background


4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next