PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllGets or sets value indicating if the edit control is for secure data entry.
|
| VARIANT_BOOL PDFANNOTATION_IsPassword { get; set; } |
Value
VARIANT_TRUE if if the edit control is for secure data entry, VARIANT_FALSE otherwise.
Remarks
If set, the field is intended for entering a secure password that should not be echoed visibly to the screen. Characters typed from the keyboard should be echoed in some unreadable form, such as asterisks or bullet characters.
Analogue in new interface: IPDFDocument4::IsPasswordEditBox.
Example
Creating an edit box
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_CreateControl_Edit('edt1', 10, 10, 110, 23);
PDF.PDFANNOTATION_Text := 'Text';
PDF.PDFANNOTATION_IsPassword := true;
PDF.EndDoc;
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->BeginDoc();
PDF->PDFPAGE_CreateControl_Edit("edt1", 10, 10, 110, 23);
PDF->PDFANNOTATION_Text = "Text";
PDF->PDFANNOTATION_IsPassword = TRUE;
PDF->EndDoc();
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.BeginDoc();
PDF.PDFPAGE_CreateControl_Edit("edt1", 10, 10, 110, 23);
PDF.PDFANNOTATION_Text = "Text";
PDF.PDFANNOTATION_IsPassword = true;
PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_CreateControl_Edit "edt1", 10, 10, 110, 23 PDF.PDFANNOTATION_Text = "Text" PDF.PDFANNOTATION_IsPassword = True PDF.EndDoc
See Also
Reference


