6 references to GetOffsetToPosition
PresentationFramework (6)
MS\Internal\Documents\TextBoxLine.cs (2)
427if (position.GetOffsetToPosition(endOfRunPosition) > 4096) 478char[] textBuffer = new char[position.GetOffsetToPosition(endOfRunPosition)];
MS\Internal\PtsHost\LineBase.cs (2)
105if (position.GetOffsetToPosition(endOfRunPosition) > 4096) 111char[] textBuffer = new char[position.GetOffsetToPosition(endOfRunPosition)];
MS\Internal\Text\ComplexLine.cs (2)
356if (position.GetOffsetToPosition(endOfRunPosition) > 4096) 362char[] textBuffer = new char[position.GetOffsetToPosition(endOfRunPosition)];