This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create an instance of the Scene class | |
com.aspose.threed.Scene scene = new com.aspose.threed.Scene(); | |
// Load the input OBJ file | |
scene.open("input.obj"); | |
// Initialize save options | |
var glbSaveOptions = new com.aspose.threed.GltfSaveOptions(com.aspose.threed.FileContentType.BINARY); | |
// Save GLB file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create an instance of the Scene class | |
Aspose.ThreeD.Scene scene = new Aspose.ThreeD.Scene(); | |
// Load the input OBJ file | |
scene.Open("input.obj"); | |
// Initialize save options | |
var glbSaveOptions = new Aspose.ThreeD.Formats.GltfSaveOptions(Aspose.ThreeD.FileContentType.Binary); | |
// Save GLB file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import aspose.barcode as barcode | |
from aspose.barcode import * | |
from aspose.pydrawing import Color | |
# Apply license | |
license = barcode.License() | |
license.set_license("license.lic") | |
# Create a QR code generator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.aspose.barcode.License; | |
import com.aspose.barcode.generation.*; | |
public class SetBarcodeChecksum { | |
public static void main(String[] args) { | |
try { | |
// Load Aspose.BarCode license | |
License lic = new License(); | |
lic.setLicense("License.lic"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Aspose.BarCode; | |
using Aspose.BarCode.Generation; | |
// Load Aspose.BarCode license | |
License lic = new License(); | |
lic.SetLicense("License.lic"); | |
// Instantiate barcode object and set Code39FullASCII encoding | |
BarcodeGenerator generator = new BarcodeGenerator( | |
EncodeTypes.Code39FullASCII, "Electronics Item 12345"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.aspose.imaging.Image; | |
import com.aspose.imaging.License; | |
import com.aspose.imaging.fileformats.eps.EpsImage; | |
import com.aspose.imaging.imageoptions.PdfOptions; | |
public class DocxToJson { | |
public static void main(String[] args) { | |
try { | |
// Activate Aspose.Imaging license | |
License license = new License(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Aspose.Words.License().SetLicense("license.lic"); | |
new Aspose.Cells.License().SetLicense("license.lic"); | |
// Load Word document | |
Aspose.Words.Document doc = new Aspose.Words.Document("input.docx"); | |
// Save document in HTML format | |
doc.Save("html_output.html", Aspose.Words.SaveFormat.Html); | |
// Load the HTML file in an instance of Aspose.Cells.Workbook class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.aspose.font.*; // Aspose.Font classes | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
public class TtfToWoff { | |
public static void main(String[] args) { | |
try { | |
// Load Aspose.Font license | |
License lic = new License(); | |
lic.setLicense("License.lic"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Aspose.Font namespaces | |
using Aspose.Font; | |
using Aspose.Font.Sources; | |
// Load Aspose.Font license | |
License lic = new License(); | |
lic.SetLicense("License.lic"); | |
// Open ttf font | |
string fontPath = "Geneva.ttf"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.aspose.font.FileSystemStreamSource; | |
import com.aspose.font.Font; | |
import com.aspose.font.FontDefinition; | |
import com.aspose.font.FontFileDefinition; | |
import com.aspose.font.FontType; | |
import com.aspose.font.License; | |
import com.aspose.font.TtfFont; | |
import javax.imageio.ImageIO; |
NewerOlder