iTextSharp.text.pdf.PdfFormField.CreateRadioButton C# (CSharp) Метод

CreateRadioButton() публичный статический Метод

public static CreateRadioButton ( PdfWriter writer, bool noToggleToOff ) : PdfFormField
writer PdfWriter
noToggleToOff bool
Результат PdfFormField
        public static PdfFormField CreateRadioButton(PdfWriter writer, bool noToggleToOff)
        {
            return CreateButton(writer, FF_RADIO + (noToggleToOff ? FF_NO_TOGGLE_TO_OFF : 0));
        }

Usage Example

Пример #1
0
        public PdfFormField GetRadioGroup(string name, string defaultValue, bool noToggleToOff)
        {
            PdfFormField radio = PdfFormField.CreateRadioButton(writer, noToggleToOff);

            radio.FieldName   = name;
            radio.ValueAsName = defaultValue;
            return(radio);
        }
All Usage Examples Of iTextSharp.text.pdf.PdfFormField::CreateRadioButton