DiagramPaintEventArgs.DeviceToWorld(Size) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.