EVO PDF Viewer Control for ASP.NET 9.0 Crack

这篇具有很好参考价值的文章主要介绍了EVO PDF Viewer Control for ASP.NET 9.0 Crack。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

EVO PDF Viewer Control for ASP.NET
EVO PDF Viewer control for ASP.NET can be linked into any ASP.NET application to add PDF visualization and manipulation capabilities to your ASP.NET application.
EVO PDF Viewer Control for ASP.NET

EVO PDF Viewer Control for ASP.NET 9.0 Crack


EVO PDF Viewer control for ASP.NET can be linked into any ASP.NET application to add PDF visualization and manipulation capabilities to your ASP.NET application. With EVO PDF Viewer for ASP.NET you can display a PDF from a specified URL or from stream of bytes into the client browser, control PDF security options to disable content copying or printing. The integration is extremely easy. The free Adobe Reader is required on the client computer where the control is displayed in browser.
ASP.NET server control and C# samples
Display a PDF document given as a stream of bytes
Display PDF documents from a specified URL
Navigate and print the document from browser
Show or hide viewer toolbars
Show or hide viewer scroll bars
Show or hide viewer navigation panel
Disable PDF document printing or copying
Royalty free development libraries and samples
Support for .NET 4.0 framework and later
Documentation and C# samples for all the features

 

Code Sample - PDF Viewer for ASP.NET
The code below was taken from the PDF Viewer for ASP.NET demo application available for download in the product package. In this sample an instance of the PdfViewer class is used to display a PDF document in a browser.

using System;
using System.Data;
using System.Configuration;
using System.Collections;
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;

// the HTML to PDF converter namespace
using EvoPdf;

// the PDF Viewer namespace
using EvoPdf.PdfViewerAspNet;

namespace PdfViewer4AspNetDemo
{
    public partial class DisplayPdfBytes : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LoadPageFitModes();
                LoadDocumentDisplayModes();

                LoadPdfStream();
            }
        }


        protected void btnConvert_Click(object sender, EventArgs e)
        {
            // apply the viewer settings before loading the PDF from stream
            ApplyViewerPreferences();
            ApplySecurityOptions();

            LoadPdfStream();
        }

        private void LoadPageFitModes()
        {
            string[] pageFitModes = Enum.GetNames(typeof(PageFitMode));
            ddlPageFitMode.DataSource = pageFitModes;
            ddlPageFitMode.DataBind();
            ddlPageFitMode.SelectedValue = pdfViewerControl.PageFitMode.ToString();
        }

        private void LoadDocumentDisplayModes()
        {
            string[] pageModes = Enum.GetNames(typeof(DocumentDisplayMode));
            ddlPageMode.DataSource = pageModes;
            ddlPageMode.DataBind();
            ddlPageMode.SelectedValue = pdfViewerControl.DocumentDisplayMode.ToString();
        }

        private void ApplyViewerPreferences()
        {
            pdfViewerControl.DocumentDisplayMode = 
                (DocumentDisplayMode)Enum.Parse(typeof(DocumentDisplayMode), ddlPageMode.SelectedValue);
            pdfViewerControl.ShowNavigationPanel = cbShowWindowUI.Checked;
            pdfViewerControl.ShowScrollbars = cbShowScrollbars.Checked;
            pdfViewerControl.ShowToolbarMode = 
                cbShowToolbar.Checked ? ShowToolbarMode.Show : ShowToolbarMode.Hide;
            pdfViewerControl.PageFitMode = 
                (PageFitMode)Enum.Parse(typeof(PageFitMode), ddlPageFitMode.SelectedValue);
        }

        private void ApplySecurityOptions()
        {
            pdfViewerControl.PdfSecurityOptions.CanPrint = cbAllowPrint.Checked;
            pdfViewerControl.PdfSecurityOptions.CanCopyContent = cbAllowContentCopy.Checked;
            pdfViewerControl.PdfSecurityOptions.CanFillFormFields = cbAllowFormFilling.Checked;
            pdfViewerControl.PdfSecurityOptions.CanEditContent = cbAllowContentEdit.Checked;
            pdfViewerControl.PdfSecurityOptions.CanEditAnnotations = cbAllowEditAnnotations.Checked;
            pdfViewerControl.PdfSecurityOptions.CanAssembleDocument = cbAllowAssemble.Checked;

            pdfViewerControl.PdfSecurityOptions.UserPassword = textBoxUserPassword.Text.Trim();
        }

        private void LoadPdfStream()
        {
            //get the PDF stream
            string urlToConvert = textBoxURLToConvert.Text.Trim();
            byte[] pdfBytes = new PdfConverter().GetPdfBytesFromUrl(urlToConvert);

            // set the PDF bytes to be loaded in viewer
            pdfViewerControl.LicenseKey = "OLant6Kvt6e3ormnt6Smuaalua6urq4=";
            pdfViewerControl.PdfSourceBytes = pdfBytes;
        }

        protected void btnApplyViewerPreferences_Click(object sender, EventArgs e)
        {
            // update the viewer preferences
            ApplyViewerPreferences();
            ApplySecurityOptions();
        }
    }
}

 文章来源地址https://www.toymoban.com/news/detail-419978.html

