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