by Muhammad Abdullah (2 Submissions)
Category: Graphics
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 7th May 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Write Text on a Picture.
API Declarations
Dear Reader!
I need some help from your side to read .jpg picture and then save it as .jpg after some manipulation.Please contact me.
[email protected]
[email protected]
Dim Msg As String
Picture1.CurrentY = 10
Msg = "Muhammad Abdullah"
MsgWidth = TextWidth(Msg) / 2
BtnWidth = Picture1.ScaleWidth / 2
Picture1.CurrentX = BtnWidth - MsgWidth
Picture1.Print Msg
Msg = "M.Sc. Computer [email protected]"
MsgWidth = TextWidth(Msg) / 2
BtnWidth = Picture1.ScaleWidth / 2
Picture1.CurrentX = BtnWidth - MsgWidth
Picture1.Print Msg