O2S.Components.PDF4NET Documentation
Flatten(PDFStructureElement) Method



O2S.Components.PDF4NET.Annotations Namespace > PDFAnnotation 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 Overridable Sub Flatten( _
   ByVal structureElement As PDFStructureElement _
) 
'Usage
 
Dim instance As PDFAnnotation
Dim structureElement As PDFStructureElement
 
instance.Flatten(structureElement)
public virtual void Flatten( 
   PDFStructureElement structureElement
)
public:
virtual void Flatten( 
   PDFStructureElement^ structureElement
) 

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

PDFAnnotation Class
PDFAnnotation Members
Overload List