XFINIUM.PDF Documentation
Flatten(PdfStructureElement) Method



Xfinium.Pdf.Forms Namespace > PdfFieldWidget Class > Flatten Method : Flatten(PdfStructureElement) Method
The structure element that is associated with the annotation appearance.
Merges the annotation appearance with the page content stream and sets the result as content item for the given structure element.
Syntax
'Declaration
 
Public Overloads Overrides Sub Flatten( _
   ByVal structureElement As PdfStructureElement _
) 
'Usage
 
Dim instance As PdfFieldWidget
Dim structureElement As PdfStructureElement
 
instance.Flatten(structureElement)
public override void Flatten( 
   PdfStructureElement structureElement
)
public:
void Flatten( 
   PdfStructureElement^ structureElement
) override 

Parameters

structureElement
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.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfFieldWidget Class
PdfFieldWidget Members
Overload List