情報詳細Q.C#のColorDialogではなく、以下URLの例にあるようなカラーパレットを使用したいと考えております。https://www.mvtec.com/doc/halcon/13/en/set_color.html上記のようなカラーパレットのサンプルはありますでしょうか。A.標準では特にそのようなサンプルがございませんでしたので、CopilotでC#のサンプルを出力させましたHALCONが定義した名前であれば下記サンプルのような指定の仕方で、パレット表示できるかと存じます using HalconDotNet; public void SetColorPalette(HTuple windowID) { // Create a list of colors HTuple colors = new HTuple(new string[] { "red", "green", "blue", "yellow", "cyan", "magenta" }); // Set the color palette for (int i = 0; i < colors.Length; i++) { HOperatorSet.SetColor(windowID, colors[i]); // Draw or display something with the current color // Example: HOperatorSet.DispCircle(windowID, 100 + i * 50, 100 + i * 50, 50); } } 添付ファイルタイトルC#のColorDialogではなく、HALCONのカラーパレットを使用したいURL 名000011241公開状況公開済み検証状況未検証