createEndOfPage Method

Summary

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

Syntax
TypeScript
JavaScript
createEndOfPage = function( 
   pageNumber 
) 
static createEndOfPage( 
   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 -1.

See CharacterIndex for more information.

Remarks

Also refer to Create and CreateBeginOfPage.

History

19.0.0.49
Added
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.