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));
197
if (fp.
Segments
.Count == 0)
204
part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, fp.
Segments
.Count.ToString(NumberFormatInfo.InvariantInfo));
206
for (int i = 0; i < fp.
Segments
.Count; i++)
209
if (!double.IsNaN(fp.
Segments
[i].Start.X))
211
value += fp.
Segments
[i].Start.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + fp.
Segments
[i].Start.Y.ToString(NumberFormatInfo.InvariantInfo);
218
if (!double.IsNaN(fp.
Segments
[i].End.X))
220
value += fp.
Segments
[i].End.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + fp.
Segments
[i].End.Y.ToString(NumberFormatInfo.InvariantInfo);