12 references to Segments
PresentationFramework (12)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (12)
142
((FixedPageProxy)pageEl[firstPage]).
Segments
.Add(new PointSegment(start, end));
147
((FixedPageProxy)pageEl[firstPage]).
Segments
.Add(new PointSegment(start, PointSegment.NotAPoint));
148
((FixedPageProxy)pageEl[firstPage + numOfPages]).
Segments
.Add(new PointSegment(PointSegment.NotAPoint, end));
208
if (fp.
Segments
.Count == 0)
215
part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, fp.
Segments
.Count.ToString(NumberFormatInfo.InvariantInfo));
217
for (int i = 0; i < fp.
Segments
.Count; i++)
220
if (!double.IsNaN(fp.
Segments
[i].Start.X))
222
value += fp.
Segments
[i].Start.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + fp.
Segments
[i].Start.Y.ToString(NumberFormatInfo.InvariantInfo);
229
if (!double.IsNaN(fp.
Segments
[i].End.X))
231
value += fp.
Segments
[i].End.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + fp.
Segments
[i].End.Y.ToString(NumberFormatInfo.InvariantInfo);