Indicates if this object supports content.
Object.defineProperty(AnnObject.prototype, 'supportsContent',
get: function()
)
supportsContent: boolean; // read-only
true if this AnnObject supports content, otherwise, false. Default value is true.
Derived classes should override SupportsContent, to indicate whether ContentPicture will be used by the object. This will insure that the object will save and load the values during serialization. Some object renderers will also check these values to prepare a font or a brush.
When an object supports content, the RenderContent method of the IAnnObjectRenderer for this object type will be called to render the content. This is performed by default by rendering ContentPicture if it is not null at the center of the object boundary.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET