byte[] binaryData = null; Visifire.Charts.ExportType exportType = Visifire.Charts.ExportType.Jpg; WriteableBitmap bitmap = new WriteableBitmap(this.LayoutRoot, null); if (bitmap != null) { MemoryStream stream = Graphics.GetImageStream(bitmap, exportType); binaryData = new Byte[stream.Length]; stream.Read(binaryData, 0, binaryData.Length); stream.Seek(0, SeekOrigin.Begin); string con = Convert.ToBase64String(binaryData); using (System.IO.MemoryStream memoryStream = new System.IO.MemoryStream(System.Convert.FromBase64String(con))) { System.Windows.Media.Imaging.BitmapImage img = new System.Windows.Media.Imaging.BitmapImage(); img.SetSource(memoryStream); imgPagePic.Source = img; } } 截取 LayoutRoot 界面图像,并转换成字符串。其中用到Visifire的FJ.Core.dll,SLVisifire.Charts.dll两个DLL。