Click or drag to resize
PictureMediaBufferExtensionsToWriteableBitmap Method (PictureMediaBuffer, WriteableBitmap, Boolean)

Namespace: StreamCoders.Helpers
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static bool ToWriteableBitmap(
	this PictureMediaBuffer inputPictureMediaBuffer,
	ref WriteableBitmap outputWriteableBitmap,
	bool setDirty
)

Parameters

inputPictureMediaBuffer
Type: StreamCodersPictureMediaBuffer
outputWriteableBitmap
Type: System.Windows.Media.ImagingWriteableBitmap
setDirty
Type: SystemBoolean

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PictureMediaBuffer. 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