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.  

The number of bytes returned in the buffer.

Returns the LOGFONT for this font. 

 

The default implementation of this function does nothing but return -1. If lpLogFont is NULL, the method returns the number of bytes required in the buffer.

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