Results 1 to 3 of 3

Thread: Rotating Controls in ASP.NET

  1. #1
    Join Date
    Sep 2009
    Posts
    53
    Rep Power
    3

    Default Rotating Controls in ASP.NET

    I am last year MCA student. I am working on one live project where I use VB.net as a front end. I want to know that how to do an arbitrary rotation angle of the front? Because I am not able find any rotating control in VB.NET 2003 version. Any help would be highly appreciated. Thanks in advanced.

  2. #2
    david harlow is offline Member
    Join Date
    Jun 2009
    Posts
    52
    Rep Power
    3

    Default

    Have you tried below code? If not then try this code:
    Code:
    usingSystem;
    usingSystem.Collections.Generic;
    usingSystem.ComponentModel;
    usingSystem.Data;
    usingSystem.Drawing;
    usingSystem.Text;
    usingSystem.Windows.Forms;
    
    namespaceWindowsApplication1
     {
       publicpartial classForm1: Form
        {
             publicForm1 ()
            {
     Initialize Component ();
             }
    
              private voidbutton1_Click (objectsender, EventArgs e)
            {
              using(Bitmap bmp = newBitmap (@"d:  My Documents  Desktop  ico  test.jpg"))
               {
     Graphics g = this. CreateGraphics ();
     Rectangle rect = newRectangle (0, 0, 100, 100);
     bmp.RotateFlip (RotateFlipType.RotateNoneFlipX);
     g.DrawImage123 (bmp, rect);
                 }
             }
    
           
    
         }
    }

  3. #3
    Join Date
    Jun 2009
    Posts
    44
    Rep Power
    0

    Default

    There are different techniques to code, but are usually drawn characters.

    • If the easy point directly to DRAWSTRING technique of drawing with the GRAPHICS.

    • If you want a complex points can add some miscellaneous points, set in different colors, rotate image and after that draw, using different fonts, etc.

    • If the code is very difficult and do not want to, you can use character code to identify up to be more complex, if you use again the words of different fonts.

Similar Threads

  1. Controls in VB.NET
    By Davisricky in forum General Internet Terms
    Replies: 2
    Last Post: 01-29-2010, 06:07 PM
  2. Rotating screening position of videos like images
    By RogersNguyen in forum General Internet Terms
    Replies: 3
    Last Post: 01-21-2010, 02:34 PM
  3. Rotating the desktop
    By martin in forum Everything Else
    Replies: 0
    Last Post: 03-19-2009, 06:21 AM
  4. On the side rotating text
    By Madge555 in forum Everything Else
    Replies: 0
    Last Post: 12-02-2008, 12:08 PM
  5. The Controls?
    By Newtech32 in forum Hard Disk
    Replies: 0
    Last Post: 04-15-2008, 09:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48