共用方式為


DiagramPaintEventArgs.DeviceToWorld Method

Converts a size in device units to world units.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
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

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD

.NET Framework Security

See Also

Reference

DiagramPaintEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace