The conversion ratio being used when converting raster image to WriteableBitmap before viewing it
public double ConversionResizeRatio { get; set; }
Public Property ConversionResizeRatio() As Double
Get
Set
public:
property double ConversionResizeRatio
{
double get()
void set(double value)
}
A value that controls the resizing raster image befor converting it to WriteableBitmap.
The defualt value is 1.0, which means no resizing.
-Wpf has some restriction for large WriteableBitmap so when converting raster image to the WriteableBitmap thise causes some memory issues. We added this property to resize the raster image before converting it to WriteableBitmap, the image quality will decrease but we will improve the memory consumbtion for WriteableBitmap.
-You have to use suitable ratio to balance between image quality and the memory usage for image (WriteableBitmap), being viewed.
-The default value is 1.0 which means no resizing, 0.5 means resize to the half.
-The values range should be from 0 to 1.0.
-You have to set this value before setting viewer image to take effect.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET