This sample application shows you how easy it is to programmatically select an entire page. Download the source code and try it out right away!