Adds the length of one LogicalLength structure to another LogicalLength structure.
public static LogicalLength Add(
LogicalLength left,
LogicalLength right
)
Public Shared Function Add( _
ByVal left As Leadtools.Forms.LogicalLength, _
ByVal right As Leadtools.Forms.LogicalLength _
) As Leadtools.Forms.LogicalLength
public:
static Leadtools.Forms.LogicalLength Add(
Leadtools.Forms.LogicalLength left,
Leadtools.Forms.LogicalLength right
)
left
The LogicalLength on the left side of the add operator.
right
The LogicalLength on the right side of the add operator.
The addition will be done based on the left unit.
This example adds two length structures.
using Leadtools.Forms;
///This example adds two length structures.
public void LogicalLength_Add()
{
LogicalLength lng1 = new LogicalLength(200, LogicalUnit.Pixel);
LogicalLength lng2 = new LogicalLength(1.5F, LogicalUnit.Inch);
string s = string.Format("lng1 + lng2 = {0}", LogicalLength.Add(lng1, lng2));
MessageBox.Show(s);
}
Imports Leadtools.Forms
'''This example adds two length structures.
Public Sub LogicalLength_Add()
Dim lng1 As LogicalLength = New LogicalLength(200, LogicalUnit.Pixel)
Dim lng2 As LogicalLength = New LogicalLength(1.5F, LogicalUnit.Inch)
Dim s As String = String.Format("lng1 + lng2 = {0}", LogicalLength.Add(lng1, lng2))
MessageBox.Show(s)
End Sub
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.