Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Draw-a-pixel/VBA/draw-a-pixel.vba
Normal file
6
Task/Draw-a-pixel/VBA/draw-a-pixel.vba
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Sub draw()
|
||||
Dim sh As Shape, sl As Shape
|
||||
Set sh = ActiveDocument.Shapes.AddCanvas(100, 100, 320, 240)
|
||||
Set sl = sh.CanvasItems.AddLine(100, 100, 101, 100)
|
||||
sl.Line.ForeColor.RGB = RGB(Red:=255, Green:=0, Blue:=0)
|
||||
End Sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue