163 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			163 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Drawing;
 | |
| 
 | |
| namespace GoldPrinter
 | |
| {
 | |
| 	public interface IGrid
 | |
| 	{
 | |
| 		Point Location
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int Width
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int Height
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		Font Font
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		AlignFlag AlignMent
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		GridLineFlag Line
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		GridMergeFlag Merge
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		GridBorderFlag Border
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int Rows
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int Cols
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int FixedRows
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int FixedCols
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int PreferredRowHeight
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int PreferredColWidth
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int[] RowsHeight
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int[] ColsWidth
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		AlignFlag[] ColsAlignment
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		string Text
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		string[,] GridText
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int Row
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int Col
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int RowSel
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		int ColSel
 | |
| 		{
 | |
| 			get;
 | |
| 			set;
 | |
| 		}
 | |
| 
 | |
| 		string get_TextMatrix(int row, int col);
 | |
| 
 | |
| 		void set_TextMatrix(int row, int col, string textMatrix);
 | |
| 
 | |
| 		int get_RowHeight(int index);
 | |
| 
 | |
| 		void set_RowHeight(int index, int rowHeight);
 | |
| 
 | |
| 		int get_ColWidth(int index);
 | |
| 
 | |
| 		void set_ColWidth(int index, int colWidth);
 | |
| 
 | |
| 		AlignFlag get_ColAlignment(int index);
 | |
| 
 | |
| 		void set_ColAlignment(int index, AlignFlag colAlignment);
 | |
| 	}
 | |
| }
 |