Class GridPrintInfo
Holds temporary information related to printing. This class will change in future versions.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridPrintInfo : ISerializable
Constructors
GridPrintInfo()
Initializes a new instances of the GridPrintInfo class.
Declaration
public GridPrintInfo()
GridPrintInfo(SerializationInfo, StreamingContext)
Initializes a new instance of GridPrintInfo from a serialization stream.
Declaration
public GridPrintInfo(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | An object that holds all the data needed to serialize or de-serialize this instance. |
System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of the serialized stream specified by info. |
Fields
m_awPageFirstCol
Used internally.
Declaration
public ArrayList m_awPageFirstCol
Field Value
Type |
---|
System.Collections.ArrayList |
m_awPageFirstRow
Used internally.
Declaration
public ArrayList m_awPageFirstRow
Field Value
Type |
---|
System.Collections.ArrayList |
m_bPrintCurSelOnly
Used internally.
Declaration
public bool m_bPrintCurSelOnly
Field Value
Type |
---|
System.Boolean |
m_bPrintPaintMsg
OnGridPrint will check m_bPrintPaintMsg and redraw the whole grid later.
Declaration
public bool m_bPrintPaintMsg
Field Value
Type |
---|
System.Boolean |
m_nCurrentPageColIndex
Used internally.
Declaration
public int m_nCurrentPageColIndex
Field Value
Type |
---|
System.Int32 |
m_nCurrentPageRowIndex
Used internally.
Declaration
public int m_nCurrentPageRowIndex
Field Value
Type |
---|
System.Int32 |
m_nPrintHandleRecordCount
Used internally.
Declaration
public GridCountRecordsBehavior m_nPrintHandleRecordCount
Field Value
Type |
---|
GridCountRecordsBehavior |
m_nPrintLeftCol
Used internally.
Declaration
public int m_nPrintLeftCol
Field Value
Type |
---|
System.Int32 |
m_nPrintTopRow
Used internally.
Declaration
public int m_nPrintTopRow
Field Value
Type |
---|
System.Int32 |
Properties
AllowRepeatHeaders
Gets or sets a value indicating whether the column headers should be printed on all pages or not. Default value is True.
Declaration
public bool AllowRepeatHeaders { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
If false, the column headers will be printed only on first page. Otherwise, the column headers will be printed on all pages.
Methods
GetObjectData(SerializationInfo, StreamingContext)
Implements the ISerializable interface and returns the data needed to serialize the GridPrintInfo.
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | A SerializationInfo object containing the information required to serialize the object. |
System.Runtime.Serialization.StreamingContext | context | A StreamingContext object containing the source and destination of the serialized stream. |