Skip to main content
A newer version of this page is available. .

LinkBase.SetDataObject(Object) Method

Sets the object to be printed by this link.

Namespace: DevExpress.XtraPrinting

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

public virtual void SetDataObject(
    object data
)

Parameters

Name Type Description
data Object

A Object object implementing the IPrintable interface.

Remarks

The type of the object passed as the data parameter should be the same as that returned by the LinkBase.PrintableObjectType method. The certain object type should be defined in the code of the appropriate overridden method.

See Also