Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Font
Code examples:
Custom GDI+ class
..msdn    Add comment     W32 Constants      Translate this page
Gets list of the font families contained in this font collection.
Code examples:
Custom GDI+ class
GpStatus WINGDIPAPI GdipGetFontCollectionFamilyList(
    GpFontCollection* fontCollection,
    INT numSought,
    GpFontFamily* gpfamilies[],
    INT* numFound

FoxPro declaration:
DECLARE INTEGER GdipGetFontCollectionFamilyList IN gdiplus;
    INTEGER   fontCollection,;
    INTEGER   numSought,;
    STRING  @ gpfamilies,;
    INTEGER @ numFound

[in] Handle to FontCollection object.

[in] Suggested number of font families in this font collection

[out] Pointer to an array that receives the list of names.

[out] Pointer to an INT that receives the number of font families found in this collection. This number should be the same as the numSought value.
Return value:
Returns 0 on success.
My comment:
The interface of this function is some fuzzy. I do not think they really need numSought parameter to be supplied to the function. May be the idea is to give an option of retrieving only the top part of this list, which does not make sense either :)

Though anyway, call GdipGetFontCollectionFamilyCount to get the number of Font Families found in this collection.
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2004-08-09 08:37:54
Modified: 2004-08-09 08:50:42
Visited in last 7 days: 21
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
23 sec.Function: 'CeWriteFile'
44 sec.Function: 'CryptDecrypt'
1.08 min.Function: 'CeRegDeleteValue'
1.4 min.Function: 'inet_ntoa'
1.78 min.Function: 'GetProcessHeaps'
2.13 min.Function: 'CryptExportKey'
2.5 min.Function: 'CeFindFirstDatabaseEx'
2.87 min.Function: 'TextOut'
3.32 min.Function: 'SQLTables'
3.68 min.Function: 'GdipGetImageWidth'
Advertise here!