home *** CD-ROM | disk | FTP | other *** search
/ Delphi Anthology / aDELPHI.iso / ActiveX / 3DText_ActiveX_v3.1-FCN / data1.cab / Example_Files / 3DText / Vc / NFont.h < prev    next >
C/C++ Source or Header  |  1999-10-27  |  581b  |  25 lines

  1. #ifndef _NFONT_H
  2. #define _NFONT_H
  3.  
  4. ////////////////////////////////////////////////////////////////////////////////
  5. class CNFont : public CFontHolder
  6. {
  7. public:
  8.     CNFont(LPPROPERTYNOTIFYSINK pNotifySink = NULL);
  9.     virtual ~CNFont();
  10.  
  11.     BOOL SetLogFont(const LOGFONT& LogFont);
  12.     BOOL GetLogFont(LOGFONT& LogFont);
  13.     
  14.     BOOL SetDispatch(LPDISPATCH pDispatch);
  15.  
  16.     void GetTextMetrics(LPTEXTMETRIC pTextMetrics);
  17.  
  18.     BOOL IsTrueType();
  19. };
  20.  
  21. ////////////////////////////////////////////////////////////////////////////////
  22. #else
  23. #error "Multiple header inclusion"
  24. #endif 
  25.