The default resolution to use when loading raster file formats that do not have a resolution.
public static int DefaultRasterResolution { get; set; }
Public Shared Property DefaultRasterResolution() As Integer
Get
Set
public:
static property Int32 DefaultRasterResolution
{
Int32 get()
void set(Int32 value)
}
Resolution to use when loading raster file formats that do not have a resolution. The default value is 96.
Raster file formats, such as TIFF, JPEG, PNG, and BMP usually have a resolution value stored in the image file itself. Therefore, this property is not used for such files. Instead, the resolution is parsed from the image data and is set in the values described below.
If the raster file does not have a resolution value stored or is set to 0, then the DocumentFactory will use the value of DefaultRasterResolution instead.
DocumentFactory sets this value initially and every time it changes in the CodecsLoadOptions.Resolution value of RasterCodecsTemplate as follows:
DocumentFactory.Options.Load.Resolution = DocumentFactory.DefaultRasterResolution;
Whether the resolution was read from the file or is not found and the default value is picked, the resolution value will then be used by the following:
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document