Understanding Points
Moderators: SDS, support, admin
Understanding Points
I am experimenting with several features of the VCL import and having difficulty understanding the point values. For instances TsgDXFText has a 'Box' property and a 'Point' property. What are these in relation to? Do they require conversion?
Thanks
Thanks
There are no relations between properties 'Box' and 'Point'.
There is no need for any theirs conversion.
'Box' - determines the rectangle embraced the entity.
'Point' - first alignment point.
'Point1' - second alignment point.
'HAlign', 'VAlign' - Horizontal and Vertical text justification type.
'StartPoint' - contains the REAL coordinates of text starting point.
It can differ from Point property due to horizontal and vertical alignment values.
Properties 'Box' and 'Point' are for internal uses.
For drawing TEXT use property 'StartPoint'.
Sergey.
please post questions to the forum or write to support@cadsofttools.com
There is no need for any theirs conversion.
'Box' - determines the rectangle embraced the entity.
'Point' - first alignment point.
'Point1' - second alignment point.
'HAlign', 'VAlign' - Horizontal and Vertical text justification type.
'StartPoint' - contains the REAL coordinates of text starting point.
It can differ from Point property due to horizontal and vertical alignment values.
Properties 'Box' and 'Point' are for internal uses.
For drawing TEXT use property 'StartPoint'.
Sergey.
please post questions to the forum or write to support@cadsofttools.com
StartPoint is an insert point for drawing with all alignments.
To determine whether the text is inside of your "rectangular box" compare Text.Box with your "rectangular box".
Sergey.
please post questions to the forum or write to support@cadsofttools.com
To determine whether the text is inside of your "rectangular box" compare Text.Box with your "rectangular box".
Sergey.
please post questions to the forum or write to support@cadsofttools.com
Hello Dane,
Could you please send to us file with examples of the problem you've described.
Sergey.
please post questions to the forum or write to support@cadsofttools.com
Could you please send to us file with examples of the problem you've described.
Sergey.
please post questions to the forum or write to support@cadsofttools.com