Using Win32 functions in Visual FoxPro Image Gallery
Font and Text
..msdn
CreateFont
DrawText
GetCharABCWidths
GetTextAlign
GetTextCharacterExtra
GetTextColor
GetTextExtentPoint32
GetTextFace
GetTextMetrics
SetTextAlign
SetTextCharacterExtra
SetTextColor
TextOut
Code examples:
Using Font and Text functions
GetTextFace
..msdn    Add comment     W32 Constants      Translate this page
The GetTextFace function retrieves the typeface name of the font that is selected into the specified device context.
Code examples:
Using Font and Text functions
Declaration:
int GetTextFace(
  HDC hdc,            // handle to DC
  int nCount,         // length of typeface name buffer
  LPTSTR lpFaceName   // typeface name buffer
);
FoxPro declaration:
DECLARE INTEGER GetTextFace IN gdi32;
    INTEGER   hdc,;
    INTEGER   nCount,;
    STRING  @ lpFaceName
Parameters:
hdc
[in] Handle to the device context.

nCount
[in] Specifies the length of the buffer pointed to by lpFaceName.

lpFaceName
[out] Pointer to the buffer that receives the typeface name.
Return value:
If the function succeeds, the return value is the number of characters copied to the buffer. If the function fails, the return value is zero.
Word Index links for the GetTextFace :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-04-21 09:17:26
Modified: 2002-04-21 09:18:59
Visited in last 7 days: 40
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (50.19.206.49)
2 sec.Function: 'JetSetColumn'
Function group: 'Extensible Storage Engine (ESE, Jet Blue)'
11 sec.Function: 'GetWindowPlacement'
Function group: 'Window'
Google
Advertise here!