Method AddOption
- Namespace
- SoftZenPdf
- Assembly
- SoftZenPdf.dll
AddOption(PdfPage, string, double, double, double)
Adds a radio button to the group; buttons of one group may be on different pages.
public PdfRadioGroup AddOption(PdfPage page, string value, double x, double y, double size)
Parameters
pagePdfPageThe page that shows the button.
valuestringThe option's export value: unique within the group, not empty and not
Off.xdoubleLeft edge of the button, in points.
ydoubleBottom edge of the button, in points.
sizedoubleWidth and height of the button, in points.
Returns
- PdfRadioGroup
This group, so calls can be chained.
Exceptions
- ArgumentException
valueis empty,Off, or already used in this group.