Version

GetLocationFromOffset Method

Returns a two dimensional array of consisting of the line index and character index of the supplied character offset.
Syntax
'Declaration
 
Public Function GetLocationFromOffset( _
   ByVal iOffset As System.Integer _
) As System.Object()
public System.object[] GetLocationFromOffset( 
   System.int iOffset
)
public: System.Object*[]* GetLocationFromOffset( 
   System.int iOffset
) 

Parameters

iOffset
the overall character location offset from the start of the file

Return Value

a two dimensional array consisting of the line index and character index
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also