Click or drag to resize
ExtensionMethodsSetSourceEx Method (BitmapImage, Stream, String)

Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Documents (in Telerik.Windows.Documents.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public static Stream SetSourceEx(
	this BitmapImage bitmapImage,
	Stream imageStream,
	ref string extension
)

Parameters

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

Return Value

Type: Stream

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