NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Point Subtraction Operator

Translates a Point by the negative of a given Size.

[C#]
public static Point operator -(
   Point pt,
   Size sz
);
[C++]
public: static Point operator op_Subtraction(
   Point pt,
   Size sz
);
[JScript]
returnValue = pt - sz;

[Visual Basic] In Visual Basic, you cannot use the operators defined by a type, nor override them or define your own.

[JScript] In JScript, you can use the operators defined by a type, but you cannot override them or define your own.

Arguments [JScript]

pt
Point to subtract the size from
sz
Size to subtract from the point

Parameters [C#, C++]

pt
Point to subtract the size from
sz
Size to subtract from the point

See Also

Point Structure | Point Members | System.Drawing Namespace