Navigation: thinBasic Modules > UI (User Interface) > UDT predefined in UI module > Text control UDTs > CHARFORMAT2 |
|
Description
CHARFORMAT2 structure.
Syntax
Type CHARFORMAT2 Byte
cbSize As DWORD
dwMask As DWORD
dwEffects As DWORD
yHeight As Long
yOffset As Long ' > 0 for superscript, < 0 for subscript
crTextColor As DWORD
bCharSet As Byte
bPitchAndFamily As Byte
szFaceName As ASCIIZ * %LF_FACESIZE
wFiller As WORD
wWeight As WORD ' Font weight (LOGFONT value)
sSpacing As Integer ' Amount to space between letters
crBackColor As DWORD ' Background color
lcid As DWORD ' Locale ID
dwReserved As DWORD ' Reserved. Must be 0
sStyle As Integer ' Style handle
wKerning As WORD ' Twip size above which to kern char pair
bUnderlineType As Byte ' Underline type
bAnimation As Byte ' Animated text like marching ants
bRevAuthor As Byte ' Revision author index
bReserved1 As Byte ' <- added..
End Type
Remarks
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |