.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Throw eInvalidExtents when missing fonts

1 REPLY 1
Reply
Message 1 of 2
sdphg
625 Views, 1 Reply

Throw eInvalidExtents when missing fonts

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. 

1 REPLY 1
Message 2 of 2
fsztuczny
in reply to: sdphg

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

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost