Leadtools.Forms.DocumentWriters Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
EndDocument Method
See Also 
Leadtools.Forms.DocumentWriters Namespace > DocumentWriter Class : EndDocument Method



Finalize the document being created on disk.

Syntax

Visual Basic (Declaration) 
Public Sub EndDocument() 
Visual Basic (Usage)Copy Code
Dim instance As DocumentWriter
 
instance.EndDocument()
C# 
public void EndDocument()
C++/CLI 
public:
void EndDocument(); 

Example

For an example, refer to DocumentWriter.

Remarks

This method should be called after all the pages has been added to a new document. Use BeginDocument to create a new document and use AddPage for each page to be added to the document.

For more information on how to use the DocumentWriter class to create new documents, refer to BeginDocument.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features