Namespace: PdfSharp.Pdf.AcroForms.Rendering
Renders a PdfRadioButtonField
public class PdfRadioButtonFieldRenderer
Inheritance Object → PdfRadioButtonFieldRenderer
Remarks:
Inheritors should override the methods PdfRadioButtonFieldRenderer.RenderCheckedState(PdfRadioButtonField, PdfWidgetAnnotation, XGraphics, XRect) and PdfRadioButtonFieldRenderer.RenderUncheckedState(PdfRadioButtonField, PdfWidgetAnnotation, XGraphics, XRect)
public PdfRadioButtonFieldRenderer()
Renders the ckecked state of the PdfRadioButtonField
public void RenderCheckedState(PdfRadioButtonField field, PdfWidgetAnnotation widget, XGraphics gfx, XRect rect)
field
PdfRadioButtonField
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 PdfRadioButtonField
public void RenderUncheckedState(PdfRadioButtonField field, PdfWidgetAnnotation widget, XGraphics gfx, XRect rect)
field
PdfRadioButtonField
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