//シンボルのイメージをプレビューします。 stdole.IPictureDisp picture = symbologyStyleClass.PreviewItem(styleGalleryItem, pictureBox1.Width, pictureBox1.Height); System.Drawing.Image image = System.Drawing.Image.FromHbitmap(new System.IntPtr(picture.Handle)); pictureBox1.Image = image; //pictureBox1 = System.Windows.Forms.PictureBox
'シンボルのイメージをプレビューします。 Dim picture As stdole.IPictureDisp = symbologyStyleClass.PreviewItem(styleGalleryItem, PictureBox1.Width, PictureBox1.Height) Dim image As System.Drawing.Image = System.Drawing.Image.FromHbitmap(New System.IntPtr(picture.Handle)) PictureBox1.Image = image 'PictureBox1 = System.Windows.Forms.PictureBox