API Reference > OdDbRoot Classes > OdDbBaseDatabasePE Class > OdDbBaseDatabasePE Methods > OdDbBaseDatabasePE::applyLayoutSettings Method
OdDbBaseDatabasePE::applyLayoutSettings Method
Syntax
C++
virtual void applyLayoutSettings(OdGsDCRect& clipBox, OdGsDevice* pDevice, OdDbBaseDatabase* db, OdUInt32 extentsFlags = kZeroFlags, OdUInt32 dpi = 72) = 0;
Parameters 
Description 
OdGsDCRect& clipBox 
[out] A visible rectangle to be returned.  
OdGsDevice* pDevice 
[in] A pointer to a device to apply plot settings to.  
OdDbBaseDatabase* db 
[in] A pointer to a drawing database.  
OdUInt32 extentsFlags = kZeroFlags 
[in] Extents flags.  
OdUInt32 dpi = 72 
[in] Resolution value. 

Sets current layout plot settings (such as paper size, rotation, scale, etc.) to a specified Gs device. 

 

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