Thanks for the support. I was able to achieve it.
Hi, Just a last thing. The dropdown for fonts and sizes is not getting displayed. even then tooltip for all of the things is not working. The only style i added was from signature-app.component.less file.
Do i have to add some additional styles ? I am not sure what I am missing. Please find the below image. Can you please advise ?
image.png (22.8 KB)
Please share all the changes you did or committed in signature-app.component.less file. If you donât do any change, does it work properly?
Hi, Thanks for the update. I had to override some styles as there was a conflict with bootstrap. It looks far better compared to before. There is another issue.
The below code is my component where i was able to successfully render the document by calling selectFile() method. I want to modify few things in this service sign() from SignatureService.ts and call it explicitly in my Component. Attached here is the image. Can you please let me know how can i do it ?
image.png (147.4 KB)
import { Component, AfterViewInit, Input, ComponentRef } from '@angular/core';
import { SignatureAppComponent, SignatureService, SignatureConfigService, SelectSignatureService, DragSignatureService, RemoveSignatureService, ActiveSignatureService, SignaturesHolderService, CopySignatureService } from '@groupdocs.examples.angular/signature';
import {
FileDescription,
FileModel,
ModalService,
UploadFilesService,
NavigateService,
PagePreloadService,
PageModel,
ZoomService,
RenderPrintService,
FileUtil,
PasswordService,
FileCredentials,
CommonModals,
HostingDynamicComponentService,
AddDynamicComponentService,
OnCloseService,
ExceptionMessageService,
WindowService,
Utils,
TabActivatorService,
TopTabActivatorService
} from "@groupdocs.examples.angular/common-components";
@Component({
selector: 'digi-sign',
templateUrl: './digi-sign.component.html',
styleUrls: ['./digi-sign.component.less','../variables.less']
})
export class DigiSignComponent extends SignatureAppComponent implements AfterViewInit {
constructor( _signatureService: SignatureService,
_modalService: ModalService,
configService: SignatureConfigService,
uploadFilesService: UploadFilesService,
_navigateService: NavigateService,
_zoomService: ZoomService,
pagePreloadService: PagePreloadService,
_renderPrintService: RenderPrintService,
passwordService: PasswordService,
_windowService: WindowService,
_selectSignatureService: SelectSignatureService,
_signatureTabActivationService: TopTabActivatorService,
_hostingComponentsService: HostingDynamicComponentService,
_addDynamicComponentService: AddDynamicComponentService,
_dragSignatureService: DragSignatureService,
_onCloseService: OnCloseService,
removeSignatureService: RemoveSignatureService,
_activeSignatureService: ActiveSignatureService,
_excMessageService: ExceptionMessageService,
_signaturesHolderService: SignaturesHolderService,
_tabActivatorService: TabActivatorService,
copySignatureService: CopySignatureService) {
super( _signatureService,
_modalService,
configService,
uploadFilesService,
_navigateService,
_zoomService,
pagePreloadService,
_renderPrintService,
passwordService,
_windowService,
_selectSignatureService,
_signatureTabActivationService,
_hostingComponentsService,
_addDynamicComponentService,
_dragSignatureService,
_onCloseService,
removeSignatureService,
_activeSignatureService,
_excMessageService,
_signaturesHolderService,
_tabActivatorService,
copySignatureService);
}
@Input() guid : string;
ngAfterViewInit() {
if(this.guid !== undefined){
super.selectFile(this.guid," "," ");
}
}
}
Did you try to call it explicitly, what did you get in the browserâs console? Or is there any exception/error?
Hi, I will let you know the steps which i did to make it clear.
- I cloned groupdocstotal-angular project and copied signature and common-components folder into my project as per the advanced scenario mentioned here
- To render the uploaded document, i called super.selectFile() in my custom component(third screen).
- Now, i want to access a method called sign() in signatureservice but i am not sure how to do it.
It gives me error. You can see in this image
image.png (58.1 KB)
I have already shared by DigiSignComponent with you above. Could you please check and let me know how to access methods of SignatureService from my custom component ?
We have logged this scenario here at GitHub. Please keep track of this link. However, as thereâs any update, youâll be notified here as well.
Thank you for the support !
Hi, Can you please let me know if you have any update ? I checked the link which you shared but i did not see any update. Can you please support ?
Please note that, we investigate support issues on first come first served basis. Youâll be notified as thereâs any progress.
Hi, Hope you are doing good.
itâs been one month since the issue was logged. There is no update yet. Can you please support?
I am afraid but the issue is still in the queue. However, in order to expedite it you can avail priority support.
Hi, Itâs been three months and there is no update. Can you please let me know if you have any update ?
Why is it taking so long ?
Hi, Thank you for the update. I will check