This gist contains code snippets related to fill Mail Merge Template using Aspose.Words Cloud SDK for .NET. For more information, please visit
Last active
May 6, 2021 01:53
-
-
Save aspose-cloud/2399f6ed533c703947998ae28f425d4f to your computer and use it in GitHub Desktop.
This gist contains code snippets related to Flip and rotate operation on CAD files
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
// Get clientId and clientSecret from https://dashboard.aspose.cloud/ | |
String clientId = "a6c970b2-33d3-4263-b367-62ca4630b955"; | |
String clientSecret = "9ae816d921f1371b8d09edc799125d56"; | |
CadApi cadApi = new CadApi(clientSecret, clientId); | |
String inputFileName = "Nikon_D90_Camera.dgn"; | |
// Possible values are jpg, bmp, psd, tiff, gif, png, j2k, wmf and pdf | |
String formatToExport = "pdf"; | |
// rotate with 180 and flip is none | |
String method = "RotateNoneFlipX"; | |
// resultant file name | |
String destFileName = "910609.pdf"; | |
// create an instance of GetDrawingRotateFlipRequest object | |
GetDrawingRotateFlipRequest request = new GetDrawingRotateFlipRequest(inputFileName, formatToExport, method, null, destFileName, null); | |
// initiate the conversion operation | |
cadApi.getDrawingRotateFlip(request); |
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
This gist contains code snippets related to performing Flip and Rotate operation on CAD images using Aspose.CAD Cloud SDK for Java |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment