Code example for StaticLayout

Methods: drawgetLineCount