API Reference > OdDg Classes > OdDgRasterAttachmentHeader Class > OdDgRasterAttachmentHeader Methods > OdDgRasterAttachmentHeader::setDatabaseDefaults Method
OdDgRasterAttachmentHeader::setDatabaseDefaults Method
Syntax
C++
void setDatabaseDefaults(OdDgDatabase* pDb = 0, bool doSubents = false);
Parameters 
Description 
OdDgDatabase* pDb = 0 
[in] Pointer to the database whose default values are to be used.  
bool doSubents = false 
[in] Set to true if subentities should be processed 

Applies the default properties of the specified database to this entity. 

 

If pDb is null, the database containing this entity is used. 

The following properties are set 

 

  • color
  • layer
  • linetype
  • linetype scale
  • lineweight
  • plotstyle
  • visibility
Copyright © 2002–2021. Open Design Alliance. All rights reserved.