DisplayCanvasDisplayBitmapSizeLimit Property

CVB.Net Documentation
Out Display is capable of transferring responsibility for zoom handling to the GPU by committing the CVB image data to a WriteableBitmap object. However, WriteableBitmaps are afflicted by a bug in the WPF runtime that seems to be triggered depending on the bitmap's size (see for example this discussion here: https://social.msdn.microsoft.com/Forums/vstudio/en-US/d4f943eb-630e-48ac-a8f8-00e539bb7856/wpf-crashes-with-error-hresult-0x88980406-at?forum=wpf We are currently working around this issue by limiting the size of the WriteableBitmap that is generated (if a Cvb image that is too big is set on the Image property an OutOfMemoryException will be raised). As the size limit cannot be determined by any means available to us, we are working with a definable limit. The default has been chosen to a size that we have found to generally work well on our systems.

Namespace:  Stemmer.Cvb.Wpf.Controls
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

public long DisplayBitmapSizeLimit { get; set; }

Property Value

Type: Int64
See Also

Reference