Visual Basic (Declaration) | |
---|---|
Public Shared Sub SetTextAspectRatio( _ ByVal d As DependencyObject, _ ByVal v As Double _ ) |
C# | |
---|---|
public static void SetTextAspectRatio( DependencyObject d, double v ) |
Parameters
- d
- any
TextBlock
within the visual tree of the part - v
- a positive value that is the desired ratio of width to height