C1.WPF.Word.4 Assembly > C1.WPF.Word Namespace > C1WordDocument Class > DrawElement Method : DrawElement(FrameworkElement,Rect,ContentAlignment,Stretch) Method |
This method must be called from the main thread. Calling it from a background thread will raise a cross-thread exception when the method tries to access the properties of the System.Windows.FrameworkElement being rendered.