SOPutCharFontByNameSOPutCharFontByName*
*Contents  *Index  *Topic Contents
*Previous Topic: SOPutCharFontById
*Next Topic: SOPutCharHeight

SOPutCharFontByName

Sets the font for characters in text by specifying the name of the font.

Syntax


VOID SOPutCharFontByName(
    WORD wFontType, 
    WORD pFontName, 
    HPROC reserved  
);

Parameters

wFontType
Font family. This parameter can be one of these values:
SO_FAMILYDECORATIVEFancy display font
SO_FAMILYMODERNFixed width
SO_FAMILYROMANVariable width with serifs
SO_FAMILYSCRIPTHandwriting
SO_FAMILYSWISSVariable width without serifs
SO_FAMILYSYMBOLSymbol font
SO_FAMILYUNKNOWNNot known
pFontName
Address of a null-terminated string specifying the name of the font.
reserved
Reserved; do not use.

Return Value


No return value.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.