API Reference > OdDb Classes > OdDbLayoutPaperPE Class > OdDbLayoutPaperPE Methods > OdDbLayoutPaperPE::drawMargins Method
OdDbLayoutPaperPE::drawMargins Method
Syntax
C++
virtual bool drawMargins(const OdDbLayout* pThis, OdGiWorldDraw* pWd, OdGePoint3d* points) = 0;
Parameters 
Description 
const OdDbLayout* pThis 
[in] The layout that is being vectorized.  
OdGiWorldDraw* pWd 
[in/out] Draw object that can be used by this function to set the necessary attributes and create the necessary geometry.  
OdGePoint3d* points 
[in] Contains the 4 margin points. 

true if the margins were successfully drawn, otherwise false, in which case the layout will do a default rendering of the margins.

This function is called during vectorization to draw the paper margins. 

 

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