DiagramClientView.DeviceToWorld Method (Size)
Converts a size in device units to world units using the view's current zoom factor.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Public Function DeviceToWorld ( _
deviceSize As Size _
) As SizeD
public SizeD DeviceToWorld(
Size deviceSize
)
public:
SizeD DeviceToWorld(
Size deviceSize
)
member DeviceToWorld :
deviceSize:Size -> SizeD
public function DeviceToWorld(
deviceSize : Size
) : SizeD
Parameters
- deviceSize
Type: System.Drawing.Size
The size in device units.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
.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.