Zoom and rotate in vb6

Discussions about document viewing.
Post Reply
Posts: 3
Joined: Thu Nov 08, 2007 11:06 am
Location: Singapore

Zoom and rotate in vb6

Post by finn » Thu Nov 08, 2007 5:24 pm

How do I zoom an bitmap picture to any size fx 175% or 25%
Rotate it 10 deg and get the result in a image box for use in a
Windowless crontrol

User avatar
Site Admin
Posts: 5592
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Post by Loïc » Wed Nov 14, 2007 12:22 pm


You can do that with the Imaging classe of the GdPicture Pro SDK:

Code: Select all

Dim oPicture As StdPicture

Call Imaging1.CreateImageFromFile("test.jpg")
Call Imaging1.ScaleImage(175, InterpolationModeHighQuality)
Call Imaging1.RotateAngle(10)
Set oPicture = Imaging1.GetPicture



Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest