Jump to content
Sign in to follow this  


Recommended Posts


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!

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...