• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Contributor
    Posts: 24
    Registered: ‎05-21-2008

    Throw eInvalidExtents when missing fonts

    202 Views, 1 Replies
    01-12-2011 06:41 PM

    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. 

    Please use plain text.
    Active Contributor
    Posts: 47
    Registered: ‎02-25-2010

    Re: Throw eInvalidExtents when missing fonts

    02-11-2012 05:05 AM in reply to: sdphg
    Extents3d? bBox = ent.Bounds;
    if( bBox != null )
    {
       ...
    }

     

    Please use plain text.