Leadtools.Annotations Namespace > AnnSize Structure : Explicit Type Conversion Operator |
Imports Leadtools Imports Leadtools.Annotations Public Sub AnnSize_OperatorAnnPoint() Dim sz As AnnSize = New AnnSize(1.5F, 2.0F, AnnUnit.Inch) Dim pt As AnnPoint = CType(sz, AnnPoint) End Sub
using Leadtools; using Leadtools.Annotations; public void AnnSize_OperatorAnnPoint() { AnnSize sz = new AnnSize(1.5F, 2F, AnnUnit.Inch); AnnPoint pt = (AnnPoint)sz; }