I have polyline annotations on my pdf document that I want to flatten. However, during the flattening process, it automatically connects the first and last vertices with a straight line. For example, if I have a polyline annotation in the shape of a “V”, the flatten method connects the first and last vertices such that the shape changes to a triangle.
Is there any way to prevent this as I want to maintain the original shape of my annotation?
(This is for .NET framework)