Visual Basic (Declaration) | |
---|---|
Public Shared Function GetElementTextWidth( _ ByVal element As TextBlock _ ) As Double |
Visual Basic (Usage) | ![]() |
---|---|
Dim element As TextBlock Dim value As Double value = CommonMethods.GetElementTextWidth(element) |
C++/CLI | |
---|---|
public: static double GetElementTextWidth( TextBlock^ element ) |
Parameters
- element
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2