Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Converts a point in device units to world units using the view's current zoom factor. The device units are relative to the DiagramClientView's top-left. The world units are relative to the diagram's top-left.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Function DeviceToWorld ( _
devicePoint As Point _
) As PointD
public PointD DeviceToWorld(
Point devicePoint
)
public:
PointD DeviceToWorld(
Point devicePoint
)
member DeviceToWorld :
devicePoint:Point -> PointD
public function DeviceToWorld(
devicePoint : Point
) : PointD
Parameters
devicePoint
Type: PointThe point in device units relative to the DiagramClientView's top-left.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.