This property gets or sets the value that is posted from a RadioButton control.
BSTR PDFANNOTATION_ExportValue { get; set; } |
This property gets or sets the value (associated with a Radio button control) that is sent to a URL when a PDF document is submitted. The value must have only alphabetic and numeric characters.
Equivalent in new interface: IPDFDocument4::RadioButtonExportValue.
{ PDF object is supposed to be created } PDF.BeginDoc; e1 := PDF.PDFPAGE_CreateControl_Edit('field1', 20, 20, 120, 32); PDF.PDFANNOTATION_Text := 'some text'; r1 := PDF.PDFPAGE_CreateControl_RadioButton('radio', 20, 35, 120, 47); PDF.PDFANNOTATION_Caption := 'Radio 1'; PDF.PDFANNOTATION_ExportValue := 'value1'; r2 := PDF.PDFPAGE_CreateControl_RadioButton('radio', 140, 35, 240, 47); PDF.PDFANNOTATION_Caption := 'Radio 2'; PDF.PDFANNOTATION_ExportValue := 'value2'; PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); LONG e1 = PDF->PDFPAGE_CreateControl_Edit("field1", 20, 20, 120, 32); PDF->PDFANNOTATION_Text = "some text"; LONG r1 = PDF->PDFPAGE_CreateControl_RadioButton("radio", 20, 35, 120, 47); PDF->PDFANNOTATION_Caption = "Radio 1"; PDF->PDFANNOTATION_ExportValue = "value1"; LONG r2 = PDF->PDFPAGE_CreateControl_RadioButton("radio", 140, 35, 240, 47); PDF->PDFANNOTATION_Caption = "Radio 2"; PDF->PDFANNOTATION_ExportValue = "value2"; PDF->EndDoc();
// PDF object is supposed to be created PDF.BeginDoc(); long e1 = PDF.PDFPAGE_CreateControl_Edit("field1", 20, 20, 120, 32); PDF.PDFANNOTATION_Text = "some text"; long r1 = PDF.PDFPAGE_CreateControl_RadioButton("radio", 20, 35, 120, 47); PDF.PDFANNOTATION_Caption = "Radio 1"; PDF.PDFANNOTATION_ExportValue = "value1"; long r2 = PDF.PDFPAGE_CreateControl_RadioButton("radio", 140, 35, 240, 47); PDF.PDFANNOTATION_Caption = "Radio 2"; PDF.PDFANNOTATION_ExportValue = "value2"; PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc e1 = PDF.PDFPAGE_CreateControl_Edit("field1", 20, 20, 120, 32) PDF.PDFANNOTATION_Text = "some text" r1 = PDF.PDFPAGE_CreateControl_RadioButton("radio", 20, 35, 120, 47) PDF.PDFANNOTATION_Caption = "Radio 1" PDF.PDFANNOTATION_ExportValue = "value1" r2 = PDF.PDFPAGE_CreateControl_RadioButton("radio", 140, 35, 240, 47) PDF.PDFANNOTATION_Caption = "Radio 2" PDF.PDFANNOTATION_ExportValue = "value2" PDF.EndDoc