Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
UseSopMarker Property
See Also 
Leadtools.Codecs Namespace > CodecsJpeg2000SaveOptions Class : UseSopMarker Property




Enables or disables use of the Start of Packet(SOP) marker.

Syntax

Visual Basic (Declaration) 
Public Property UseSopMarker As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsJpeg2000SaveOptions
Dim value As Boolean
 
instance.UseSopMarker = value
 
value = instance.UseSopMarker
C# 
public bool UseSopMarker {get; set;}
Managed Extensions for C++ 
public: __property bool get_UseSopMarker();
public: __property void set_UseSopMarker( 
   bool value
);
C++/CLI 
public:
property bool UseSopMarker {
   bool get();
   void set (bool value);
}

Return Value

true to use the SOP marker, false otherwise.

Example

For an example, refer to CodecsJpeg2000Options.

Remarks

The "Start of Packet" and "End of Packet Header" markers help detect file corruption during transmission. If these markers exist in the JPEG2000 compressed stream, it is easy for the decoder to find the packet boundary, or, in case of a stream error, check the size. If UseSopMarker is true, each packet in any given tile part will be prepended with a SOP marker segment. The SOP marker includes the size of the packet. The default value is false.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also