Closes the document.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public override void Close(
	bool completely
)
Public Overrides Sub Close ( 
	completely As Boolean
)
public:
virtual void Close(
	bool completely
) override
abstract Close : 
        completely : bool -> unit 
override Close : 
        completely : bool -> unit 

Parameters

completely
Boolean
if set to true the document should be disposed completely.

Remarks

The document is disposed after calling the Close method. So, the document can not be saved if Close method was invoked.

See Also