void FillInternal(IPrintableObject item) { var dbItem = item as IDataItem; if (dbItem != null) { dbItem.DBValue = String.Empty; dbItem.DBValue = ReadValueFromProperty(dbItem.ColumnName); if (String.IsNullOrEmpty(dbItem.DataType)) { dbItem.DataType = SetTypeFromProperty(dbItem.ColumnName).ToString(); } } }
public static IExportColumn CreateItem(IPrintableObject item) { var export = item.CreateExportColumn(); return(export); }
public void AddPrintableObject(IPrintableObject printableObject) { this.printableObjectList.Add(printableObject); }
public Size Measure(IPrintableObject reportItem, Graphics graphics) { return MeasurementService.Measure((ITextItem)reportItem,graphics); }
public Size Measure(IPrintableObject reportItem,Graphics graphics) { return reportItem.Size; }
public static IExportColumn CreateItem (IPrintableObject item) { var export = item.CreateExportColumn(); return export; }