示例#1
0
        public static Bitmap CreateOutline(MemoInfo info)
        {
            var facade = MemopadApplication.Instance;

            using (var canvas = new EditorCanvas()) {
                MemoSerializeUtil.LoadEditor(canvas, info.MementoId);
                return(CreateOutline(canvas));
            }
        }
示例#2
0
        public static string GetSummaryText(MemoInfo info)
        {
            var canvas = new EditorCanvas();

            MemoSerializeUtil.LoadEditor(canvas, info.MementoId);

            try {
                return(GetSummaryText(canvas));
            } finally {
                canvas.Dispose();
            }
        }