Пример #1
0
        /// <summary>
        /// タグの登録
        /// </summary>
        private void registerTag()
        {
            var tags = GetCheckedTags();

            warapper     = new BitmapWarapper(files[index]);
            warapper.Tag = string.Join(";", tags);
            warapper.Save(OUTPUT_DIRECTORY);
            warapper.Dispose();
        }
Пример #2
0
        private bool hasTagProperty(string file)
        {
            BitmapWarapper warapper = new BitmapWarapper(file);

            try
            {
                warapper.Tag = "test";
            }
            catch {
                return(false);
            }
            return(true);
        }