Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Displaying Text at a Location Relative to Pixels in an Image

Posted on 2003-02-24
2
Medium Priority
?
127 Views
Last Modified: 2010-05-01
How do I display text by supplying (X,Y) coordinates that are in relation to a scaled image in a PictureBox?  I don't care how I do it, it just needs to be accurate.  Thanks.

-Mark
0
Comment
Question by:magglass1
2 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 100 total points
ID: 8012113
With Picture1
    .AutoRedraw = True
    .ScaleMode = vbPixels
    .CurrentX = 15
    .CurrentY = 15
    Picture1.Print "Hello World"
End With
0
 
LVL 1

Author Comment

by:magglass1
ID: 8012194
Worked perfectly.  Thanks.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month15 days, 21 hours left to enroll

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question