←Select platform

RestrictionMode Property

Summary

Gets or sets the restriction mode for this AnnLabel.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public AnnLabelRestriction RestrictionMode { get; set; } 
Public Property RestrictionMode As Leadtools.Annotations.Core.AnnLabelRestriction 
public Leadtools.Annotations.Core.AnnLabelRestriction RestrictionMode {get; set;} 
@property (nonatomic) AnnLabelRestriction restrictionMode; 
public int getRestrictionMode() 
public void setRestrictionMode(int annLabelRestriction) 
             
  
get_RestrictionMode(); 
set_RestrictionMode(value); 
Object.defineProperty('RestrictionMode');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly