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



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

Gets or sets the packet size in bytes.

Syntax

Visual Basic (Declaration) 
Public Property PacketSize As Integer
Visual Basic (Usage)Copy Code
Dim instance As JpipRasterImageViewer
Dim value As Integer
 
instance.PacketSize = value
 
value = instance.PacketSize
C# 
public int PacketSize {get; set;}
C++/CLI 
public:
property int PacketSize {
   int get();
   void set (    int value);
}

Property Value

Value that represents the packet size in bytes.

Example

This example sets this value to (16*1024). For an example, refer to JpipRasterImageViewer.

Remarks

For better speed performance, set this value to 8k bytes or more. Set this value before calling Open.

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