home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 November
/
CPNL0711.ISO
/
beeld
/
screen
/
hcf.exe
/
Basic
/
Basic_Font_002_Attribute.bas
< prev
next >
Wrap
BASIC Source File
|
2003-11-26
|
1KB
|
48 lines
Image( 0 ).Resample( 300,400 )
Image( 0 ).Color = _ColorWhite
Image( 0 ).DrawText( 10, 10, 0,0, "Standard" )
Font.Size = 18
Image( 0 ).DrawText( 10, 30, 0,0, "Size 18" )
Font.Bold = TRUE
Image( 0 ).DrawText( 10, 50, 0,0, "Bold" )
Font.Italic = TRUE
Image( 0 ).DrawText( 10, 70, 0,0, "Italic" )
Font.Italic = FALSE
Font.Underline = TRUE
Image( 0 ).DrawText( 10, 90, 0,0, "Underline" )
Font.Underline = FALSE
Font.StrikeOut = TRUE
Image( 0 ).DrawText( 10, 110, 0,0, "StrickeOut" )
Font.StrikeOut = FALSE
Font.Name = "Courier New"
Image( 0 ).DrawText( 10, 130, 0,0, "Courier" )
Font.Name = "Arial"
Image( 0 ).DrawText( 10, 150, 0,0, "Arial" )
Font.Color = _ColorBlue
Image( 0 ).DrawText( 10, 170, 0,0, "TextColor" )
Font.Orientation = -8
Image( 0 ).DrawText( 10, 190, 0,0, "Orientation -8" )
Font.BkModeOpaque = TRUE
Font.BkColor = _ColorRed
Image( 0 ).DrawText( 10, 220, 0,0, " Font.BkModeOpaque + Font.BkColor " )
Font.Orientation = 0
Font.BkModeOpaque = FALSE
Font.Color = _ColorBlack
Font.Size = 15
Image(0).DrawText(10,300, 0,0, "Text with \"quotation marks\"" )
Image(0).DrawText(10,320, 0,0, "Text with \\ backslash" )
Image(0).DrawText(10,340, 200,20, "Text \t with \t Tabulator" )
Redraw()