createBeginOfPage Method

Summary

A shortcut for creating a new DocumentViewerTextPosition representing the top of a page.

Syntax

JavaScript Syntax
createBeginOfPage = function( 
   pageNumber 
) 
TypeScript Syntax
static createBeginOfPage( 
   pageNumber: number 
): DocumentViewerTextPosition; 

Parameters

pageNumber

The page number to represent.

Return Value

A new DocumentViewerTextPosition with PageNumber set to the pageNumber parameter and CharacterIndex set to 0.

Remarks

Also refer to Create and CreateEndOfPage.

History

19.0.0.49
Added
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly