摘要: Silverlight中的打印只有一个类,那就是PrintDocment这个对象来实现。当然实现方式也很简单,先看下实现的步骤:其实只需两个步骤即可完成,即绑定PrintDocument的PrintPage事件和调用Print方法。PrintDocument document = new PrintDocument();document.PrintPage += documentImage_PrintPage;document.Print("Image Document");这个就完成了一个打印,其中PrintPage事件是最为重要的,因为整个打印的工作都是在这个事件中完成 阅读全文
posted @ 2011-09-26 23:39 wangyafei_it 阅读(786) 评论(0) 推荐(0) 编辑
摘要: Silverlight中的PlaneProjection主要来实现三维的效果(并非3D引擎),通过使用PlaneProjection可以达到三维空间的立体效果。PlaneProjection 具有以下 12 个可用于控制对象的旋转和位置的属性:RotationX、RotationY、RotationZ、CenterOfRotationX、CenterOfRotationY、CenterOfRotationZ、GlobalOffsetX、GlobalOffsetY、GlobalOffsetZ、LocalOffsetX、LocalOffsetY 和 LocalOffsetZ.RotationX,元 阅读全文
posted @ 2011-09-26 15:10 wangyafei_it 阅读(1433) 评论(1) 推荐(1) 编辑