Learn how to create a bitmap programmatically in C# : https://blog.aspose.com/create-bitmap-in-csharp/
The following topics are covered in this article:
// Load the OBJ file using the Image class | |
com.aspose.cad.Image image = com.aspose.cad.Image.load("template.obj"); | |
// Create an object of CadRasterizationOptions class | |
com.aspose.cad.imageoptions.CadRasterizationOptions rasterizationOptions = new com.aspose.cad.imageoptions.CadRasterizationOptions(); | |
rasterizationOptions.setPageWidth(1600); | |
rasterizationOptions.setPageHeight(1600); | |
// Create an object of DxfOptions class | |
com.aspose.cad.imageoptions.DxfOptions options = new com.aspose.cad.imageoptions.DxfOptions(); |
// Load the OBJ file using the Image class | |
using (var image = Aspose.CAD.Image.Load("template.obj")) | |
{ | |
// Create an object of CadRasterizationOptions class | |
Aspose.CAD.ImageOptions.CadRasterizationOptions rasterizationOptions = new Aspose.CAD.ImageOptions.CadRasterizationOptions() | |
{ | |
PageWidth = 1600, | |
PageHeight = 1600 | |
}; |
Learn how to create a bitmap programmatically in C# : https://blog.aspose.com/create-bitmap-in-csharp/
The following topics are covered in this article:
# Create a Workbook object | |
workbook = Workbook(FileFormatType.XLSX) | |
# Get the reference of the first worksheet and add data | |
worksheet = workbook.getWorksheets().get(0) | |
# Add some sample value to cells | |
cells = worksheet.getCells() | |
cell = cells.get("A1") | |
cell.setValue(50) | |
cell = cells.get("A2") |
import jpype | |
import asposecells | |
jpype.startJVM() | |
from asposecells.api import Workbook, PivotFieldType | |
# Instantiate a Workbook object | |
workbook = Workbook() | |
# Add a new worksheet and obtain its reference |
Learn how to work with fill and stroke in SVG using C# : https://blog.aspose.com/2022/08/12/fill-and-stroke-in-svg-using-csharp/
The following topics are covered in this article:
// Load the OneNote .one file using Document class | |
Aspose.Note.Document oneSource = new Aspose.Note.Document(dataDir + "Sample1.one"); | |
// Load the destination OneNote file | |
Aspose.Note.Document oneDestination = new Aspose.Note.Document(dataDir + "Quick Notes.one"); | |
// Merge all the pages of OneNote files | |
oneDestination.Merge(oneSource.Select(page => page.Clone())); | |
// Save output PDF document |
// Load the OneNote .one file using Document class | |
com.aspose.note.Document oneSource = new com.aspose.note.Document(dataDir + "Sample1.one"); | |
// Load the destination OneNote file | |
com.aspose.note.Document oneDestination = new com.aspose.note.Document(dataDir + "Quick Notes.one"); | |
// Clone each page of the input file | |
for (com.aspose.note.Page page: oneSource) | |
{ | |
oneDestination.appendChildLast(page.deepClone()); |
using Aspose.Imaging; | |
using Aspose.Imaging.Brushes; | |
using Aspose.Imaging.FileFormats.Jpeg; | |
using Aspose.Imaging.FileFormats.Png; | |
using Aspose.Imaging.ImageOptions; | |
using Aspose.Imaging.Sources; | |
using System.IO; | |
string templatesFolder = @"c:\Users\USER\Downloads\templates\"; | |
string dataDir = templatesFolder; |
using Aspose.Imaging; | |
using Aspose.Imaging.Brushes; | |
using Aspose.Imaging.FileFormats.Jpeg; | |
using System.IO; | |
string templatesFolder = @"c:\Users\USER\Downloads\templates\"; | |
string dataDir = templatesFolder; | |
// Load an existing JPG image | |
using (Image image = Image.Load(dataDir + "template.tiff")) |