Click or drag to resize
ExtensionMethodsSetSource Method

Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Documents (in Telerik.Windows.Documents.dll) Version: 2018.2.620.40 (2018.2.620.40)
Syntax
public static void SetSource(
	this BitmapImage bitmapImage,
	Stream imageStream
)

Parameters

bitmapImage
Type: System.Windows.Media.ImagingBitmapImage
imageStream
Type: System.IOStream

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BitmapImage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also