Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : SetCodeStreamIndex Method |
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 )
Use the CodeStreamCount property to find the number of available code-streams, the codeStreamIndex 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 CodeStreamRequest event will provide information for the status of the requested code-stream with information if the method has failed or succeeded.