←Select platform

ContentPicture Property

Summary

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

Syntax
C#
VB
Objective-C
C++
Java
public int ContentPicture { get; set; } 
Public Property ContentPicture As Integer 
@property (nonatomic) int contentPicture; 
public int getContentPicture() 
public void setContentPicture(int picture) 
public:  
   property Int32 ContentPicture 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

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 IAnnObjectRenderer.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

See Also

Reference

AnnObject Class

AnnObject Members

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