Version

GdiDrawStringFlags Enumeration

Flags for specifying how text is to be measured/rendered.
Syntax
'Declaration
 
Public Enum GdiDrawStringFlags 
   Inherits System.Enum
public enum GdiDrawStringFlags : System.Enum 
Members
MemberDescription
DirectionVerticalThe measurement/rendering is intended for text that is drawn with vertical orientation.
GDIThe preferred method of measurement/rendering should use GDI. Note that if both the GDI+ and GDI flags are specified, GDI+ will be given preference.
GDIPlusThe preferred method of measurement/rendering should use GDI+. Note that if both the GDI+ and GDI flags are specified, GDI+ will be given preference.
IsPrintingThe measurement/rendering is for printing.
NoneNo special considerations are given to the measurement/rendering.
NoPadding 
ThemedThe measurement/rendering is for themed text. Note that this flag will take precedence over GDI and GDI+.
ThemedWithGlowThe measurement/rendering is for themed text with glow, available only on Vista. Note that this flag will take precedence over GDI and GDI+.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also