Table of Contents

Method GetPixelSize

Namespace
Alternet.Common.Wpf
Assembly
Alternet.Common.Wpf.v9.dll

GetPixelSize(Visual)

Specifies size of given visual.

public static Size GetPixelSize(Visual visual)

Parameters

visual Visual

Specifies System.Windows.Media.Visual to process.

Returns

Size

Specifies System.Windows.Size of given visual; throws an exception if visual is null.