Click or drag to resize

ImportMapping Constructor

Initializes a new instance of the ImportMapping class.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 27.3.30.1144
Syntax
public ImportMapping(
	DocumentModel sourceDocument,
	DocumentModel destinationDocument,
	bool useDestinationStyles
)

Parameters

sourceDocument
Type: GemBox.DocumentDocumentModel
The source document.
destinationDocument
Type: GemBox.DocumentDocumentModel
The destination document.
useDestinationStyles
Type: SystemBoolean
to use destination document styles if it has the same name as source style (but doesn't have the same formatting); otherwise to use source document styles.
Exceptions
ExceptionCondition
ArgumentNullExceptionsourceDocument or destinationDocument is .
See Also