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

LinkBase.SetDataObject(Object) Method

Sets the object to be printed by this link.

Namespace: DevExpress.XtraPrinting

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


public virtual void SetDataObject(
    object data
Public Overridable Sub SetDataObject(
    data As Object


Name Type Description
data Object

A Object object implementing the IPrintable interface.


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