A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



CreateFontIndirect

The CreateFontIndirect function creates a logical font that has the characteristics specified in the specified structure. The font can subsequently be selected as the current font for any device context.

VB4-32,5,6
Declare Function CreateFontIndirect Lib "gdi32" Alias "CreateFontIndirectA" (lpLogFont As LOGFONT) As Long

VB.NET
System.Drawing.Font

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Gdi32

Parameter Information
- lplf
Points to a LOGFONT structure that defines the characteristics of the logical font.

Return Values
If the function succeeds, the return value is a handle to a logical font.

If the function fails, the return value is NULL.

Last update: 07 April 2006