在 Csv 文件中搜索 Barcode 签名

.NET 原生 API 允许在已签名的 Csv 文件中搜索 Barcode 签名。使用几行代码在您的 Csv 文档中执行高级电子签名搜索。


下载免费试用版

关于 GroupDocs.Signature for .NET API

GroupDocs.Signature for .NET 提供 .NET API 用于处理使用各种签名类型的文档,例如文本、图像、数字证书、条形码、QR 码、图章或元数据。用户可以在 PDF、MS Word 文档、MS Excel 工作簿、MS PowerPoint 演示文稿、Adobe Photoshop 文件和各种图像格式中添加、删除、更新、验证或搜索电子签名,并根据需要额外支持自定义签名属性。

如何在 Csv 中搜索 Barcode 签名

GroupDocs.Signature for .NET 让 .NET 开发人员通过执行几个简单的步骤,可以更轻松地从他们的应用程序中搜索 Csv 文件中的 Barcode 签名。

  • 创建 Signature 类的新实例并将源文档路径作为构造函数参数传递。
  • 根据您的要求实例化 SearchOptions 对象并指定搜索选项。
  • 调用 Signature 类实例的 Search 方法并将 SearchOptions 传递给它。
  • 根据您的需求处理搜索结果。

系统要求

所有主要平台和操作系统都支持 GroupDocs.Signature for .NET。在执行以下代码之前,请确保您的系统上安装了以下先决条件。

  • 操作系统:Microsoft Windows、Linux、MacOS
  • 开发环境:Microsoft Visual Studio, Xamarin, MonoDevelop
  • Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
  • Nuget 下载最新版本的 GroupDocs.Signature for .NET


// Set up input Csv file
string filePath = "input.csv";

// Instantiate Signature for input file
using (var signature = new GroupDocs.Signature.Signature(filePath))
{
        //Create search options
        BarcodeSearchOptions options = new BarcodeSearchOptions()
        {
            // specify special pages to search on 
            AllPages = false,
            // single page number
            PageNumber = 1,
            // set up text match type
            MatchType = TextMatchType.Contains,
            // specify text pattern to search
            Text = "Text signature",
            // return  Barcode images for processing
            ReturnContent = true,
            // set up type of returned  Barcode images
            ReturnContentType = FileType.PNG
        };

        // search for Barcode signatures in Csv document
        List<BarcodeSignature> signatures = signature.Search<BarcodeSignature>(options);

        // process signatures which were found                
        foreach (BarcodeSignature item in signatures)
        {
            //...
        }
}

搜索 Barcode 电子签名 Live Demo

立即访问 GroupDocs.Signature App 网站,在文档中搜索 Csv 文件的各种电子签名。

无需下载 API

无需编写任何代码

只需上传源文件

获取下载链接以保存文件

使用 C# 搜索其他 Barcode 签名

“在各种文档中搜索电子签名。从一种流行的文件格式中查找签名,如下所示。”

在BARCODE中搜索PDF

(Portable Document Format)

在BARCODE中搜索DOC

(Microsoft Word Binary Format)

在BARCODE中搜索DOCX

(Office 2007+ Word Document)

在BARCODE中搜索DOCM

(Microsoft Word 2007 Marco File)

在BARCODE中搜索DOT

(Microsoft Word Template Files)

在BARCODE中搜索DOTM

(Microsoft Word 2007+ Template File)

在BARCODE中搜索DOTX

(Microsoft Word Template File )

在BARCODE中搜索ODT

(OpenDocument Text File Format)

在BARCODE中搜索OTT

(OpenDocument Standard Format)

在BARCODE中搜索RTF

(Rich Text Format)

在BARCODE中搜索XLS

(Microsoft Excel Spreadsheet (Legacy))

在BARCODE中搜索XLSX

(Open XML Workbook)

在BARCODE中搜索XLSM

(Macro-enabled Spreadsheet)

在BARCODE中搜索XLSB

(Excel Binary Workbook)

在BARCODE中搜索ODS

(OpenDocument Spreadsheet)

在BARCODE中搜索OTS

(OpenDocument Spreadsheet Template)

在BARCODE中搜索XLTX

(Excel Template)

在BARCODE中搜索XLTM

(Excel Macro-Enabled Template)

在BARCODE中搜索PPT

(Microsoft PowerPoint 97-2003)

在BARCODE中搜索PPTX

(Open XML presentation Format)

在BARCODE中搜索PPS

(PowerPoint Slide Show)

在BARCODE中搜索PPSX

(PowerPoint Slide Show)

在BARCODE中搜索ODP

(OpenDocument Presentation Format)

在BARCODE中搜索OTP

(OpenDocument Standard Format)

在BARCODE中搜索POTX

(Microsoft PowerPoint Template Presentation)

在BARCODE中搜索POTM

(Microsoft PowerPoint Template File)

在BARCODE中搜索PPTM

(Macro-enabled Presentation File)

在BARCODE中搜索PPSM

(Macro-enabled Slide Show)

在BARCODE中搜索PNG

(Portable Network Graphic)

在BARCODE中搜索JPG

(Joint Photographic Expert Group Image)

在BARCODE中搜索BMP

(Bitmap Image File)

在BARCODE中搜索GIF

(Graphical Interchange Format)

在BARCODE中搜索TIFF

(Tagged Image File Format)

在BARCODE中搜索SVG

(Scalar Vector Graphics)

在BARCODE中搜索WEBP

(Raster Web Image Format)

在BARCODE中搜索WMF

(Windows Metafile)

Back to top
 中国人