LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
XOffset Property
See Also 
Leadtools Namespace > RasterRegionXForm Class : XOffset Property



The X offset of the external representation.
Supported in Silverlight, Windows Phone 7

Syntax

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

Property Value

The X offset of the external representation.

Example

For an example, refer to RasterRegion.Transform.

Remarks

When translating information from the image, you can use the left value of the painting method destination rectangle.

When translating information to the image, you can negate the left value of the painting method destination rectangle (-left).

Refer to the XScalarNumerator property to see which methods translate which direction.

For more information, refer to Translating Coordinates for a Region.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also