Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also