API Reference > OdDg Classes > OdDgModelSheetPE Class > OdDgModelSheetPE Methods > OdDgModelSheetPE::drawMargins Method
OdDgModelSheetPE::drawMargins Method
Syntax
C++
virtual bool drawMargins(const OdDgModel* pThis, OdGiWorldDraw* pWd, OdGePoint3d* points) = 0;
Parameters 
Description 
const OdDgModel* pThis 
[in] The model 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.