登录
首页 » C# » Aspose.Email for .NET Examples

Aspose.Email for .NET Examples

于 2013-12-22 发布
0 244
下载积分: 1 下载次数: 0

代码说明:

Aspose.Email for .NET Examples

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C# 套打Demo
    套打Demo 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Printing;namespace Print_Demo{ public partial class Form1 : Form { public PrintDocument printDt = new PrintDocument(); //打印文档对象 Font printFont; //打印使用的字体 public Form1() { InitializeComponent(); } void printDt_PrintPage(object sender, PrintPageEventArgs e) { float pointX = 10; float pointY = 10; e.Graphics.DrawString("打印内容", new Font("宋体", 16F), Brushes.Black, pointX 60, pointY); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 26,pointX 300,pointY 26); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 35); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 56, pointX 300, pointY 56); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 65); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 86, pointX 300, pointY 86); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 95); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 116, pointX 300, pointY 116); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 125); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 146, pointX 300, pointY 146); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 155); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 176, pointX 300, pointY 176); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 185); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 206, pointX 300, pointY 206); e.Graphics.DrawString("检测结果", printFont, Brushes.Black, pointX, pointY 233); e.Graphics.DrawString("通过", new Font("宋体",22F,FontStyle.Bold), Brushes.Black, pointX 90, pointY 225); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 265, pointX 300, pointY 265); e.Graphics.DrawString("单位名称", printFont, Brushes.Black, pointX, pointY 275); } private void Form1_Load(object sender, EventArgs e) { printDt.PrintPage = new PrintPageEventHandler(printDt_PrintPage); printFont = new Font("宋体", 12F); } private void btnPrint_Click(object sender, EventArgs e) { //PrintDialog printDlg = new PrintDialog(); //printDlg.Document = printDt; //printDlg.AllowPrintToFile = true; //printDlg.AllowCurrentPage = true; //printDlg.AllowSelection = true; //printDlg.ShowDialog(); //printDlg.ShowDialog(); printDt.Print(); } private void btnLook_Click(object sender, EventArgs e) { PrintPreviewDialog printPreview = new PrintPreviewDialog(); printPreview.PrintPreviewControl.Document = printDt; printPreview.ShowDialog(this); } }}
    2021-05-06下载
    积分:1
  • Aspose.Email for .NET Examples
    Aspose.Email for .NET Examples
    2013-12-22下载
    积分:1
  • wpf 图片查看器源码(支持浏览/裁剪/黑白图片)
    wpf 图片查看器源码(支持浏览/裁剪/黑白图片)
    2016-07-20下载
    积分:1
  • ios webview 进度条加载例子
    ios webview 进度条加载例子
    2015-06-28下载
    积分:1
  • c# 一键分班示例源码下载(可按照男女/分数一键分班)
    参考下分班逻辑, 分班后 要求 每个班级 性别均匀,分数均匀
    2014-03-10下载
    积分:1
  • asp.net 分布式存储Session实例源码(mongodb实现)
    将会话信息信息分布存储至多台服务器,详见中的 WebFormDemo 项目
    2014-12-24下载
    积分:1
  • C# 设计模式观察者模式 入门级示例
    C# 设计模式观察者模式 入门级示例
    2018-11-19下载
    积分:1
  • QQ所有图标图片资源下载(含gft文件以及jpg文件)
    QQ所有图标图片资源下载(含gft文件以及jpg文件)
    2015-04-20下载
    积分:1
  • SqlPager 存储过程分页例子 附完整源码
    SqlPager 存储过程分页例子 附完整源码
    2013-08-03下载
    积分:1
  • IEEE电脑鼠走迷宫(完整参赛代码)
    本程序是我们小组集体参加电脑鼠比赛的完整参赛代码,内付Maze主函数的完整流程图!
    2019-08-01下载
    积分:1
  • 696516资源总数
  • 106571会员总数
  • 2今日下载