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 the buffer to receive the data. Pointer to buffer for returned data
 
OdUInt32 cbData 
[in] The length, in bytes, of the information to be retrieved.  

The font data for the specified character.

Returns the font data for the specified character. 

 

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

The number of bytes returned in the buffer.

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