|
@@ -122,7 +122,7 @@ namespace Compdfkit_Tools.PDFControlUI
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
ColorPickerControl.Brush = new SolidColorBrush(ParamConverter.ConverterByteForColor(inkParam.InkColor));
|
|
ColorPickerControl.Brush = new SolidColorBrush(ParamConverter.ConverterByteForColor(inkParam.InkColor));
|
|
- CPDFOpacityControl.OpacityValue = (int)(inkParam.Transparency * 100);
|
|
|
|
|
|
+ CPDFOpacityControl.OpacityValue = (int)(inkParam.Transparency / 255D * 100);
|
|
CPDFThicknessControl.Thickness = Convert.ToInt16(inkParam.Thickness);
|
|
CPDFThicknessControl.Thickness = Convert.ToInt16(inkParam.Thickness);
|
|
ColorPickerControl.SetCheckedForColor(ParamConverter.ConverterByteForColor(inkParam.InkColor));
|
|
ColorPickerControl.SetCheckedForColor(ParamConverter.ConverterByteForColor(inkParam.InkColor));
|
|
NoteTextBox.Text = inkParam.Content;
|
|
NoteTextBox.Text = inkParam.Content;
|