I wish to use this statement:
However instead of using Fontstyle.bold I'd like to use a variable in its place so it can be italic or regular etc...Code:Dim fnt As New Font(fntfam, fntSize, FontStyle.Bold, GraphicsUnit.Point)
I want to do this:
where admHash("fontstyle") contains either bold. italic or regular but I get an errorCode:Dim fntStyle As String = "fontstyle." & admHash("fontstyle")
I guess I can use a select case stmt if there is no alternative




Reply With Quote