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

XlExportOptionsBase.Assign(ExportOptionsBase) Method

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

Namespace: DevExpress.XtraPrinting

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


public override void Assign(
    ExportOptionsBase source
Public Overrides Sub Assign(
    source As ExportOptionsBase


Name Type Description
source ExportOptionsBase

An XlsExportOptions object (which is the ExportOptionsBase descendant) whose settings are assigned to the current object. If null (Nothing in Visual Basic), then a System.ArgumentNullException will be thrown.


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

See Also