|
@@ -33,6 +33,12 @@ namespace PDF_Office.ViewModels.PropertyPanel.PDFEdit
|
|
|
#endregion
|
|
|
|
|
|
#region 不透明度
|
|
|
+ private double _opacity;
|
|
|
+ public double OpacityUI
|
|
|
+ {
|
|
|
+ get { return _opacity; }
|
|
|
+ set { SetProperty(ref _opacity, value); }
|
|
|
+ }
|
|
|
private double _transpent;
|
|
|
public double Transpent
|
|
|
{
|
|
@@ -54,6 +60,7 @@ namespace PDF_Office.ViewModels.PropertyPanel.PDFEdit
|
|
|
{
|
|
|
TextEditEvent.Transparent = (int)(_transpent * 2.55);
|
|
|
TextEditEvent.UpdatePDFEditByEventArgs();
|
|
|
+ OpacityUI = _transpent / 100.0;
|
|
|
}
|
|
|
|
|
|
}
|