พอดีว่า ผมต้องการจะแปลง Flow Document ให้เป็น Bitmap ปรากฏว่า ไม่มีใครนำเสนอวิธีที่ถูกใจผมเลย ก็เลยต้องไป Research มาหน่อย สรุปว่า ผมใช้วิธีนี้ครับ using System; using System.Collections.Generic; using System.Windows.Documents; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Controls.Primitives; namespace CoreSharp.Lib { public static class FlowDocumentExtensions { // The Cache private static Dictionary<int, WeakReference> _VisualBrushes = new Dictionary<int...
มีคนดูแล้ว 1,259 คน