Last post Aug 19, 2010 06:32 AM by email@example.com
Aug 19, 2010 03:13 AM|kumiko83|LINK
I am doing one task on asp.net graphics. i would like to a form that let the user choose the color code from the color picker.
inside my backend code, i can get the color code and convert to the system.drawing.color.
Dim col As System.Drawing.Color = System.Drawing.ColorTranslator.FromHtml("#9932CC")
Dim Brush As New SolidBrush(col)
but i have some problem in make this col object to alpha color. as i know the .net code that make the system color to become alpha is wrote as like tat :
gr.DrawString(strWatermarkText, wmFont, New SolidBrush(Color.FromArgb(8, 0, 0, 0)), x, y)
May someone share me how to make the color input from form to become alpha color? thanx in advanced. hope to hear from you all soon
Aug 19, 2010 06:32 AMfirstname.lastname@example.org|LINK