XFINIUM.PDF Documentation
Flatten() Method



Xfinium.Pdf.Annotations Namespace > PdfAnnotation Class > Flatten Method : Flatten() Method
Merges the annotation appearance with the page content stream.
Syntax
'Declaration
 
Public Overloads Sub Flatten() 
'Usage
 
Dim instance As PdfAnnotation
 
instance.Flatten()
public void Flatten()
public:
void Flatten(); 
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