We are creating arrows in pdf using the below code snippet. Some times arrow thickness changes and get the difference between arrows. Can you please let us know what we are missing and how to resolve this issue.
//code snippet
Cell cellArrow = rowYesContent.Cells.Add();
cellArrow.Alignment = AlignmentType.Left;
cellArrow.VerticalAlignment = VerticalAlignmentType.Center;
Sections sections = request.Pdf.Sections;
Section sec1 = request.Pdf.Sections[sections.Count - 1];
Graph endGraph1 = new Graph(sec1, 30, 2);
cellArrow.Paragraphs.Add(endGraph1);
float[] linePosArr1 = new float[] { 0, 0, 30, 0 };
Line endLine1 = new Line(endGraph1, linePosArr1);
endLine1.GraphInfo.LineCapMode = 0;
endLine1.GraphInfo.IsAddedArrowAtEnd = true;
endGraph1.Shapes.Add(endLine1);
Cell cellArrow1 = rowNA.Cells.Add();
cellArrow1.Alignment = AlignmentType.Left;
cellArrow1.VerticalAlignment = VerticalAlignmentType.Center;
Sections sections1 = request.Pdf.Sections;
Section sec2= request.Pdf.Sections[sections.Count - 1];
Graph endGraph2 = new Graph(sec1, 30, 2);
cellArrow1.Paragraphs.Add(endGraph2);
float[] linePosAr2 = new float[] { 0, 0, 30, 0 };
Line endLine2 = new Line(endGraph2, linePosAr2);
endLine2.GraphInfo.LineCapMode = 0;
endLine2.GraphInfo.IsAddedArrowAtEnd = true;
endGraph2.Shapes.Add(endLine2);