Throw eInvalidExtents when missing fonts

Throw eInvalidExtents when missing fonts

sdphg
Enthusiast Enthusiast
982 Views
1 Reply
Message 1 of 2

Throw eInvalidExtents when missing fonts

sdphg
Enthusiast
Enthusiast

When I call the BlockReference's GeometricExtents, it throw a eInvalidExtents exception. After some check, I found when the drawing have some fonts that not exist in my computer the exception occur or it works find. Does anybody know why? and how to avoid this exception.THX. 

0 Likes
983 Views
1 Reply
Reply (1)
Message 2 of 2

fsztuczny
Advocate
Advocate
Extents3d? bBox = ent.Bounds;
if( bBox != null )
{
   ...
}