|
-
November 8th, 1999, 07:10 AM
#1
Problem in Printing Text Vertically in Picture Box ?
I am using the DrawText API and the constant DT_VCENTER. I have set the autoredraw property for the picturebox true and the scale mode to pixels.
I wanted to print 800 vertically center. I specified my area i.e RECT where it
has to printer vertically center.. like I had given
DIM RC AS RECT
RC.LEFT = PICTURE1.LEFT + 100
RC.RIGHT = PICTURE1.SCALEHEIGHT
RC.TOP = PICTURE1.TOP + 100
RC.BOTTOM = PICTURE1.SCALEWIDTH
CALL DRAWTEXT(PICOUT.HDC,"800",3,RC,DT_VCENTER)
Just let me know where exactly the problem has encountered.. Like it is not printing any thing..
RM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|