12 references to Segments
PresentationFramework (12)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (12)
131((FixedPageProxy)pageEl[firstPage]).Segments.Add(new PointSegment(start, end)); 136((FixedPageProxy)pageEl[firstPage]).Segments.Add(new PointSegment(start, PointSegment.NotAPoint)); 137((FixedPageProxy)pageEl[firstPage + numOfPages]).Segments.Add(new PointSegment(PointSegment.NotAPoint, end)); 197if (fp.Segments.Count == 0) 204part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, fp.Segments.Count.ToString(NumberFormatInfo.InvariantInfo)); 206for (int i = 0; i < fp.Segments.Count; i++) 209if (!double.IsNaN(fp.Segments[i].Start.X)) 211value += fp.Segments[i].Start.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + fp.Segments[i].Start.Y.ToString(NumberFormatInfo.InvariantInfo); 218if (!double.IsNaN(fp.Segments[i].End.X)) 220value += fp.Segments[i].End.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + fp.Segments[i].End.Y.ToString(NumberFormatInfo.InvariantInfo);