Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.6
|
Leadtools.Annotations.Core Namespace > AnnObject Class : SupportsContent Property |
public virtual bool SupportsContent {get;}
'Declaration
Public Overridable ReadOnly Property SupportsContent As Boolean
public virtual bool SupportsContent {get;}
@property (nonatomic,readonly) BOOL supportsContent;
public boolean getSupportsContent()
get_SupportsContent();
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 IAnnObjectRenderer.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.