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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.