LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Origin Property
See Also 
Leadtools.Codecs Namespace > CodecsRedirectSeekEventArgs Class : Origin Property



Gets a value indicating the reference point used to obtain the new position.

Syntax

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

Property Value

A System.IO.SeekOrigin value indicating the reference point used to obtain the new position.

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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also