![]() |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#11
|
|||
|
|||
![]()
Thanks Shark
|
#12
|
||||
|
||||
![]() Code:
Sub FillRandShapes() Const MaxSize = 15 Const MinSize = 5 Dim s As Shape, X#, Y#, w#, h#, z& ActiveDocument.Unit = cdrMillimeter ActivePage.GetBoundingBox X, Y, w, h Randomize Set s = ActiveShape: If s Is Nothing Then Exit Sub For z = 1 To 1000 Set s = s.Duplicate s.SetPosition X + Rnd * w, Y + Rnd * h s.SetSize Rnd * MaxSize + MinSize randomAngle = Int((360 * Rnd) + 1.5) s.Rotate randomAngle Next ![]() Seems this forum is slowly fading |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
rectangle around (rotation) | buga | Macros/Add-ons | 5 | 06-11-2011 07:20 |
Rectangle bug? | runflacruiser | CorelDRAW/Corel DESIGNER VBA | 2 | 21-07-2011 06:55 |
Fill a shape with Circles | biok | CorelDRAW/Corel DESIGNER VBA | 13 | 05-03-2011 12:00 |
4mm rectangle around the object | fungel | CorelDRAW/Corel DESIGNER VBA | 11 | 06-03-2009 15:47 |
Circles to Circles | Hernán | New product ideas | 3 | 15-03-2004 08:41 |