到了这里,关于EVO PDF Viewer Control for ASP.NET 9.0 Crack的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Telerik UI for ASP.NET Core Crack

    Telerik ASP.NET Core还包括MVC和Kendo UI捆绑包(用于JavaScript)、Figma的设计工具包以及文档处理库、用于ASP.NET Core的Telerik REPL、RTL支持、辅助功能和键盘导航、主题化、虚拟课堂培训、详细文档、演示、KBs和世界级支持。使用一整套功能丰富、响应迅速、可自定义的ASP.NET Core UI组件,

    2024年02月13日
    浏览(36)
  • TX Text Control .NET Server for ASP.NET 31 SP2 PJ

    VISUAL STUDIO 2022, ASP.NET CORE .NET 5 .NET 6 SUPPORT CLIENT-SIDE UI Integrate fully-featured document editing into your web applications. Integrate the most powerful, MS Word compatible document editor that runs in all browsers. Based on modern browser technology, TX Text Control provides professional, out-of-the-box document editing functionality for your

    2024年02月09日
    浏览(38)
  • Spire.PDF for .NET 9.8.5 Crack

    Spire.PDF for .NET is a professional PDF API applied to creating, writing, editing, handling and reading PDF files without any external dependencies within .NET ( C#, VB.NET, ASP.NET, .NET Core, .NET 5.0, .NET 6.0, .NET 7.0, MonoAndroid and Xamarin.iOS ) application. Using this .NET PDF library, you can implement rich capabilities to create PDF files from sc

    2024年02月10日
    浏览(43)
  • HiQPdf Library for .NET - HTML to PDF Crack

    HiQPdf Library for .NET - HTML 到 PDF 转换器 .NET Core,用于 .NET 的 HiQPdf HTML 到 PDF 转换器 :HiQPdf HTML to PDF Library for .NET C# 和 HTML to PDF .NET Core 为您提供了一个现代、快速、灵活且强大的工具,只需几行代码即可创建复杂而时尚的 PDF 文档。 使用高质量的 HTML 到 PDF 转换引擎,您可以使

    2024年02月08日
    浏览(39)
  • DevExpress DXperience Crack Blazor, ASP.NET, ASP.NET MVC

    DevExpress DXperience helps you build applications for Windows, Web, mobile and tablet with all of the DevExpress single platform controls and more. The DevExpress DXperience Subscription includes hundreds of Desktop UI Controls (WinForms, WPF and Desktop Reporting), Web UI Controls (Blazor, ASP.NET, ASP.NET MVC and Core, Bootstrap Web Forms, JavaScript - jQ

    2024年04月11日
    浏览(39)
  • TX Text Control 31.SP3 for Windows Forms Crack

    视窗用户界面 TX 文本控件是一种完全可编程的丰富编辑控件,可在专为 Visual Studio 设计的可重用组件中为开发人员提供广泛的文字处理功能。它提供全面的文本格式,强大的邮件合并功能和所有文字处理关键概念,如表格支持,图像,页眉和页脚以及页面部分。 全面的文本

    2024年02月12日
    浏览(50)
  • Spread.NET v16.0.20222.0 ASP.NET cRACK

    提供类似 Excel 的电子表格体验。 Spread.NET 可帮助您创建电子表格、网格、仪表板和表单。它包括一个强大的计算引擎,具有450 +函数以及导入和导出Excel电子表格的能力。利用广泛的 .NET 电子表格 API 和强大的计算引擎来创建分析、预算、仪表板、数据收集和管理、科学和财务

    2024年02月08日
    浏览(41)
  • Telerik Separates ASP.NET Core Crack

    Telerik UI for ASP.NET Core and Telerik UI for ASP.NET MVC are now available to purchase individually, giving developers greater flexibility. Telerik is a leading software company that offers development tools for web, mobile, and desktop applications. It also provides tools and subscription services for cross-platform application development. Telerik produc

    2024年02月04日
    浏览(30)
  • ComponentOne Studio ASP.NET MVC Crack

    FlexReport增强功能 添加了对在Microsoft Windows上部署Microsoft Azure的支持。 添加了对显示嵌入字体的支持。 .NET标准版的经典C1PDF(Beta版) GrapeCity的经典C1Pdf库现在提供了基于Microsoft.NET标准的版本。在任何.NET应用程序(包括.NET 6+)中使用该库,而不依赖任何Windows。 允许从头开始创建

    2024年02月12日
    浏览(36)
  • Update:Web CAD SDK ASP.NET Crack

    Web CAD SDK  is an ASP.NET control for viewing  DWG  and other  CAD  files on the  Internet , Intranet,  SharePoint , Office 365 and other online HTML5 enabled technologies. The product doesn’t require  AutoCAD®  installation or other third party applications or components and is provided with C# examples. crack 支持dll和服务 Formats CAD for

    2024年02月11日
    浏览(32)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包