The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
usingSystem;usingGroupDocs.Annotation.Cloud.Sdk.Api;usingGroupDocs.Annotation.Cloud.Sdk.Client;namespaceGroupDocs.Annotation.Cloud.Examples.CSharp{// Get All Supported FormatsclassGet_All_Supported_Formats{publicstaticvoidRun(){varconfiguration=newConfiguration(Common.MyAppSid,Common.MyAppKey);varapiInstance=newInfoApi(configuration);try{// Get supported file formatsvarresponse=apiInstance.GetSupportedFileFormats();foreach(varentryinresponse.Formats){Console.WriteLine(string.Format("{0}: {1}",entry.FileFormat,string.Join(",",entry.Extension)));}}catch(Exceptione){Console.WriteLine("Exception while calling Annotation InfoApi: "+e.Message);}}}}
packageexamples.Supported_File_Formats;importcom.groupdocs.cloud.annotation.client.*;importcom.groupdocs.cloud.annotation.model.*;importjava.util.List;importcom.groupdocs.cloud.annotation.client.Configuration;importcom.groupdocs.cloud.annotation.api.*;importexamples.Utils;publicclassAnnotation_Java_Get_Supported_Formats{publicstaticvoidmain(String[]args){Configurationconfiguration=newConfiguration(Utils.AppSID,Utils.AppKey);InfoApiapiInstance=newInfoApi(configuration);try{FormatsResultresponse=apiInstance.getSupportedFileFormats();for(Formatformat:response.getFormats()){System.out.println(format.getFileFormat());}}catch(ApiExceptione){System.err.println("Exception while calling InfoApi:");e.printStackTrace();}}}
<?phpinclude(dirname(__DIR__).'\CommonUtils.php');try{$apiInstance=CommonUtils::GetInfoApiInstance();$response=$apiInstance->getSupportedFileFormats();echo'<b>Supported file formats<br /></b>';foreach($response->getFormats()as$key=>$format){echo$format->getFileFormat(),"(",$format->getExtension(),")<br />";}}catch(Exception$e){echo"Something went wrong: ",$e->getMessage(),"\n";}
# Import modulesimportgroupdocs_annotation_cloudfromCommon_Utilities.UtilsimportCommon_Utilities;classAnnotation_Python_Get_All_Supported_Formats:@classmethoddefRun(self):# Create instance of the APIapi=Common_Utilities.Get_InfoApi_Instance()try:# Retrieve supported file-formatsresponse=api.get_supported_file_formats()# Print out supported file-formatsprint("Supported file-formats:")forfileformatinresponse.formats:print('{0} ({1})'.format(fileformat.file_format,fileformat.extension))exceptgroupdocs_annotation_cloud.ApiExceptionase:print("Exception when calling get_supported_annotation_types: {0}".format(e.message))
# Load the gemrequire'groupdocs_annotation_cloud'require'common_utilities/Utils.rb'classFile_Formatsdefself.Annotation_Ruby_Get_Supported_Formats()# Getting instance of the APIapi=Common_Utilities.Get_InfoApi_Instance()# Retrieve supported file-formats$response=api.get_supported_file_formats()# Print out supported file-formatsputs("Supported file-formats:")$response.formats.eachdo|format|puts("#{format.file_format} (#{format.extension})")endendend
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.