Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Microsoft.DirectX.Direct3D.Font.MeasureString

23 views
Skip to first unread message

Mu5h

unread,
May 18, 2009, 2:55:01 AM5/18/09
to
Hello,
im using VS2008 and latest DirectX SDK (march) and i have problem.
According to:
http://msdn.microsoft.com/en-us/library/ms891152.aspx
there should be MeasureString method in DirectX.Font class but:
Error 1 'Microsoft.DirectX.Direct3D.Font' does not contain a definition for
'MeasureString' and no extension method 'MeasureString' accepting a first
argument of type 'Microsoft.DirectX.Direct3D.Font' could be found (are you
missing a using directive or an assembly reference?)
when i try
DirectX Font = d3dFont;
d3dFont.MeasureString(...)
or
Error 1 'Microsoft.DirectX.Direct3D.Font' does not contain a definition for
'MeasureString'
Microsoft.DirectX.Direct3D.Font.MeasureString(...)

Direct3D.Font metadata also dont contain MeasureString definition.

Mu5h

unread,
May 18, 2009, 3:56:04 PM5/18/09
to
Solved. I just didnt notice that i added old version of D3DX assembly to my
solution.
definition.

jenifer adam

unread,
Jun 14, 2009, 2:21:33 AM6/14/09
to
On May 18, 11:55 am, Mu5h <M...@discussions.microsoft.com> wrote:
> Hello,
> im using VS2008 and latest DirectXSDK(march) and i have problem.

Check http://www.voipsipsdk.com its a good one.

0 new messages