Docotic.Pdf Library Help > Samples > Forms and Annotations

This group contains samples that show how to add interactive elements like annotations and controls to your PDF documents and how to fill forms.

Checkboxes

    This sample shows how to use checkboxes in your PDF document.

Comboboxes

    This sample shows how to use combo boxes in your PDF document.

Listboxes

    This sample shows how to use list boxes in your PDF document.

Buttons

    This sample shows how to use buttons in your PDF document.

Button with image

    This sample shows how to create buttons with images in PDF documents.

Radio buttons

    This sample shows how to use radio buttons in your PDF document.

Flatten form fields

    This sample shows how to flatten form fields in a PDF document.

Text fields

    This sample shows how to add text fields to your PDF document using PdfPage.AddTextBox(..) method.

Numeric text fields

    This sample shows how to create text fields that allow only digits to be input.

Alignment in text fields

    This sample shows how to align text in PDF document text fields.

Text annotations

    This sample shows how to add text annotations (sticky notes) to your PDF document using PdfPage.AddTextAnnotation(..) method.

Text markup annotations

    This sample shows how to add text markup annotations (highlight, strikeout, underline) to your PDF document.

Fill existing form

    This sample shows how to fill forms in existing PDF documents.

Read combo box items

    This sample shows how to read items of combo boxes in a PDF document.

Find control by name

    This sample shows how to access an existing PDF control with given name using PdfDocument.GetControl method.

Remove widgets

    This sample shows how to remove widgets from your PDF documents.

Import FDF data

    This sample shows how to populate a PDF form with data from a Forms Data Format (FDF) file.

Export FDF data

    This sample shows how to export filled form data from PDF document into a Forms Data Format (FDF) file.