|
@@ -151,6 +151,7 @@ namespace compdfkit_tools.PDFControlUI
|
|
|
pdfShapeData.Opacity = CPDFOpacityControl.OpacityValue / 100.0;
|
|
|
pdfShapeData.Thickness = CPDFThicknessControl.Thickness;
|
|
|
pdfShapeData.DashStyle = CPDFLineStyleControl.DashStyle;
|
|
|
+ DoubleCollection dashStyle = CPDFLineStyleControl.DashStyle.Dashes;
|
|
|
pdfShapeData.Note = NoteTextBox.Text;
|
|
|
return pdfShapeData;
|
|
|
}
|
|
@@ -192,11 +193,10 @@ namespace compdfkit_tools.PDFControlUI
|
|
|
HeadLineType = (C_LINE_TYPE)annotAttribEvent.Attribs[AnnotAttrib.LineStart],
|
|
|
TailLineType = (C_LINE_TYPE)annotAttribEvent.Attribs[AnnotAttrib.LineEnd]
|
|
|
};
|
|
|
-
|
|
|
- CPDFArrowControl.LineType = lineType;
|
|
|
-
|
|
|
+ CPDFArrowControl.LineType = lineType;
|
|
|
}
|
|
|
this.annotAttribEvent = annotAttribEvent;
|
|
|
+ CPDFAnnotationPreviewerControl.DrawShapePreview(GetShapeData());
|
|
|
}
|
|
|
|
|
|
public void InitWhenRectAndRound()
|
|
@@ -216,6 +216,7 @@ namespace compdfkit_tools.PDFControlUI
|
|
|
CPDFArrowControl.ArrowChanged += CPDFArrowControl_ArrowChanged;
|
|
|
FillColorPickerControl.ColorChanged -= FillColorPickerControl_ColorChanged;
|
|
|
LineType lineType;
|
|
|
+
|
|
|
if (currentAnnotationType == CPDFAnnotationType.Arrow)
|
|
|
{
|
|
|
lineType = new LineType()
|
|
@@ -223,7 +224,6 @@ namespace compdfkit_tools.PDFControlUI
|
|
|
HeadLineType = C_LINE_TYPE.LINETYPE_NONE,
|
|
|
TailLineType = C_LINE_TYPE.LINETYPE_ARROW
|
|
|
};
|
|
|
-
|
|
|
}
|
|
|
else
|
|
|
{
|