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




Enables or disables use of the End of Packet Header (EPH) marker.

Syntax

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

Return Value

true to use the EPH 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 UseEphMarker is true, each packet header in any given tile part is postpended with an EPH marker segment. 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