FrmPdtToImage.cs
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using O2S.Components.PDFRender4NET;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FXPDFToImage
{
public enum Definition
{
One = 1, Two = 2, Three = 3, Four = 4, Five = 5, Six = 6, Seven = 7, Eight = 8, Nine = 9, Ten = 10
}
public partial class FrmPdtToImage : ViewBaseForm
{
public FrmPdtToImage()
{
InitializeComponent();
}
// 下载于www.51aspx.com
private void btncancle_Click(object sender, EventArgs e)
{
this.Close();
}
private void FrmPdtToImage_Load(object sender, EventArgs e)
{
this.txtPageNumber.Text = SkyComm.GetValue("分页图片数");
this.txtPDF.Focus();
}
private void btnPdf_Click(object sender, EventArgs e)
{
OpenFileDialog dialog = new OpenFileDialog();
dialog.Multiselect = true;//该值确定是否可以选择多个文件
dialog.Title = "请选择文件夹";
dialog.Filter = "*.pdf|*.PDF";
if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
this.txtPDF.Text = dialog.FileName;
}
}
//pageType=0:首页;pageType=1:上下页;pageType=2;末页数
private void ToSee(int pageType)
{
int pages = 0;
if (pageSize >= pageTotalCount)
{
pages = 1;
}
else
{
if (pageTotalCount % pageSize == 0)
{
pages = pageTotalCount / pageSize;
}
后面还有 245 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
