Converts the specified point from one CoordinateType to another.
public virtual Point ConvertPoint(
Leadtools.Controls.CoordinateType sourceType,
Leadtools.Controls.CoordinateType destinationType,
Point point
)
Public Overridable Function ConvertPoint( _
ByVal sourceType As Leadtools.Controls.CoordinateType, _
ByVal destinationType As Leadtools.Controls.CoordinateType, _
ByVal point As Point _
) As Point
public virtual Point ConvertPoint(
Leadtools.Controls.CoordinateType sourceType,
Leadtools.Controls.CoordinateType destinationType,
Point point
)
- (CGPoint)convertPoint:(CGPoint)point
sourceType:(LTCoordinateType)src
destType:(LTCoordinateType)dst
macOS Only (flipped around Y axis)
- (CGPoint)convertPoint_osx:(CGPoint)point
sourceType:(LTCoordinateType)src
destType:(LTCoordinateType)dst
public PointF convertPoint(CoordinateType sourceType,
CoordinateType destType,
PointF point)
function Leadtools.Controls.ImageViewer.ConvertPoint(
sourceType ,
destinationType ,
point
)
sourceType
The source coordinate type.
destinationType
The destination coordinate type.
point
The point to be converted.
The converted point, in the destination coordinate type.
Use this method to convert a point from control to image coordinates or back. This method will simply multiply the point by the transformation matrix (Transform) when converting from image to control coordinates and by the inverse of this matrix when converting from control to image coordinate.
If sourceType has the same value as destinationType, then this method will return a value equal to point.
For an example, refer to ImageViewerRubberBandInteractiveMode.
Products |
Support |
Feedback: ConvertPoint Method - OLeadtools.Controls |
Introduction |
Help Version 19.0.2017.3.23
|
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.