Created
August 20, 2020 16:58
-
-
Save aspose-cloud/dfa661053da885296d7182096c47a48d to your computer and use it in GitHub Desktop.
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
// For complete examples and data files, please go to https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-java/ | |
String name = "putBarcodeGenerateFile.png"; | |
String type = EncodeBarcodeType.QR.getValue(); | |
String text = "Put Barcode Generate File"; | |
Double dimensionX = 200.0; | |
String twoDDisplayText = null; | |
String textLocation = null; | |
String textAlignment = null; | |
String textColor = null; | |
String fontSizeMode = null; | |
Double resolution = null; | |
Double textSpace = null; | |
String units = null; | |
String sizeMode = null; | |
Double barHeight = null; | |
Double imageHeight = null; | |
Double imageWidth = null; | |
Double rotationAngle = null; | |
String backColor = null; | |
String barColor = null; | |
String borderColor = null; | |
Double borderWidth = null; | |
String borderDashStyle = null; | |
Boolean borderVisible = null; | |
String enableChecksum = null; | |
Boolean enableEscape = null; | |
Boolean filledBars = null; | |
Boolean alwaysShowChecksum = null; | |
Double wideNarrowRatio = null; | |
Boolean validateText = null; | |
String supplementData = null; | |
Double supplementSpace = null; | |
String format = null; | |
String storage = "Storage"; | |
String folder = "Temp/" | |
ResultImageInfo response = | |
api.putBarcodeGenerateFile( | |
name,type,text,twoDDisplayText,textLocation,textAlignment,textColor,fontSizeMode, | |
resolution,null,null,dimensionX,textSpace,units,sizeMode,barHeight, | |
imageHeight,imageWidth,rotationAngle,backColor,barColor,borderColor,borderWidth, | |
borderDashStyle,borderVisible,enableChecksum,enableEscape,filledBars, | |
alwaysShowChecksum,wideNarrowRatio,validateText,supplementData, | |
supplementSpace,storage,folder,format); | |
assertTrue(response.getFileSize() > 0); | |
assertTrue(response.getImageWidth() > 0); | |
assertTrue(response.getImageHeight() > 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment