Draw Complex Shapes

You can create complex shapes easily if you have a copy of Microsoft PowerPoint, CorelDraw, or any other graphics editor. Using your graphic editor’s drawing tools, draw the shape you want in the presentation document. PowerPoint features a wide range of drawing tools and autoshapes that let you combine a variety of basic shapes and styles into complex images that you can fill, shade, or rotate to any angle.

When you’re satisfied with your complex shape, choose Select from the Edit menu, and Copy from the Edit menu in PowerPoint. You can also save the image as a Windows metafile from packages that support that option. Switch tasks to your VB IDE, add an Image control to the active form, and paste the metafile that was copied from PowerPoint into the Image.

When you want to draw the stored shape in your running VB application, assign the metafile from the Image control to the destination drawing object:

 picDraw.Picture = imgMetafile.Picture

Use drag-and-drop to copy the image from the source control to the drop target control. All scaling and drawing is handled automatically. You don’t need to set the ScaleMode property of your destination object. You can use this technique when you want to decorate forms with complex shapes or create a Balloon Help form, a process control modeling application in which the images represent the elements of the production flow, or a flow-chart application.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS