Subtracts the length of one AnnLength structure from the length of another AnnLength structure.
public Leadtools.Annotations.AnnLength operator -(
Leadtools.Annotations.AnnLength l1,
Leadtools.Annotations.AnnLength l2
)
Public Operator -( _
ByVal l1 As Leadtools.Annotations.AnnLength, _
ByVal l2 As Leadtools.Annotations.AnnLength _
) As Leadtools.Annotations.AnnLength
public:
Leadtools.Annotations.AnnLength operator -(
Leadtools.Annotations.AnnLength l1,
Leadtools.Annotations.AnnLength l2
)
l1
The AnnLength structure on the left side of the subtraction operator.
l2
The AnnLength structure on the right side of the subtraction operator.
An AnnLength structure that is the result of the subtraction operation.
This method subtracts one length from another.
using Leadtools;
using Leadtools.Annotations;
using Leadtools.Codecs;
using Leadtools.WinForms;
public void AnnLength_OperatorMinus()
{
AnnLength ln1 = new AnnLength(2.0F, AnnUnit.Inch);
AnnLength ln2 = new AnnLength(1.5F, AnnUnit.Inch);
string s = string.Format("ln1 - ln2 = {0}", ln1 - ln2);
MessageBox.Show(s);
}
Imports Leadtools
Imports Leadtools.Annotations
Imports Leadtools.Codecs
Imports Leadtools.WinForms
Public Sub AnnLength_OperatorMinus()
Dim ln1 As AnnLength = New AnnLength(2.0F, AnnUnit.Inch)
Dim ln2 As AnnLength = New AnnLength(1.5F, AnnUnit.Inch)
Dim s As String = String.Format("ln1 - ln2 = {0}", ln1 - ln2)
MessageBox.Show(s)
End Sub
Products |
Support |
Feedback: Subtraction Operator (AnnLength) - Leadtools.Annotations |
Introduction |
Help Version 19.0.2017.6.20
|
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.