Imports Leadtools.Forms
'''This example adds two point structures.
Public Sub LogicalPoint_OperatorPlus()
Dim sz As LogicalSize = New LogicalSize(2, 3, LogicalUnit.Centimeter)
Dim pt As LogicalPoint = New LogicalPoint(1.5F, 2f, LogicalUnit.Inch)
Dim s As String = String.Format("pt + sz = {0}", pt + sz)
MessageBox.Show(s)
End Sub
using Leadtools.Forms;
///This example adds two point structures.
public void LogicalPoint_OperatorPlus()
{
LogicalSize sz = new LogicalSize(2, 3, LogicalUnit.Centimeter);
LogicalPoint pt = new LogicalPoint(1.5F, 2f, LogicalUnit.Inch);
string s = string.Format("pt + sz = {0}", pt + sz);
MessageBox.Show(s);
}