# For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/ use strict; use warnings; use utf8; use File::Slurp; use MIME::Base64; use AsposeCellsCloud::CellsApi; my $config = AsposeCellsCloud::Configuration->new( client_id => $ENV{'ProductClientId'}, client_secret => $ENV{'ProductClientSecret'}); my $instance = AsposeCellsCloud::CellsApi->new(AsposeCellsCloud::ApiClient->new( $config)); my $result =undef; my $BOOK1 = 'Book1.xlsx'; my $MYDOC = 'myDocument.xlsx'; my $PVTESTFILE = 'TestCase.xlsx'; my $TEMPFOLDER = 'PerlTest'; my $SHEET1 = 'Sheet1'; my $SHEET2 = 'Sheet2'; my $SHEET3 = 'Sheet3'; my $SHEET4 = 'Sheet4'; my $SHEET5 = 'Sheet5'; my $SHEET6 = 'Sheet6'; my $SHEET7 = 'Sheet7'; my $SHEET8 = 'Sheet8'; my $CELLNAME = 'A1'; my $RANGE = 'A1:C10'; my $CELLAREA = 'A1:C10'; my $api = get_client(); my $name = $MYDOC; # replace NULL with a proper value my $sheet_name = $SHEET2; # replace NULL with a proper value my $autoshape_number = 4; # replace NULL with a proper value my $folder = $TEMPFOLDER; # replace NULL with a proper value my $format = 'png'; ready_file('api'=> $api, 'file'=>$name ,'folder' =>$folder) ; $result = $api->cells_autoshapes_get_worksheet_autoshape(name => $name, sheet_name => $sheet_name, autoshape_number => $autoshape_number, format => $format ,folder => $folder);