Property GeometricExtents
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GeometricExtents
Gets the box the text's words fill, as AutoCAD's GeometricExtents: where the drawing's
FontSearchPath finds the SHX font of its style, the box of the ink of the whole line of words
upright, its four corners slanted by Oblique, turned and placed as the text stands at its
Position, as AutoCAD 2021 boxes it (check F1a), the position itself not among them: " A" of txt.shx 4
high at the origin from (4, 0, 0) to (6.667, 4, 0), "A" from (0, 0, 0) to (2.667, 4, 0), and slanted 15 degrees to
(3.738, 4, 0), its top corner moved by 4 times the tangent. A text of no ink is boxed at its position. Of a TrueType
font, the box from the start of the baseline to the last pen, the ink past it counted, each letter boxed from the
lower of its bottom and the baseline as high as it is (check F2): "H" of arial.ttf 4 high from (0, 0, 0) to
(4.035, 4, 0), its advance, and the degree sign from (0, 0, 0) to (2.235, 1.514, 0), though inked from 2.554 up.
Elsewhere as GeometricExtents gives it, the position alone.
public override GeoAabb3 GeometricExtents { get; }
Property Value
Exceptions
- InvalidOperationException
Thrown, with no font, as GeometricExtents throws.