Leadtools.Forms Namespace > LogicalSize Structure : Explicit Type Conversion Operator |
public LogicalPoint operator explicit( LogicalSize size )
'Declaration Public Operator Narrowing CType( _ ByVal size As LogicalSize _ ) As LogicalPoint
'Usage
public LogicalPoint operator explicit( LogicalSize size )
This operator type is not supported by WinRT JavaScript
public: LogicalPoint operator explicit( LogicalSize size )
Public Sub LogicalSize_OperatorLogicalPoint() Dim sz As LogicalSize = New LogicalSize(1.5F, 2F, LogicalUnit.Inch) Dim pt As LogicalPoint = CType(sz, LogicalPoint) End Sub
public void LogicalSize_OperatorLogicalPoint() { LogicalSize sz = new LogicalSize(1.5F, 2F, LogicalUnit.Inch); LogicalPoint pt = (LogicalPoint)sz; }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2