←Select platform

RestrictionMode Property

Summary
Gets or sets the restriction mode for this AnnLabel.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public AnnLabelRestriction RestrictionMode { get; set; } 
@property (nonatomic, assign) LTAnnLabelRestriction restrictionMode; 
public int getRestrictionMode() 
public void setRestrictionMode(int annLabelRestriction) 
public:  
   property AnnLabelRestriction^ RestrictionMode 
   { 
      AnnLabelRestriction^ get() 
      void set(AnnLabelRestriction^ value) 
   } 
RestrictionMode # get and set (AnnLabel) 

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.