



Collapse All
Syntax| LONG PDFPAGE_CreateControl_RadioButton ( BSTR radioButtonlName, LONG left, LONG top, LONG right, LONG bottom ) |
RemarksThis method creates a RadioButton control with name radiobuttonName on the current PDF page in an area bounded by the coordinates given.
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::AddRadioButton.
Example{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_CreateControl_RadioButton('btn1', 10, 10, 110, 23);
PDF.PDFANNOTATION_Caption := 'Caption';
PDF.EndDoc;
// PDF object is supposed to be created
PDF->BeginDoc();
PDF->PDFPAGE_CreateControl_RadioButton("btn1", 10, 10, 110, 23);
PDF->PDFANNOTATION_Caption = "Caption";
PDF->EndDoc();
// PDF object is supposed to be created
PDF.BeginDoc();
PDF.PDFPAGE_CreateControl_RadioButton("btn1", 10, 10, 110, 23);
PDF.PDFANNOTATION_Caption = "Caption";
PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_CreateControl_RadioButton "btn1", 10, 10, 110, 23 PDF.PDFANNOTATION_Caption = "Caption" PDF.EndDoc
See Also