Class PrintZoom
The PrintZoom class encapsulates the zoom settings used by the diagram for print and print preview. PrintZoom
Inheritance
System.Object
PrintZoom
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class PrintZoom : Object, ICloneable, ISerializable
Constructors
PrintZoom()
Declaration
public PrintZoom()
PrintZoom(PrintZoom)
Declaration
public PrintZoom(PrintZoom src)
Parameters
| Type | Name | Description |
|---|---|---|
| PrintZoom | src |
PrintZoom(SerializationInfo, StreamingContext)
Declaration
protected PrintZoom(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context |
Properties
PrintingZoom
Gets or sets a value indicating the zoom ratio. Values range from 0 to 100.
Declaration
public int PrintingZoom { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
SheetsAcross
Gets or sets the number of horizontal pages to fit the print data into.
Declaration
public int SheetsAcross { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
SheetsDown
Gets or sets the number of vertical pages to fit the print data into.
Declaration
public int SheetsDown { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
UsePrintingZoom
Gets or sets a value indicating whether zoom should be enabled for print and printpreview. Default is True.
Declaration
public bool UsePrintingZoom { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A new object that is a copy of this instance. |
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable