←Select platform

IsNull Property

Summary

Checks whether this SVG document is the global null instance.

Syntax
C#
VB
C++
public virtual bool IsNull { get; } 
Public Overridable ReadOnly Property IsNull() As Boolean 
   Get 
public:  
   virtual property bool IsNull 
   { 
      bool get() 
   } 

Property Value

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

Remarks

In some instances, an SvgDocument object that is not initialized (that is, the object is null) is required. For instance, when serializing raster images to a system that do 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 an 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 Dispose which will be ignored.

Note that calling svgDocumentObject.IsNull is the equivalent of svgDocumentObject == SvgDocument.NullInstance.

Requirements

Target Platforms

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

Leadtools.Svg Assembly