contentPicture Property (AnnObject)

Summary

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

Syntax

JavaScript Syntax
Object.defineProperty(AnnObject.prototype, 'contentPicture', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize