Share via


DiagramPaintEventArgs.DeviceToWorld(Size) Method

Definition

Converts a size in device units to world units.

public:
 Microsoft::VisualStudio::Modeling::Diagrams::SizeD DeviceToWorld(System::Drawing::Size deviceSize);
public Microsoft.VisualStudio.Modeling.Diagrams.SizeD DeviceToWorld (System.Drawing.Size deviceSize);
member this.DeviceToWorld : System.Drawing.Size -> Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Public Function DeviceToWorld (deviceSize As Size) As SizeD

Parameters

deviceSize
Size

Size in device units.

Returns

Size in world units.

Applies to