public static Bitmap CreateOutline(MemoInfo info) { var facade = MemopadApplication.Instance; using (var canvas = new EditorCanvas()) { MemoSerializeUtil.LoadEditor(canvas, info.MementoId); return(CreateOutline(canvas)); } }
public static string GetSummaryText(MemoInfo info) { var canvas = new EditorCanvas(); MemoSerializeUtil.LoadEditor(canvas, info.MementoId); try { return(GetSummaryText(canvas)); } finally { canvas.Dispose(); } }