Skip to content

PdfFieldWidget.Flatten Method

Overloads

Name Description
Flatten(PdfStructureElement) Merges the widget appearance with the page content stream and sets the result as content item for the given structure element.
Flatten() Merges the annotation appearance with the page content stream.
(inherited from PdfAnnotation)

Flatten(PdfStructureElement)

Merges the widget appearance with the page content stream and sets the result as content item for the given structure element.

C#
public override void Flatten(PdfStructureElement structureElement)

Parameters

structureElement PdfStructureElement

The structure element that is associated with the field content.

Remarks

The widget normal appearance is merged with the page content stream and the widget is destroyed. After calling this method the widget object is in an invalid state and cannot be used any longer.