|
@@ -156,19 +156,20 @@ namespace Compdfkit_Tools.PDFControlUI
|
|
if (annotCore.Type == C_ANNOTATION_TYPE.C_ANNOTATION_SQUARE)
|
|
if (annotCore.Type == C_ANNOTATION_TYPE.C_ANNOTATION_SQUARE)
|
|
{
|
|
{
|
|
CPDFSquareAnnotation squareAnnot = annotCore as CPDFSquareAnnotation;
|
|
CPDFSquareAnnotation squareAnnot = annotCore as CPDFSquareAnnotation;
|
|
- squareAnnot?.SetBorderWidth(CPDFThicknessControl.Thickness);
|
|
|
|
|
|
+ squareAnnot?.SetLineWidth(CPDFThicknessControl.Thickness);
|
|
}
|
|
}
|
|
|
|
|
|
if (annotCore.Type == C_ANNOTATION_TYPE.C_ANNOTATION_CIRCLE)
|
|
if (annotCore.Type == C_ANNOTATION_TYPE.C_ANNOTATION_CIRCLE)
|
|
{
|
|
{
|
|
CPDFCircleAnnotation circleAnnot = annotCore as CPDFCircleAnnotation;
|
|
CPDFCircleAnnotation circleAnnot = annotCore as CPDFCircleAnnotation;
|
|
- circleAnnot?.SetBorderWidth(CPDFThicknessControl.Thickness);
|
|
|
|
|
|
+ circleAnnot?.SetLineWidth(CPDFThicknessControl.Thickness);
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
if (annotCore.Type == C_ANNOTATION_TYPE.C_ANNOTATION_LINE)
|
|
if (annotCore.Type == C_ANNOTATION_TYPE.C_ANNOTATION_LINE)
|
|
{
|
|
{
|
|
CPDFLineAnnotation lineAnnot = annotCore as CPDFLineAnnotation;
|
|
CPDFLineAnnotation lineAnnot = annotCore as CPDFLineAnnotation;
|
|
- lineAnnot?.SetBorderWidth(CPDFThicknessControl.Thickness);
|
|
|
|
|
|
+ lineAnnot?.SetLineWidth(CPDFThicknessControl.Thickness);
|
|
}
|
|
}
|
|
|
|
|
|
if (viewControl != null && viewControl.PDFViewTool != null)
|
|
if (viewControl != null && viewControl.PDFViewTool != null)
|