Hello, does anybody know how to position text (X and Y) so that the complete text always stays in the picturebox and on the right bottom side, no matter what size the picturebox has and no matter what font name and size is used?
Thank you.
VB Code:
Private Sub Command1_Click() Pic.FontName = "Arial" Pic.ForeColor = vbWhite Pic.FontBold = True Pic.FontSize = 12 Pic.CurrentX = '?????? Pic.CurrentY = '?????? Pic.Print "Testing" End Sub






Reply With Quote