JoistRectangle: Filling an area with replicated shapes

Code samples and article discussion

Moderators: Frank Hileman, Anne Szyjan

Post Reply
User avatar
Frank Hileman
Site Admin
Posts: 1400
Joined: Sun Jul 25, 2004 8:16 pm
Location: California
Contact:

JoistRectangle: Filling an area with replicated shapes

Post by Frank Hileman » Tue Apr 10, 2007 4:44 pm

This sample sub-Picture draws "joists" to fill a given area:

JoistRectangle.zip

Create a VB project, add the Picture, add another top-level Picture, compile, open the JoistRectangle and close again to add it to the tool box, the add it to your top-level Picture and resize it.

This is a good example of a custom SetBoundsCore override.

Post Reply