contentPicture Property

Summary

Gets or sets the id of the picture used when drawing the content of this object.

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnObject.prototype, 'contentPicture', 
	get: function(), 
	set: function(value) 
) 
contentPicture: number; 

Property Value

The id of the picture used when drawing the content of this object. The default value is 7.

Remarks

All objects of this type inside the container will use this picture when drawing the content. This is performed by the by the RenderContent method of the IAnnObjectRenderer for this object type. This method will be called to render the content and by default, it will render ContentPicture if it is not null at the center of the object boundary.

The container uses a picture of a "sticky note" that is created by default. You can change this default picture by using this property.

For more information, refer to Implementing Annotation Security.

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly