API Reference > Other Classes > OdFont Class > OdFont Methods > OdFont::getFontData Method
OdFont::getFontData Method
Syntax
C++
virtual OdUInt32 getFontData(OdUInt32 dwTable, OdUInt32 dwOffset, void * pBuffer, OdUInt32 cbData) const;
Parameters 
Description 
OdUInt32 dwTable 
[in] Metric table to query. metric table to query 
OdUInt32 dwOffset 
[in] Offset into table. offset into table being queried 
void * pBuffer 
[in] Pointer to to the buffer to receive the data. pointer to buffer for returned data
 
OdUInt32 cbData 
[in] ???. 

Returns the number of bytes returned in buffer.

Returns the font data for the specified character.

The default implementation of this function does nothing but return -1.

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