←Select platform

ContentPicture Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int ContentPicture { get; set; } 
Public Property ContentPicture As Integer 
public int ContentPicture {get; set;} 
@property (nonatomic) int contentPicture; 
public int getContentPicture() 
public void setContentPicture(int picture) 
             
  
get_ContentPicture(); 
set_ContentPicture(value); 
Object.defineProperty('ContentPicture');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly