Nothing2Lose Posted May 23, 2011 Posted May 23, 2011 Hi, I used GraphicsDrawStringEx() udf to draw a string in my GUI but the text had a black bound. And i don't want to draw it. $hBrush = _GDIPlus_BrushCreateSolid (0xFFFF00FF) $hFormat = _GDIPlus_StringFormatCreate () $hFamily = _GDIPlus_FontFamilyCreate ("Arial") $hFont = _GDIPlus_FontCreate ($hFamily, 12, 2) $tLayout = _GDIPlus_RectFCreate (20, 12, 150, 75) $aInfo = _GDIPlus_GraphicsMeasureString($hGraphic, "Checking...", $hFont, $tLayout, $hFormat) _GDIPlus_GraphicsDrawStringEx ($hGraphic, "Checking...", $hFont, $aInfo[0], $hFormat, $hBrush) Thanks for your help!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now