Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Function DeviceToWorld ( _
deviceRectangle As Rectangle _
) As RectangleD
'使用
Dim instance As DiagramClientView
Dim deviceRectangle As Rectangle
Dim returnValue As RectangleD
returnValue = instance.DeviceToWorld(deviceRectangle)
public RectangleD DeviceToWorld(
Rectangle deviceRectangle
)
public:
RectangleD DeviceToWorld(
Rectangle deviceRectangle
)
public function DeviceToWorld(
deviceRectangle : Rectangle
) : RectangleD
Parameters
- deviceRectangle
Type: System.Drawing.Rectangle
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Permissions
- 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.