Namespace: PdfSharp.Pdf.AcroForms.Rendering
Renders a PdfCheckBoxField
public class PdfCheckBoxFieldRenderer
Inheritance Object → PdfCheckBoxFieldRenderer
Remarks:
Inheritors should override the methods PdfCheckBoxFieldRenderer.RenderCheckedState(PdfCheckBoxField, PdfWidgetAnnotation, XGraphics, XRect) and PdfCheckBoxFieldRenderer.RenderUncheckedState(PdfCheckBoxField, PdfWidgetAnnotation, XGraphics, XRect)
public PdfCheckBoxFieldRenderer()
Renders the ckecked state of the PdfCheckBoxField
public void RenderCheckedState(PdfCheckBoxField field, PdfWidgetAnnotation widget, XGraphics gfx, XRect rect)
field
PdfCheckBoxField
The field being rendered
widget
PdfWidgetAnnotation
The PdfWidgetAnnotation of the field that is being rendered
gfx
XGraphics
The XGraphics used to perform drawing operations
rect
XRect
The XRect spcifying the position and dimensions of the field
Renders the unckecked state of the PdfCheckBoxField
public void RenderUncheckedState(PdfCheckBoxField field, PdfWidgetAnnotation widget, XGraphics gfx, XRect rect)
field
PdfCheckBoxField
The field being rendered
widget
PdfWidgetAnnotation
The PdfWidgetAnnotation of the field that is being rendered
gfx
XGraphics
The XGraphics used to perform drawing operations
rect
XRect
The XRect spcifying the position and dimensions of the field