TextWrapperTests GetLinesWithNoSpaceLetters Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering2D.Fonts.Tests
Assembly: DeltaEngine.Rendering2D.Fonts.Tests (in DeltaEngine.Rendering2D.Fonts.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void GetLinesWithNoSpaceLetters()
Examples

[Test]
public void GetLinesWithNoSpaceLetters()
{
    var lines = textWrapper.SplitTextIntoLines("aaaa aaaaa aaa!",
        new Size(70, fontDescription.PixelLineHeight * 3), true);
    Assert.AreEqual(2, lines.Count);
}
See Also