Skip to main content

IAnnotationCollection Interface

A collection of PDF annotations.

Declaration

public interface IAnnotationCollection extends IObjectCollectionBase<BaseAnnotation>

Remarks

Each PDF document page maintains its own annotation collection. Call the Page.getAnnotations() method to access a page’s annotations.

Use the annotation collection to:

  • Create annotations
  • Access existing annotations
  • Modify annotation settings
  • Remove annotations

Refer to the following help topic for additional information: Work with Annotations.

Implements

com.devexpress.docs.pdf.IObjectCollectionBase<com.devexpress.docs.pdf.BaseAnnotation>

Methods

getFormFieldWidgets(FormField item) Method

Returns widget annotations associated with the specified form field.

Declaration

public abstract Iterable<WidgetAnnotation> getFormFieldWidgets(FormField item)

Parameters

Name Type Description
item FormField

The form field.

Returns

Type Description
java.lang.Iterable<WidgetAnnotation>

Widget annotations associated with the specified form field.

removeFormFieldWidgets(FormField item) Method

Removes widget annotations associated with the specified form field.

Declaration

public abstract void removeFormFieldWidgets(FormField item)

Parameters

Name Type Description
item FormField

The form field.