Table of Contents

Method GetField

Namespace
PdfSharp.Pdf.Annotations
Assembly
PdfSharp.dll

GetField()

Returns the shared field object or the parent field. The returned field may be a field, that shall not be considered a field but simply a widget. However, those fields still may have the /V entry set. Therefore, return that field instead of the bottom-most fully qualified field. Remember to get the bottom-most fully qualified field to access all the fields widgets, for example.

public PdfFormField? GetField()

Returns

PdfFormField