master
editor 3 days ago
commit e18a3f08fa

@ -0,0 +1,40 @@
PDF文档在线编辑控件源码及演示
一、源码描述
环境VS2022 
二、功能介绍
支持Pdf文档在线编辑并可以进行另存管理。
PdfTestSite为演示文件夹
PdfViewer为控件源码控件
51aspx.pdf为模版文件
注意服务器端需要安装Adobe Reader以便进行更好的支持
三、注意事项
ctrl+F5运行即可。
作者: salysle
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/PDFControls
------------------------------------------------------------------------------------------------
源码服务专家
官网: https://www.51aspx.com
讨论圈: https://club.51aspx.com/
平台声明:
1.51Aspx平台上提供下载的资源为免费、共享、商业三类源码,其中免费和共享源码仅供个人学习和研究使用,商业源码请在相应的授权许可条件下使用;
2.51Aspx平台对提供下载的软件及其它资源不拥有任何权利,其版权归属源码合法拥有者所有;
3.著作权人发现本网站载有侵害其合法权益的内容或作品,请与我们联系( 登录官网与客服反馈或发送邮件到support@51Aspx.com
4.51Aspx平台不保证提供的下载资源的准确性、安全性和完整性;
友情提示:
一般数据库文件默认在 DB_51Aspx 文件夹下
默认账号密码一般均为51Aspx
关于源码使用常见问题及解决方案,请参阅: https://www.51aspx.com/Help

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="PdfViewer" Namespace="PdfViewer" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>PDF文档在线编辑测试</title>
</head>
<body bottommargin="0" leftmargin="0" rightmargin="0" topmargin="0" style="font-family: Calibri" bgcolor="#cccccc">
<form id="form1" runat="server">
<div>
<asp:Panel ID="Panel1" runat="server" BackColor="LightSlateGray" BorderStyle="Outset" BorderWidth="2px"
Font-Bold="True" Font-Names="Calibri" Font-Size="X-Large" ForeColor="White" Height="100%"

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>www.51aspx.com(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
IIS configuration sections.
For schema documentation, see
%IIS_BIN%\config\schema\IIS_schema.xml.
Please make a backup of this file before making any changes to it.
NOTE: The following environment variables are available to be used
within this file and are understood by the IIS Express.
%IIS_USER_HOME% - The IIS Express home directory for the user
%IIS_SITES_HOME% - The default home directory for sites

@ -0,0 +1,15 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\coder\\Desktop\\2024Code\\7\\20240703\\update\\PDFControls\\PdfViewer\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{A7B04ADC-A412-4E1F-9564-E69203168EEF}|C:\\Users\\coder\\Desktop\\2024Code\\7\\20240703\\update\\PDFControls\\PdfTestSite|c:\\users\\coder\\desktop\\2024code\\7\\20240703\\update\\pdfcontrols\\pdftestsite\\default.aspx||{57312C73-6202-49E9-B1E1-40EA1A6DC1F6}"
},
{
"AbsoluteMoniker": "D:0:0:{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}|PdfViewer\\PdfViewer.csproj|c:\\users\\coder\\desktop\\2024code\\7\\20240703\\update\\pdfcontrols\\pdfviewer\\pdfviewer\\showpdf.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}|PdfViewer\\PdfViewer.csproj|solutionrelative:pdfviewer\\showpdf.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{A7B04ADC-A412-4E1F-9564-E69203168EEF}|C:\\Users\\coder\\Desktop\\2024Code\\7\\20240703\\update\\PDFControls\\PdfTestSite|c:\\users\\coder\\desktop\\2024code\\7\\20240703\\update\\pdfcontrols\\pdftestsite\\web.config||{FA3CD31E-987B-443A-9B81-186104E8DAC1}"
},
{

@ -0,0 +1,15 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PdfViewer</RootNamespace>
<AssemblyName>PdfViewer</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>

@ -0,0 +1,15 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PdfViewer")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("BXSW")]
[assembly: AssemblyProduct("PdfViewer")]
[assembly: AssemblyCopyright("Copyright © BXSW 2007")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>www.51aspx.com(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
namespace PdfViewer
{
[DefaultProperty("FilePath")]
[ToolboxData("<{0}:ShowPdf runat=server></{0}:ShowPdf>")]
public class ShowPdf : WebControl

@ -0,0 +1,15 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F5A05A5C-6AFF-4432-92AB-9DBFCBAF2CFA}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PdfViewer</RootNamespace>
<AssemblyName>PdfViewer</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>

@ -0,0 +1,15 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PdfViewer")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("BXSW")]
[assembly: AssemblyProduct("PdfViewer")]
[assembly: AssemblyCopyright("Copyright © BXSW 2007")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>www.51aspx.com(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
namespace PdfViewer
{
[DefaultProperty("FilePath")]
[ToolboxData("<{0}:ShowPdf runat=server></{0}:ShowPdf>")]
public class ShowPdf : WebControl

@ -0,0 +1,5 @@
bin\Release\PdfViewer.dll
bin\Release\PdfViewer.pdb
obj\Release\ResolveAssemblyReference.cache
obj\Release\PdfViewer.dll
obj\Release\PdfViewer.pdb

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]

@ -0,0 +1,6 @@
C:\Users\coder\Desktop\2024Code\7\20240703\update\PDFControls\PdfViewer\PdfViewer\bin\Release\PdfViewer.dll
C:\Users\coder\Desktop\2024Code\7\20240703\update\PDFControls\PdfViewer\PdfViewer\bin\Release\PdfViewer.pdb
C:\Users\coder\Desktop\2024Code\7\20240703\update\PDFControls\PdfViewer\PdfViewer\obj\Release\PdfViewer.csproj.AssemblyReference.cache
C:\Users\coder\Desktop\2024Code\7\20240703\update\PDFControls\PdfViewer\PdfViewer\obj\Release\PdfViewer.csproj.CoreCompileInputs.cache
C:\Users\coder\Desktop\2024Code\7\20240703\update\PDFControls\PdfViewer\PdfViewer\obj\Release\PdfViewer.dll
C:\Users\coder\Desktop\2024Code\7\20240703\update\PDFControls\PdfViewer\PdfViewer\obj\Release\PdfViewer.pdb

@ -0,0 +1,15 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="ConversionReport0">
Migration Report
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
Loading…
Cancel
Save