Skip to content

Instantly share code, notes, and snippets.

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

Aspose.com Gists aspose-com-gists

View GitHub Profile
@aspose-com-gists
aspose-com-gists / pptx-to-emf.java
Created May 7, 2025 16:30
Convert PPTX to EMF in Java
public class main
{
public static void main(String[] args)
{
// The path to the document directory.
String dataDir = "data";
//Out path
String resultPath = dataDir + "Result.emf";
// Instantiate a Presentation object that represents a presentation file. https://reference.aspose.com/slides/java/com.aspose.slides/presentation/#Presentation-java.lang.String-
Presentation presentation = new Presentation(dataDir + "test.pptx");
@aspose-com-gists
aspose-com-gists / compress-excel-file.md
Last active May 2, 2025 04:16
How to Compress Excel Files - A Complete Guide
@aspose-com-gists
aspose-com-gists / filter-blank-cells-in-excel-using-csharp.md
Last active April 29, 2025 04:55
Filter Blank and Non-Blank Cells in Excel using C#
@aspose-com-gists
aspose-com-gists / convert-latex-to-png.java
Created April 28, 2025 11:30
Convert LaTeX to PNG in Java
public class main {
public static void main(String[] args) throws Exception {
// Set up the working directory path
String myDir = "data";
// Create TeXOptions object for ObjectLaTeX.
TeXOptions options = TeXOptions.consoleAppOptions(TeXConfig.objectLaTeX());
// Set up the input working directory
options.setInputWorkingDirectory(new InputFileSystemDirectory(myDir));
// Initialize an object of the PngSaveOptions class for PNG output.
PngSaveOptions saveOptions = new PngSaveOptions();
@aspose-com-gists
aspose-com-gists / create-Iframe-embed-code.cs
Created April 26, 2025 09:53
Create IFrame Embed Code in C#
using Aspose.Html;
namespace AsposeHtmlExample
{
class Program
{
static void Main(string[] args)
{
// Create a new empty HTML document by creating an object of the HTMLDocument class.
var document = new HTMLDocument();