Skip to content

Instantly share code, notes, and snippets.

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

aspose-com-kb

View GitHub Profile
using System;
//Add Aspose.Diagram for .NET package reference
//Use following namespaces to convert VSX to HTML format
using Aspose.Diagram;
namespace ConvertVSXtoHTML
{
class Program
{
@aspose-com-kb
aspose-com-kb / Extract Microsoft Project Metadata Information from .MPP File in C#.cs
Last active July 15, 2021 09:55
Extract Microsoft Project Metadata Information from .MPP File in C#. The step by step explanation can be found here: https://kb.aspose.com/tasks/net/how-to-extract-microsoft-project-file-metadata-in-c-sharp/
using System;
//Add reference to Aspose.Tasks for .NET API
//Use following namespaces to extract metadata from Micorosoft Project file
using Aspose.Tasks;
namespace ExtractMicrosoftProjectFileMetaData
{
class Program
{
static void Main(string[] args)
@aspose-com-kb
aspose-com-kb / Convert OneNote (.one) File to PDF in C#.cs
Last active July 15, 2021 09:55
Convert OneNote (.one) File to PDF in C#. The details can be checked in this howto: https://kb.aspose.com/note/net/how-to-convert-one-file-to-pdf-in-c-sharp/
using System;
//Add reference to Aspose.Note for .NET API
//Use following namespaces to convert OneNote (.One) file to PDF
using Aspose.Note;
using Aspose.Note.Saving;
using Aspose.Note.Saving.Pdf;
namespace ConvertOneNoteFileToPDF
{
class Program
@aspose-com-kb
aspose-com-kb / Extract Text from DXF File and Save as TXT in C#.cs
Last active July 15, 2021 09:56
Extract Text from DXF File and Save as TXT in C#. See the details about this sample in this topic: https://kb.aspose.com/cad/net/how-to-extract-text-from-dxf-file-in-c-sharp/
using System;
using System.IO;
//Add reference to Aspose.CAD for .NET API
//Use following namespaces to extract text from DXF file
using Aspose.CAD;
using Aspose.CAD.FileFormats.Cad;
using Aspose.CAD.FileFormats.Cad.CadObjects;
using Aspose.CAD.FileFormats.Cad.CadConsts;
namespace ExtractTextFromDXFFile
@aspose-com-kb
aspose-com-kb / Convert Markdown to HTML to XPS using C#.cs
Last active December 27, 2021 02:24
Convert Markdown to HTML to XPS using C#. The code and steps are elaborated in this topic: https://kb.aspose.com/html/net/how-to-convert-markdown-to-xps-in-c-sharp/
using System;
//Add reference to Aspose.HTML for .NET API
//Use following namespaces to convert markdown to HTML to XPS
using Aspose.Html;
using Aspose.Html.Converters;
using Aspose.Html.Rendering.Xps;
using Aspose.Html.Drawing;
namespace ConvertMDtoHTMLtoXPS
@aspose-com-kb
aspose-com-kb / Convert FBX 3D File Format to Wavefront OBJ 3D File Format in C#.cs
Last active July 29, 2021 13:33
Convert FBX 3D File Format to Wavefront OBJ 3D File Format in C#: Learn how to use this code in this howto tutorial https://kb.aspose.com/3d/net/how-to-convert-fbx-to-obj-in-c-sharp/
using System;
//Add reference to Aspose.3D for .NET API
//Use following namespaces to convert FBX File Format to OBJ Format
using Aspose.ThreeD;
namespace ConvertFBXToOBJFileFormat
{
class Program
{
static void Main(string[] args)
@aspose-com-kb
aspose-com-kb / Convert GPX File to KMZ File Format in C#.cs
Last active July 29, 2021 13:35
Convert GPX File to KMZ File Format in C#. To better understand this code, checkout our how to tutorial: https://kb.aspose.com/gis/net/how-to-convert-gpx-to-kmz-in-c-sharp/
using System;
//Add reference to Aspose.GIS for .NET & Aspose.Zip for .NET APIs
//Use following namespaces to convert GPX file format to KMZ format
using Aspose.Gis;
using Aspose.Zip;
namespace ConvertGPXToKMZFileFormat
{
class Program
{
@aspose-com-kb
aspose-com-kb / Extract Zip File in C#.cs
Last active August 5, 2021 12:27
Extract Zip File in C#. The detailed steps of extracting Zip file in C# can be found here: https://kb.aspose.com/zip/net/how-to-extract-zip-file-in-c-sharp/
using System;
using System.IO;
using System.Text;
//Add reference to Aspose.Zip for .NET API
//Use following namespace to extract zip file
using Aspose.Zip;
namespace ExtractZipFile
{
class Program
@aspose-com-kb
aspose-com-kb / Convert EPS to TIFF in C#.cs
Last active July 4, 2024 03:52
Convert EPS to TIFF in C#. The steps of converting EPS to TIFF in C# are given in the following topic: https://kb.aspose.com/page/net/how-to-convert-eps-to-tiff-in-c-sharp/
using System;
using System.IO;
using System.Drawing.Imaging;
//Add reference to Aspose.Page for .NET API
//Use following namespace to convert EPS to TIFF file type
using Aspose.Page;
using Aspose.Page.EPS;
using Aspose.Page.EPS.Device;
namespace ConvertEPSToTIFF
@aspose-com-kb
aspose-com-kb / Add Image Watermark to PSD in C#.cs
Last active August 5, 2021 12:35
Add Image Watermark to PSD in C#: The steps about adding image watermark to PSD in C# are elaborated in this how-to topic: https://kb.aspose.com/psd/net/how-to-add-image-watermark-to-psd-in-c-sharp/
using System;
using System.IO;
//Add reference to Aspose.PSD for .NET API
//Use following namespaces to add image watermark to PSD file
using Aspose.PSD;
using Aspose.PSD.FileFormats.Psd;
using Aspose.PSD.FileFormats.Psd.Layers;
using Aspose.PSD.Brushes;
using Aspose.PSD.ImageOptions;