LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
EndDocument Method
See Also 
Leadtools.Forms.DocumentWriters Namespace > DocumentWriter Class : EndDocument Method



The EndDocument Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

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