Method GetPixelSize
GetPixelSize(Visual)
Specifies size of given visual.
public static Size GetPixelSize(Visual visual)
Parameters
visual
VisualSpecifies
System.Windows.Media.Visual
to process.
Returns
- Size
Specifies
System.Windows.Size
of given visual; throws an exception if visual is null.