←Select platform

IsNull Property

Summary

Checks whether this raster image is a global null instance.

Syntax
C#
C++/CLI
Java
Python
public bool IsNull { get; } 
public boolean isNull(); 
public:  
   property bool IsNull 
   { 
      bool get() 
   } 
IsNull # get  (RasterImage) 

Property Value

true if this RasterImage object is a global null instance; otherwise, false.

Remarks

In some instances, a RasterImage object that is not initialized (is null) is required, (for instance, when serializing raster images in a system that does not support a true null value). In this case, RasterImage.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.

RasterImage.NullInstance 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.

Requirements

Target Platforms

Help Version 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.