Skip to main content

XpsDocumentOptions.Assign(XpsDocumentOptions) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public void Assign(
    XpsDocumentOptions xpsDocumentOptions
)

Parameters

Name Type Description
xpsDocumentOptions XpsDocumentOptions

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

Remarks

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

See Also