Image Preview

There are a lot of occassions in which the user besides the code, must look at the appropriate schematics in order to succesfully write the desired program.
The mikroPascal PRO for PIC provides this possibility through a Image Preview Window.

To add a image to the Image Preview Window, right click the Image Files node in the Project Manager :

Add Image

Now, navigate to the desired image file, and simply add it :

Add Image

Next, right click the added file, and choose Set As Preview Image :

Add Image

Once you have added the image, it will appear in the Image Preview Window :

Image Preview Window

Also, you can add multiple images to the Image Files node, but only the one that is set will be automatically displayed in the Image Preview Window upon opening the project.

By changing the Image Preview Window size, displayed image will be fit by its height in such a way that its proportions will remain intact.

Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
Want more examples and libraries? 
Find them on LibStock - A place for the code