This file contains 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 System.IO; | |
using Aspose.Page; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
new License().SetLicense("License.lic"); | |
// Load XPS document | |
Aspose.Page.XPS.XpsDocument document = new Aspose.Page.XPS.XpsDocument("input.xps", new Aspose.Page.XPS.XpsLoadOptions()); |
This file contains 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
from aspose.page import * | |
from aspose.page.eps import * | |
from aspose.page.eps.device import * | |
from aspose.page.eps.xmp import * | |
import aspose.pydrawing | |
#Create an input stream for EPS file | |
with open("input.eps", "rb",) as input_eps_stream: | |
#Initialize PsDocument object with input stream | |
doc = PsDocument(input_eps_stream) |
This file contains 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.cells.*; | |
public class Main | |
{ | |
public static void main(String[] args) throws Exception // Freeze panes in Excel | |
{ | |
// Set the licenses | |
new License().setLicense("License.lic"); | |
// Instantiate a new Workbook. | |
Workbook workbook = new Workbook("Sample.xlsx"); |
This file contains 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.Cells; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
new License().SetLicense("License.lic"); | |
// Instantiate a new Workbook. | |
Workbook workbook = new Workbook("Sample.xlsx"); |
This file contains 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
var aspose = aspose || {}; | |
aspose.cells = require("aspose.cells"); | |
// Set the license | |
new aspose.cells.License().setLicense("License.lic"); | |
// Instantiate a Workbook object | |
let wb = new aspose.cells.Workbook(); | |
let sheet = wb.getWorksheets().get(0); |
This file contains 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.page | |
from aspose.page.xps import * | |
from aspose.page.xps.presentation.pdf import * | |
with open("mergedXPSfilespy.pdf", "wb") as pdf_stream: | |
# Initialize XPS input stream | |
with open("input.xps", "rb") as xps_stream: | |
# Load XPS document form the stream | |
document = XpsDocument(xps_stream, XpsLoadOptions()) | |
This file contains 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.cells.*; | |
public class Main | |
{ | |
public static void main(String[] args) throws Exception // Sparklines in Excel | |
{ | |
// Set the licenses | |
new License().setLicense("License.lic"); | |
// Create a Workbook object | |
Workbook wb = new Workbook(); |
This file contains 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.page | |
from aspose.page.eps import * | |
from aspose.page.eps.device import * | |
from aspose.page.eps.xmp import * | |
# Create default options | |
options = PsSaveOptions() | |
# Save image to EPS format | |
PsDocument.save_image_as_eps("sample_image.jpg", "output1.eps", options) |
This file contains 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.page | |
from aspose.page import * | |
from aspose.page.eps.device import * | |
from aspose.page.eps import * | |
import io | |
#Create output stream for PostScript document | |
with open("CreateEPS.ps", "wb") as out_ps_stream: | |
#Create save options |
This file contains 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 jpype | |
import asposecells as cells | |
jpype.startJVM() | |
from asposecells.api import License, Workbook, CellArea, SparklineType, Color | |
# Instantiate a license | |
license = License() | |
license.setLicense("License.lic") | |
# Create a Workbook object |
NewerOlder