GetTranslation Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves the translation of the current drawing context.
Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub GetTranslation ( _
<OutAttribute> ByRef x As Integer, _
<OutAttribute> ByRef y As Integer _
)
public void GetTranslation(
out int x,
out int y
)
public:
void GetTranslation(
[OutAttribute] int% x,
[OutAttribute] int% y
)
member GetTranslation :
x:int byref *
y:int byref -> unit
public function GetTranslation(
x : int,
y : int
)
Parameters
- x
Type: System. . :: . .Int32%
The horizontal distance the image was translated.
- y
Type: System. . :: . .Int32%
The vertical distance the image was translated.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.