getthemetextextent (uxtheme)
Last changed: -216.170.54.18

.
Summary
TODO - a short description

C# Signature:

[DllImport("uxtheme", ExactSpelling=true, CharSet=CharSet.Unicode)]
public extern static Int32 GetThemeTextExtent(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, String text, int textLength, UInt32 textFlags, ref RECT boundingRect, out RECT extentRect);

[DllImport("uxtheme", ExactSpelling=true, CharSet=CharSet.Unicode)]
public extern static Int32 GetThemeTextExtent(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, String text, int textLength, UInt32 textFlags, int boundingRect, out RECT extentRect);

VB .NET Signature:

Declare Function GetThemeTextExtent Lib "uxtheme.dll" (ByVal hTheme As IntPtr, ByVal hdcAs IntPtr, _
    ByVal iPartId As Integer, ByVal iStateId As Integer, ByVal text As String, Byval textLength As Integer, _
    ByVal textFlags As Integer, ByVal boundingRect As RECT, ByRef extentRect As RECT) As Integer

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

TODO

Documentation