13 references to RealInfiniteWidth
PresentationCore (13)
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (9)
492|| paragraphWidth > Constants.RealInfiniteWidth) 494throw new ArgumentOutOfRangeException("paragraphWidth", SR.Get(SRID.ParameterMustBeBetween, 0, Constants.RealInfiniteWidth)); 497double realMaxFontRenderingEmSize = Constants.RealInfiniteWidth / Constants.GreatestMutiplierOfEm; 505if (paragraphProperties.Indent > Constants.RealInfiniteWidth) 506throw new ArgumentOutOfRangeException("paragraphProperties.Indent", SR.Get(SRID.ParameterCannotBeGreaterThan, Constants.RealInfiniteWidth)); 508if (paragraphProperties.LineHeight > Constants.RealInfiniteWidth) 509throw new ArgumentOutOfRangeException("paragraphProperties.LineHeight", SR.Get(SRID.ParameterCannotBeGreaterThan, Constants.RealInfiniteWidth)); 512|| paragraphProperties.DefaultIncrementalTab > Constants.RealInfiniteWidth) 514throw new ArgumentOutOfRangeException("paragraphProperties.DefaultIncrementalTab", SR.Get(SRID.ParameterMustBeBetween, 0, Constants.RealInfiniteWidth));
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
141double realMaxFontRenderingEmSize = Constants.RealInfiniteWidth / Constants.GreatestMutiplierOfEm;
Core\CSharp\System\Windows\Media\FormattedText.cs (1)
2058const double MaxFontEmSize = Constants.RealInfiniteWidth / Constants.GreatestMutiplierOfEm;
Core\CSharp\System\Windows\Media\TextFormatting\TextParagraphCache.cs (2)
204|| maxLineWidth > Constants.RealInfiniteWidth) 206throw new ArgumentOutOfRangeException("maxLineWidth", SR.Get(SRID.ParameterMustBeBetween, 0, Constants.RealInfiniteWidth));