Skip to main content

Link Members

The base class for links that enables printing functionality for WinUI controls.

Properties

Name Description
BottomMarginStyle Gets or sets the style applied to a bottom margin of the printed document.
BottomMarginText Gets or sets the text of the document’s bottom margin.
ColumnLayout Gets or sets the column layout.
ColumnWidth Gets or sets the width of a single column.
CustomPaperSize Gets or sets a size of custom paper (in hundredths of an inch). Inherited from LinkBase.
DocumentName Gets or sets the document name. Inherited from LinkBase.
Landscape Gets or sets whether the printed page orientation is landscape.
Margins Gets or sets the margins of a report page (in hundredths of an inch). Inherited from LinkBase.
MinMargins Gets or sets the minimum printer margins. Inherited from LinkBase.
PageFooterStyle Gets or sets the style applied to a footer of the printed page.
PageFooterText Gets or sets the text of the page’s footer.
PageHeaderStyle Gets or sets the style applied to a header of the printed page.
PageHeaderText Gets or sets the text of the page’s header.
PaperKind Gets or sets the paper type. Inherited from LinkBase.
PrintingSystem Gets the Printing System used to create and print a document for this link. Inherited from LinkBase.
PrintReportFooterAtBottom Gets or sets whether the report footer is printed at the bottom of each page, or only after the report content.
ReportFooterStyle Gets or sets the style applied to the footer of the printed report.
ReportFooterText Gets or sets the text of the report’s footer.
ReportHeaderStyle Gets or sets the style applied to a header of the printed report.
ReportHeaderText Gets or sets the text of the report’s header.
TopMarginStyle Gets or sets the style applied to the top margin of the printed document.
TopMarginText Gets or sets the text of the document’s top margin.
VerticalContentSplitting Gets or sets whether content bricks outside the right page margin should be split across pages or moved to the next page.

Methods

Name Description
CreateDocument() Creates a document from the link. Inherited from LinkBase.
CreateDocument(Boolean) Creates a document from the link. Optionally, you can access the document pages as soon as they are created. Document creation is always synchronous and does not occur in a background thread. Inherited from LinkBase.
Dispose() Disposes the LinkBase object. The method releases all the resources allocated to the object and improves system performance. Inherited from LinkBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
LoadDocument(Object) Load the specified document. Inherited from LinkBase.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Print(String) Prints the LinkBase instance on the default or specified printer. Inherited from LinkBase.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
StopPageBuilding() Interrupts the document creation. Inherited from LinkBase.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
CreateDocumentFinished Occurs when the document was successfully created. Inherited from LinkBase.
CreateDocumentStarted Occurs when the document creation has been started. Inherited from LinkBase.
See Also