12 references to Segments
PresentationFramework (12)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (12)
130
((FixedPageProxy)pageEl[firstPage]).
Segments
.Add(new PointSegment(start, end));
135
((FixedPageProxy)pageEl[firstPage]).
Segments
.Add(new PointSegment(start, PointSegment.NotAPoint));
136
((FixedPageProxy)pageEl[firstPage + numOfPages]).
Segments
.Add(new PointSegment(PointSegment.NotAPoint, end));
196
if (fp.
Segments
.Count == 0)
203
part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, fp.
Segments
.Count.ToString(NumberFormatInfo.InvariantInfo));
205
for (int i = 0; i < fp.
Segments
.Count; i++)
208
if (!double.IsNaN(fp.
Segments
[i].Start.X))
210
value += fp.
Segments
[i].Start.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + fp.
Segments
[i].Start.Y.ToString(NumberFormatInfo.InvariantInfo);
217
if (!double.IsNaN(fp.
Segments
[i].End.X))
219
value += fp.
Segments
[i].End.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + fp.
Segments
[i].End.Y.ToString(NumberFormatInfo.InvariantInfo);