160 likes | 321 Views
المحاضرة الثامنة. عناصر التصميم المرئي Visual Design Elements By Hitham M. Abo Bakr. Graphics Controls. Line Control. Graphics Controls. Shape Control. Graphics Controls. FALSE << Streach >>TRUE. Image Control. Graphics Controls. FALSE << Auto size >>TRUE. Picture Control.
E N D
المحاضرة الثامنة عناصر التصميم المرئي Visual Design Elements By Hitham M. Abo Bakr
Graphics Controls Line Control
Graphics Controls Shape Control
Graphics Controls FALSE <<Streach>>TRUE Image Control
Graphics Controls FALSE <<Auto size >>TRUE Picture Control
Image Load Properties Question what is the different between : • Picture on a form, • Picture on Image control, • Picture on Picture Box?
File List Box Control We can select the folder By: File1.Path = “”c:\windows”
Line • Line (x1,y1) – (x2,y2)[,LineColor,Shape] • LineColor : vbRed,vbGreen,vbBlue,…. • Shape : B Box or BF Box filled with foreColor
Circle • Object.circle (x,y),radius[,Color,start,end,aspect] • Color the fill color • Start,end the start and end for the arc • The start and end parameters allow you to draw a partial circle, or rather an ellipse or arc. start specifies the start of the arc, in radians (see note), and end specifies the end of the arc, in radians. Finally, the aspect option allows you to change the aspect ratio of the circle. A value of 1 is a perfect circle, a value of 1.5 is an ellipse. • Note: Radians are a used to measure angles. 1 radian is (180/pi)°. 360°= 2 * pi
pset To put a point in an object Object.pset(x,y)
point To get a color for specific point
paintpicture To copy a part from a graph and can zoom it as well Dst.paintpicturexd,yd,wd,hd,xs,ys,ws,hs
cls To clear the graphs done with graphic methods Cls
print • To add text to the graph • Object.print “text” • The text is affected with the Object properties like Currentx, currenty, font, forecolor and font transparency