Click to See Complete Forum and Search --> : Problem in Printing Text Vertically in Picture Box ?


November 8th, 1999, 06:10 AM
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