Dim instance As ScreenHwnd Dim c As System.Drawing.Color Dim returnValue As Integer returnValue = instance.Color2Int(c)
'ScreenHwndクラス Color2Intメソッド Imports System.Windows.Forms Public Class AddIn Private chw As ScreenHwnd Public Sub New() chw = New ScreenHwnd() Dim result As Integer = chw.Color2Int(System.Drawing.Color.Red) MessageBox.Show(result.ToString & " = &H" & result.ToString("X6")) End Sub End Class
このページのQRコード
便利ウェブサイト
便利 Android アプリ
便利 iOS(iPhone,iPad) アプリ