get_restrictionMode();
set_restrictionMode(value);
Object.defineProperty('restrictionMode');
Type | Description |
---|---|
AnnLabelRestriction | The restriction mode for this AnnLabel. Default value is AnnLabelRestriction.None. |
RestrictionMode is used by 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.