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
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class PrintZoom : 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. |
Explicit Interface Implementations
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Declaration
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable