PdfCheckBoxField constructor
PdfCheckBoxField(
- PdfPage page,
- String name,
- Rect bounds, {
- bool isChecked = false,
- PdfCheckBoxStyle style = PdfCheckBoxStyle.check,
- PdfColor? borderColor,
- PdfColor? backColor,
- PdfColor? foreColor,
- int? borderWidth,
- PdfHighlightMode highlightMode = PdfHighlightMode.invert,
- PdfBorderStyle borderStyle = PdfBorderStyle.solid,
- String? tooltip,
Initializes a new instance of the PdfCheckBoxField class with the specific page, name and bounds.
Implementation
PdfCheckBoxField(PdfPage page, String name, Rect bounds,
{bool isChecked = false,
PdfCheckBoxStyle style = PdfCheckBoxStyle.check,
PdfColor? borderColor,
PdfColor? backColor,
PdfColor? foreColor,
int? borderWidth,
PdfHighlightMode highlightMode = PdfHighlightMode.invert,
PdfBorderStyle borderStyle = PdfBorderStyle.solid,
String? tooltip}) {
_helper = PdfCheckBoxFieldHelper(this);
_helper.initialize(page, name, bounds,
style: style,
borderColor: borderColor,
backColor: backColor,
foreColor: foreColor,
borderWidth: borderWidth,
highlightMode: highlightMode,
borderStyle: borderStyle,
tooltip: tooltip);
_setCheckBoxValue(isChecked);
}