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 / Convert XLSX to PDF having Restricted Permissions using C#.cs
Last active October 9, 2021 11:29
This code shows how to convert XLSX to PDF having restricted permissions using C#. For more information refer to https://kb.aspose.com/cells/net/how-to-convert-xlsx-to-pdf-having-restricted-permissions-using-c-sharp/
using Aspose.Cells;
namespace ConvertXlsxToPdfHavingRestrictedPermissionsUsingCSharp
{
class Program
{
static void Main(string[] args)
{
// Intialize license for Aspose.Cells before creation of PDF having restricted permission using C#
License license = new License();
license.SetLicense("Aspose.Cells.lic");
@aspose-com-kb
aspose-com-kb / Filter Data in Excel Table using C#.cs
Last active October 8, 2021 18:29
How to Filter Data in Excel Table using C#. For complete details on topic refer to: https://kb.aspose.com/cells/net/how-to-filter-data-in-excel-table-using-c-sharp/
using System;
using Aspose.Cells;
namespace FilterDataInExcelTable
{
class Program
{
static void Main(string[] args)
{
using Aspose.Words;
using Aspose.Words.Tables;
namespace CreateTableInWordDocumentUsingCsharp
{
class CreateTableWord
{
static void Main(string[] args)
{
// Set license before C# Word table creation
using Aspose.Words;
using Aspose.Words.Tables;
namespace CreateWordTable
{
class CreateTableInWord
{
static void Main(string[] args)
{
// Set license before creating Word table
@aspose-com-kb
aspose-com-kb / Insert Word Header and Footer using C#.cs
Last active December 31, 2021 12:59
This article can be used to Insert Word Header and Footer using C#. More details and steps can be found here https://kb.aspose.com/words/net/how-to-insert-header-and-footer-in-docx-using-c-sharp/
@aspose-com-kb
aspose-com-kb / Process Large PDF Files in C#.cs
Last active October 8, 2021 20:33
This code can be used to process large PDF files in C#. For more details please check https://kb.aspose.com/pdf/net/how-to-process-large-pdf-files-in-c-sharp/
using System;
using System.IO;
// Add reference to Aspose.PDF for .NET API
// Use following namespace to process large PDF files
using Aspose.Pdf;
namespace ProcessLargePDFFiles
{
class Program
{
using System;
using Aspose.Cells;
namespace RemoveExcelFormulaWithoutRemovingContentsInCSharp
{
class Program
{
static void Main(string[] args)
{
// Instantiate license to avoid trial version watermark
License license = new License();
using System;
using Aspose.Cells;
namespace RemoveAllExcelFormulasWithoutRemovingContentsInCSharp
{
class Program
{
static void Main(string[] args)
{
// To avoid trial version watermark first instantiate the license
License license = new License();
using System;
using Aspose.Imaging;
using Aspose.Imaging.FileFormats.Cdr;
using Aspose.Imaging.ImageOptions;
namespace CDRToPSD
{
class Program
{
static void Main(string[] args)
//Add reference to the namespace of Aspose.Cells for .NET
using Aspose.Cells;
namespace GenerateExcelFile
{
class Program
{
static void Main(string[] args)
{
//At the start, set the license before using other APIs