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



Gets the offset in bytes from the beginning of the file at which the image data begins.

Syntax

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

Return Value

The offset in bytes to the start of the image data.

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 Offset parameter

.

Requirements

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

See Also