Represents options for merging PDF documents.
For a list of all members of this type, see MergeOptions members.
![]() ![]()
|
ceTe.DynamicPDF.Merger.MergeOptions
[Visual Basic]
Public Class MergeOptions [C#]
public class MergeOptions Currently the only merge option is whether or not to preserve the form fields on the PDF being merged in. Specifying true will keep the form fields on the merged PDF where specifying false will remove the form fields from the PDF.
The following example shows how to enter text in a text field specifying the MergeOptions.
[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.Forms
Imports ceTe.DynamicPDF.Merger
Module MyModule
Sub Main()
' Create a MergeOptions object to import the AcroForm
Dim options As MergeOptions = New MergeOptions(True)
' Create a merge document with your PDF containing form fields
Dim MyDocument As MergeDocument = New MergeDocument("C:\ImportPDF.pdf", options)
' Set the value of the text field equal to the string you want to appear
Dim text As TextField = MyDocument.Form.Fields("Text3")
text.Value = "This is my text field"
' Save the PDF
MyDocument.Draw("C:\MyDocument.pdf")
End Sub
End Module
[C#]
using System; |
This class is a DynamicPDF Merger Standard Edition feature. One of the following licenses is required for non-evaluation usage:
Namespace: ceTe.DynamicPDF.Merger
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: ceTe.DynamicPDF (in ceTe.DynamicPDF.dll)
MergeOptions Members | ceTe.DynamicPDF.Merger Namespace
© Copyright 2006, ceTe Software