API Reference > Other Classes > OdFont Class > OdFont Methods > OdFont::getLogFont Method
OdFont::getLogFont Method
Syntax
C++
virtual OdInt32 getLogFont(void* lpLogFont) const;
Parameters 
Description 
void* lpLogFont 
[in] Pointer to the buffer to receive the data. 

Returns the number of bytes returned in buffer. In case lpLogFont is NULL methods return number of bytes required in buffer.

Returns the LOGFONT for this font 

 

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

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