12 references to Segments
PresentationFramework (12)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (12)
146
((FixedPageProxy)pageEl[firstPage]).
Segments
.Add(new PointSegment(start, end));
151
((FixedPageProxy)pageEl[firstPage]).
Segments
.Add(new PointSegment(start, PointSegment.NotAPoint));
152
((FixedPageProxy)pageEl[firstPage + numOfPages]).
Segments
.Add(new PointSegment(PointSegment.NotAPoint, end));
215
if (fp.
Segments
.Count == 0)
222
part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, fp.
Segments
.Count.ToString(NumberFormatInfo.InvariantInfo));
224
for (int i = 0; i < fp.
Segments
.Count; i++)
227
if (!double.IsNaN(fp.
Segments
[i].Start.X))
229
value += fp.
Segments
[i].Start.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + fp.
Segments
[i].Start.Y.ToString(NumberFormatInfo.InvariantInfo);
236
if (!double.IsNaN(fp.
Segments
[i].End.X))
238
value += fp.
Segments
[i].End.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + fp.
Segments
[i].End.Y.ToString(NumberFormatInfo.InvariantInfo);