LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SetCodeStreamIndex Method
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : SetCodeStreamIndex Method



codeStreamIndex
The code-stream (page) index to set.
codeStreamIndex
The code-stream (page) index to set.
Set the code-stream (page) index of the opened image.

Syntax

Visual Basic (Declaration) 
Public Sub SetCodeStreamIndex( _
   ByVal codeStreamIndex As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As JpipRasterImageViewer
Dim codeStreamIndex As Integer
 
instance.SetCodeStreamIndex(codeStreamIndex)
C# 
public void SetCodeStreamIndex( 
   int codeStreamIndex
)
C++/CLI 
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 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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Jpip.Client.WinForms requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features