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

PrintingSystem.Links Property

Gets the collection of links, defined for the current PrintingSystem object.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v19.2.dll

Declaration

Property Value

Type Description
LinkCollection

The link collection of the current PrintingSystem object.

Example

This example demonstrates how to create and display a Print Preview for the DataGrid control, via the DataGridLink.

PrintingLinks-Grid

using System;
using System.Windows.Forms;
using DevExpress.XtraPrintingLinks;
// ...

private void simpleButton1_Click(object sender, EventArgs e) {
    DataGridLink dgLink = new DataGridLink();
    dgLink.DataGrid = dataGrid1;
    printingSystem1.Links.Add(dgLink);
    dgLink.ShowPreviewDialog();
}
See Also