Visual Basic (Declaration) | |
---|---|
Public Property XOffset As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int XOffset {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_XOffset(); public: __property void set_XOffset( int value ); |
Return Value
The X offset of the external representation.For an example, refer to RegionToGdiPlusRegion.
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.
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