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



fileName
The file name on the server side .

The Open Method includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.

fileName
The file name on the server side .
Opens a file on the server and loads meta-data, the header, and the lowest resolution that fits the view window.

Syntax

Visual Basic (Declaration) 
Public Sub Open( _
   ByVal fileName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As JpipRasterImageViewer
Dim fileName As String
 
instance.Open(fileName)
C# 
public void Open( 
   string fileName
)
C++/CLI 
public:
void Open( 
   String^ fileName
) 

Parameters

fileName
The file name on the server side .

Example

This example creates and opens several JpipRasterImageViewer objects. For an example, refer to JpipRasterImageViewer.

Remarks

Before calling this function, set IPAddress, PacketSize, and PortNumber.

The method perform an asynchronous call so the image is not actually opened and streamed until the FileOpened event is fired.

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