Leadtools.Annotations.Core.AnnLabelRestriction = function() { };
Leadtools.Annotations.Core.AnnLabelRestriction.prototype = {
none = 0,
restrictToContainer = 1,
restrictToObjectBounds = 2,
restrictToUserRect = 4,
};
Value | Member | Description |
---|---|---|
0 | none | No label restriction. |
1 | restrictToContainer | Restrict label to the parent container boundary. |
2 | restrictToObjectBounds | Restrict label to object bounds. |
4 | restrictToUserRect | Restrict label to the user defined rectangle set in AnnLabel.RestrictionRectangle |
AnnLabelRestriction is the value of AnnLabel.RestrictionMode and is used by RenderLabel when the label is rendered to control if and how to restrict the label into a specified area.