LONG PDFPAGE_CreateControl_Edit ( BSTR editName, LONG left, LONG top, LONG right, LONG bottom ) |
The return value is an annotation/control identifier in document's annotations collection and can be used in AddControlToAction, CurrentAnnotationIndex.
Equivalent in new interface: IPDFDocument4::AddEditBox.
{ PDF object is supposed to be created } PDF.BeginDoc; PDF.PDFPAGE_CreateControl_Edit('edt1', 10, 10, 110, 23); PDF.PDFANNOTATION_Text := 'Text'; PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_CreateControl_Edit("edt1", 10, 10, 110, 23); PDF->PDFANNOTATION_Text = "Text"; PDF->EndDoc();
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_CreateControl_Edit("edt1", 10, 10, 110, 23); PDF.PDFANNOTATION_Text = "Text"; PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_CreateControl_Edit "edt1", 10, 10, 110, 23 PDF.PDFANNOTATION_Text = "Text" PDF.EndDoc