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

page PdfPage

The page that shows the button.

value string

The option's export value: unique within the group, not empty and not Off.

x double

Left edge of the button, in points.

y double

Bottom edge of the button, in points.

size double

Width and height of the button, in points.

Returns

PdfRadioGroup

This group, so calls can be chained.

Exceptions

ArgumentException

value is empty, Off, or already used in this group.