←Select platform

SupportsContent Property

Summary

Indicates if this object supports content.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public virtual bool SupportsContent { get; } 
Public Overridable ReadOnly Property SupportsContent As Boolean 
public virtual bool SupportsContent {get;} 
@property (nonatomic,readonly) BOOL supportsContent; 
public boolean getSupportsContent() 
 get_SupportsContent();  
public:  
   virtual property bool SupportsContent 
   { 
      bool get() 
   } 

Property Value

true if this AnnObject supports content, otherwise, false. Default value is true.

Remarks

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.

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly