←Select platform

RestrictionMode Property

Summary

Gets or sets the restriction mode for this AnnLabel.

Syntax
C#
VB
Objective-C
C++
Java
public AnnLabelRestriction RestrictionMode { get; set; } 
Public Property RestrictionMode As AnnLabelRestriction 
@property (nonatomic) AnnLabelRestriction restrictionMode; 
public int getRestrictionMode() 
public void setRestrictionMode(int annLabelRestriction) 
public:  
   property AnnLabelRestriction^ RestrictionMode 
   { 
      AnnLabelRestriction^ get() 
      void set(AnnLabelRestriction^ value) 
   } 

Property Value

The restriction mode for this AnnLabel. Default value is AnnLabelRestriction.None.

Remarks

RestrictionMode is used by IAnnLabelRenderer.RenderLabel when the label is rendered to control if and how to restrict the label into a specified area.

If the value of RestrictionMode is AnnLabelRestriction.RestrictToUserRect, then the rectangle value must be set in RestrictionRectangle.

Requirements

Target Platforms

See Also

Reference

AnnLabel Class

AnnLabel 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