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

LinkBase.AddSubreport(PrintingSystemBase, DocumentBand, PointF) Method

Adds a subreport to the specified band in the current report.

Namespace: DevExpress.XtraPrinting

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


public virtual void AddSubreport(
    PrintingSystemBase ps,
    DocumentBand band,
    PointF offset
Public Overridable Sub AddSubreport(
    ps As PrintingSystemBase,
    band As DocumentBand,
    offset As PointF


Name Type Description
ps PrintingSystemBase

A PrintingSystemBase descendant.

band DevExpress.XtraPrinting.Native.DocumentBand

A report band where the subreport shall be inserted.

offset PointF

A PointF object which specifies the vertical offset of the subreport within the current report.


Consider calling the PrintingSystemBase.BeginSubreport method before creating the subreport, and finalizing the process with the PrintingSystemBase.EndSubreport method.


DevExpress.XtraPrinting.Native.ILink2.AddSubreport(PrintingSystemBase, DevExpress.XtraPrinting.Native.DocumentBand, PointF)
See Also