Leadtools.ImageProcessing.SpecialEffects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.11
XOffset Property
See Also 
Leadtools.ImageProcessing.SpecialEffects Namespace > CanvasCommand Class : XOffset Property




Gets or sets the X distance between the canvas origin point and the image origin point (in pixels).

Syntax

Visual Basic (Declaration) 
Public Property XOffset As Integer
Visual Basic (Usage)Copy Code
Dim instance As CanvasCommand
Dim value As Integer
 
instance.XOffset = value
 
value = instance.XOffset
C# 
public int XOffset {get; set;}
Managed Extensions for C++ 
public: __property int get_XOffset();
public: __property void set_XOffset( 
   int value
);
C++/CLI 
public:
property int XOffset {
   int get();
   void set (int value);
}

Return Value

The X distance between the canvas origin point and the image origin point (in pixels). Valid range is from -Canvas image width to +Canvas image width.

Example

Refer to CanvasCommand example.

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