API Reference > Other Classes > OdDbUnderlayItem Class > OdDbUnderlayItem Methods > OdDbUnderlayItem::getMediaBox Method
OdDbUnderlayItem::getMediaBox Method
Syntax
C++
virtual OdResult getMediaBox(OdGePoint2d & min, OdGePoint2d & max) const;

to use with PdfUnderlays because getExtents can return extents in mm or in inches randomly, this method always return media box in 1/72 inch

Copyright © 2002–2020. Open Design Alliance. All rights reserved.