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



Gets the number of bytes that make up the actual image data being loaded.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property OffsetCount As Long
Visual Basic (Usage)Copy Code
Dim instance As CodecsLoadImageEventArgs
Dim value As Long
 
value = instance.OffsetCount
C# 
public long OffsetCount {get;}
C++/CLI 
public:
property long OffsetCount {
   long get();
}

Return Value

The number of bytes that make up the actual image data being loaded.

Example

For an example, refer to RasterCodecs.LoadImage.

Remarks

This is only valid if OffsetValid is true.

This is the same value passed to the RasterCodecs.Load(String) methods that takes a OffsetCount parameter

.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also