Exemplo n.º 1
0
			public Cell Clone()
			{
				Cell cell = new Cell(table);

				cell.text = this.text;
				cell.hyperLink = this.hyperLink;
				cell.textFormat = this.textFormat;
				cell.textColor = this.textColor;

				cell.toolTip = this.toolTip;
				cell.picture = this.picture;
				cell.picturePos = this.picturePos;

				cell.brush = this.brush;
				if (cell.brush != null)
					cell.brush.AddRef();

				cell.columnSpan = this.columnSpan;
				cell.rowSpan = this.rowSpan;
				cell.tag = this.tag;

				cell.txOptions = new Text.LayoutOptions();
				cell.txLayout = new Text.Layout();
				cell.updateText();

				return cell;
			}