Windows Presentation Foundation (WPF) Support
Two different image viewer controls allow you to display over 150 LEADTOOLS-supported file formats in the WPF environment:
- ImageViewer, available in all LEADTOOLS for WPF products, supports displaying images as WPF BitmapSource objects. Use the Source property to set the BitmapSource for the viewer.
- RasterImageViewer, available in the LEADTOOLS for WPF Module that adds onto LEADTOOLS SDKs, supports displaying either a BitmapSource object or a LEADTOOLS RasterImage object, and also provides built-in support for loading and saving image files. With the RasterImageViewer you can work directly with LEAD images without having to make a copy and work on the copy. Use the Image property to set the image to be displayed by the viewer. This property is automatically converted to or from an ImageSource which is available through the Source property.
These controls allow you to add image viewers, image lists, image pan windows, and interactive magnifying glass tools to your WPF applications. Any image displayed with these controls -- including the image area captured by the magnifying glass -- can then be enhanced with image effects or manipulated with other interactive user interface tools. For both viewers, display options include fit-to-width, stretch-to-fit, specify size, and full-sized. Viewer elements like frames, frame shadows, backgrounds, scrollbars, and borders are all customizeable. Use XAML editors like Microsoft Expression Blend for easy drag-and-drop implementation. Or, call directly from you own XAML applications.