How can i set where the coordinates where i want a string in the picturebox??

X1 = (Int((100* Rnd) + 1)) ' Value of the graph
Y1 = 5
X2 = 0
Y2 = Y1 + 5
Picture1.Line (X1, Y1)-(X2, Y2), QBColor(Int((7 * Rnd) + 1)), BF
Picture1.Print (X1); "Hello world"

I want the "Hello world" to be printed where the x1 ends.