Skip to content

Instantly share code, notes, and snippets.

View aspose-com-kb's full-sized avatar

aspose-com-kb

View GitHub Profile
@aspose-com-kb
aspose-com-kb / Generate QR Code in C#.cs
Last active July 5, 2021 11:38
Generate QR Code in C#. Generate QR Barcode in C#. This code is explained in the following topic https://kb.aspose.com/barcode/net/how-to-generate-qr-code-in-c-sharp.
using System;
//Add reference to Aspose.BarCode API
//Use following two namespaces to run QR generator code
using Aspose.BarCode;
using Aspose.BarCode.Generation;
namespace GenerateQRCode
{
class Program
{
@aspose-com-kb
aspose-com-kb / create word document in c# without interop.cs
Last active July 5, 2021 11:39
Create Word Document in C# without Interop. The code in this gist along with how to use this code is explained in the topic https://kb.aspose.com/words/net/how-to-create-word-document-in-c-sharp-without-interop/.
using System;
//Add reference to Aspose.Words for .NET API
//Use following namespaces to Word Document generator code
using Aspose.Words;
namespace CreateWordDocumentWithoutInterop
{
class Program
{
static void Main(string[] args)
@aspose-com-kb
aspose-com-kb / Export Large Excel File to CSV in C#.cs
Last active July 5, 2021 11:39
Export Large Excel File to CSV in C#. In order to better understand how you can export large Excel file in C# see our Knowledge Base topic:https://kb.aspose.com/cells/net/how-to-export-large-excel-file-to-csv-in-c-sharp/
using System;
//Add reference to Aspose.Cells for .NET API
//Use following namespaces to Export excel file to CSV
using Aspose.Cells;
namespace ExportLargeExcelFiletoCSV
{
class Program
{
static void Main(string[] args)
@aspose-com-kb
aspose-com-kb / Export Multiple Sheets of a Large Excel File to Separate CSV Files in C#.cs
Last active July 5, 2021 11:40
Export Multiple Sheets of a Large Excel File to Separate CSV Files in C#. To learn more check our step by step guide in the following topic: https://kb.aspose.com/cells/net/how-to-export-large-excel-file-to-csv-in-c-sharp/.
using System;
//Add reference to Aspose.Cells for .NET API
//Use following namespaces to Export excel file to CSV
using Aspose.Cells;
namespace ExportLargeExcelFiletoCSV
{
class Program
{
static void Main(string[] args)
@aspose-com-kb
aspose-com-kb / Flatten All of the PDF Form Fields in C#.cs
Last active July 5, 2021 11:41
Flatten All of the PDF Form Fields in C#. The details of this gist can be found in this topic https://kb.aspose.com/pdf/net/how-to-flatten-pdf-form-fields-in-csharp/.
using System;
//Add Aspose.Pdf for .NET package reference
//Use following namespaces to flatten PDF form Fields
using Aspose.Pdf;
using Aspose.Pdf.Facades;
namespace FlattenPDFFormFields
{
class Program
@aspose-com-kb
aspose-com-kb / Flatten a Single PDF Form Field in C#.cs
Last active July 5, 2021 11:41
Flatten a Single PDF Form Field in C#. Select a particular form field to flatten by field name using C#. Check following topic for step by step how to on this topic https://kb.aspose.com/pdf/net/how-to-flatten-pdf-form-fields-in-csharp/.
using System;
//Add Aspose.Pdf for .NET package reference
//Use following namespaces to flatten PDF form Fields
using Aspose.Pdf;
using Aspose.Pdf.Facades;
namespace FlattenPDFFormFields
{
class Program
@aspose-com-kb
aspose-com-kb / Read Text From Image Using C#.cs
Last active July 5, 2021 11:42
Read Text From Image Using C#. Read Characters from Image Using C#. Find step by step guide about this code here https://kb.aspose.com/ocr/net/how-to-extract-text-from-image-in-csharp/.
using System;
using System.IO;
//Add Aspose.OCR for .NET package reference
//Use following namespaces to Extract Text from Image
using Aspose.OCR;
namespace ExtractTextFromImage
{
class Program
@aspose-com-kb
aspose-com-kb / Secure PowerPoint Presentation using Password Encryption in C#.cs
Last active July 5, 2021 11:42
Secure PowerPoint Presentation using Password Encryption in C#. The step by step guide on this gist is here https://kb.aspose.com/slides/net/how-to-secure-powerpoint-presentation-in-csharp-net/.
using System;
//Install Aspose.Slides for .NET NuGet package
//and then utilize the following namespace to
//secure PowerPoint presentation
using Aspose.Slides;
using Aspose.Slides.Export;
namespace SecurePowerPointPresentation
{
class Program
@aspose-com-kb
aspose-com-kb / Convert OTG Graphics Format to PDF in C#.cs
Last active July 9, 2021 06:43
Convert OTG Graphics Format to PDF in C#. OTG to PDF Converter C#. See Details: https://kb.aspose.com/imaging/net/how-to-convert-otg-to-pdf-in-c-sharp/
using System;
//Add Aspose.Imaging for .NET package reference
//Use following namespaces to convert OTG to PDF format
using Aspose.Imaging;
using Aspose.Imaging.ImageOptions;
using Aspose.Imaging.FileFormats.Pdf;
namespace ConvertOTGToPDF
{
class Program
@aspose-com-kb
aspose-com-kb / Send Email Using Gmail SMTP C#.cs
Last active August 16, 2021 21:44
Send Mail Using SMTP Server in C#. Send Email Using Gmail SMTP C#. See Details: https://kb.aspose.com/email/net/how-to-send-email-in-c-sharp/
using System;
//Add Aspose.Email for .NET package reference
//Use following namespaces to convert OTG to PDF format
using Aspose.Email;
using Aspose.Email.Clients;
using Aspose.Email.Clients.Smtp;
namespace SendEmailUsingSMTPServer
{