Professional Documents
Culture Documents
VB 50grafika
VB 50grafika
1.2. Színek
4-bájtos egész számokat (long) használ.
vbxxx
QBColor
RGB
vbActiveTitleBar, vbButtonFace
BackColor, ForeColor, BorderColor, FillColor
Színpeletták
1.6. Bitképek
A Picture objektum
Height, Width Type (vbPicTypeNone, vbPicTypeBitmap, vbPicTypeMetafile, vbPicTypeIcon,
vbPicTypeEMetafile
Handle, hPal
Bitképek feltöltése és kimentése
LoadPicture([sztringkifejezés])
SavePicture kép, sztringkifejezés
243
5. FEJEZET
1.7. Betűtípusok
Font
Name Size, Bold, Italic, StrikeTrought, Underline, Weight
Printer
ColorMode, FontCount, Fonts
Height, Width, TwipsPerPixelsX, TwipsPerPixelsY PaperSize (vbPRPSLetter, VbPRPSA3,
vbPRPSA4, VbPRPSUser)
Printers
2.2 Shape
Shape tulajdonság – vbShapeRectangle, vbShapeSquare, vbShapeOval, VbShapeCircle
VbShapeRoundedRectangle VbShapeRoundedSquare
Left, Top, Height Width
BorderStyle, BorderColor BorderWidth DrawMode
FillStyle, FillColor.
BackStyle
2.3. Image
Left, Top, Height, Width
Picture (LoadPicture )
Stretch
3. Rajzolás grafikus metódusokkal
Form, PictureBox, Printer
ClipControls
ScaleLeft, ScaleTop, ScaleHeight ScaleWidth ScaleMode
ForeColor DrawMode FillStyle DrawStyle DrawWidth Font
CurrentX CurrentY
244
A VISUAL BASIC GRAFIKUS LEHETŐSÉGEI
4. Nyomtatás
Printer
Printers (Count)
PrintForm
EndDoc NewPage
KillDoc
245