An object that represents a null RasterImage.
public static readonly RasterImage NullInstance
Public Shared ReadOnly NullInstance As RasterImage
public:
static RasterImage^ NullInstance
An object that represents a null RasterImage.
In some instances, a RasterImage object that is not initialized (is null) is required (for example, when serializing raster images in a system that does not support a true null
value). In this case, NullInstance can be used to represent a RasterImage
that has not been initialized (but is not null
). Use IsNull to test whether a RasterImage
object is the null instance.
The NullInstance raster image is a global object and calling any other member besides IsNull will throw an exception. The one exception is calling Dispose which will be ignored.
Note that calling rasterImageObject.IsNull
is the equivalent of rasterImageObject == RasterImage.NullInstance
.
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