isPassword property
bool
get
isPassword
Gets or sets a value indicating whether this PdfTextBoxField is password field.
The default value is false.
Implementation
bool get isPassword {
if (_helper.isLoadedField) {
_password = _helper.isFlagPresent(FieldFlags.password) ||
_helper.flags.contains(FieldFlags.password);
}
return _password;
}
set
isPassword
(bool value)
Implementation
set isPassword(bool value) {
if (isPassword != value) {
_password = value;
_password
? _helper.flags.add(FieldFlags.password)
: _helper.isLoadedField
? _helper.removeFlag(FieldFlags.password)
: _helper.flags.remove(FieldFlags.password);
}
}