Say you have a control called myWPFControl.
You can use ActualHeight and ActualWidth to get the height and width of that control.
myWPFControl.ActualHeight.ToString();
myWPFControl.ActualWidth.ToString();