Add QR QR-codes to DOC File in C#

Sign your DOC files using QR QR-code. Manipulate signature properties and set up advanced signing options within documents that suit your needs.


Download Free Trial

About GroupDocs.Signature for .NET API

GroupDocs.Signature for .NET is a native .NET API to electronically sign digital documents using various signature types such as text, image, barcode, stamp, form-field, QR-code and metadata. Users can add, edit, verify, delete and search digital signatures within PDF, Microsoft Word, Excel worksheets, PowerPoint presentations, Adobe Photoshop, metafiles and image file formats with additional support for customizing signature properties as needed.

How to Generate Qr QR-code for DOC file in C#

GroupDocs.Signature makes it easy for .NET developers to add Qr barcodes to DOC files within their applications by implementing a few easy steps.

  • Create new instance of Signature class and pass source DOC document path as a constructor parameter.
  • Instantiate the QrCodeSignOptions object with required text and set EncodeType property to QR.
  • Call Sign method of Signature class and pass output DOC file name with QrCodeSignOptions to it.
  • Analyze SignResult result to check newly created signatures if needed.

System Requirements

GroupDocs.Signature for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.

  • Operating Systems: Microsoft Windows, Linux, MacOS
  • Development Environments: Visual Studio, Xamarin, MonoDevelop
  • Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
  • Download the latest version of GroupDocs.Signature for .NET from NuGet

using (Signature signature = new Signature("sample.doc"))
{
    // Initialize qr-code options with predefined text
    QrCodeSignOptions options = new QrCodeSignOptions("JohnSmith")
    {
        // setup QRCode encoding type
        EncodeType = QrCodeTypes.QR,
        
        // set signature position
        Left = 50,
        Top = 150,
        Width = 200,
        Height = 50
    };

    // Sign DOC file and save result 
    signature.Sign("signed.doc", options);
}

Live Demos - Online App to Generate Qr QR-code Signatures

Add Qr qr-codes to DOC files right now by visiting GroupDocs.Signature Live Demos website.
The live demo has the following benefits

No need to download API

No need to write any code

Just upload the source file

Get download link to save the file

About QR QR-code

QR Code (abbreviated from Quick Response Code) is the trademark for a type of matrix barcode (or two-dimensional barcode). It is most popular and widely used type of two-dimensional code. In practice, QR codes often contain data for a locator, identifier, or tracker that points to a website or application.

Signing Other File Formats with Qr QR-code using C#

.NET qr-code signatures management API for documents and images. Add qr-code signatures to some of the popular file formats as stated below.

Add e-Signatures to PDF

(Adobe Portable Document Format)

Add e-Signatures to DOC

(Microsoft Word Document)

Add e-Signatures to DOCM

(Microsoft Word Macro-Enabled Document)

Add e-Signatures to DOCX

(Microsoft Word Open XML Document)

Add e-Signatures to DOT

(Microsoft Word Document Template)

Add e-Signatures to DOTX

(Word Open XML Document Template)

Add e-Signatures to DOTM

(Microsoft Word Macro-Enabled Template)

Add e-Signatures to ODT

(Open Document Text)

Add e-Signatures to OTT

(OpenDocument Text Template)

Add e-Signatures to XLS

(Microsoft Excel Binary File Format)

Add e-Signatures to XLSX

(Microsoft Excel Open XML Spreadsheet)

Add e-Signatures to XLSM

(Microsoft Excel Macro-Enabled Spreadsheet)

Add e-Signatures to XLSB

(Microsoft Excel Binary Worksheet)

Add e-Signatures to XLTX

(Microsoft Excel template)

Add e-Signatures to XLTM

(Microsoft Excel macro-enabled template)

Add e-Signatures to ODS

(Open Document Spreadsheet)

Add e-Signatures to OTS

(OpenDocument Spreadsheet Template)

Add e-Signatures to PPT

(PowerPoint Presentation)

Add e-Signatures to PPTX

(PowerPoint Open XML Presentation)

Add e-Signatures to PPS

(Microsoft PowerPoint 97-2003 Slide Show)

Add e-Signatures to PPSX

(PowerPoint Open XML Slide Show)

Add e-Signatures to ODP

(OpenDocument Presentation)

Add e-Signatures to OTP

(OpenDocument Presentation Template)

Add e-Signatures to TIF

(Tagged Image File Format)

Add e-Signatures to GIF

(Graphics Interchange Format)

Add e-Signatures to PNG

(Portable Network Graphic)

Add e-Signatures to BMP

(Bitmap File Format)

Add e-Signatures to CDR

(CorelDraw Vector Graphic Drawing)

Add e-Signatures to SVG

(Scalable Vector Graphics)

Add e-Signatures to PSD

(Adobe Photoshop Document)

Add e-Signatures to WMF

(Windows Metafile)

Add e-Signatures to CMX

(Corel Metafile eXchange Image)

Add e-Signatures to PPSM

(Microsoft PowerPoint Macro-Enabled Slide Show)

Back to top
 English