some code for further use
This commit is contained in:
parent
832928b293
commit
64cbfbeca4
@ -187,7 +187,23 @@ export class FilePreviewScreenComponent implements OnInit {
|
||||
|
||||
public openManualRedactionDialog($event: ManualRedactionEntry) {
|
||||
this.ngZone.run(() => {
|
||||
this._dialogRef = this._dialogService.openManualRedactionDialog($event, () => {});
|
||||
this._dialogRef = this._dialogService.openManualRedactionDialog(
|
||||
$event,
|
||||
(annotation) => {
|
||||
// const annotManager = this.activeViewer.annotManager;
|
||||
// const rectangleAnnot = new this.activeViewer.Annotations.RectangleAnnotation();
|
||||
// rectangleAnnot.PageNumber = 1;
|
||||
// // values are in page coordinates with (0, 0) in the top left
|
||||
// rectangleAnnot.X = 100;
|
||||
// rectangleAnnot.Y = 150;
|
||||
// rectangleAnnot.Width = 200;
|
||||
// rectangleAnnot.Height = 50;
|
||||
// rectangleAnnot.Author = annotManager.getCurrentUser();
|
||||
//
|
||||
// annotManager.addAnnotation(rectangleAnnot,true);
|
||||
// annotManager.redrawAnnotation(rectangleAnnot);
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user