public GDFCell(GDFRow row, RectangleF initCellBounds) { this._row = row; //Store page this._page = this._row.Builder.Manager.CurrentPage; //Set Bounds and Location this._page.Location = initCellBounds.Location; this._page.Bounds = initCellBounds; }
protected override IEnumerable <RTFBuilderBase> EnumerateCellsInternal(RTFRowDefinition rowDefinition, RTFCellDefinition[] cellDefinitions) { using (GDFRow row = new GDFRow(this, rowDefinition, cellDefinitions)) { foreach (GDFCell cell in row) { using (cell) { yield return(cell.Content); } } } }
protected override IEnumerable <RTFBuilderbase> EnumerateCellsInternal(RTFRowDefinition rowDefinition, RTFCellDefinition[] cellDefinitions) { using (GDFRow row = new GDFRow(this, rowDefinition, cellDefinitions)) { foreach (GDFCell cell in row) { using (cell) { yield return cell.Content; } } } }