Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / April 2007

Tip: Looking for answers? Try searching our database.

How to rotate an image?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Diego F. - 11 Apr 2007 08:23 GMT
Hi all. I have a listview with images and my application must be able to
rotate one image. I need a method to rotate 90 degrees rigth (i.e.).

Is that possible?

--

Regards,

Diego F.
Diego F. - 11 Apr 2007 10:02 GMT
I tried with that

Dim indice As Integer = DADLV1.SelectedItems(0).ImageIndex
DADLV1.SelectedItems(0).ImageList.Images(indice).RotateFlip(RotateFlipType.Rotate180FlipXY)

But it doesn't work.

ImageList1 is where images are loaded
DADLV1 is the listview control

--
Regards,

Diego F.

> Hi all. I have a listview with images and my application must be able to
> rotate one image. I need a method to rotate 90 degrees rigth (i.e.).
[quoted text clipped - 6 lines]
>
> Diego F.
Diego F. - 11 Apr 2007 13:29 GMT
Well, I could solve that using a temporary picturebox to rotate the image.

Now my problem is that: Must all images in a listview have the same size? My
images have the proportions of a standard document and I would like rotated
images look landscape instead of vertical. I don't know if that's possible.

Other solution is to assign square size to all images, but then images adapt
the new size and the proportions are wrong.

--

Regards,

Diego F.

>I tried with that
>
[quoted text clipped - 21 lines]
>>
>> Diego F.
Jwalant Natvarlal Soneji - 19 Apr 2007 06:29 GMT
> Well, I could solve that using a temporary picturebox to rotate the image.
>
[quoted text clipped - 38 lines]
>
> - Show quoted text -

hey friend, use another picture box and rotate image in that and then
put the same in first picturebox, both boxes should have autosize
property set to true.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.