Sign in to follow this  
Followers 0
madflame991

Where can I find _MeasureString?

7 posts in this topic

I installed the latest beta and it wasn't there, I searched the forum again and again and didn't find it... thou I found references to it (or maybe it's hiding from me)

Where can I get the _MeasureString function?

thx

Share this post


Link to post
Share on other sites



I've never even heard of that function... what does it do?

Share this post


Link to post
Share on other sites

I installed the latest beta and it wasn't there, I searched the forum again and again and didn't find it... thou I found references to it (or maybe it's hiding from me)

Where can I get the _MeasureString function?

thx

GDIPlus.au3

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

GDIPlus.au3

It's not there... I checked, also SciTE doesn't even highlight it

_MeasureString($text,$font,$size) is supposed to return the width of the string $text with the specified size and font

I found it here: http://www.autoitscript.com/forum/index.ph...=_measurestring

Share this post


Link to post
Share on other sites

It's not there... I checked, also SciTE doesn't even highlight it

_MeasureString($text,$font,$size) is supposed to return the width of the string $text with the specified size and font

I found it here: http://www.autoitscript.com/forum/index.ph...=_measurestring

Are you saying that in your copy of GDIPlus.au3 there is no function _GDIPlus_GraphicsMeasureString?

Or are you saying it doesn't do what you want?


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

Are you saying that in your copy of GDIPlus.au3 there is no function _GDIPlus_GraphicsMeasureString?

Geez, I'm sorry! didn't thought of searching for anything else than "_MeasureString"

THX!

Share this post


Link to post
Share on other sites

or _WinAPI_GetTextExtentPoint32()

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  
Followers 0