A newer version of this page is available. Switch to the current version.

XpsDocumentOptions.Assign(XpsDocumentOptions) Method

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

Namespace: DevExpress.XtraPrinting

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


public void Assign(
    XpsDocumentOptions xpsDocumentOptions
Public Sub Assign(
    xpsDocumentOptions As XpsDocumentOptions


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.


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

See Also