|
@@ -67,7 +67,11 @@ namespace PDF_Master.ViewModels.PropertyPanel.AnnotPanel
|
|
|
customStamp.inkThickness = items[i].inkThickness;
|
|
|
customStamp.inkColor = items[i].inkColor;
|
|
|
customStamp.Type = (SignatureType)items[i].Type;
|
|
|
- SignatureList.Add(customStamp);
|
|
|
+ if (File.Exists(items[i].SourcePath))
|
|
|
+ {
|
|
|
+ SignatureList.Add(customStamp);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -86,6 +90,10 @@ namespace PDF_Master.ViewModels.PropertyPanel.AnnotPanel
|
|
|
stampArgs.Opacity = 1;
|
|
|
stampArgs.Type = StampType.IMAGE_STAMP;
|
|
|
stampArgs.ImagePath = signature.SourcePath;
|
|
|
+ //stampArgs.ImageHeight = 140;
|
|
|
+ //stampArgs.ImageWidth = 140;
|
|
|
+ stampArgs.MaxHeight = 140;
|
|
|
+ stampArgs.MaxWidth = 140;
|
|
|
PDFViewer.SetMouseMode(MouseModes.AnnotCreate);
|
|
|
PDFViewer.SetToolParam(stampArgs);
|
|
|
currentSignature = signature;
|