←Select platform

XOffset Property

Summary

The X offset of the external representation.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int XOffset { get; set; } 
Public Property XOffset As Integer 
public int XOffset {get; set;} 
@property (nonatomic, assign) NSInteger xOffset 
public int getXOffset() 
public void setXOffset(int value) 
             
 <br/>get_XOffset();<br/>set_XOffset(value);<br/>Object.defineProperty('XOffset');  
public: 
property int XOffset { 
   int get(); 
   void set (    int ); 
} 

Property Value

The X offset of the external representation.

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.

Example

For an example, refer to RasterRegion.Transform.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly