API Reference > OdDg Classes > OdDgElement Class > OdDgElement Methods > OdDgElement::dgnOutFields Method
OdDgElement::dgnOutFields Method
Syntax
C++
virtual void dgnOutFields(OdDgFiler* pFiler) const;
Parameters 
Description 
OdDgFiler* pFiler 
[in] Pointer to the filer to which data are written. 

Writes the DGN data of this object. 

 

This function is called by dgnIn() to allow the object to write its data. 

When overriding this function: 

1) Call assertReadEnabled(). 2) Call the parent class's dgnOutFields(pFiler). 3) Call the OdDgFiler(pFiler) methods to write each of the object's data items in the order they were written.

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