1. Products
  2.   Diagram
  3.   Perl
  4.   Aspose.Diagram Cloud SDK for Perl

Aspose.Diagram Cloud SDK for Perl

 
 

Perl API to Generate, Edit & Export Visio Diagrams

A Powerful Perl Diagraming Library to Create, Edit, Load, Manipulate and Export Microsoft Visio Diagrams Formats including VSD, VSDX, VSS, VSSX, VST, VSTM & many more programmatically.

Diagrams are a fundamental tool for visualizing complex data and processes, and they play a significant role in various industries such as engineering, business, and education. When it comes to working with diagrams in Perl, you need a reliable and versatile solution that can handle a wide range of diagram formats and offer powerful manipulation capabilities. This is where Aspose.Diagram Cloud SDK for Perl comes into play. It is a popular diagram manipulation and conversion API that supports various programming languages, including Perl, enabling software developers to seamlessly integrate diagram functionality into their Perl applications.

Aspose.Diagram Cloud SDK for Perl is part of the Aspose Cloud platform, which provides a suite of cloud-based APIs for document processing and manipulation. The SDK is specifically designed for working with Microsoft Visio diagrams, offering a wide array of functionalities that simplify the management of diagram files. It is a comprehensive diagram manipulation API that allows Perl developers to create, edit, convert, and render diagrams. It supports a wide range of diagram formats, including Visio, VSD, VSDX, VSS, VSSX, VTX, VDX, VDW, VST, VSTX and VSX, making it a versatile tool for anyone working with diagrams.

Aspose.Diagram Cloud SDK for Perl simplifies the process of diagram creation, manipulation, and conversion, making it an essential tool for developers who work with Visio diagrams in their Perl applications. It is compatible with various platforms, including Windows, Linux, and macOS, providing flexibility for developers. Its cross-platform compatibility and extensive feature set make it a valuable addition to your development toolbox. So why wait? Dive into the world of Aspose.Diagram for Perl today and unlock the full potential of diagram manipulation in your applications. Get started now and elevate your software to the next level.

Previous Next

Getting Started with Aspose.Diagram Cloud SDK for Perl

The recommend way to install Aspose.Diagram Cloud SDK for Perl is using CPAN. Please use the following command for a smooth installation.

Install Aspose.Diagram Cloud SDK for Perl via CPAN

cpan AsposeDiagramCloud 
You can also download it directly from Aspose product page.

Generate New Visio Diagram via Perl

Aspose.Diagram Cloud SDK for Perl enables Software developers to create new diagrams from scratch inside their Perl applications. The SDK provides various important functions for handling Visio diagrams, such as adding shapes to a diagram, using connectors, inserting text & other elements and various attributes to craft the perfect diagram with ease. The SDK makes it easy for developers to design custom diagrams that suit their specific needs. The following example demonstrates how software developers can create new VDX diagram inside Perl applications.

How to Create New VDX Diagram via Perl API?

	# Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
    my $config = AsposeDiagramCloud::Configuration->new(app_sid => 'MY_CLIENT_ID', app_key => 'MY_CLIENT_SECRET');
    my $client = AsposeDiagramCloud::ApiClient->new( $config);
    
	my $diagram_api = AsposeDiagramCloud::DiagramApi->new($client);
	
	my $result = $diagram_api->diagram_name_put(name => 'sample.vdx', folder => 'output', is_overwrite => 'true', storage => 'My_Storage_Name');

Load & Convert Visio Diagrams inside Perl Apps

Aspose.Diagram Cloud SDK for Perl has provided complete support for loading and converting Microsoft Visio diagrams into various other supported file formats. The SDK supports the conversion of Visio diagrams to other popular file formats, such as PDF, XPS, SWF, XAML BMP, JPEG, TIFF, EMF, SVG, PNG, HTML, and more with just a couple of lines of Perl code. This ensures compatibility with various applications and makes it easier to share diagrams. The following example demonstrates how software developers can convert an existing Visio diagram to PDF file using Perl code.

How to Convert a Visio Diagram to PDF File using Perl API?

my $request =  AsposeDiagramCloud::Object::SaveOptionsRequest->new();
    $request->{file_name}="FileSaveAs.pdf";
    $request->{folder}=$TEMPFOLDER;
    my $result = $diagram_api->diagram_name_save_as_post(name => $file_name, folder => $TEMPFOLDER,save_options_request => $request,is_overwrite => $is_overwrite, storage => $storage);
    printf $result;
    printf "\n";

Render & Extract Data form Visio Diagram via Perl

Software professional can render diagrams in a visually appealing way using Aspose.Diagram Cloud SDK for Perl. Whether users need to display diagrams in their applications or export them to other formats, Aspose.Diagram ensures high-quality rendering. Moreover, it has included complete support for loading and extracting data from Visio diagrams inside Perl applications. The SDK enables you to access text, metadata, and other information within the diagram, making it an ideal choice for applications that require data analysis from Visio diagrams.

Insert & Manage Shapes in Visio Files via Perl

Aspose.Diagram Cloud SDK for Perl gives software developers the capability to add various types of shapes into Visio diagrams inside their Perl applications. There are several important features part of the library that allows Developers to add, read, manipulate, or customize shapes in a Visio diagram. It supports inserting new shapes, retrieving and editing existing shape, converting Visio shape to image formats, copying existing shape, Gluing shapes, calculate Pin Values, setting Size of a shape, apply theme to shape, grouping shapes and many more.