Skip to main content

LinkBase.SetDataObject(Object) Method

Sets the object to be printed by this link.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.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