Leadtools.Jpip.Client.WinForms Requires JPIP Module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Open Method
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : Open Method



fileName
The file name on the server side .
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

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