Form.GetButtonOptionValues

Form.GetButtonOptionValues method

Gets the radio button option fields and related values based on the field name. This method has meaning for radio button groups.

public Dictionary<string, string> GetButtonOptionValues(string fieldName)
ParameterTypeDescription
fieldNameStringField Name

Return Value

Hash table of option values keyed by form item name

Examples

Form form = new Form("PdfForm.pdf");
Hashtable values = form.GetButtonOptionValues("Color");
Console.WriteLine(values["White"].ToString());
Console.WriteLine(values["Black"].ToString());

See Also