The EndDocument Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Finalize the document being created on disk.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(); |
For an example, refer to DocumentWriter.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7