Point Explicit Conversion Operators

Converts a Point into a Size or a Vector.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public operator Static member Explicit(Point to Vector) Creates a Vector structure with an X value equal to the point's X value and a Y value equal to the point's Y value.
Public operator Static member Explicit(Point to Size) Creates a Size structure with a Width equal to this point's X value and a Height equal to this point's Y value.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft