Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdFont::getFontData Method
Syntax
C++
virtual OdUInt32 getFontData(OdUInt32 dwTable, OdUInt32 dwOffset, void * pBuffer, OdUInt32 cbData) const;

Returns the font data for the specified character. 

 

Parameters
Description
dwTable
[in] Metric table to query. Metric table to query
dwOffset
[in] Offset into table. Offset into table being queried
pBuffer
[in] Pointer to the buffer to receive the data. Pointer to buffer for returned data
cbData
[in] The length, in bytes, of the information to be retrieved.

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.