Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Font
..msdn
GdipCreateFont
GdipCreateFontFamilyFromName
GdipDeleteFont
GdipDeleteFontFamily
GdipGetFamilyName
GdipGetFontCollectionFamilyCount
GdipGetFontCollectionFamilyList
GdipIsStyleAvailable
GdipNewInstalledFontCollection
Code examples:
Custom GDI+ class
GdipCreateFontFamilyFromName
..msdn    Add comment     W32 Constants      Translate this page
Creates a FontFamily handle based on specified font family name.
Code examples:
Custom GDI+ class
Declaration:
GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(
    GDIPCONST WCHAR *name,
    GpFontCollection *fontCollection,
    GpFontFamily **FontFamily
)

FoxPro declaration:
DECLARE INTEGER GdipCreateFontFamilyFromName IN gdiplus;
    STRING    familyname,;
    INTEGER   fontCollection,;
    INTEGER @ FontFamily

Parameters:
familyname
[in] Name of the font family.

fontCollection
[in] Optional. FontCollection handle that specifies the collection that the font family belongs to.

FontFamily
[out] Handle to the FontFamily object.
Return value:
Returns 0 on success.
My comment:
When you no longer need the FontFamily handle, call the GdipDeleteFontFamily function.
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-07-22 09:35:02
Modified: 2004-07-22 09:41:41
Visited in last 7 days: 29
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.82.79.109)
17 sec.Function: 'GetCompressedFileSize'
34 sec.Function: 'GetFileTime'
51 sec.Function: 'GdipDisposeImage'
1.13 min.Function: 'SHFileOperation'
1.42 min.Function: 'WinHttpQueryDataAvailable'
1.68 min.Function: 'WinHttpCrackUrl'
1.98 min.Function: 'CryptImportKey'
2.3 min.Function: 'GetSecurityDescriptorOwner'
2.6 min.Function: 'FindNextChangeNotification'
2.92 min.Function: 'SCardListReaders'
Google
Advertise here!