corelibraries-devexpress-dot-xtraprintinglinks-dot-printablecomponentlinkbase.md
Gets or sets a IPrintable user implementation printed via the current link.
Namespace : DevExpress.XtraPrintingLinks
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[DefaultValue(null)]
public IBasePrintable Component { get; set; }
<DefaultValue(Nothing)>
Public Property Component As IBasePrintable
| Type | Default | Description |
|---|---|---|
| IBasePrintable | null |
An IPrintable user implementation.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Component property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-print-pivot-and-chart-controls/CS/WinformsExport/Form1.cs#L32
PrintableComponentLink pivotLink = new PrintableComponentLink();
pivotLink.Component = pivotGridControl1;
PrintableComponentLink chartLink = new PrintableComponentLink();
asp-net-mvc-grid-export-multiple-gridviews-into-a-document/CS/Controllers/HomeController.cs#L32
categoriesGridSettings.Columns.Add("Description");
link1.Component = GridViewExtension.CreatePrintableObject(categoriesGridSettings, MyModel.GetCategories());
asp-net-web-forms-export-pivot-grid-and-chart-in-one-document/CS/Default.aspx.cs#L18
PrintableComponentLinkBase link1 = new PrintableComponentLinkBase(ps);
link1.Component = ASPxPivotGridExporter1;
asp-net-web-forms-grid-fit-exported-document-to-page/CS/WebApplication1/Default.aspx.cs#L17
PrintableComponentLinkBase pcl = new PrintableComponentLinkBase(new PrintingSystemBase());
pcl.Component = ASPxGridView1;
pcl.Margins.Left = pcl.Margins.Right = 50;
ps.AfterChange += ps_AfterChange;
componentLink.Component = this;
}
winforms-print-pivot-and-chart-controls/VB/WinformsExport/Form1.vb#L31
Dim pivotLink As PrintableComponentLink = New PrintableComponentLink()
pivotLink.Component = pivotGridControl1
Dim chartLink As PrintableComponentLink = New PrintableComponentLink()
asp-net-mvc-grid-export-multiple-gridviews-into-a-document/VB/Controllers/HomeController.vb#L37
categoriesGridSettings.Columns.Add("Description")
link1.Component = GridViewExtension.CreatePrintableObject(categoriesGridSettings, MyModel.GetCategories())
asp-net-web-forms-export-pivot-grid-and-chart-in-one-document/VB/Default.aspx.vb#L19
Dim link1 As PrintableComponentLinkBase = New PrintableComponentLinkBase(ps)
link1.Component = ASPxPivotGridExporter1
Dim link2 As PrintableComponentLinkBase = New PrintableComponentLinkBase(ps)
asp-net-web-forms-grid-fit-exported-document-to-page/VB/WebApplication1/Default.aspx.vb#L17
Dim pcl As PrintableComponentLinkBase = New PrintableComponentLinkBase(New PrintingSystemBase())
pcl.Component = ASPxGridView1
pcl.Margins.Right = 50
AddHandler ps.AfterChange, AddressOf ps_AfterChange
componentLink.Component = Me
End Sub
See Also
PrintableComponentLinkBase Class