Gets or sets the name of the printer used to provide Graphics used to measure/calculate layouts of C1PrintDocument objects. This property is only used if MeasurementDevice is set to Printer.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public static string MeasurementPrinterName { get; set; }
Visual Basic
Public Shared Property MeasurementPrinterName As String
	Get
	Set

Examples

The following example uses the MeasurementPrinterName property to get the printer name:

Copy CodeVisual Basic
C1.C1Preview.C1PrintDocument.MeasurementPrinterName = "printer name" 
Dim doc As C1.C1Preview.C1PrintDocument = New C1.C1Preview.C1PrintDocument
Copy CodeC#
C1.C1Preview.C1PrintDocument.MeasurementPrinterName = "printer name";
C1.C1Preview.C1PrintDocument doc = new C1.C1Preview.C1PrintDocument();

See Also