Skip to main content

PdfDocumentOptions.Assign(PdfDocumentOptions) Method

Copies all the settings from the PdfDocumentOptions object passed as a parameter.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.1.Core.dll


public void Assign(
    PdfDocumentOptions documentOptions


Name Type Description
documentOptions PdfDocumentOptions

A PdfDocumentOptions object whose settings are assigned to the current object. If null (Nothing in Visual Basic), then a ArgumentNullException will be thrown.


The Assign method allows the settings of the specified PdfDocumentOptions object to be copied to the current PdfDocumentOptions object.

See Also