PdfAnnotation.Flatten Method
Overloads
| Name | Description |
|---|---|
| Flatten() | Merges the annotation appearance with the page content stream. |
| Flatten(PdfStructureElement) | Merges the annotation 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.
Remarks
The annotation normal appearance is merged with the page content stream and the annotation is destroyed. After calling this method the annotation object is in an invalid state and cannot be used any longer.
Flatten(PdfStructureElement)
Merges the annotation appearance with the page content stream and sets the result as content item for the given structure element.
Parameters
structureElement PdfStructureElement
The structure element that is associated with the annotation appearance.
Remarks
The annotation normal appearance is merged with the page content stream and the annotation is destroyed. After calling this method the annotation object is in an invalid state and cannot be used any longer.