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 Addition Operator

Translates a Point by a given Size.

[C#]
public static Point operator +(
   Point pt,
   Size sz
);
[C++]
public: static Point operator op_Addition(
   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 add the size to
sz
Size to add to the point

Parameters [C#, C++]

pt
Point to add the size to
sz
Size to add to the point

See Also

Point Structure | Point Members | System.Drawing Namespace