Surface.getDeviceOffset

This function returns the previous device offset set by Surface.setDeviceOffset. Since 1.2

class Surface
void
getDeviceOffset
(
out double xOffset
,
out double yOffset
)

Parameters

xOffset double

the offset in the X direction, in device units

yOffset double

the offset in the Y direction, in device units