create Method

Summary

A shortcut for creating a new DocumentViewerTextPosition.

Syntax
TypeScript
JavaScript
create = function( 
   pageNumber, 
   characterIndex 
) 
static create( 
   pageNumber: number, 
   characterIndex: number 
): DocumentViewerTextPosition; 

Parameters

pageNumber

The page number to represent.

characterIndex

The character index to represent.

Return Value

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

Remarks

Also refer to CreateBeginOfPage and CreateEndOfPage.

History

19.0.0.49
Added
Requirements

Target Platforms

Help Version 22.0.2023.4.18
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.