LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client.WinForms assembly)
LEAD Technologies, Inc

SetCodeStreamIndex Method






The code-stream (page) index to set.
Set the code-stream (page) index of the opened image.
Syntax
public void SetCodeStreamIndex( 
   int codeStreamIndex
)
'Declaration
 
Public Sub SetCodeStreamIndex( _
   ByVal codeStreamIndex As Integer _
) 
'Usage
 
Dim instance As JpipRasterImageViewer
Dim codeStreamIndex As Integer
 
instance.SetCodeStreamIndex(codeStreamIndex)
public void SetCodeStreamIndex( 
   int codeStreamIndex
)
 function Leadtools.Jpip.Client.WinForms.JpipRasterImageViewer.SetCodeStreamIndex( 
   codeStreamIndex 
)
public:
void SetCodeStreamIndex( 
   int codeStreamIndex
) 

Parameters

codeStreamIndex
The code-stream (page) index to set.
Remarks

Use the CodeStreamCount property to find the number of available code-streams, the index should be less than or equal CodeStreamCount - 1 and greater than 0.

There is no guarantee that this method will succeed after it returns since the JpipRasterImageViewer perform this operation asynchronously However, the Leadtools.Jpip.Client.WinForms.JpipRasterImageViewer.CodeStreamRequest event will provide information for the status of the requested code-stream with information if the method has failed or succeeded.

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

Reference

JpipRasterImageViewer Class
JpipRasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Jpip.Client.WinForms requires a Document or Medical license and unlock key as well as a server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features