Skip to main content

LinkBase.AddSubreport(PrintingSystemBase, DocumentBand, PointF) Method

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

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

#Declaration

public virtual void AddSubreport(
    PrintingSystemBase ps,
    DocumentBand band,
    PointF offset
)

#Parameters

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.

#Remarks

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

See Also