//创建pdf文件
using System;
using System.IO;
using System.Text;
using System.Collections;
namespace paladin.utility
{
/// <summary>
/// ToPdf 的摘要说明。
/// </summary>
public class ToPdf
{
static float pageWidth = 594.0f;
static float pageDepth = 828.0f;
static float pageMargin = 30.0f;
static float fontSize = 20.0f;
static float leadSize = 10.0f;
static MemoryStream mPDF= new MemoryStream();
public ToPdf()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
static void ConvertToByteAndAddtoStream(string strMsg)
{
Byte[] buffer=null;
buffer=ASCIIEncoding
using System;
using System.IO;
using System.Text;
using System.Collections;
namespace paladin.utility
{
/// <summary>
/// ToPdf 的摘要说明。
/// </summary>
public class ToPdf
{
static float pageWidth = 594.0f;
static float pageDepth = 828.0f;
static float pageMargin = 30.0f;
static float fontSize = 20.0f;
static float leadSize = 10.0f;
static MemoryStream mPDF= new MemoryStream();
public ToPdf()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
static void ConvertToByteAndAddtoStream(string strMsg)
{
Byte[] buffer=null;
buffer=ASCIIEncoding