GetElementTextWidth Method
See Also 
SourceCode.Workflow.WizardFramework.Controls Namespace > CommonMethods Class : GetElementTextWidth Method



element

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Shared Function GetElementTextWidth( _
   ByVal element As TextBlock _
) As Double
Visual Basic (Usage) Copy Code
Dim element As TextBlock
Dim value As Double
 
value = CommonMethods.GetElementTextWidth(element)
C#  
public static double GetElementTextWidth( 
   TextBlock element
)
C++/CLI  
public:
static double GetElementTextWidth( 
   TextBlock^ element
) 

Parameters

element

Requirements

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

See Also