@@ -2440,6 +2440,35 @@ public interface IPdfApi : IApiAccessor
2440
2440
/// <returns>ApiResponse of ImagesResponse</returns>
2441
2441
ApiResponse<ImagesResponse> GetImagesWithHttpInfo (string name, int? pageNumber, string storage = null, string folder = null);
2442
2442
/// <summary>
2443
+ /// Extract SVG images from document page.
2444
+ /// </summary>
2445
+ /// <remarks>
2446
+ ///
2447
+ /// </remarks>
2448
+ /// <exception cref="Aspose.Pdf.Cloud.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
2449
+ /// <param name="name">The document name.</param>
2450
+ /// <param name="pageNumber">The page number.</param>
2451
+ /// <param name="storage">The document storage. (optional)</param>
2452
+ /// <param name="folder">The document folder. (optional)</param>
2453
+ /// <param name="passBase64">The password (Base64). (optional)</param>
2454
+ /// <returns>SvgImages</returns>
2455
+ SvgImages GetImagesExtractSvg (string name, int? pageNumber, string storage = null, string folder = null, string passBase64 = null);
2456
+
2457
+ /// <summary>
2458
+ /// Extract SVG images from document page.
2459
+ /// </summary>
2460
+ /// <remarks>
2461
+ ///
2462
+ /// </remarks>
2463
+ /// <exception cref="Aspose.Pdf.Cloud.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
2464
+ /// <param name="name">The document name.</param>
2465
+ /// <param name="pageNumber">The page number.</param>
2466
+ /// <param name="storage">The document storage. (optional)</param>
2467
+ /// <param name="folder">The document folder. (optional)</param>
2468
+ /// <param name="passBase64">The password (Base64). (optional)</param>
2469
+ /// <returns>ApiResponse of SvgImages</returns>
2470
+ ApiResponse<SvgImages> GetImagesExtractSvgWithHttpInfo (string name, int? pageNumber, string storage = null, string folder = null, string passBase64 = null);
2471
+ /// <summary>
2443
2472
/// Update fields from FDF file in storage.
2444
2473
/// </summary>
2445
2474
/// <remarks>
@@ -13271,6 +13300,35 @@ public interface IPdfApi : IApiAccessor
13271
13300
/// <returns>Task of ApiResponse (ImagesResponse)</returns>
13272
13301
System.Threading.Tasks.Task<ApiResponse<ImagesResponse>> GetImagesAsyncWithHttpInfo (string name, int? pageNumber, string storage = null, string folder = null);
13273
13302
/// <summary>
13303
+ /// Extract SVG images from document page.
13304
+ /// </summary>
13305
+ /// <remarks>
13306
+ ///
13307
+ /// </remarks>
13308
+ /// <exception cref="Aspose.Pdf.Cloud.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
13309
+ /// <param name="name">The document name.</param>
13310
+ /// <param name="pageNumber">The page number.</param>
13311
+ /// <param name="storage">The document storage. (optional)</param>
13312
+ /// <param name="folder">The document folder. (optional)</param>
13313
+ /// <param name="passBase64">The password (Base64). (optional)</param>
13314
+ /// <returns>Task of SvgImages</returns>
13315
+ System.Threading.Tasks.Task<SvgImages> GetImagesExtractSvgAsync (string name, int? pageNumber, string storage = null, string folder = null, string passBase64 = null);
13316
+
13317
+ /// <summary>
13318
+ /// Extract SVG images from document page.
13319
+ /// </summary>
13320
+ /// <remarks>
13321
+ ///
13322
+ /// </remarks>
13323
+ /// <exception cref="Aspose.Pdf.Cloud.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
13324
+ /// <param name="name">The document name.</param>
13325
+ /// <param name="pageNumber">The page number.</param>
13326
+ /// <param name="storage">The document storage. (optional)</param>
13327
+ /// <param name="folder">The document folder. (optional)</param>
13328
+ /// <param name="passBase64">The password (Base64). (optional)</param>
13329
+ /// <returns>Task of ApiResponse (SvgImages)</returns>
13330
+ System.Threading.Tasks.Task<ApiResponse<SvgImages>> GetImagesExtractSvgAsyncWithHttpInfo (string name, int? pageNumber, string storage = null, string folder = null, string passBase64 = null);
13331
+ /// <summary>
13274
13332
/// Update fields from FDF file in storage.
13275
13333
/// </summary>
13276
13334
/// <remarks>
@@ -35514,6 +35572,168 @@ public async System.Threading.Tasks.Task<ApiResponse<ImagesResponse>> GetImagesA
35514
35572
(ImagesResponse) ApiClient.Deserialize(localVarResponse, typeof(ImagesResponse)));
35515
35573
}
35516
35574
35575
+ /// Extract SVG images from document page.
35576
+ /// </summary>
35577
+ /// <exception cref="Aspose.Pdf.Cloud.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
35578
+ /// <param name="name">The document name.</param>
35579
+ /// <param name="pageNumber">The page number.</param>
35580
+ /// <param name="storage">The document storage. (optional)</param>
35581
+ /// <param name="folder">The document folder. (optional)</param>
35582
+ /// <param name="passBase64">The password (Base64). (optional)</param>
35583
+ /// <returns>SvgImages</returns>
35584
+ public SvgImages GetImagesExtractSvg (string name, int? pageNumber, string storage = null, string folder = null, string passBase64 = null)
35585
+ {
35586
+ ApiResponse<SvgImages> localVarResponse = GetImagesExtractSvgWithHttpInfo(name, pageNumber, storage, folder, passBase64);
35587
+ return localVarResponse.Data;
35588
+ }
35589
+
35590
+ /// <summary>
35591
+ /// Extract SVG images from document page.
35592
+ /// </summary>
35593
+ /// <exception cref="Aspose.Pdf.Cloud.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
35594
+ /// <param name="name">The document name.</param>
35595
+ /// <param name="pageNumber">The page number.</param>
35596
+ /// <param name="storage">The document storage. (optional)</param>
35597
+ /// <param name="folder">The document folder. (optional)</param>
35598
+ /// <param name="passBase64">The password (Base64). (optional)</param>
35599
+ /// <returns>ApiResponse of SvgImages</returns>
35600
+ public ApiResponse< SvgImages > GetImagesExtractSvgWithHttpInfo (string name, int? pageNumber, string storage = null, string folder = null, string passBase64 = null)
35601
+ {
35602
+ // verify the required parameter 'name' is set
35603
+ if (name == null)
35604
+ throw new ApiException(400, "Missing required parameter 'name' when calling PdfApi->GetImagesExtractSvg");
35605
+ // verify the required parameter 'pageNumber' is set
35606
+ if (pageNumber == null)
35607
+ throw new ApiException(400, "Missing required parameter 'pageNumber' when calling PdfApi->GetImagesExtractSvg");
35608
+
35609
+ var localVarPath = "/pdf/{name}/pages/{pageNumber}/images/extract/svg";
35610
+ var localVarPathParams = new Dictionary<String, String>();
35611
+ var localVarQueryParams = new List<KeyValuePair<String, String>>();
35612
+ var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
35613
+ var localVarFormParams = new Dictionary<String, String>();
35614
+ var localVarFileParams = new Dictionary<String, FileParameter>();
35615
+ Object localVarPostBody = null;
35616
+
35617
+ // to determine the Content-Type header
35618
+ String[] localVarHttpContentTypes = new String[] {
35619
+ "application/json"
35620
+ };
35621
+ String localVarHttpContentType = ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
35622
+
35623
+ // to determine the Accept header
35624
+ String[] localVarHttpHeaderAccepts = new String[] {
35625
+ "application/json"
35626
+ };
35627
+ String localVarHttpHeaderAccept = ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
35628
+ if (localVarHttpHeaderAccept != null)
35629
+ localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
35630
+
35631
+ if (name != null) localVarPathParams.Add("name", ApiClient.ParameterToString(name)); // path parameter
35632
+ if (pageNumber != null) localVarPathParams.Add("pageNumber", ApiClient.ParameterToString(pageNumber)); // path parameter
35633
+ if (storage != null) localVarQueryParams.Add("storage", ApiClient.ParameterToString(storage)); // query parameter
35634
+ if (folder != null) localVarQueryParams.Add("folder", ApiClient.ParameterToString(folder)); // query parameter
35635
+ if (passBase64 != null) localVarQueryParams.Add("passBase64", ApiClient.ParameterToString(passBase64)); // query parameter
35636
+
35637
+ // make the HTTP request
35638
+ IRestResponse localVarResponse = (IRestResponse) ApiClient.CallApi(localVarPath,
35639
+ Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
35640
+ localVarPathParams, localVarHttpContentType);
35641
+
35642
+ int localVarStatusCode = (int) localVarResponse.StatusCode;
35643
+
35644
+ if (ExceptionFactory != null)
35645
+ {
35646
+ Exception exception = ExceptionFactory("GetImagesExtractSvg", localVarResponse);
35647
+ if (exception != null) throw exception;
35648
+ }
35649
+
35650
+ return new ApiResponse<SvgImages>(localVarStatusCode,
35651
+ localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
35652
+ (SvgImages) ApiClient.Deserialize(localVarResponse, typeof(SvgImages)));
35653
+ }
35654
+
35655
+ /// <summary>
35656
+ /// Extract SVG images from document page.
35657
+ /// </summary>
35658
+ /// <exception cref="Aspose.Pdf.Cloud.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
35659
+ /// <param name="name">The document name.</param>
35660
+ /// <param name="pageNumber">The page number.</param>
35661
+ /// <param name="storage">The document storage. (optional)</param>
35662
+ /// <param name="folder">The document folder. (optional)</param>
35663
+ /// <param name="passBase64">The password (Base64). (optional)</param>
35664
+ /// <returns>Task of SvgImages</returns>
35665
+ public async System.Threading.Tasks.Task<SvgImages> GetImagesExtractSvgAsync (string name, int? pageNumber, string storage = null, string folder = null, string passBase64 = null)
35666
+ {
35667
+ ApiResponse<SvgImages> localVarResponse = await GetImagesExtractSvgAsyncWithHttpInfo(name, pageNumber, storage, folder, passBase64);
35668
+ return localVarResponse.Data;
35669
+
35670
+ }
35671
+
35672
+ /// <summary>
35673
+ /// Extract SVG images from document page.
35674
+ /// </summary>
35675
+ /// <exception cref="Aspose.Pdf.Cloud.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
35676
+ /// <param name="name">The document name.</param>
35677
+ /// <param name="pageNumber">The page number.</param>
35678
+ /// <param name="storage">The document storage. (optional)</param>
35679
+ /// <param name="folder">The document folder. (optional)</param>
35680
+ /// <param name="passBase64">The password (Base64). (optional)</param>
35681
+ /// <returns>Task of ApiResponse (SvgImages)</returns>
35682
+ public async System.Threading.Tasks.Task<ApiResponse<SvgImages>> GetImagesExtractSvgAsyncWithHttpInfo (string name, int? pageNumber, string storage = null, string folder = null, string passBase64 = null)
35683
+ {
35684
+ // verify the required parameter 'name' is set
35685
+ if (name == null)
35686
+ throw new ApiException(400, "Missing required parameter 'name' when calling PdfApi->GetImagesExtractSvg");
35687
+ // verify the required parameter 'pageNumber' is set
35688
+ if (pageNumber == null)
35689
+ throw new ApiException(400, "Missing required parameter 'pageNumber' when calling PdfApi->GetImagesExtractSvg");
35690
+
35691
+ var localVarPath = "/pdf/{name}/pages/{pageNumber}/images/extract/svg";
35692
+ var localVarPathParams = new Dictionary<String, String>();
35693
+ var localVarQueryParams = new Dictionary<String, String>();
35694
+ var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
35695
+ var localVarFormParams = new Dictionary<String, String>();
35696
+ var localVarFileParams = new Dictionary<String, FileParameter>();
35697
+ Object localVarPostBody = null;
35698
+
35699
+ // to determine the Content-Type header
35700
+ String[] localVarHttpContentTypes = new String[] {
35701
+ "application/json"
35702
+ };
35703
+ String localVarHttpContentType = ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
35704
+
35705
+ // to determine the Accept header
35706
+ String[] localVarHttpHeaderAccepts = new String[] {
35707
+ "application/json"
35708
+ };
35709
+ String localVarHttpHeaderAccept = ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
35710
+ if (localVarHttpHeaderAccept != null)
35711
+ localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
35712
+
35713
+ if (name != null) localVarPathParams.Add("name", ApiClient.ParameterToString(name)); // path parameter
35714
+ if (pageNumber != null) localVarPathParams.Add("pageNumber", ApiClient.ParameterToString(pageNumber)); // path parameter
35715
+ if (storage != null) localVarQueryParams.Add("storage", ApiClient.ParameterToString(storage)); // query parameter
35716
+ if (folder != null) localVarQueryParams.Add("folder", ApiClient.ParameterToString(folder)); // query parameter
35717
+ if (passBase64 != null) localVarQueryParams.Add("passBase64", ApiClient.ParameterToString(passBase64)); // query parameter
35718
+
35719
+ // make the HTTP request
35720
+ IRestResponse localVarResponse = (IRestResponse) await ApiClient.CallApiAsync(localVarPath,
35721
+ Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
35722
+ localVarPathParams, localVarHttpContentType);
35723
+
35724
+ int localVarStatusCode = (int) localVarResponse.StatusCode;
35725
+
35726
+ if (ExceptionFactory != null)
35727
+ {
35728
+ Exception exception = ExceptionFactory("GetImagesExtractSvg", localVarResponse);
35729
+ if (exception != null) throw exception;
35730
+ }
35731
+
35732
+ return new ApiResponse<SvgImages>(localVarStatusCode,
35733
+ localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
35734
+ (SvgImages) ApiClient.Deserialize(localVarResponse, typeof(SvgImages)));
35735
+ }
35736
+
35517
35737
/// Update fields from FDF file in storage.
35518
35738
/// </summary>
35519
35739
/// <exception cref="Aspose.Pdf.Cloud.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
0 commit comments