예제 #1
0
        private void PictureBox1_MouseClick(object sender, MouseEventArgs e)
        {
            PictureBox1_ZOOM_obj.change倍率();

            pictureBox1.Refresh();

            string ZOOMtext = string.Format("ZOOMtype{0}   ←の上で、倍率{1}", PictureBox1_ZOOM_obj.ZOOMtype.ToString(), PictureBox1_ZOOM_obj.率);

            label2_debug.Text = ZOOMtext;
        }
예제 #2
0
        void set_image_by_filepath(PictureBox in_picBox, string in_filepath, int in_ページ番号)
        {
            string tmp_EXT           = Path.GetExtension(in_filepath);
            string TEMP_PNG_filepath = Path.GetTempFileName();

            switch (tmp_EXT.ToUpper().TrimStart('.'))
            {
            case "PDF":
                convert_PDF2PNG(TEMP_PNG_filepath, in_filepath, in_ページ番号);
                PictureBox1_ZOOM_obj.set_filepath(TEMP_PNG_filepath);

                break;
            }
        }