←Select platform

IsNull Property

Summary

Checks whether this SVG document is the global null instance.

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

Property Value

true if this ISvgDocument object is the global null instance; otherwise, false.

Remarks

In some instances, an ISvgDocument object that is not initialized (is null) is required. For instance, when serializing SVG documents to a system that does not support a true null value. In this case, SvgDocument.NullInstance can be used to represent an SvgDocument that has not been initialized (but is not null). IsNull can be used to test whether a SvgDocument object is the null instance.

SvgDocument.NullInstance is a global object and calling any other member besides IsNull will throw an exception. The one exception is calling Disposewhich will be ignored.

Note that calling svgDocumentObject.IsNull is the equivalent of svgDocumentObject == SvgDocument.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.