Click here to Skip to main content
15,896,063 members
Articles / Programming Languages / Visual Basic

A PictureBox with Zoom, Grid and Rulers

Rate me:
Please Sign up or sign in to vote.
4.94/5 (30 votes)
6 Mar 2014CPOL2 min read 76.2K   7.9K   42  
Add zoom capabilities, grid and rulers to the standard WinForms PictureBox control
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices

' General Information about an assembly is controlled through the following 
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.

' Review the values of the assembly attributes

<Assembly: AssemblyTitle("TestApp")> 
<Assembly: AssemblyDescription("TestApp")> 
<Assembly: AssemblyCompany("Vx")> 
<Assembly: AssemblyProduct("TestApp")> 
<Assembly: AssemblyCopyright("")> 
<Assembly: AssemblyTrademark("")> 
<Assembly: CLSCompliant(True)> 

' Version information for an assembly consists of the following four values:
'
'      Major Version
'      Minor Version 
'      Build Number
'      Revision
'
' You can specify all the values or you can default the Build and Revision Numbers 
' by using the '*' as shown below:

<Assembly: AssemblyVersion("4.0.0.0")> 

<Assembly: ComVisibleAttribute(False)> 
<Assembly: AssemblyFileVersionAttribute("4.0.0.0")> 

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United Kingdom United Kingdom
Machine Vision, Robotics, full-stack development

Comments and Discussions