Open jyotigupta-leidos opened 3 years ago
I need to use the cropped image for another functionality like- need to pass to Google API for OCR purpose and I am using this code -
this.croppedImage = frameModule.topmost().getViewById("croppedImage"); this.croppedImage.imageSourceModule = args.image;
And I pass this.croppedImage.imageSourceModule to Google API.
and use this.croppedImage for the further purpose but I always see this.croppedImage as undefined. I have the id in HTML too like the below -
<Image *ngIf="myImage" horizontalAlignment="center" src="{{croppedImage}}" width="700" height="600" id="croppedImage">
Please let me know what wrong I am doing?
I need to use the cropped image for another functionality like- need to pass to Google API for OCR purpose and I am using this code -
this.croppedImage = frameModule.topmost().getViewById("croppedImage"); this.croppedImage.imageSourceModule = args.image;
And I pass this.croppedImage.imageSourceModule to Google API.
and use this.croppedImage for the further purpose but I always see this.croppedImage as undefined. I have the id in HTML too like the below -
<Image *ngIf="myImage" horizontalAlignment="center" src="{{croppedImage}}" width="700" height="600" id="croppedImage">
Please let me know what wrong I am doing?