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!

Size Addition Operator

Expands a Size by another Size.

[C#]
public static Size operator +(
   Size sz1,
   Size sz2
);
[C++]
public: static Size operator op_Addition(
   Size sz1,
   Size sz2
);
[JScript]
returnValue = sz1 + sz2;

[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]

sz1
Size to expand.
sz2
Size to expand sz1 by.

Parameters [C#, C++]

sz1
Size to expand.
sz2
Size to expand sz1 by.

See Also

Size Structure | Size Members | System.Drawing Namespace