API Reference > OdDb Classes > OdDbText Class > OdDbText Methods > OdDbText::adjustAlignment Method
OdDbText::adjustAlignment Method
Syntax
C++
virtual void adjustAlignment(OdDbDatabase* pDb = 0);
Parameters 
Description 
OdDbDatabase* pDb = 0 
[in] Pointer to database used to resolve the text style of this Text entity. 

Returns eOk if successful, or an appropriate error code if not.

Adjusts the position of this Text entity if its alignent is not left baseline. 

 

This function is called by the Drawings when a Text entity is closed. 

If this Text entity is database resident, pDb is ignored. 

If this Text entity is not database resident, pDb cannot be NULL.

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