←Select platform

Create Method

Summary

A shortcut for creating a new DocumentViewerTextPosition.

Syntax
C#
VB
C++
public static DocumentViewerTextPosition Create( 
   int pageNumber, 
   int characterIndex 
) 
Public Shared Function Create( 
   ByVal pageNumber As Integer, 
   ByVal characterIndex As Integer 
) As DocumentViewerTextPosition 
public:  
   static DocumentViewerTextPosition^ Create( 
      Int32 pageNumber, 
      Int32 characterIndex 
   ) 

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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly