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




Gets or sets the byte offset relative to Origin.

Syntax

Visual Basic (Declaration) 
Public Property Offset As Long
Visual Basic (Usage)Copy Code
Dim instance As CodecsRedirectSeekEventArgs
Dim value As Long
 
instance.Offset = value
 
value = instance.Offset
C# 
public long Offset {get; set;}
Managed Extensions for C++ 
public: __property long get_Offset();
public: __property void set_Offset( 
   long value
);
C++/CLI 
public:
property long Offset {
   long get();
   void set (long value);
}

Return Value

The byte offset relative to Origin this seek operation should move. After the seek operation is done. This property should updated with the new offset value.

Example

For an example, refer to RasterCodecs.StartRedirecting

Remarks

If Offset is negative, the new position is required to precede the position specified by Origin by the number of bytes specified by Offset. If Offset is zero (0), the new position is required to be the position specified by Origin. If Offset is positive, the new position is required to follow the position specified by Origin by the number of bytes specified by Offset.

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