Jaa


ITextCharacterFormat.ProtectedText Property

Definition

Gets or sets whether the characters are protected against attempts to modify them.

public:
 property FormatEffect ProtectedText { FormatEffect get(); void set(FormatEffect value); };
FormatEffect ProtectedText();

void ProtectedText(FormatEffect value);
public FormatEffect ProtectedText { get; set; }
var formatEffect = iTextCharacterFormat.protectedText;
iTextCharacterFormat.protectedText = formatEffect;
Public Property ProtectedText As FormatEffect

Property Value

The protected state.

Remarks

In general, calling methods in the Windows.UI.Text namespace that attempt to change the formatting or content of a text range will fail if any part of the range is protected, or if the document is read-only. To change protected text, an app should attempt to turn off the protection of the text to be modified. The owner of the document might permit this to happen.

Applies to