Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 19th, 2006, 01:00 PM
Registered User
Join Date: Sep 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sakthi Send a message via Yahoo to sakthi
Default image edit save very urgent

i m use the kodak image edit control
i m display one jpg image
i m annoate some text and i want to save the image
the image is not saved

i m using the code

ImgEdit1.Image = "D:\Projects\Multiimage\Source\Mir.jpg"
Dim x As Font
Set x = ImgEdit1.AnnotationFont
x.Bold = True
x.Italic = False
x.Name = "Arial"
                        x.Size = 16
x.Underline = False
ImgEdit1.ScrollPositionX = 0
ImgEdit1.ScrollPositionY = 0
ImgEdit1.AnnotationType = wiTextStamp
ImgEdit1.AnnotationFontColor = vbRed
imgEdit1.AnnotationFont = x
ImgEdit1.AnnotationStampText = Trim("sakthi")
ImgEdit1.Draw 10, 0
imgEdit1.SelectAnnotationGroup ""
ImgEdit1.AnnotationType = wiNone

ImgEdit1.SaveAs "d:\0120.jpg"

please help
it is very urgent

Old September 19th, 2006, 04:52 PM
Friend of Wrox
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

Does the text show up on the image on the screen?
Is an error raised?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
Copy kodak image edit control's image to clipboard vishwanathduddilla Visual Studio 2005 0 November 3rd, 2008 10:10 AM
Can't See/Edit GUI After Save and Closing Project? highflight1985 General .NET 2 January 25th, 2007 05:33 PM
save, edit, and delete sime_tyres VB Databases Basics 1 September 1st, 2006 09:45 PM
Save crystal report as image [URGENT] usamaalam Crystal Reports 1 February 18th, 2005 07:03 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.