getTextProtection(start: Integer; length: Integer): Integer;
The getTextProtection method of the JadeRichText class returns the protection state of text from the position specified in the start parameter through to the length specified in the length parameter. The method returns an
The return values correspond to the JadeRichText class constants listed in the following table.
Constant | Integer Value | Description |
---|---|---|
TextProtection_Set | 1 | All text in the specified range is protected |
TextProtection_NotSet | 0 | No text in the specified range is protected |
TextProtection_Mixed | #80000000 | Mixture of protected and unprotected text |