home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 8460
- ClientLeft = 1140
- ClientTop = 1515
- ClientWidth = 6690
- Height = 8865
- Left = 1080
- LinkTopic = "Form1"
- ScaleHeight = 8460
- ScaleWidth = 6690
- Top = 1170
- Width = 6810
- Begin VB.Line Line1
- BorderWidth = 3
- X1 = 600
- X2 = 6000
- Y1 = 3960
- Y2 = 3960
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- Caption = "Click on the Form to see rotated text!"
- BeginProperty Font
- name = "Arial"
- charset = 0
- weight = 400
- size = 15.75
- underline = 0 'False
- italic = -1 'True
- strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 240
- TabIndex = 0
- Top = 3600
- Width = 6015
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Form_Click()
- Dim font As New ROTATEFONT
- font.setPointSize 14
- font.setAngle 0
- font.dispText Form1.hDC, "Frank and Burgers", 200, 150
- font.setAngle 90
- font.dispText Form1.hDC, "Frank and Burgers", 200, 150
- font.setAngle 180
- font.dispText Form1.hDC, "Frank and Burgers", 200, 150
- font.setAngle 270
- font.dispText Form1.hDC, "Frank and Burgers", 200, 150
- End Sub
-