diff --git a/CatalogLib/CatalogLib.csproj b/CatalogLib/CatalogLib.csproj
deleted file mode 100644
index 631add3..0000000
--- a/CatalogLib/CatalogLib.csproj
+++ /dev/null
@@ -1,196 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {D27ACCF2-80FC-4DE8-AEB8-351FF076E6D5}
- Library
- Properties
- CatalogLib
- CatalogLib
- v4.8
- 512
- SAK
- SAK
- SAK
- SAK
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- true
- bin\x64\Debug\
- DEBUG;TRACE
- full
- x64
- prompt
- MinimumRecommendedRules.ruleset
-
-
- bin\x64\Release\
- TRACE
- true
- pdbonly
- x64
- prompt
- MinimumRecommendedRules.ruleset
-
-
-
- ..\packages\Microsoft.Win32.Primitives.4.3.0\lib\net46\Microsoft.Win32.Primitives.dll
-
-
- ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll
- True
-
-
- ..\packages\SixLabors.Core.1.0.0-beta0002\lib\netstandard1.1\SixLabors.Core.dll
-
-
- ..\packages\SixLabors.Fonts.1.0.0-beta0001\lib\netstandard1.3\SixLabors.Fonts.dll
-
-
- ..\packages\SixLabors.ImageSharp.1.0.0-beta0001\lib\netstandard1.3\SixLabors.ImageSharp.dll
-
-
- ..\packages\SixLabors.ImageSharp.Drawing.1.0.0-beta0001\lib\netstandard1.1\SixLabors.ImageSharp.Drawing.dll
-
-
- ..\packages\SixLabors.Shapes.1.0.0-beta0001\lib\netstandard1.1\SixLabors.Shapes.dll
-
-
- ..\packages\SixLabors.Shapes.Text.1.0.0-beta0001\lib\netstandard1.1\SixLabors.Shapes.Text.dll
-
-
-
- ..\packages\System.AppContext.4.3.0\lib\net46\System.AppContext.dll
-
-
- ..\packages\System.Buffers.4.4.0\lib\netstandard1.1\System.Buffers.dll
-
-
- ..\packages\System.Collections.Immutable.1.4.0\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll
-
-
-
- ..\packages\System.Console.4.3.0\lib\net46\System.Console.dll
-
-
-
- ..\packages\System.Diagnostics.DiagnosticSource.4.3.0\lib\net46\System.Diagnostics.DiagnosticSource.dll
-
-
-
- ..\packages\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll
-
-
- ..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll
-
-
-
- ..\packages\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll
-
-
- ..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll
-
-
- ..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll
-
-
- ..\packages\System.Memory.4.4.0-preview2-25405-01\lib\netstandard1.0\System.Memory.dll
-
-
- ..\packages\System.Net.Http.4.3.0\lib\net46\System.Net.Http.dll
-
-
- ..\packages\System.Net.Sockets.4.3.0\lib\net46\System.Net.Sockets.dll
-
-
-
- ..\packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll
-
-
- ..\packages\System.Runtime.CompilerServices.Unsafe.4.4.0\lib\netstandard1.0\System.Runtime.CompilerServices.Unsafe.dll
-
-
- ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll
-
-
- ..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net46\System.Security.Cryptography.Algorithms.dll
-
-
- ..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll
-
-
- ..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll
-
-
- ..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net46\System.Security.Cryptography.X509Certificates.dll
-
-
- ..\packages\System.ValueTuple.4.4.0\lib\netstandard1.0\System.ValueTuple.dll
-
-
-
-
-
-
-
- ..\packages\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {44465926-240d-473f-90b8-786ba4384406}
- CatalogVbLib
-
-
- {e93daae6-4aa9-4a45-afb6-58209b3ad3c9}
- MaddoLibrary.Base.NET46
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/CatalogLib/Class1.cs b/CatalogLib/Class1.cs
deleted file mode 100644
index a63356c..0000000
--- a/CatalogLib/Class1.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace CatalogLib
-{
- public class Class1
- {
- }
-}
diff --git a/CatalogLib/Enums.cs b/CatalogLib/Enums.cs
deleted file mode 100644
index 831a7c4..0000000
--- a/CatalogLib/Enums.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-namespace CatalogLib
-{
- public enum Positions
- {
- Alto,
- Centro,
- Basso
- }
-
- public enum Alignments
- {
- Sinistra,
- Centro,
- Destra
- }
-
- public enum ResizeModes
- {
- Bicubic,
- Box,
- CatmullRom,
- Hermite,
- Lanczos2,
- Lanczos3,
- Lanczos5,
- Lanczos8,
- MitchellNetravali,
- NearestNeighbor,
- Robidoux,
- Spline,
- Triangle,
- Welch
-
- }
-
- public enum ResizeDimensions
- {
- LatoLungo,
- LatoCorto
- }
-}
\ No newline at end of file
diff --git a/CatalogLib/IImageProcessor.cs b/CatalogLib/IImageProcessor.cs
deleted file mode 100644
index fc08d94..0000000
--- a/CatalogLib/IImageProcessor.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace CatalogLib
-{
- public interface IImageProcessor
- {
- void Start(FileInfo workFile);
- }
-}
diff --git a/CatalogLib/ImageCreator.cs b/CatalogLib/ImageCreator.cs
deleted file mode 100644
index 869544b..0000000
--- a/CatalogLib/ImageCreator.cs
+++ /dev/null
@@ -1,618 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Drawing.Drawing2D;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Drawing;
-using System.Drawing.Imaging;
-using CatalogVbLib;
-
-namespace CatalogLib
-{
- public class ImageCreator
- {
-
- #region Variabili
-
- private SinglePicData _singlePicData;
- private PicSettings _picSettings;
-
- private Rotazione _rotation;
-
- //private bool FotoRuotaADestra = false;
-
- //private bool FotoRuotaASinistra = false;
- private string TempMinText = "";
- //Private crFont1 As Font
-
- private string _NomeFileChild;
- private DirectoryInfo _SourceDir;
- private DirectoryInfo _DestDirStart;
-
- private DirectoryInfo _DestDir;
-
- private FileInfo _workFile;
- private string testoFirma;
- private string testoFirmaV;
- private int alphaScelta;
- private int _dimensioneStandard;
- private int _dimensioneStandardMiniatura;
- private DateTime dataFoto;
- private DateTime dataPartenzaI;
- private string testoOrario;
- private string testoFirmaPiccola;
- private Size thumbSizeSmall;
- private Size thumbSizeBig;
- private string nomeFileSmall;
- private string nomeFileBig;
-
- private string nomeFileBig2;
- private float yPosFromBottom;
- private float yPosFromBottom1;
- private float yPosFromBottom2;
- private float yPosFromBottom3;
- private float yPosFromBottom4;
-
- public string NomeFileChild
- {
- get { return _NomeFileChild; }
- set { _NomeFileChild = value; }
- }
-
- public DirectoryInfo DestDirStart
- {
- get { return _DestDirStart; }
- set { _DestDirStart = value; }
- }
-
- public DirectoryInfo SourceDir
- {
- get { return _SourceDir; }
- set { _SourceDir = value; }
- }
-
- public DirectoryInfo DestDir
- {
- get { return _DestDir; }
- set { _DestDir = value; }
- }
-
- public FileInfo WorkFile
- {
- get { return _workFile; }
- set { _workFile = value; }
- }
-
- #endregion
-
- //public ImageCreator(string nomeFileChild, DirectoryInfo sourceDir, DirectoryInfo destDir, DirectoryInfo destDirStart)
- //{
- // this.NomeFileChild = nomeFileChild;
- // SourceDir = sourceDir;
- // DestDir = destDir;
- // DestDirStart = destDirStart;
- // WorkFile = new FileInfo(nomeFileChild);
- //}
-
- //public ImageCreator(string nomeFileChild, DirectoryInfo sourceDir, DirectoryInfo destDir)
- //{
- // NomeFileChild = nomeFileChild;
- // DestDir = destDir;
- //}
-
- //public ImageCreator(FileInfo file, DirectoryInfo destination)
- //{
- // WorkFile = file;
- // DestDir = destination;
- //}
-
- public ImageCreator(SinglePicData picData, PicSettings picSettings)
- {
-
- }
-
- ///
- /// Elabora l'immagine
- ///
- /// Non ne ho idea. ToDo: capire a che serve
- public void CreaImmagineThread(string info)
- {
-
- //CatalogLib.PicSettings ps = new CatalogLib.PicSettings();
-
- PreparaVariabili();
-
- // Workfile deve essere impostato esternamente. ToDo: passarlo come parametro così da potere riutilizzare la classe senza eliminarla e ricrearla
- Image g = Image.FromFile(WorkFile.FullName);
-
- ImpostaTestoExtra(g);
-
- // Rotazione immagine in base ai dati EXIF
- Rotation(ref g);
-
- // Impostazione del formato
- // todo: mettere una selezione più specifica invece di assumere jpg
- ImageFormat currentFormat = g.RawFormat;
- if (_picSettings.UsaForzaJpg)
- {
- currentFormat = ImageFormat.Jpeg;
- }
-
- PrepareThumbnailSize(g);
-
- // big image resolution
- var imgOutputBig = new Bitmap(g, thumbSizeBig.Width, thumbSizeBig.Height);
- imgOutputBig.SetResolution(g.HorizontalResolution, g.VerticalResolution);
-
-
- if (_picSettings.CreaMiniature)
- {
-
- CreaMiniature(g, imgOutputBig, currentFormat);
- }
-
-
-
-
-
-
- }
-
-
- private void Rotation(ref System.Drawing.Image g)
- {
- //FotoRuotaADestra = false;
- //FotoRuotaASinistra = false;
- _rotation = Rotazione.Normale;
-
- if (_picSettings.GeneraleRotazioneAutomatica)
- {
- // ci sono dati exif
- if (g.PropertyIdList.Length > 0)
- {
- ExifReader DatiExif = new ExifReader((Bitmap)g);
-
- switch (DatiExif.Orientation)
- {
- case ExifReader.Orientations.BottomLeft:
-
- break;
- case ExifReader.Orientations.BottomRight:
-
- break;
- case ExifReader.Orientations.LeftTop:
-
- break;
- case ExifReader.Orientations.LftBottom:
- //FotoRuotaASinistra = true;
- _rotation = Rotazione.Sinistra;
- break;
- case ExifReader.Orientations.RightBottom:
-
- break;
- case ExifReader.Orientations.RightTop:
-
- break;
- case ExifReader.Orientations.TopLeft:
-
- break;
- case ExifReader.Orientations.TopRight:
-
- break;
- }
- }
- }
-
- if (_rotation == Rotazione.Sinistra)
- {
- g.RotateFlip(RotateFlipType.Rotate270FlipNone);
- }else
- if (_rotation == Rotazione.Destra)
- {
- g.RotateFlip(RotateFlipType.Rotate90FlipNone);
- }
- // todo: capire quando va ruotato a destra
- }
-
- ///
- /// Aggiunge orario e tempo gara
- ///
- ///
- private void ImpostaTestoExtra(Image g)
- {
- if (_picSettings.UsaOrarioTestoApplicare ||
- _picSettings.UsaTempoGaraTestoApplicare ||
- _picSettings.UsaOrarioMiniatura ||
- _picSettings.TestoMin ||
- _picSettings.AggTempoGaraMin ||
- _picSettings.AggNumTempMin)
- {
- if (g.PropertyIdList.Length > 0) //ci sono dati exif
- {
- var datiExix = new ExifReader((Bitmap)g);
- dataFoto = datiExix.DateTimeOriginal;
- testoFirma = _picSettings.TestoFirmaStart;
- testoFirmaV = _picSettings.TestoFirmaStartV;
-
- if (dataFoto.Year != 1)
- {
- testoFirmaPiccola = dataFoto.ToShortDateString();
- if (_picSettings.UsaOrarioTestoApplicare)
- {
- testoFirma = $"{testoFirma} {dataFoto.ToShortDateString()} {dataFoto.ToLongDateString()}";
- testoFirmaV = $"{testoFirmaV} {dataFoto.ToShortDateString()} {dataFoto.ToLongDateString()}";
- //testoFirma = string.Concat(testoFirma, " ", dataFoto.ToShortDateString(), " ", dataFoto.ToLongDateString());
- //testoFirmaV = string.Concat(testoFirmaV, " ", dataFoto.ToShortDateString(), " ", dataFoto.ToLongDateString());
-
- }
- if (_picSettings.UsaTempoGaraTestoApplicare)
- {
- //TimeSpan orario = dataPartenzaI - dataFoto;
-
- string orarioString = (dataPartenzaI - dataFoto).ToString(@"hh\:mm\:ss");
-
- testoFirma = $"{testoFirma} {testoOrario} {orarioString}";
- testoFirmaV = $"{testoFirmaV} {testoOrario} {orarioString}";
-
- //testoFirma = string.Concat(testoFirma, " ", testoOrario, orario.ToString(@"hh\:mm\:ss"));
- //testoFirmaV = string.Concat(testoFirmaV, " ", testoOrario, orario.ToString(@"hh\:mm\:ss"));
- }
- }
- }
- }
- else
- {
- testoFirma = _picSettings.TestoFirmaStart;
- testoFirmaV = _picSettings.TestoFirmaStartV;
- }
- }
-
- ///
- /// Preparazione delle variabili a valori di default e caricamento da impostazioni
- ///
- private void PreparaVariabili()
- {
- alphaScelta = (int)(255 * (100 - _picSettings.Trasparenza) / 100);
- testoFirma = string.Empty;
- testoFirmaV = string.Empty;
- dataPartenzaI = _picSettings.DataPartenza;
- testoOrario = _picSettings.TestoOrario;
- if (testoOrario.Length > 0)
- {
- testoOrario += " ";
- }
- testoFirmaPiccola = string.Empty;
- thumbSizeSmall = new Size();
- thumbSizeBig = new Size();
- nomeFileSmall = string.Empty;
- nomeFileBig2 = string.Empty;
- nomeFileBig = string.Empty;
- _dimensioneStandard = _picSettings.DimStandard;
- _dimensioneStandardMiniatura = _picSettings.DimStandardMiniatura;
-
- nomeFileSmall = _picSettings.Suffisso + WorkFile.Name;
- nomeFileBig = WorkFile.Name;
- }
-
- private void PrepareThumbnailSize(Image g)
- {
- if (g.Width > g.Height)
- {
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, CatalogVbLib.PicSettings.LarghezzaSmall, "Larghezza");
- //Size sizeOrig = new Size(g.Width, g.Height);
- //thumbSizeBig = sizeOrig;
-
- thumbSizeBig = new Size(g.Width, g.Height);
- }
- else
- {
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, CatalogVbLib.PicSettings.AltezzaSmall, "Altezza");
-
- thumbSizeBig = new Size(g.Width, g.Height);
- }
- }
-
- private void CreaMiniature(Image g, Bitmap imgOutputBig, ImageFormat thisFormat)
- {
-// CatalogLib.PicSettings ps = new PicSettings();
-
- if (_picSettings.TestoMin)
- {
- testoFirmaPiccola = nomeFileBig;
- }
- else if (_picSettings.AggNumTempMin)
- {
- testoFirmaPiccola = nomeFileBig + " ";
- }
-
- Font crFont1;
- Font crFont2;
- SizeF crSize1 = new SizeF();
- SizeF crSize2 = new SizeF();
-
- if (_picSettings.CreaMiniature)
- {
- if (!_picSettings.AggiungiScritteMiniature)
- {
- if (string.Equals(_picSettings.DirectorySorgente, _picSettings.DirectoryDestinazione, StringComparison.CurrentCultureIgnoreCase))
- {
- nomeFileSmall = nomeFileSmall.Substring(0, nomeFileSmall.Length - 4) + _picSettings.Codice +
- nomeFileSmall.Substring(nomeFileSmall.Length - 4);
- }
-
- if (_picSettings.UsaOrarioMiniatura ||
- _picSettings.TestoMin ||
- _picSettings.AggTempoGaraMin ||
- _picSettings.AggNumTempMin)
- {
- if (!string.IsNullOrWhiteSpace(testoFirmaPiccola))
- {
- Bitmap imgOutputSmall = (Bitmap)imgOutputBig.Clone();
-
- Graphics grPhoto1 = Graphics.FromImage(imgOutputSmall);
- grPhoto1.SmoothingMode = SmoothingMode.HighSpeed; //Todo: permettere di cambiare questo parametro
-
- int larghezzaStandard1;
-
- _dimensioneStandardMiniatura = 50;
- bool grassetto = _picSettings.Grassetto;
- crFont1 = new Font(_picSettings.IlFont, _dimensioneStandardMiniatura, grassetto ? FontStyle.Bold : FontStyle.Regular);
- crFont2 = new Font(_picSettings.IlFont, _dimensioneStandard, grassetto ? FontStyle.Bold : FontStyle.Regular);
-
- crSize1 = grPhoto1.MeasureString(testoFirmaPiccola, crFont1);
- crSize2 = grPhoto1.MeasureString(testoFirma, crFont1);
-
- larghezzaStandard1 = (int)crSize1.Width;
-
- if (crSize1.Width > g.Width)
- {
- int conta = _dimensioneStandardMiniatura;
- do
- {
- if (conta > 20)
- {
- conta -= 5;
- }
- else
- {
- conta -= 1;
- }
-
- crFont1 = new Font(_picSettings.IlFont, conta, grassetto ? FontStyle.Bold : FontStyle.Regular);
- crSize1 = grPhoto1.MeasureString(testoFirmaPiccola, crFont1);
-
- if (crSize1.Width < g.Width)
- {
- larghezzaStandard1 = (int)crSize1.Width;
- break;
- }
-
- } while (conta > 5);
- _dimensioneStandardMiniatura = conta;
-
- }
-
- switch (_picSettings.TextPosition.ToString().ToUpper())
- {
- case "ALTO":
- yPosFromBottom1 = _picSettings.Margine;
- yPosFromBottom4 = _picSettings.MargVert;
- break;
-
- case "BASSO":
- yPosFromBottom1 =
- (float)
- (g.Height - crSize1.Height - (g.Height * CatalogVbLib.PicSettings.Margine / 100));
- yPosFromBottom4 = (float)(g.Height - crSize1.Height - (g.Height * CatalogVbLib.PicSettings.MargVert / 100));
- break;
- }
-
-
- float xCenterOfImg1 = Single.NaN;
-
- StringFormat strFormat1 = new StringFormat();
-
- switch (_picSettings.Allineamento.ToUpper())
- {
- case "SINISTRA":
- xCenterOfImg1 = CatalogVbLib.PicSettings.Margine + (larghezzaStandard1 / 2);
- if ((larghezzaStandard1 / 2) > (g.Width / 2) - CatalogVbLib.PicSettings.Margine)
- {
- xCenterOfImg1 = g.Width / 2;
- }
- break;
-
- case "CENTRO":
- xCenterOfImg1 = (g.Width / 2);
- break;
-
- case "DESTRA":
- xCenterOfImg1 = (g.Width - CatalogVbLib.PicSettings.Margine - (larghezzaStandard1 / 2));
- if ((larghezzaStandard1 / 2) > (g.Width / 2) - CatalogVbLib.PicSettings.Margine)
- {
- xCenterOfImg1 = g.Width / 2;
- }
- break;
-
- }
-
- strFormat1.Alignment = StringAlignment.Center;
-
- SolidBrush semiTransBrush21 = new SolidBrush(Color.FromArgb(alphaScelta, 0, 0, 0));
- SolidBrush semiTransBrush1 = new SolidBrush(Color.FromArgb(alphaScelta, CatalogVbLib.PicSettings.fontColoreRGB));
-
- _dimensioneStandardMiniatura = CatalogVbLib.PicSettings.DimMin;
-
- if (_picSettings.Grassetto)
- {
- crFont1 = new Font(_picSettings.IlFont, _dimensioneStandardMiniatura, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(_picSettings.IlFont, _dimensioneStandardMiniatura);
- }
-
- if (_picSettings.TestoMin)
- {
- grPhoto1.DrawString(nomeFileBig, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), strFormat1);
- grPhoto1.DrawString(nomeFileBig, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), strFormat1);
- }
- else if (_picSettings.AggTempoGaraMin & _picSettings.UsaTempoGaraTestoApplicare)
- {
- //TimeSpan orario = (dataPartenzaI - dataFoto) * 10000000; //todo
- TimeSpan orario = dataPartenzaI - dataFoto; //todo controllare se torna la roba giusta
-
- string tempStr = "";
-
-
-
- tempStr += Environment.NewLine + testoOrario + orario.Hours.ToString("00") + ":" +
- orario.Minutes.ToString("00") + ":" + orario.Seconds.ToString("00"); //todo: usare una stringa formato per sta boiata
-
- grPhoto1.DrawString(tempStr, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1));
- grPhoto1.DrawString(tempStr, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), strFormat1);
- }
- else if (_picSettings.AggNumTempMin) //todo semplificare la logica di sti eif
- {
- TimeSpan orario = dataPartenzaI - dataFoto; //todo controllare se torna la roba giusta
- string tempStr = "";
- tempStr += nomeFileBig + Environment.NewLine + testoOrario + orario.Hours.ToString("00") + ":" +
- orario.Minutes.ToString("00") + ":" + orario.Seconds.ToString("00"); //todo: usare una stringa formato per sta boiata
-
- grPhoto1.DrawString(tempStr, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1));
- grPhoto1.DrawString(tempStr, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), strFormat1);
- }
- else
- {
- grPhoto1.DrawString(testoFirmaPiccola, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), strFormat1);
- grPhoto1.DrawString(testoFirmaPiccola, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), strFormat1);
- }
-
-
- //Salva miniatura
-
- imgOutputSmall.Save(Path.Combine(DestDir.FullName, "Temp_" + nomeFileSmall), thisFormat);
- float width = 0;
- float height = 0;
- //float scale = Math.Min(width/imgOutputSmall.Width, height/imgOutputSmall.Height);
- using (var bmp = new Bitmap(thumbSizeSmall.Width, thumbSizeSmall.Height))
- {
- using (var graph = Graphics.FromImage(bmp))
- {
- // uncomment for higher quality output
- //graph.InterpolationMode = InterpolationMode.High;
- //graph.CompositingQuality = CompositingQuality.HighQuality;
- //graph.SmoothingMode = SmoothingMode.AntiAlias;
-
- graph.DrawImage(imgOutputSmall, new Rectangle(0, 0, (int)width, (int)height));
-
- bmp.Save(Path.Combine(DestDir.FullName, nomeFileSmall), thisFormat);
- }
- }
- //var bmp = new Bitmap(thumbSizeSmall.Width, thumbSizeSmall.Height);
- //var graph = Graphics.FromImage(bmp);
-
-
-
-// 10 down vote accepted
-
-
-//Target parameters:
-
-//float width = 1024;
-//float height = 768;
-//var brush = new SolidBrush(Color.Black);
-
-//Your original file:
-
-//var image = new Bitmap(file);
-
-//Target sizing (scale factor):
-
-//float scale = Math.Min(width / image.Width, height / image.Height);
-
-//The resize including brushing canvas first:
-
-//var bmp = new Bitmap((int)width, (int)height);
-//var graph = Graphics.FromImage(bmp);
-
-//// uncomment for higher quality output
-////graph.InterpolationMode = InterpolationMode.High;
-////graph.CompositingQuality = CompositingQuality.HighQuality;
-////graph.SmoothingMode = SmoothingMode.AntiAlias;
-
-//var scaleWidth = (int)(image.Width * scale);
-//var scaleHeight = (int)(image.Height * scale);
-
-//graph.FillRectangle(brush, new RectangleF(0, 0, width, height));
-//graph.DrawImage(image, new Rectangle(((int)width - scaleWidth)/2, ((int)height - scaleHeight)/2, scaleWidth, scaleHeight));
-
-
-
- //imgOutputSmall.Save(Path.Combine(DestDir.FullName, nomeFileSmall), thisFormat);
-
-
- //Image g2 = Image.FromFile(Path.Combine(DestDir.FullName, "Temp_" + nomeFileSmall));
- //Bitmap imgOutputSmall2 = new Bitmap(g2, thumbSizeSmall.Width, thumbSizeSmall.Height);
- //imgOutputSmall2.Save(Path.Combine(DestDir.FullName, nomeFileSmall), thisFormat);
-
-
-
- }
- }
-
-
- }
- }
-
-
-
- }
-
-
-
- ///
- /// Calculate the Size of the New image
- ///
- /// Larghezza
- /// Altezza
- ///
- ///
- ///
- ///
- private Size NewthumbSize(int currentwidth, int currentheight, int MaxPixel, string TipoSize)
- {
- // e
- //*** Larghezza, Altezza, Auto
-
- double tempMultiplier = 0;
-
- if (TipoSize.ToUpper() == "Larghezza".ToUpper())
- {
- tempMultiplier = MaxPixel / currentwidth;
- }
- else if (TipoSize.ToUpper() == "Altezza".ToUpper())
- {
- tempMultiplier = MaxPixel / currentheight;
- }
- else
- {
- // portrait
- if (currentheight > currentwidth)
- {
- tempMultiplier = MaxPixel / currentheight;
- }
- else
- {
- tempMultiplier = MaxPixel / currentwidth;
- }
- }
-
- Size NewSize = new Size(Convert.ToInt32(currentwidth * tempMultiplier), Convert.ToInt32(currentheight * tempMultiplier));
-
- return NewSize;
- }
- }
-}
diff --git a/CatalogLib/ImageCreator2.cs b/CatalogLib/ImageCreator2.cs
deleted file mode 100644
index c10607d..0000000
--- a/CatalogLib/ImageCreator2.cs
+++ /dev/null
@@ -1,166 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Drawing;
-using System.Drawing.Imaging;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using CatalogVbLib;
-
-namespace CatalogLib
-{
- public class ImageCreator2 : IImageProcessor
- {
- private PicSettings _picSettings = PicSettings.Instance;
-
- private FileInfo _workFile;
-
- private Image _workingImage;
-
- private Rotazione _rotation;
-
- private ImageFormat _currentFormat;
-
- private Size _newImageSize;
-
- private Bitmap _outputImage;
-
- private DirectoryInfo _destDir;
-
- private string _nomeFileBig;
-
- public void Start(FileInfo workFile)
- {
- _workFile = workFile;
-
- _workingImage = Image.FromFile(workFile.FullName);
-
- _destDir = new DirectoryInfo(_picSettings.DirectoryDestinazione);
- _nomeFileBig = _workFile.Name;
-
- CalculateImageSize();
-
- ElaborazioneTesto();
-
- ElaborazioneRotazione();
-
- SetImageFormat();
-
-
- FinalElaboration();
-
- //CreaMiniature
- }
-
- private void FinalElaboration()
- {
- _outputImage = new Bitmap(_workingImage, _newImageSize.Width, _newImageSize.Height);
- _outputImage.SetResolution(_workingImage.HorizontalResolution, _workingImage.VerticalResolution);
-
-
- SavePic(_outputImage, Path.Combine(_destDir.FullName, _nomeFileBig));
- }
-
- private void SavePic(Bitmap imageToSave, string fileName)
- {
- var selectedEncoder = GetEncoder(_currentFormat);
- var encoder = System.Drawing.Imaging.Encoder.Quality;
- var encoderParameters = new EncoderParameters(1);
-
-
- if (Equals(_currentFormat, ImageFormat.Jpeg))
- {
- var encoderParameter = new EncoderParameter(encoder, _picSettings.CompressioneJpeg);
- encoderParameters.Param[0] = encoderParameter;
- }
-
- imageToSave.Save(fileName, selectedEncoder,encoderParameters);
- imageToSave.Dispose();
- }
-
- private ImageCodecInfo GetEncoder(ImageFormat format)
- {
- var codecs = ImageCodecInfo.GetImageDecoders();
-
- return codecs.FirstOrDefault(c => c.FormatID == format.Guid);
- }
-
- private void ElaborazioneTesto()
- {
- if (_picSettings.EnableText)
- {
- // todo: elaborazione testo
- }
- }
-
- private void CalculateImageSize()
- {
- _newImageSize = new Size(_workingImage.Width, _workingImage.Height);
- }
-
- private void ElaborazioneRotazione()
- {
-
- _rotation = Rotazione.Normale;
-
- if (_picSettings.GeneraleRotazioneAutomatica)
- {
- // ci sono dati exif
- if (_workingImage.PropertyIdList.Length > 0)
- {
- ExifReader DatiExif = new ExifReader((Bitmap)_workingImage);
-
- switch (DatiExif.Orientation)
- {
- case ExifReader.Orientations.BottomLeft:
-
- break;
- case ExifReader.Orientations.BottomRight:
-
- break;
- case ExifReader.Orientations.LeftTop:
-
- break;
- case ExifReader.Orientations.LftBottom:
- //FotoRuotaASinistra = true;
- _rotation = Rotazione.Sinistra;
- break;
- case ExifReader.Orientations.RightBottom:
-
- break;
- case ExifReader.Orientations.RightTop:
-
- break;
- case ExifReader.Orientations.TopLeft:
-
- break;
- case ExifReader.Orientations.TopRight:
-
- break;
- }
- }
- }
-
- if (_rotation == Rotazione.Sinistra)
- {
- _workingImage.RotateFlip(RotateFlipType.Rotate270FlipNone);
- }
- else
- if (_rotation == Rotazione.Destra)
- {
- _workingImage.RotateFlip(RotateFlipType.Rotate90FlipNone);
- }
- }
-
- private void SetImageFormat()
- {
- _currentFormat = _workingImage.RawFormat;
- if (_picSettings.GeneraleForzaJPG)
- {
- _currentFormat = ImageFormat.Jpeg;
- }
- }
-
- }
-}
diff --git a/CatalogLib/ImgSharpCreator.cs b/CatalogLib/ImgSharpCreator.cs
deleted file mode 100644
index aa053a6..0000000
--- a/CatalogLib/ImgSharpCreator.cs
+++ /dev/null
@@ -1,549 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.IO;
-using System.Linq;
-using System.Numerics;
-using System.Threading.Tasks;
-using MaddoLibrary.Base.Log;
-using SixLabors.Fonts;
-using SixLabors.ImageSharp;
-using SixLabors.ImageSharp.Drawing;
-using SixLabors.ImageSharp.Formats.Jpeg;
-using SixLabors.ImageSharp.MetaData.Profiles.Exif;
-using SixLabors.ImageSharp.Processing;
-using SixLabors.Primitives;
-using Font = SixLabors.Fonts.Font;
-using FontFamily = SixLabors.Fonts.FontFamily;
-using FontStyle = SixLabors.Fonts.FontStyle;
-using Rgba32 = SixLabors.ImageSharp.Rgba32;
-using Image = SixLabors.ImageSharp.Image;
-
-namespace CatalogLib
-{
- public class ImgSharpCreator : IImageProcessor
- {
- private Image _logo;
- public ImgSharpCreator()
- {
- if (!PicSettings.Instance.EnableLogo) return;
- if (string.IsNullOrWhiteSpace(PicSettings.Instance.LogoPath)) return;
- if (!File.Exists(PicSettings.Instance.LogoPath)) return;
-
- _logo = Image.Load(PicSettings.Instance.LogoPath);
-
- }
- private FileInfo _currentFile;
- public void Start(FileInfo workFile)
- {
-
- Stopwatch s = new Stopwatch();
- s.Start();
-
- _currentFile = workFile;
-
-
-
- using (Image image = Image.Load(workFile.FullName)/* new Image(workFile.FullName)*/)
- {
- MaddoLogger.Log("Loaded Image: {0}", workFile.FullName);
- //image.Rotate(-90);
- bool isRotated;
-
- var orientation = image.MetaData.ExifProfile.GetValue(ExifTag.Orientation);
- if ((ushort)orientation.Value != 1)
- {
- isRotated = true;
- }
- else
- {
- isRotated = false;
- }
-
- if (PicSettings.Instance.FotoRidimensiona)
- {
- Resize(image);
- }
-
-
- if (PicSettings.Instance.GeneraleRotazioneAutomatica)
- {
- image.Mutate(img => img.AutoOrient());
- MaddoLogger.Log("Rotated Image: {0}", workFile.FullName);
- //image.AutoOrient();
-
- //var exif = image.MetaData.ExifProfile;
- //if (exif != null)
- //{
- // var o = exif.GetValue(ExifTag.Orientation);
- // if (o != null)
- // {
- // var v = (ushort)o.Value;
-
-
-
- // switch (v)
- // {
-
-
- // //1 = Horizontal(normal)
- // //2 = Mirror horizontal
- // //3 = Rotate 180
- // //4 = Mirror vertical
- // //5 = Mirror horizontal and rotate 270 CW
- // //6 = Rotate 90 CW
- // //7 = Mirror horizontal and rotate 90 CW
- // //8 = Rotate 270 CW
- // case 1:
- // break;
- // case 2:
- // image.Flip(FlipType.Horizontal);
- // break;
- // case 3:
- // //image.Rotate(180f);
-
- // //image.Rotate(90);
- // image.Rotate(RotateType.Rotate180);
- // break;
- // case 4:
- // image.Flip(FlipType.Vertical);
- // break;
- // case 5:
- // image.RotateFlip(RotateType.Rotate270, FlipType.Horizontal);
- // break;
- // case 6:
- // image.Rotate(RotateType.Rotate90);
- // break;
- // case 7:
- // image.RotateFlip(RotateType.Rotate90, FlipType.Horizontal);
- // break;
- // case 8:
- // //image.Rotate(-90);
- // image.Rotate(RotateType.Rotate270);
-
- // image.MetaData.ExifProfile.SetValue(ExifTag.Orientation, new ExifValue(exif.GetValue(ExifTag.Orientation)).Value = (ushort)1);
- // break;
-
-
- // }
- // }
- //}
-
- }
-
- if (PicSettings.Instance.EnableText)
- {
- //SetTextTest(image);
- SetExtraText(image, isRotated);
-
-
- MaddoLogger.Log("Drawn text on Image: {0}", workFile.FullName);
- }
-
- //JpegDecoder j = new JpegDecoder();
- var va = Vector.IsHardwareAccelerated;
-
- MaddoLogger.Log("Hardware Accelerated: {0}", va);
- //image.Resize(PicSettings.Instance.FotoLarghezza, PicSettings.Instance.FotoAltezza);
-
- //image.Resize(2240, 2240);
- //var fff = FontCollection.SystemFonts.Find(PicSettings.Instance.NomeFont);
- //var font = new Font(fff, (float)PicSettings.Instance.DimensioneFont, FontStyle.Regular);
- //image.DrawText("sssssssssssssssssssssssssssssssssssssssssssssss", font, Color.Black, new Vector2(200, 200));
- image.Save(Path.Combine(PicSettings.Instance.DirectoryDestinazione, workFile.Name), new JpegEncoder() { Quality = PicSettings.Instance.CompressioneJpeg });
- //image.Resize(200, 200).Save("");
-
- MaddoLogger.Log("Saved Image: {0} to: {1}", workFile.FullName, Path.Combine(PicSettings.Instance.DirectoryDestinazione, workFile.Name));
- }
- s.Stop();
- MaddoLogger.Log("Time Taken for {0}: {1}", workFile.FullName, s.Elapsed);
- }
-
- private void Resize(Image image)
- {
- IResampler resampler;
- switch (PicSettings.Instance.ResizeMode)
- {
- case ResizeModes.Bicubic:
- resampler = new BicubicResampler();
- break;
- case ResizeModes.Box:
- resampler = new BoxResampler();
- break;
- case ResizeModes.CatmullRom:
- resampler = new CatmullRomResampler();
- break;
- case ResizeModes.Hermite:
- resampler = new HermiteResampler();
- break;
- case ResizeModes.Lanczos2:
- resampler = new Lanczos2Resampler();
- break;
- case ResizeModes.Lanczos3:
- resampler = new Lanczos3Resampler();
- break;
- case ResizeModes.Lanczos5:
- resampler = new Lanczos5Resampler();
- break;
- case ResizeModes.Lanczos8:
- resampler = new Lanczos8Resampler();
- break;
- case ResizeModes.MitchellNetravali:
- resampler = new MitchellNetravaliResampler();
- break;
- case ResizeModes.NearestNeighbor:
- resampler = new NearestNeighborResampler();
- break;
- case ResizeModes.Robidoux:
- resampler = new RobidouxResampler();
- break;
- case ResizeModes.Spline:
- resampler = new SplineResampler();
- break;
- case ResizeModes.Triangle:
- resampler = new TriangleResampler();
- break;
- case ResizeModes.Welch:
- resampler = new WelchResampler();
- break;
- default:
- throw new ArgumentOutOfRangeException();
- }
- // todo calcolare ridimensionamento
- var size = new Size(PicSettings.Instance.FotoLarghezza, PicSettings.Instance.FotoAltezza);
- if (PicSettings.Instance.FotoMantieniDimensioni)
- {
- size = ResizeImage(image, size, PicSettings.Instance.ResizeDimension);
- image.Mutate(x => x.Resize((size.Width), (size.Height), resampler));
-
- //Width Formula:
- //original height / original width * new width = new height
- //Height Formula:
- //orignal width / orignal height * new height = new width
- }
- else
- {
-
- image.Mutate(x => x.Resize(PicSettings.Instance.FotoAltezza, PicSettings.Instance.FotoLarghezza, resampler));
- }
-
- }
-
- private Size ResizeImage(Image image, Size size, ResizeDimensions side)
- {
- switch (side)
- {
- case ResizeDimensions.LatoLungo:
- size = GetResizeDimensions(new Size(image.Width, image.Height), size, image.Width > image.Height);
- break;
- case ResizeDimensions.LatoCorto:
- size = GetResizeDimensions(new Size(image.Width, image.Height), size, image.Width <= image.Height);
- break;
- default:
- throw new ArgumentOutOfRangeException();
- }
- return size;
- }
-
- private Size GetResizeDimensions(Size originalSize, Size newSize, bool adjustHeight)
- {
- return adjustHeight ? new Size(newSize.Width, originalSize.Height / originalSize.Width * newSize.Height) : new Size(originalSize.Width / originalSize.Height * newSize.Height, newSize.Height);
- }
-
- private void SetTextTest(Image image)
- {
- string text = "test test test test test testtest test test test test test test";
- Font font = new Font(SystemFonts.Find("verdana"), 300, FontStyle.Regular);
- image.Mutate(x => x.DrawText(text, font, Rgba32.Yellow, new PointF(2760, 3295.54932f), new TextGraphicsOptions()
- {
- HorizontalAlignment = HorizontalAlignment.Center
- }));
- }
-
- private void SetExtraText(Image image, bool isRotated)
- {
- if (string.IsNullOrWhiteSpace(PicSettings.Instance.TestoApplicareOrizzontale))
- {
- Debug.WriteLine($"{_currentFile.Name} No text");
- return;
- }
-
- string text;
- if (isRotated)
- {
- if (PicSettings.Instance.TestoApplicareOrizzontale.Contains("$_"))
- {
- text = PicSettings.Instance.TestoApplicareOrizzontale.Replace("$_", "\r\n");
- }
- else
- {
- text = PicSettings.Instance.TestoApplicareOrizzontale.Replace("$_", "");
- }
-
- }
- else
- {
- text = PicSettings.Instance.TestoApplicareOrizzontale.Replace("$_", "");
- }
-
-
- var fo = SixLabors.Fonts.SystemFonts.Find(PicSettings.Instance.NomeFont);
-
-
- //var fff = FontCollection.SystemFonts.Find(PicSettings.Instance.NomeFont);
- //var fff = FontCollection.SystemFonts.Find("Segoe Print");
-
- Font font;
-
- if (!PicSettings.Instance.Grassetto)
- {
- font = new Font(fo, (float)PicSettings.Instance.DimensioneFont, FontStyle.Regular);
- }
- else
- {
- font = new Font(fo, (float)PicSettings.Instance.DimensioneFont, FontStyle.Bold);
- }
- // todo corsivo
-
-
-
- //var font = new Font(fff, 8f, FontStyle.Regular);
-
-
- //Color c = Color.FromHex(FlipRgbString(PicSettings.Instance.ColoreTestoRGB));
- Rgba32 g = Rgba32.FromHex(FlipRgbString(PicSettings.Instance.ColoreTestoRGB));
-
- Rgba32 gBack = Rgba32.Black; // todo alpha
- //TextMeasurer measurer = new TextMeasurer();
-
- //var size = measurer.MeasureText(PicSettings.Instance.TestoApplicareOrizzontale, font, 72);
- //float scalingFactor = Math.Min(image.Width / size.Width, image.Height / size.Height);
- //Font scaledFont = new Font(font, scalingFactor * font.Size);
-
- //image.DrawText(PicSettings.Instance.TestoApplicareOrizzontale, scaledFont, g, new Vector2(0, 0));
-
- Vector2 center = new Vector2(image.Width / 2, image.Height / 2); //center horizontally, 10px down
-
- var size = TextMeasurer.Measure(text, new RendererOptions(font));
-
- var larghezzaStandard = size.Width;
- var dimensioneStandard = (int)Math.Round(PicSettings.Instance.DimensioneFont);
- if (size.Width > image.Width)
- {
- var c = dimensioneStandard;
- do
- {
- if (c > 20)
- {
- c -= 5;
- }
- else
- {
- c -= 1;
- }
-
- if (PicSettings.Instance.Grassetto)
- {
- font = new Font(fo, c, FontStyle.Bold);
- }
- else
- {
- font = new Font(fo, c, FontStyle.Regular);
- }
- size = TextMeasurer.Measure(text,
- new RendererOptions(font));
- if (size.Width < image.Width)
- {
- larghezzaStandard = (int)Math.Round(size.Width);
- break;
- }
- if (c <= 5)
- {
- break;
- }
- } while (dimensioneStandard == c);
- }
-
- float yPosFromBottom = 0;
-
- switch (PicSettings.Instance.TextPosition)
- {
- case Positions.Alto:
- yPosFromBottom = PicSettings.Instance.Margine;
- break;
- case Positions.Basso:
- yPosFromBottom = image.Height - size.Height - (image.Height * PicSettings.Instance.Margine / 100);
- break;
- }
-
- float xCenterofImg = 0;
-
- // stringformat
-
- switch (PicSettings.Instance.TextAlignment)
- {
- case Alignments.Sinistra:
- xCenterofImg = PicSettings.Instance.Margine + (larghezzaStandard / 2);
- if ((larghezzaStandard / 2) > (image.Width / 2) - PicSettings.Instance.Margine)
- {
- xCenterofImg = image.Width / 2;
- }
- break;
- case Alignments.Centro:
- xCenterofImg = image.Width / 2;
- break;
- case Alignments.Destra:
- xCenterofImg = image.Width - PicSettings.Instance.Margine - larghezzaStandard / 2;
-
- if (larghezzaStandard / 2 > image.Width / 2 - PicSettings.Instance.Margine)
- {
- xCenterofImg = image.Width / 2;
- }
-
- break;
- }
- // stringformat alignment center
-
- if (PicSettings.Instance.Grassetto)
- {
- font = new Font(fo, dimensioneStandard, FontStyle.Bold);
- }
- else
- {
- font = new Font(fo, dimensioneStandard, FontStyle.Regular);
- }
-
- image.Mutate(x => x.DrawText(text, font, gBack, new PointF((float)Math.Round(xCenterofImg + 1), (float)Math.Round(yPosFromBottom + 1)), new TextGraphicsOptions()
- {
- HorizontalAlignment = HorizontalAlignment.Center
- }));
-
- image.Mutate(x => x.DrawText(text, font, g, new PointF((float)Math.Round(xCenterofImg), (float)Math.Round(yPosFromBottom)), new TextGraphicsOptions()
- {
- HorizontalAlignment = HorizontalAlignment.Center
- }));
-
- return;
-
-
- float scalingFactor = Math.Min(image.Width / size.Width, image.Height / size.Height);
- Font scaledFont = new Font(font, scalingFactor * font.Size);
-
- image.Mutate(x =>
- x.DrawText(PicSettings.Instance.TestoApplicareOrizzontale, scaledFont, g, center,
- new TextGraphicsOptions(true)
- {
- HorizontalAlignment = HorizontalAlignment.Center,
- VerticalAlignment = VerticalAlignment.Bottom
- }));
- //image.DrawText(PicSettings.Instance.TestoApplicareOrizzontale, scaledFont, g, center, new TextGraphicsOptions(true) { HorizontalAlignment = HorizontalAlignment.Center, VerticalAlignment = VerticalAlignment.Bottom });
-
-
- }
-
- private void AddLogo(Image image)
- {
- //if (string.IsNullOrWhiteSpace(PicSettings.Instance.LogoPath)) return;
- //if (!File.Exists(PicSettings.Instance.LogoPath)) return;
- //using (Image logo = Image.Load(PicSettings.Instance.LogoPath))
- //{
- // Size size = new Size();
- // Point location = new Point();
- // image.Mutate(x => x.DrawImage(logo, size, location, new GraphicsOptions()
- // {
-
- // }));
-
- //}
-
- Size size = new Size();
- Point location = new Point();
-
- if (_logo != null)
- {
- var width = PicSettings.Instance.LogoWidth;
- var height = PicSettings.Instance.LogoHeight;
- var heightFactor = _logo.Height / height;
- var widthFactor = _logo.Width / width;
- var newLogoSize = new Size();
-
- newLogoSize = GetResizeDimensions(new Size(_logo.Width, _logo.Height), new Size(width, height), PicSettings.Instance.LogoResizeSide.Equals(ResizeDimensions.LatoCorto));
- //todo riguardare perché non torna cosa ho fatto
-
- int margineUsato = 0;
- int margineL;
- bool inPercentualeL;
-
- inPercentualeL = PicSettings.Instance.LogoMargin.EndsWith("%");
- if (inPercentualeL)
- {
- margineL = int.Parse(PicSettings.Instance.LogoMargin.Replace("%", ""));
- }
- else
- {
- margineL = int.Parse(PicSettings.Instance.LogoMargin);
- }
-
- switch (PicSettings.Instance.LogoPosition)
- {
- case Positions.Alto:
- break;
- case Positions.Centro:
- break;
- case Positions.Basso:
- break;
- default:
- throw new ArgumentOutOfRangeException();
- }
-
- switch (PicSettings.Instance.LogoAlignment)
- {
- case Alignments.Sinistra:
- location.X = margineUsato;
- break;
- case Alignments.Centro:
- //location.X = image.Width -
- break;
- case Alignments.Destra:
- break;
- default:
- throw new ArgumentOutOfRangeException();
- }
- image.Mutate(x => x.DrawImage(_logo, size, location, new GraphicsOptions()));
-
-
-
-
- }
-
- }
-
- private void WriteTextFixed(Image image)
- {
- var fo = SixLabors.Fonts.SystemFonts.Find("Microsoft Sans Serif");
- var font = new Font(fo, 8, FontStyle.Regular);
- Rgba32 g = Rgba32.FromHex("#FF00FFFF");
- Vector2 center = new Vector2(image.Width / 2, image.Height / 2);
- var size = TextMeasurer.Measure("Test test test test test", new RendererOptions(font));
- float scalingFactor = Math.Min(image.Width / size.Width, image.Height / size.Height);
- Font scaledFont = new Font(font, scalingFactor * font.Size);
- image.Mutate(x => x.DrawText("Test test test test test", scaledFont, g, center, new TextGraphicsOptions(true) { HorizontalAlignment = HorizontalAlignment.Center, VerticalAlignment = VerticalAlignment.Bottom }));
- }
-
- private string FlipRgbString(string originalString)
- {
- string s;
- if (originalString.Length == 7)
- {
- s = string.Concat("#", originalString.Substring(1, 6));
- }
- else
- {
- s = string.Concat("#", originalString.Substring(3, 6), originalString.Substring(1, 2));
- }
-
-
- return s;
- }
- }
-}
diff --git a/CatalogLib/PicSettings.cs b/CatalogLib/PicSettings.cs
deleted file mode 100644
index 795b004..0000000
--- a/CatalogLib/PicSettings.cs
+++ /dev/null
@@ -1,548 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Drawing;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using MaddoLibrary.Base.Log;
-using Newtonsoft.Json;
-
-namespace CatalogLib
-{
- public class PicSettings
- {
- private static PicSettings _instance = new PicSettings();
-
- public static PicSettings Instance
- {
- get { return _instance; }
- }
-
- private Dictionary _settingsDict = new Dictionary();
-
- public PicSettings()
- {
- SetDefaults();
- }
-
- public string SerializeSettings()
- {
- return JsonConvert.SerializeObject(_settingsDict);
- }
-
- public void DeserializeSettings(string serializedData)
- {
- _settingsDict = JsonConvert.DeserializeObject>(serializedData);
-
-
- }
-
- public void SetBase(string key, object value)
- {
- if (_settingsDict.ContainsKey(key))
- {
- _settingsDict[key] = value;
- }
- else
- {
- _settingsDict.Add(key, value);
- }
- }
-
- public void SetString(string key, string value)
- {
- SetBase(key, value);
- }
-
- public void SetInt(string key, int value)
- {
- SetBase(key, value);
- }
-
- public void SetBool(string key, bool value)
- {
- SetBase(key, value);
- }
-
- public void SetDouble(string key, double value)
- {
- SetBase(key, value);
- }
-
- public void SetFloat(string key, float value)
- {
- SetBase(key, value);
- }
-
- public void Set(string key, T value)
- {
- SetBase(key, value);
- }
-
- public bool Exists(string key)
- {
- return _settingsDict.ContainsKey(key);
- }
-
- public int GetInt(string key, int defaultValue = 0)
- {
- if (!_settingsDict.ContainsKey(key))
- {
- SetInt(key, defaultValue);
- }
-
- if (_settingsDict[key] is int) return (int)_settingsDict[key];
- Debug.WriteLine($"Error while parsing {key}");
- //return defaultValue;
-
- int r;
-
- if (int.TryParse(_settingsDict[key].ToString(), out r))
- {
- SetInt(key, r);
-
- }
- else
- {
- SetInt(key, defaultValue);
- }
- return (int)_settingsDict[key];
- //return (int) _settingsDict[key];
-
- //return _settingsDict.ContainsKey(key) ? (int)_settingsDict[key] : defaultValue;
- }
-
- public double GetDouble(string key, double defaultValue = 0)
- {
- if (!_settingsDict.ContainsKey(key))
- {
- SetDouble(key, defaultValue);
- // setdouble default
- }
-
- if (_settingsDict[key] is double) return (double)_settingsDict[key];
- Debug.WriteLine($"Error while parsing {key}");
-
- double d;
- if (double.TryParse(_settingsDict[key].ToString(), out d))
- {
- SetDouble(key, d);
- // setdouble key r
- }
- else
- {
- SetDouble(key, defaultValue);
- //setdouble defaultvalue
- }
- return (double)_settingsDict[key];
- }
-
- public float GetFloat(string key, float defaultValue = 0)
- {
- if (!_settingsDict.ContainsKey(key))
- {
- SetFloat(key, defaultValue);
- }
-
- if (_settingsDict[key] is float f) return f;
- MaddoLogger.LogError("Error while parsing {0}", key);
-
- float fl = 0;
- SetFloat(key, float.TryParse(_settingsDict[key].ToString(), out f) ? fl : defaultValue);
- return (float)_settingsDict[key];
- }
-
-
-
- public T Get(string key, T defaultValue)
- {
- if (!_settingsDict.ContainsKey(key))
- {
- Set(key, defaultValue);
- // setdouble default
- }
-
- return (T)_settingsDict[key];
- }
-
-
-
-
- public string GetString(string key, string defaultValue = "")
- {
- if (!_settingsDict.ContainsKey(key))
- {
- SetString(key, defaultValue);
- }
- return (string)_settingsDict[key];
-
- //return _settingsDict.ContainsKey(key) ? (string)_settingsDict[key] : defaultValue;
- }
-
- public bool GetBool(string key, bool defaultValue = false)
- {
- if (!_settingsDict.ContainsKey(key))
- {
- SetBool(key, defaultValue);
- return defaultValue;
- }
- return (bool)_settingsDict[key];
-
-
-
- //return _settingsDict.ContainsKey(key) && (bool)_settingsDict[key];
- }
-
-
- public object GetObject(string key, object defaultValue = null)
- {
- if (!_settingsDict.ContainsKey(key))
- {
- Set(key, defaultValue);
- return defaultValue;
- }
- return _settingsDict[key];
-
- //return _settingsDict.ContainsKey(key) ? _settingsDict[key] : defaultValue;
- }
-
- public T GetEnum(string name, T defaultValue)
- {
- return (T)Enum.Parse(typeof(T), GetString(name, defaultValue.ToString()));
- }
-
- public void SetDefaults()
- {
-
- }
-
- public bool DirAggiornaSottoDirectory
- {
- get => this.GetBool("DirAggiornaSottoDirectory", true);
- set => this.SetBool("DirAggiornaSottoDirectory", value);
- }
-
- public bool Grassetto
- {
- get { return GetBool("Grassetto"); }
- set { SetBool("Grassetto", value); }
- }
-
- public string IlFont //todo
- {
- get { return GetString(""); }
- set { }
- }
-
- public bool TestoMin //todo
- {
- get { return false; }
- set { }
- }
-
- public bool AggTempoGaraMin //todo
- {
- get { return false; }
- set { }
- }
-
- public bool UsaTempoGaraTestoApplicare //todo
- {
- get { return false; }
- set { }
- }
-
- public bool AggNumTempMin //todo
- {
- get { return false; }
- set { }
- }
-
- public bool CreaMiniature //todo
- {
- get { return false; }
- set { }
- }
-
- public bool AggiungiScritteMiniature
- {
- get { return false; }
- set { }
- }
-
- public string Suffisso
- {
- get { return string.Empty; }
- set { }
- }
-
- public string Codice
- {
- get { return null; }
- set { }
- }
-
- public int Trasparenza
- {
- get { return 0; }
- }
-
-
-
- public DateTime DataPartenza { get; set; }
- public string TestoOrario { get; internal set; }
- public int DimStandard { get; internal set; }
- public int DimStandardMiniatura { get; internal set; }
- public bool UsaOrarioTestoApplicare { get; set; }
- public bool UsaOrarioMiniatura { get; set; }
- public string TestoFirmaStart { get; set; }
- public string TestoFirmaStartV { get; set; }
- public bool UsaForzaJpg { get; set; }
-
- public string DirectorySorgente
- {
- get { return GetString("DirSorgente"); }
- set { SetString("DirSorgente", value); }
- }
-
- public string DirectoryDestinazione
- {
- get { return GetString("DirDestinazione"); }
- set { SetString("DirDestinazione", value); }
- }
-
- public int Margine
- {
- get => GetInt("Margin", 1);
- set => SetInt("Margin", value);
- }
- public float MargVert { get; set; }
- public string Allineamento { get; set; }
-
- public bool GeneraleForzaJPG
- {
- get { return GetBool("GeneraleForzaJPG", true); }
- set { SetBool("GeneraleForzaJPG", value); }
- }
-
- public bool GeneraleRotazioneAutomatica
- {
- get { return GetBool("GeneraleRotazioneAutomatica", true); }
- set { SetBool("GeneraleRotazioneAutomatica", value); }
- }
-
- public bool GeneraleSovrascriviFile
- {
- get { return GetBool("GeneraleSovrascriviFile"); }
- set { SetBool("GeneraleSovrascriviFile", value); }
- }
-
- public bool SubdirCreaSottoCartelle
- {
- get { return GetBool("SubdirCreaSottoCartelle"); }
- set { SetBool("SubdirCreaSottoCartelle", value); }
- }
-
- public int SubdirIntervalloFile
- {
- get { return GetInt("SubdirIntervalloFile", 99); }
- set { SetInt("SubdirIntervalloFile", value); }
- }
-
- public string SubdirSuffisso
- {
- get { return GetString("SubdirSuffisso"); }
- set { SetString("SubdirSuffisso", value); }
- }
-
- public int SubdirCifreContatore
- {
- get { return GetInt("SubdirCifreContatore", 2); }
- set { SetInt("SubdirCifreContatore", value); }
- }
-
- public bool SubdirNumerazioneProgressiva
- {
- get { return GetBool("SubdirNumerazioneProgressiva", true); }
- set { SetBool("SubdirNumerazioneProgressiva", value); }
- }
-
- public bool SubdirNumerazioneFiles
- {
- get { return GetBool("SubdirNumerazioneFiles", false); }
- set { SetBool("SubdirNumerazioneFiles", value); }
- }
-
- public int FotoAltezza
- {
- get { return GetInt("FotoAltezza", 2240); }
- set { SetInt("FotoAltezza", value); }
- }
-
- public int FotoLarghezza
- {
- get { return GetInt("FotoLarghezza", 2240); }
- set { SetInt("FotoLarghezza", value); }
- }
-
- public int CompressioneJpeg
- {
- get { return GetInt("CompressioneJpeg", 85); }
- set { SetInt("CompressioneJpeg", value); }
- }
-
- public bool FotoMantieniDimensioni
- {
- get { return GetBool("FotoMantieniDimensioni", true); }
- set { SetBool("FotoMantieniDimensioni", value); }
- }
-
- public string FotoSuffisso
- {
- get { return GetString("FotoSuffisso"); }
- set { SetString("FotoSuffisso", value); }
- }
-
-
- public bool EnableThumbnails
- {
- get { return GetBool("EnableThumbnails", false); }
- set { SetBool("EnableThumbnails", value); }
- }
- public bool EnableLogo
- {
- get { return GetBool("EnableLogo", false); }
- set { SetBool("EnableLogo", value); }
- }
-
- #region Text
-
- public bool EnableText
- {
- get { return GetBool("EnableText", false); }
- set { SetBool("EnableText", value); }
- }
-
- public string NomeFont
- {
- get { return GetString("nomeFont", "Verdana"); }
- set { SetString("nomeFont", value); }
- }
-
- public double DimensioneFont
- {
- get { return Get("dimensioneFont", 1); }
- set { SetDouble("dimensioneFont", value); }
- }
-
- public string TestoApplicareOrizzontale
- {
- get
- {
- return Get("TestoApplicareOrizzontale", "");
- }
- set
- {
- Set("TestoApplicareOrizzontale", value);
- }
- }
-
- public string ColoreTestoRGB
- {
- get { return GetString("coloreTestoRGB", "#000000"); }
- set
- {
- Set("coloreTestoRGB", value);
-
- }
- }
-
- public bool FotoRidimensiona
- {
- get => GetBool("FotoRidimensiona", false);
- set => Set("FotoRidimensiona", value);
- }
-
- public Positions TextPosition
- {
- get => GetEnum("TextPosition", Positions.Alto); //(Positions)Enum.Parse(typeof(Positions), GetString("TextPosition", Positions.Alto.ToString()));
- set => SetString("TextPosition", value.ToString());
- }
-
- public Alignments TextAlignment
- {
- get => GetEnum("TextAlignment", Alignments.Centro);
- set => SetString("TextAlignment", value.ToString());
- }
-
- public bool Threading
- {
- get => GetBool("Threading", true);
- set => SetBool("Threading", value);
- }
-
- public ResizeModes ResizeMode
- {
- get => GetEnum("ResizeMode", ResizeModes.Bicubic);
- set => SetString("ResizeMode", value.ToString());
- }
-
- public ResizeDimensions ResizeDimension
- {
- get => GetEnum("ResizeDimension", CatalogLib.ResizeDimensions.LatoCorto);
- set => SetString("ResizeDimension", value.ToString());
- }
-
- public string LogoPath
- {
- get => GetString("LogoPath");
- set => SetString("LogoPath", value);
- }
-
- public int LogoWidth
- {
- get => GetInt("LogoWidth");
- set => SetInt("LogoWidth", value);
- }
-
- public int LogoHeight
- {
- get => GetInt("LogoHeight");
- set => SetInt("LogoHeight", value);
- }
-
- public string LogoMargin
- {
- get => GetString("LogoMargin");
- set => SetString("LogoMargin", value);
- }
-
- public Positions LogoPosition
- {
- get => GetEnum("LogoPositions", Positions.Alto);
- set => SetString("LogoPositions", value.ToString());
- }
-
- public Alignments LogoAlignment
- {
- get => GetEnum("LogoAlignments", Alignments.Centro);
- set => SetString("LogoAlignments", value.ToString());
- }
-
- public ResizeDimensions LogoResizeSide
- {
- get => GetEnum("LogoResizeMode", ResizeDimensions.LatoCorto);
- set => SetString("LogoResizeMode", value.ToString());
- }
-
- #endregion
-
- #region Enums
-
-
-
- #endregion
- }
-}
\ No newline at end of file
diff --git a/CatalogLib/Properties/AssemblyInfo.cs b/CatalogLib/Properties/AssemblyInfo.cs
deleted file mode 100644
index 9d7f332..0000000
--- a/CatalogLib/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System;
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("CatalogLib")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("CatalogLib")]
-[assembly: AssemblyCopyright("Copyright © 2013")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("7bb8e6ce-72c8-4b36-a166-a62ed446d4e9")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-[assembly: CLSCompliant(true)]
\ No newline at end of file
diff --git a/CatalogLib/SinglePicData.cs b/CatalogLib/SinglePicData.cs
deleted file mode 100644
index fb392c5..0000000
--- a/CatalogLib/SinglePicData.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace CatalogLib
-{
- public enum Rotazione
- {
- Normale,
- Destra,
- Sinistra,
- Sottosopra
- }
-
- public class SinglePicData
- {
-
-
- }
-}
diff --git a/CatalogLib/app.config b/CatalogLib/app.config
deleted file mode 100644
index f007515..0000000
--- a/CatalogLib/app.config
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/CatalogLib/packages.config b/CatalogLib/packages.config
deleted file mode 100644
index 86dfa50..0000000
--- a/CatalogLib/packages.config
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/CatalogLib/stylecop.json b/CatalogLib/stylecop.json
deleted file mode 100644
index c67c0db..0000000
--- a/CatalogLib/stylecop.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
- "settings":
- {
- "orderingRules":
- {
- "usingDirectivesPlacement": "outsideNamespace"
- },
- "documentationRules":
- {
- "xmlHeader": false,
- "copyrightText": "Copyright (c) Six Labors and contributors.\nLicensed under the Apache License, Version 2.0."
- }
- }
-}
\ No newline at end of file
diff --git a/CatalogLibVb/CatalogLibVb.csproj b/CatalogLibVb/CatalogLibVb.csproj
deleted file mode 100644
index 8d292d6..0000000
--- a/CatalogLibVb/CatalogLibVb.csproj
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {B3352D87-BF9F-4F7A-9162-007492DA76E4}
- Library
- Properties
- CatalogLibVb
- CatalogLibVb
- v4.5
- 512
- SAK
- SAK
- SAK
- SAK
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/CatalogLibVb/Class1.cs b/CatalogLibVb/Class1.cs
deleted file mode 100644
index 16254ce..0000000
--- a/CatalogLibVb/Class1.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace CatalogLibVb
-{
- public class Class1
- {
- }
-}
diff --git a/CatalogLibVb/Properties/AssemblyInfo.cs b/CatalogLibVb/Properties/AssemblyInfo.cs
deleted file mode 100644
index 0ec915f..0000000
--- a/CatalogLibVb/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// Le informazioni generali relative a un assembly sono controllate dal seguente
-// set di attributi. Per modificare le informazioni associate a un assembly
-// occorre quindi modificare i valori di questi attributi.
-[assembly: AssemblyTitle("CatalogLibVb")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("CatalogLibVb")]
-[assembly: AssemblyCopyright("Copyright © 2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili
-// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da
-// COM, impostare su true l'attributo ComVisible per tale tipo.
-[assembly: ComVisible(false)]
-
-// Se il progetto viene esposto a COM, il GUID che segue verrà utilizzato per creare l'ID della libreria dei tipi
-[assembly: Guid("367f3879-584c-4780-8ad0-dc84d2e77928")]
-
-// Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori:
-//
-// Numero di versione principale
-// Numero di versione secondario
-// Numero build
-// Revisione
-//
-// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
-// utilizzando l'asterisco (*) come descritto di seguito:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/CatalogVbLib/CatalogVbLib.vbproj b/CatalogVbLib/CatalogVbLib.vbproj
deleted file mode 100644
index dd7243d..0000000
--- a/CatalogVbLib/CatalogVbLib.vbproj
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
- net9.0-windows
- Library
- false
- true
-
-
- embedded
-
-
- embedded
-
-
-
- True
- Application.myapp
- True
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/CatalogVbLib/ExifReader.vb b/CatalogVbLib/ExifReader.vb
deleted file mode 100644
index 15a19bd..0000000
--- a/CatalogVbLib/ExifReader.vb
+++ /dev/null
@@ -1,1068 +0,0 @@
-'''-----------------------------------------------------------------------------
-'''
-''' Utility class for reading EXIF data from images. Provides abstraction
-''' for most common data and generic utilities for work with all other.
-'''
-'''
-''' Copyright (c) Michal A. Valášek - Altair Communications, 2003
-''' Copmany: http://software.altaircom.net * support@altaircom.net
-''' Private: http://www.rider.cz * developer@rider.cz
-''' This is free software licensed under GNU Lesser General Public License
-'''
-'''
-''' [altair] 10.9.2003 Created
-'''
-'''-----------------------------------------------------------------------------
-Public Class ExifReader
- Implements IDisposable
-
- Private Image As System.Drawing.Bitmap
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Contains possible values of EXIF tag names (ID)
- '''
- ''' See GdiPlusImaging.h
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum TagNames
- ExifIFD = &H8769
- GpsIFD = &H8825
- NewSubfileType = &HFE
- SubfileType = &HFF
- ImageWidth = &H100
- ImageHeight = &H101
- BitsPerSample = &H102
- Compression = &H103
- PhotometricInterp = &H106
- ThreshHolding = &H107
- CellWidth = &H108
- CellHeight = &H109
- FillOrder = &H10A
- DocumentName = &H10D
- ImageDescription = &H10E
- EquipMake = &H10F
- EquipModel = &H110
- StripOffsets = &H111
- Orientation = &H112
- SamplesPerPixel = &H115
- RowsPerStrip = &H116
- StripBytesCount = &H117
- MinSampleValue = &H118
- MaxSampleValue = &H119
- XResolution = &H11A
- YResolution = &H11B
- PlanarConfig = &H11C
- PageName = &H11D
- XPosition = &H11E
- YPosition = &H11F
- FreeOffset = &H120
- FreeByteCounts = &H121
- GrayResponseUnit = &H122
- GrayResponseCurve = &H123
- T4Option = &H124
- T6Option = &H125
- ResolutionUnit = &H128
- PageNumber = &H129
- TransferFuncition = &H12D
- SoftwareUsed = &H131
- DateTime = &H132
- Artist = &H13B
- HostComputer = &H13C
- Predictor = &H13D
- WhitePoint = &H13E
- PrimaryChromaticities = &H13F
- ColorMap = &H140
- HalftoneHints = &H141
- TileWidth = &H142
- TileLength = &H143
- TileOffset = &H144
- TileByteCounts = &H145
- InkSet = &H14C
- InkNames = &H14D
- NumberOfInks = &H14E
- DotRange = &H150
- TargetPrinter = &H151
- ExtraSamples = &H152
- SampleFormat = &H153
- SMinSampleValue = &H154
- SMaxSampleValue = &H155
- TransferRange = &H156
- JPEGProc = &H200
- JPEGInterFormat = &H201
- JPEGInterLength = &H202
- JPEGRestartInterval = &H203
- JPEGLosslessPredictors = &H205
- JPEGPointTransforms = &H206
- JPEGQTables = &H207
- JPEGDCTables = &H208
- JPEGACTables = &H209
- YCbCrCoefficients = &H211
- YCbCrSubsampling = &H212
- YCbCrPositioning = &H213
- REFBlackWhite = &H214
- ICCProfile = &H8773
- Gamma = &H301
- ICCProfileDescriptor = &H302
- SRGBRenderingIntent = &H303
- ImageTitle = &H320
- Copyright = &H8298
- ResolutionXUnit = &H5001
- ResolutionYUnit = &H5002
- ResolutionXLengthUnit = &H5003
- ResolutionYLengthUnit = &H5004
- PrintFlags = &H5005
- PrintFlagsVersion = &H5006
- PrintFlagsCrop = &H5007
- PrintFlagsBleedWidth = &H5008
- PrintFlagsBleedWidthScale = &H5009
- HalftoneLPI = &H500A
- HalftoneLPIUnit = &H500B
- HalftoneDegree = &H500C
- HalftoneShape = &H500D
- HalftoneMisc = &H500E
- HalftoneScreen = &H500F
- JPEGQuality = &H5010
- GridSize = &H5011
- ThumbnailFormat = &H5012
- ThumbnailWidth = &H5013
- ThumbnailHeight = &H5014
- ThumbnailColorDepth = &H5015
- ThumbnailPlanes = &H5016
- ThumbnailRawBytes = &H5017
- ThumbnailSize = &H5018
- ThumbnailCompressedSize = &H5019
- ColorTransferFunction = &H501A
- ThumbnailData = &H501B
- ThumbnailImageWidth = &H5020
- ThumbnailImageHeight = &H502
- ThumbnailBitsPerSample = &H5022
- ThumbnailCompression = &H5023
- ThumbnailPhotometricInterp = &H5024
- ThumbnailImageDescription = &H5025
- ThumbnailEquipMake = &H5026
- ThumbnailEquipModel = &H5027
- ThumbnailStripOffsets = &H5028
- ThumbnailOrientation = &H5029
- ThumbnailSamplesPerPixel = &H502A
- ThumbnailRowsPerStrip = &H502B
- ThumbnailStripBytesCount = &H502C
- ThumbnailResolutionX = &H502D
- ThumbnailResolutionY = &H502E
- ThumbnailPlanarConfig = &H502F
- ThumbnailResolutionUnit = &H5030
- ThumbnailTransferFunction = &H5031
- ThumbnailSoftwareUsed = &H5032
- ThumbnailDateTime = &H5033
- ThumbnailArtist = &H5034
- ThumbnailWhitePoint = &H5035
- ThumbnailPrimaryChromaticities = &H5036
- ThumbnailYCbCrCoefficients = &H5037
- ThumbnailYCbCrSubsampling = &H5038
- ThumbnailYCbCrPositioning = &H5039
- ThumbnailRefBlackWhite = &H503A
- ThumbnailCopyRight = &H503B
- LuminanceTable = &H5090
- ChrominanceTable = &H5091
- FrameDelay = &H5100
- LoopCount = &H5101
- PixelUnit = &H5110
- PixelPerUnitX = &H5111
- PixelPerUnitY = &H5112
- PaletteHistogram = &H5113
- ExifExposureTime = &H829A
- ExifFNumber = &H829D
- ExifExposureProg = &H8822
- ExifSpectralSense = &H8824
- ExifISOSpeed = &H8827
- ExifOECF = &H8828
- ExifVer = &H9000
- ExifDTOrig = &H9003
- ExifDTDigitized = &H9004
- ExifCompConfig = &H9101
- ExifCompBPP = &H9102
- ExifShutterSpeed = &H9201
- ExifAperture = &H9202
- ExifBrightness = &H9203
- ExifExposureBias = &H9204
- ExifMaxAperture = &H9205
- ExifSubjectDist = &H9206
- ExifMeteringMode = &H9207
- ExifLightSource = &H9208
- ExifFlash = &H9209
- ExifFocalLength = &H920A
- ExifMakerNote = &H927C
- ExifUserComment = &H9286
- ExifDTSubsec = &H9290
- ExifDTOrigSS = &H9291
- ExifDTDigSS = &H9292
- ExifFPXVer = &HA000
- ExifColorSpace = &HA001
- ExifPixXDim = &HA002
- ExifPixYDim = &HA003
- ExifRelatedWav = &HA004
- ExifInterop = &HA005
- ExifFlashEnergy = &HA20B
- ExifSpatialFR = &HA20C
- ExifFocalXRes = &HA20E
- ExifFocalYRes = &HA20F
- ExifFocalResUnit = &HA210
- ExifSubjectLoc = &HA214
- ExifExposureIndex = &HA215
- ExifSensingMethod = &HA217
- ExifFileSource = &HA300
- ExifSceneType = &HA301
- ExifCfaPattern = &HA302
- GpsVer = &H0
- GpsLatitudeRef = &H1
- GpsLatitude = &H2
- GpsLongitudeRef = &H3
- GpsLongitude = &H4
- GpsAltitudeRef = &H5
- GpsAltitude = &H6
- GpsGpsTime = &H7
- GpsGpsSatellites = &H8
- GpsGpsStatus = &H9
- GpsGpsMeasureMode = &HA
- GpsGpsDop = &HB
- GpsSpeedRef = &HC
- GpsSpeed = &HD
- GpsTrackRef = &HE
- GpsTrack = &HF
- GpsImgDirRef = &H10
- GpsImgDir = &H11
- GpsMapDatum = &H12
- GpsDestLatRef = &H13
- GpsDestLat = &H14
- GpsDestLongRef = &H15
- GpsDestLong = &H16
- GpsDestBearRef = &H17
- GpsDestBear = &H18
- GpsDestDistRef = &H19
- GpsDestDist = &H1A
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Real position of 0th row and column of picture
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum Orientations
- TopLeft = 1
- TopRight = 2
- BottomRight = 3
- BottomLeft = 4
- LeftTop = 5
- RightTop = 6
- RightBottom = 7
- LftBottom = 8
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Exposure programs
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum ExposurePrograms
- Manual = 1
- Normal = 2
- AperturePriority = 3
- ShutterPriority = 4
- Creative = 5
- Action = 6
- Portrait = 7
- Landscape = 8
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Exposure metering modes
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum ExposureMeteringModes
- Unknown = 0
- Average = 1
- CenterWeightedAverage = 2
- Spot = 3
- MultiSpot = 4
- MultiSegment = 5
- [Partial] = 6
- Other = 255
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Flash activity modes
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum FlashModes
- NotFired = 0
- Fired = 1
- FiredButNoStrobeReturned = 5
- FiredAndStrobeReturned = 7
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Possible light sources (white balance)
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum LightSources
- Unknown = 0
- Daylight = 1
- Fluorescent = 2
- Tungsten = 3
- Flash = 10
- StandardLightA = 17
- StandardLightB = 18
- StandardLightC = 19
- D55 = 20
- D65 = 21
- D75 = 22
- Other = 255
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Represents rational which is type of some Exif properties
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Structure Rational
- Dim Numerator As Int32
- Dim Denominator As Int32
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Converts rational to string representation
- '''
- ''' Optional, default "/". String to be used as delimiter of components.
- ''' String representation of the rational.
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Shadows Function ToString(Optional ByVal Delimiter As String = "/") As String
- Return Numerator & Delimiter & Denominator
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Converts rational to double precision real number
- '''
- ''' The rational as double precision real number.
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Function ToDouble() As Double
- Return Numerator / Denominator
- End Function
- End Structure
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Initializes new instance of this class.
- '''
- ''' Bitmap to read exif information from
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Sub New(ByVal Bitmap As System.Drawing.Bitmap)
- If Bitmap Is Nothing Then Throw New ArgumentNullException("Bitmap")
- Me.Image = Bitmap
- End Sub
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Returns all available data in formatted string form
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Overrides Function ToString() As String
- Dim SB As New System.Text.StringBuilder
-
- SB.Append("Image:")
- SB.Append("\n\tDimensions: " & Me.Width & " x " & Me.Height & " px")
- SB.Append("\n\tResolution: " & Me.ResolutionX & " x " & Me.ResolutionY & " dpi")
- SB.Append("\n\tOrientation: " & [Enum].GetName(GetType(Orientations), Me.Orientation))
- SB.Append("\n\tTitle: " & Me.Title)
- SB.Append("\n\tDescription: " & Me.Description)
- SB.Append("\n\tCopyright: " & Me.Copyright)
- SB.Append("\nEquipment:")
- SB.Append("\n\tMaker: " & Me.EquipmentMaker)
- SB.Append("\n\tModel: " & Me.EquipmentModel)
- SB.Append("\n\tSoftware: " & Me.Software)
- SB.Append("\nDate and time:")
- SB.Append("\n\tGeneral: " & Me.DateTimeLastModified.ToString())
- SB.Append("\n\tOriginal: " & Me.DateTimeOriginal.ToString())
- SB.Append("\n\tDigitized: " & Me.DateTimeDigitized.ToString())
- SB.Append("\nShooting conditions:")
- SB.Append("\n\tExposure time: " & Me.ExposureTime.ToString("N4") & " s")
- SB.Append("\n\tExposure program: " & [Enum].GetName(GetType(ExposurePrograms), Me.ExposureProgram))
- SB.Append("\n\tExposure mode: " & [Enum].GetName(GetType(ExposureMeteringModes), Me.ExposureMeteringMode))
- SB.Append("\n\tAperture: F" & Me.Aperture.ToString("N2"))
- SB.Append("\n\tISO sensitivity: " & Me.ISO)
- SB.Append("\n\tSubject distance: " & Me.SubjectDistance.ToString("N2") & " m")
- SB.Append("\n\tFocal length: " & Me.FocalLength)
- SB.Append("\n\tFlash: " & [Enum].GetName(GetType(FlashModes), Me.FlashMode))
- SB.Append("\n\tLight source (WB): " & [Enum].GetName(GetType(LightSources), Me.LightSource))
- SB.Append("\n\nCopyright (c) Michal A. Valasek - Altair Communications, 2003")
- SB.Append("\nhttp://software.altaircom.net * support@altaircom.net")
-
- SB.Replace("\n", vbCrLf)
- SB.Replace("\t", vbTab)
- Return SB.ToString()
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Brand of equipment (EXIF EquipMake)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property EquipmentMaker() As String
- Get
- Return Me.GetPropertyString(TagNames.EquipMake)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Model of equipment (EXIF EquipModel)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property EquipmentModel() As String
- Get
- Return Me.GetPropertyString(TagNames.EquipModel)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Software used for processing (EXIF Software)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Software() As String
- Get
- Return Me.GetPropertyString(TagNames.SoftwareUsed)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Orientation of image (position of row 0, column 0) (EXIF Orientation)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Orientation() As Orientations
- Get
- Dim X As Int32 = Me.GetPropertyInt16(TagNames.Orientation)
-
- If Not [Enum].IsDefined(GetType(Orientations), X) Then
- Return Orientations.TopLeft
- Else
- Return CType([Enum].Parse(GetType(Orientations), [Enum].GetName(GetType(Orientations), X)), Orientations)
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Time when image was last modified (EXIF DateTime).
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property DateTimeLastModified() As DateTime
- Get
- Try
- Return DateTime.ParseExact(Me.GetPropertyString(TagNames.DateTime), "yyyy\:MM\:dd HH\:mm\:ss", Nothing)
- Catch ex As Exception
- Return DateTime.MinValue
- End Try
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Time when image was taken (EXIF DateTimeOriginal).
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property DateTimeOriginal() As DateTime
- Get
- Try
- Return DateTime.ParseExact(Me.GetPropertyString(TagNames.ExifDTOrig), "yyyy\:MM\:dd HH\:mm\:ss", Nothing)
- Catch ex As Exception
- Return DateTime.MinValue
- End Try
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Time when image was digitized (EXIF DateTimeDigitized).
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property DateTimeDigitized() As DateTime
- Get
- Try
- Return DateTime.ParseExact(Me.GetPropertyString(TagNames.ExifDTDigitized), "yyyy\:MM\:dd HH\:mm\:ss", Nothing)
- Catch ex As Exception
- Return DateTime.MinValue
- End Try
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Image width
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Width() As Int16
- Get
- Return Me.GetPropertyInt16(TagNames.ImageWidth)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Image height
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Height() As Int16
- Get
- Return Me.GetPropertyInt16(TagNames.ImageHeight)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' X resolution in dpi (EXIF XResolution/ResolutionUnit)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ResolutionX() As Double
- Get
- Dim R As Double = Me.GetPropertyRational(TagNames.XResolution).ToDouble()
-
- If Me.GetPropertyInt16(TagNames.ResolutionUnit) = 3 Then
- '-- resolution is in points/cm
- Return R * 2.54
- Else
- '-- resolution is in points/inch
- Return R
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Y resolution in dpi (EXIF YResolution/ResolutionUnit)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ResolutionY() As Double
- Get
- Dim R As Double = Me.GetPropertyRational(TagNames.YResolution).ToDouble()
-
- If Me.GetPropertyInt16(TagNames.ResolutionUnit) = 3 Then
- '-- resolution is in points/cm
- Return R * 2.54
- Else
- '-- resolution is in points/inch
- Return R
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Image title (EXIF ImageTitle)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Title() As String
- Get
- Return Me.GetPropertyString(TagNames.ImageTitle)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Image description (EXIF ImageDescription)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Description() As String
- Get
- Return Me.GetPropertyString(TagNames.ImageDescription)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Image copyright (EXIF Copyright)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Copyright() As String
- Get
- Return Me.GetPropertyString(TagNames.Copyright)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Exposure time in seconds (EXIF ExifExposureTime/ExifShutterSpeed)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ExposureTime() As Double
- Get
- If Me.IsPropertyDefined(TagNames.ExifExposureTime) Then
- '-- Exposure time is explicitly specified
- Return Me.GetPropertyRational(TagNames.ExifExposureTime).ToDouble
- ElseIf Me.IsPropertyDefined(TagNames.ExifShutterSpeed) Then
- '-- Compute exposure time from shutter speed
- Return 1 / (2 ^ Me.GetPropertyRational(TagNames.ExifShutterSpeed).ToDouble)
- Else
- '-- Can't figure out
- Return 0
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Aperture value as F number (EXIF ExifFNumber/ExifApertureValue)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Aperture() As Double
- Get
- If Me.IsPropertyDefined(TagNames.ExifFNumber) Then
- Return Me.GetPropertyRational(TagNames.ExifFNumber).ToDouble()
- ElseIf Me.IsPropertyDefined(TagNames.ExifAperture) Then
- Return System.Math.Sqrt(2) ^ Me.GetPropertyRational(TagNames.ExifAperture).ToDouble()
- Else
- Return 0
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Exposure program used (EXIF ExifExposureProg)
- '''
- '''
- ''' If not specified, returns Normal (2)
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ExposureProgram() As ExposurePrograms
- Get
- Dim X As Int32 = Me.GetPropertyInt16(TagNames.ExifExposureProg)
-
- If [Enum].IsDefined(GetType(ExposurePrograms), X) Then
- Return CType([Enum].Parse(GetType(ExposurePrograms), [Enum].GetName(GetType(ExposurePrograms), X)), ExposurePrograms)
- Else
- Return ExposurePrograms.Normal
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' ISO sensitivity
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ISO() As Int16
- Get
- Return Me.GetPropertyInt16(TagNames.ExifISOSpeed)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Subject distance in meters (EXIF SubjectDistance)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property SubjectDistance() As Double
- Get
- Return Me.GetPropertyRational(TagNames.ExifSubjectDist).ToDouble()
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Exposure method metering mode used (EXIF MeteringMode)
- '''
- '''
- ''' If not specified, returns Unknown (0)
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ExposureMeteringMode() As ExposureMeteringModes
- Get
- Dim X As Int32 = Me.GetPropertyInt16(TagNames.ExifMeteringMode)
-
- If [Enum].IsDefined(GetType(ExposureMeteringModes), X) Then
- Return CType([Enum].Parse(GetType(ExposureMeteringModes), [Enum].GetName(GetType(ExposureMeteringModes), X)), ExposureMeteringModes)
- Else
- Return ExposureMeteringModes.Unknown
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Focal length of lenses in mm (EXIF FocalLength)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property FocalLength() As Double
- Get
- Return Me.GetPropertyRational(TagNames.ExifFocalLength).ToDouble
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Flash mode (EXIF Flash)
- '''
- '''
- ''' If not present, value NotFired (0) is returned
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property FlashMode() As FlashModes
- Get
- Dim X As Int32 = Me.GetPropertyInt16(TagNames.ExifFlash)
-
- If [Enum].IsDefined(GetType(FlashModes), X) Then
- Return CType([Enum].Parse(GetType(FlashModes), [Enum].GetName(GetType(FlashModes), X)), FlashModes)
- Else
- Return FlashModes.NotFired
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Light source / white balance (EXIF LightSource)
- '''
- '''
- ''' If not specified, returns Unknown (0).
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property LightSource() As LightSources
- Get
- Dim X As Int32 = Me.GetPropertyInt16(TagNames.ExifLightSource)
-
- If [Enum].IsDefined(GetType(LightSources), X) Then
- Return CType([Enum].Parse(GetType(LightSources), [Enum].GetName(GetType(LightSources), X)), LightSources)
- Else
- Return LightSources.Unknown
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Checks if current image has specified certain property
- '''
- '''
- ''' True if image has specified property, False otherwise.
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Function IsPropertyDefined(ByVal PID As Int32) As Boolean
- Return CBool([Array].IndexOf(Me.Image.PropertyIdList, PID) > -1)
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Gets specified Int32 property
- '''
- ''' Property ID
- ''' Optional, default 0. Default value returned if property is not present.
- ''' Value of property or DefaultValue if property is not present.
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Function GetPropertyInt32(ByVal PID As Int32, Optional ByVal DefaultValue As Int32 = 0) As Int32
- If Me.IsPropertyDefined(PID) Then
- Return GetInt32(Me.Image.GetPropertyItem(PID).Value)
- Else
- Return DefaultValue
- End If
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Gets specified Int16 property
- '''
- ''' Property ID
- ''' Optional, default 0. Default value returned if property is not present.
- ''' Value of property or DefaultValue if property is not present.
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Function GetPropertyInt16(ByVal PID As Int32, Optional ByVal DefaultValue As Int16 = 0) As Int16
- If Me.IsPropertyDefined(PID) Then
- Return GetInt16(Me.Image.GetPropertyItem(PID).Value)
- Else
- Return DefaultValue
- End If
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Gets specified string property
- '''
- ''' Property ID
- ''' Optional, default String.Empty. Default value returned if property is not present.
- '''
- ''' Value of property or DefaultValue if property is not present.
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Function GetPropertyString(ByVal PID As Int32, Optional ByVal DefaultValue As String = "") As String
- If Me.IsPropertyDefined(PID) Then
- Return GetString(Me.Image.GetPropertyItem(PID).Value)
- Else
- Return DefaultValue
- End If
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Gets specified rational property
- '''
- ''' Property ID
- '''
- ''' Value of property or 0/1 if not present.
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Function GetPropertyRational(ByVal PID As Int32) As Rational
- If Me.IsPropertyDefined(PID) Then
- Return GetRational(Me.Image.GetPropertyItem(PID).Value)
- Else
- Dim R As Rational
- R.Numerator = 0
- R.Denominator = 1
- Return R
- End If
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Reads Int32 from EXIF bytearray.
- '''
- ''' EXIF bytearray to process
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Shared Function GetInt32(ByVal B As Byte()) As Int32
- If B.Length < 4 Then Throw New ArgumentException("Data too short (4 bytes expected)", "B")
- Return B(3) << 24 Or B(2) << 16 Or B(1) << 8 Or B(0)
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Reads Int16 from EXIF bytearray.
- '''
- ''' EXIF bytearray to process
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Shared Function GetInt16(ByVal B As Byte()) As Int16
- If B.Length < 2 Then Throw New ArgumentException("Data too short (2 bytes expected)", "B")
- Return B(1) << 8 Or B(0)
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Reads string from EXIF bytearray.
- '''
- ''' EXIF bytearray to process
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Shared Function GetString(ByVal B As Byte()) As String
- Dim R As String = System.Text.Encoding.ASCII.GetString(B)
- If R.EndsWith(vbNullChar) Then R = R.Substring(0, R.Length - 1)
- Return R
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Reads rational from EXIF bytearray.
- '''
- ''' EXIF bytearray to process
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Shared Function GetRational(ByVal B As Byte()) As Rational
- Dim R As New Rational, N(3), D(3) As Byte
- Array.Copy(B, 0, N, 0, 4)
- Array.Copy(B, 4, D, 0, 4)
- R.Denominator = GetInt32(D)
- R.Numerator = GetInt32(N)
- Return R
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Disposes unmanaged resources of this class
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Sub Dispose() Implements System.IDisposable.Dispose
- Me.Image.Dispose()
- End Sub
-End Class
diff --git a/CatalogVbLib/My Project/Application.Designer.vb b/CatalogVbLib/My Project/Application.Designer.vb
deleted file mode 100644
index 88dd01c..0000000
--- a/CatalogVbLib/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
diff --git a/CatalogVbLib/My Project/Application.myapp b/CatalogVbLib/My Project/Application.myapp
deleted file mode 100644
index 758895d..0000000
--- a/CatalogVbLib/My Project/Application.myapp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- false
- false
- 0
- true
- 0
- 1
- true
-
diff --git a/CatalogVbLib/My Project/AssemblyInfo.vb b/CatalogVbLib/My Project/AssemblyInfo.vb
deleted file mode 100644
index 4d58ddf..0000000
--- a/CatalogVbLib/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,9 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-
-
-
-'Se il progetto viene esposto a COM, il GUID seguente verrà utilizzato come ID della libreria dei tipi
-
diff --git a/CatalogVbLib/My Project/Resources.Designer.vb b/CatalogVbLib/My Project/Resources.Designer.vb
deleted file mode 100644
index 176c107..0000000
--- a/CatalogVbLib/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,63 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-Imports System
-
-Namespace My.Resources
-
- 'This class was auto-generated by the StronglyTypedResourceBuilder
- 'class via a tool like ResGen or Visual Studio.
- 'To add or remove a member, edit your .ResX file then rerun ResGen
- 'with the /str option, or rebuild your VS project.
- '''
- ''' A strongly-typed resource class, for looking up localized strings, etc.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Returns the cached ResourceManager instance used by this class.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("CatalogVbLib.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Overrides the current thread's CurrentUICulture property for all
- ''' resource lookups using this strongly typed resource class.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/CatalogVbLib/My Project/Resources.resx b/CatalogVbLib/My Project/Resources.resx
deleted file mode 100644
index af7dbeb..0000000
--- a/CatalogVbLib/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/CatalogVbLib/My Project/Settings.Designer.vb b/CatalogVbLib/My Project/Settings.Designer.vb
deleted file mode 100644
index 9abf647..0000000
--- a/CatalogVbLib/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "My.Settings Auto-Save Functionality"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.CatalogVbLib.My.MySettings
- Get
- Return Global.CatalogVbLib.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/CatalogVbLib/My Project/Settings.settings b/CatalogVbLib/My Project/Settings.settings
deleted file mode 100644
index 85b890b..0000000
--- a/CatalogVbLib/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/CatalogVbLib/PicSettings.vb b/CatalogVbLib/PicSettings.vb
deleted file mode 100644
index 42a0da7..0000000
--- a/CatalogVbLib/PicSettings.vb
+++ /dev/null
@@ -1,606 +0,0 @@
-Imports System.IO
-Imports System.Drawing.Drawing2D
-Imports System.Drawing.Imaging
-Imports System.Windows.Forms
-Imports System.Drawing
-
-Public Module PicSettings
-
- Private _DirectorySorgente As String
- Private _DirectoryDestinazione As String
-
- Private _DimVert As Integer
- Private _MargVert As Integer
-
-
- Private _DimStandard As Integer
- Private _DimStandardMiniatura As Integer
-
- Private _NomeData As Boolean
- Private _TestoNome As Boolean
- Private _UsaOrarioMiniatura As Boolean
- Private _UsaOrarioTestoApplicare As Boolean
- Private _UsaTempoGaraTestoApplicare As Boolean
- Private _TestoFirmaStart As String
- Private _TestoFirmaStartV As String
- Private _DataPartenza As DateTime
- Private _TestoOrario As String
-
- Private _UsaRotazioneAutomatica As Boolean
- Private _UsaForzaJpg As Boolean
-
- Private _LarghezzaSmall As Integer
- Private _AltezzaSmall As Integer
-
- Private _CreaMiniature As Boolean
- Private _AggiungiScritteMiniature As Boolean
- Private _AggTempoGaraMin As Boolean
- Private _AggNumTempMin As Boolean
-
- Private _Suffisso As String
- Private _Codice As String
-
- Private _Trasparenza As Integer
- Private _IlFont As String
- Private _Grassetto As Boolean
-
- Private _Posizione As String
- Private _Allineamento As String
- Private _Margine As Integer
-
- Private _LogoAltezza As Integer
- Private _LogoLarghezza As Integer
-
- Private _fontColoreRGB As System.Drawing.Color
-
- Private _LogoAggiungi As Boolean
- Private _LogoNomeFile As String
- Private _LogoTrasparenza As String
- Private _LogoMargine As String
- Private _LogoPosizioneH As String
- Private _LogoPosizioneV As String
-
- Private _FotoGrandeDimOrigina As Boolean
- Private _AltezzaBig As Integer
- Private _LarghezzaBig As Integer
- Private _DestDir As DirectoryInfo
- Private _DimMin As Integer
-
- Private _TestoMin As Boolean
-
- Private _SecretDefault As Boolean
- Private _SecretBig As Boolean
- Private _SecretSmall As Boolean
-
- Private _SecretPathSmall As String
- Private _SecretPathBig As String
-
- Private _jpegQuality As Long
- Private _jpegQualityMin As Long
-
- Private FotoRuotaADestra As Boolean = False
- Private FotoRuotaASinistra As Boolean = False
-
- Private TempMinText As String = ""
-
- Private _mainForm As Form
-
- 'Private progressBar As System.Windows.Forms.ProgressBar
-
-
-
- Public Property mainForm() As Form
- Get
- Return _mainForm
- End Get
- Set(ByVal value As Form)
- _mainForm = value
- End Set
- End Property
-
- Public Property DirectorySorgente() As String
- Get
- Return _DirectorySorgente
- End Get
- Set(ByVal value As String)
- _DirectorySorgente = value
- End Set
- End Property
-
- Public Property DirectoryDestinazione() As String
- Get
- Return _DirectoryDestinazione
- End Get
- Set(ByVal value As String)
- _DirectoryDestinazione = value
- End Set
- End Property
-
- Public Property TestoFirmaStart() As String
- Get
- Return _TestoFirmaStart
- End Get
- Set(ByVal value As String)
- _TestoFirmaStart = value
- End Set
- End Property
-
- Public Property TestoFirmaStartV() As String
- Get
- Return _TestoFirmaStartV
- End Get
-
- Set(ByVal value As String)
- _TestoFirmaStartV = value
- End Set
- End Property
-
- Public Property DataPartenza() As DateTime
- Get
- Return _DataPartenza
- End Get
- Set(ByVal value As DateTime)
- _DataPartenza = value
- End Set
- End Property
-
- Public Property TestoOrario() As String
- Get
- Return _TestoOrario
- End Get
- Set(ByVal value As String)
- _TestoOrario = value
- End Set
- End Property
-
- Public Property DimStandard() As Integer
- Get
- Return _DimStandard
- End Get
- Set(ByVal value As Integer)
- _DimStandard = value
- End Set
- End Property
-
- Public Property DimStandardMiniatura() As Integer
- Get
- Return _DimStandardMiniatura
- End Get
- Set(ByVal value As Integer)
- _DimStandardMiniatura = value
- End Set
- End Property
-
- Public Property NomeData() As Boolean
- Get
- Return _NomeData
- End Get
- Set(ByVal value As Boolean)
- _NomeData = value
- End Set
- End Property
-
- Public Property TestoNome() As Boolean
- Get
- Return _TestoNome
- End Get
- Set(ByVal value As Boolean)
- _TestoNome = value
- End Set
- End Property
-
- Public Property UsaOrarioMiniatura() As Boolean
- Get
- Return _UsaOrarioMiniatura
- End Get
- Set(ByVal value As Boolean)
- _UsaOrarioMiniatura = value
- End Set
- End Property
-
- Public Property UsaOrarioTestoApplicare() As Boolean
- Get
- Return _UsaOrarioTestoApplicare
- End Get
- Set(ByVal value As Boolean)
- _UsaOrarioTestoApplicare = value
- End Set
- End Property
-
- Public Property UsaTempoGaraTestoApplicare() As Boolean
- Get
- Return _UsaTempoGaraTestoApplicare
- End Get
- Set(ByVal value As Boolean)
- _UsaTempoGaraTestoApplicare = value
- End Set
- End Property
-
- Public Property UsaRotazioneAutomatica() As Boolean
- Get
- Return _UsaRotazioneAutomatica
- End Get
- Set(ByVal value As Boolean)
- _UsaRotazioneAutomatica = value
- End Set
- End Property
-
- Public Property UsaForzaJpg() As Boolean
- Get
- Return _UsaForzaJpg
- End Get
- Set(ByVal value As Boolean)
- _UsaForzaJpg = value
- End Set
- End Property
-
-
-
- Public Property LarghezzaSmall() As Integer
- Get
- Return _LarghezzaSmall
- End Get
- Set(ByVal value As Integer)
- _LarghezzaSmall = value
- End Set
- End Property
-
- Public Property AltezzaSmall() As Integer
- Get
- Return _AltezzaSmall
- End Get
- Set(ByVal value As Integer)
- _AltezzaSmall = value
- End Set
- End Property
-
-
- Public Property CreaMiniature() As Boolean
- Get
- Return _CreaMiniature
- End Get
- Set(ByVal value As Boolean)
- _CreaMiniature = value
- End Set
- End Property
-
- Public Property AggiungiScritteMiniature() As Boolean
- Get
- Return _AggiungiScritteMiniature
- End Get
- Set(ByVal value As Boolean)
- _AggiungiScritteMiniature = value
- End Set
- End Property
-
-
- Public Property Suffisso() As String
- Get
- Return _Suffisso
- End Get
- Set(ByVal value As String)
- _Suffisso = value
- End Set
- End Property
-
- Public Property Codice() As String
- Get
- Return _Codice
- End Get
- Set(ByVal value As String)
- _Codice = value
- End Set
- End Property
-
-
- Public Property Trasparenza() As Integer
- Get
- Return _Trasparenza
- End Get
- Set(ByVal value As Integer)
- _Trasparenza = value
- End Set
- End Property
-
- Public Property IlFont() As String
- Get
- Return _IlFont
- End Get
- Set(ByVal value As String)
- _IlFont = value
- End Set
- End Property
-
- Public Property Grassetto() As Boolean
- Get
- Return _Grassetto
- End Get
- Set(ByVal value As Boolean)
- _Grassetto = value
- End Set
- End Property
-
- Public Property Posizione() As String
- Get
- Return _Posizione
- End Get
- Set(ByVal value As String)
- _Posizione = value
- End Set
- End Property
-
- Public Property Allineamento() As String
- Get
- Return _Allineamento
- End Get
- Set(ByVal value As String)
- _Allineamento = value
- End Set
- End Property
-
- Public Property Margine() As Integer
- Get
- Return _Margine
- End Get
- Set(ByVal value As Integer)
- _Margine = value
- End Set
- End Property
-
- Public Property LogoAltezza() As Integer
- Get
- Return _LogoAltezza
- End Get
- Set(ByVal value As Integer)
- _LogoAltezza = value
- End Set
- End Property
-
- Public Property LogoLarghezza() As Integer
- Get
- Return _LogoLarghezza
- End Get
- Set(ByVal value As Integer)
- _LogoLarghezza = value
- End Set
- End Property
-
- Public Property fontColoreRGB() As Color
- Get
- Return _fontColoreRGB
- End Get
- Set(ByVal value As Color)
- _fontColoreRGB = value
- End Set
- End Property
-
- Public Property LogoAggiungi() As Boolean
- Get
- Return _LogoAggiungi
- End Get
- Set(ByVal value As Boolean)
- _LogoAggiungi = value
- End Set
- End Property
-
- Public Property LogoNomeFile() As String
- Get
- Return _LogoNomeFile
- End Get
- Set(ByVal value As String)
- _LogoNomeFile = value
- End Set
- End Property
-
- Public Property LogoTrasparenza() As String
- Get
- Return _LogoTrasparenza
- End Get
- Set(ByVal value As String)
- _LogoTrasparenza = value
- End Set
- End Property
-
- Public Property LogoMargine() As String
- Get
- Return _LogoMargine
- End Get
- Set(ByVal value As String)
- _LogoMargine = value
- End Set
- End Property
-
- Public Property LogoPosizioneH() As String
- Get
- Return _LogoPosizioneH
- End Get
- Set(ByVal value As String)
- _LogoPosizioneH = value
- End Set
- End Property
-
- Public Property LogoPosizioneV() As String
- Get
- Return _LogoPosizioneV
- End Get
- Set(ByVal value As String)
- _LogoPosizioneV = value
- End Set
- End Property
-
- Public Property FotoGrandeDimOrigina() As Boolean
- Get
- Return _FotoGrandeDimOrigina
- End Get
- Set(ByVal value As Boolean)
- _FotoGrandeDimOrigina = value
- End Set
- End Property
-
- Public Property AltezzaBig() As Integer
- Get
- Return _AltezzaBig
- End Get
- Set(ByVal value As Integer)
- _AltezzaBig = value
- End Set
- End Property
-
- Public Property LarghezzaBig() As Integer
- Get
- Return _LarghezzaBig
- End Get
- Set(ByVal value As Integer)
- _LarghezzaBig = value
- End Set
- End Property
-
- Public Property DestDir() As DirectoryInfo
- Get
- Return _DestDir
- End Get
- Set(ByVal value As DirectoryInfo)
- _DestDir = value
- End Set
- End Property
-
- Public Property DimVert() As Integer
- Get
- Return _DimVert
-
- End Get
- Set(ByVal value As Integer)
- _DimVert = value
-
- End Set
- End Property
-
- Public Property MargVert() As Integer
- Get
- Return _MargVert
-
- End Get
- Set(ByVal value As Integer)
- _MargVert = value
- End Set
- End Property
-
- Public Property TestoMin() As Boolean
- Get
- Return _TestoMin
-
- End Get
- Set(ByVal value As Boolean)
- _TestoMin = value
-
- End Set
- End Property
-
- Public Property DimMin() As Integer
- Get
- Return _DimMin
-
- End Get
- Set(ByVal value As Integer)
- _DimMin = value
-
- End Set
- End Property
-
- Public Property SecretDefault() As Boolean
- Get
- Return _SecretDefault
-
- End Get
- Set(ByVal value As Boolean)
- _SecretDefault = value
-
- End Set
- End Property
-
- Public Property SecretBig() As Boolean
- Get
- Return _SecretBig
-
- End Get
- Set(ByVal value As Boolean)
- _SecretBig = value
-
- End Set
- End Property
-
- Public Property SecretSmall() As Boolean
- Get
- Return _SecretSmall
-
- End Get
- Set(ByVal value As Boolean)
- _SecretSmall = value
-
- End Set
- End Property
-
- Public Property SecretPathSmall() As String
- Get
- Return _SecretPathSmall
-
- End Get
- Set(ByVal value As String)
- _SecretPathSmall = value
-
- End Set
- End Property
-
- Public Property SecretPathBig() As String
- Get
- Return _SecretPathBig
-
- End Get
- Set(ByVal value As String)
- _SecretPathBig = value
-
- End Set
- End Property
-
- Public Property AggTempoGaraMin() As Boolean
- Get
- Return _AggTempoGaraMin
-
- End Get
- Set(ByVal value As Boolean)
- _AggTempoGaraMin = value
-
- End Set
- End Property
-
- Public Property AggNumTempMin() As Boolean
- Get
- Return _AggNumTempMin
-
- End Get
- Set(ByVal value As Boolean)
- _AggNumTempMin = value
-
- End Set
- End Property
-
- Public Property jpegQuality() As Long
- Get
- Return _jpegQuality
- End Get
- Set(ByVal value As Long)
- _jpegQuality = value
- End Set
-
- End Property
-
- Public Property jpegQualityMin() As Long
- Get
- Return _jpegQualityMin
- End Get
- Set(ByVal value As Long)
- _jpegQualityMin = value
- End Set
-
- End Property
-End Module
diff --git a/ImageCatalogCS/AboutForm.Designer.cs b/ImageCatalogCS/AboutForm.Designer.cs
deleted file mode 100644
index 01cd505..0000000
--- a/ImageCatalogCS/AboutForm.Designer.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-namespace ImageCatalogCS
-{
- partial class AboutForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutForm));
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.button1 = new System.Windows.Forms.Button();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
- this.SuspendLayout();
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(12, 213);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(75, 13);
- this.label1.TabIndex = 0;
- this.label1.Text = "Image Catalog";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(350, 213);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(66, 13);
- this.label2.TabIndex = 1;
- this.label2.Text = "Versione 3.0";
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(176, 239);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(75, 23);
- this.button1.TabIndex = 2;
- this.button1.Text = "Chiudi";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // pictureBox1
- //
- this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
- this.pictureBox1.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.InitialImage")));
- this.pictureBox1.Location = new System.Drawing.Point(15, 13);
- this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(401, 197);
- this.pictureBox1.TabIndex = 3;
- this.pictureBox1.TabStop = false;
- //
- // AboutForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(433, 274);
- this.Controls.Add(this.pictureBox1);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.label1);
- this.Name = "AboutForm";
- this.Text = "AboutForm";
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.PictureBox pictureBox1;
- }
-}
\ No newline at end of file
diff --git a/ImageCatalogCS/AboutForm.cs b/ImageCatalogCS/AboutForm.cs
deleted file mode 100644
index 80e20f9..0000000
--- a/ImageCatalogCS/AboutForm.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace ImageCatalogCS
-{
- public partial class AboutForm : Form
- {
- public AboutForm()
- {
- InitializeComponent();
- }
-
- private void button1_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- }
-}
diff --git a/ImageCatalogCS/AboutForm.resx b/ImageCatalogCS/AboutForm.resx
deleted file mode 100644
index 02a449f..0000000
--- a/ImageCatalogCS/AboutForm.resx
+++ /dev/null
@@ -1,229 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAAZ4AAADQCAIAAAC4O5DwAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
- cwAAEnMBjCK5BwAAC05JREFUeF7t2sGBG0cORmEn4PPmooCUxO7FGTgaJ+NgtE0OKZMeTTdQDVQBf7/v
- 4svuDLsK9boo6bcfACCHtAEQRNoACCJtAASRNgCCSBsAQaQNgCDSBkAQaQMgiLQBEETaAAgibQAEkTYA
- gkgbAEGkDYAg0gZAEGkDIIi0ARBE2gAIIm0ABJE2AIJIGwBBpA2AINIGQBBpAyCItAEQRNoACCJtAASR
- NgCCSBsAQaQNgCDSBkAQaQMgiLQBEETaAAgibQAEkTYAgkgbAEGkDYAg0pbqr++/Dfn259+PnwBhjEci
- 0hZndFBtvv/1+DXoifGYi7SdkzuvX+Gt3QTjsQ5pG/H3n98eU7QaL+uCGI8KSJtHnZn9NxJXAONRCWkz
- qTu0b/gmsgbjUdDKtB0PRIG9aDK1r1asmvsPlUSO2cXGo8WRfViXNsNQLL5GNxzbF3MX74Jpu+Z4HG90
- lZ1dlTbLXCwsW+7YHm5+2F+sTVvCa6UtvWr7q7N0PAy/vMberkmbZTSWrU/Y4OxyTtWJDzUlb9dJ25zx
- 2Hj2beZ4lD68L1akzfTOm3IgP5k2tzeD+z9yZUgftWukbep4bEYWacJ4WJZh/f7OT5tt6ReUbfbc3px6
- TOcQpy6pftpWjMdmfNcSx8O0Fqt3eHbabOs9fVVGXnUxAh7Vfujy1lU7bevGY3N2pTLGo+gxfjM5bbZl
- nrwkSwd3E3Odsk5wzuVNOG3G8fjP478ZAvYsejxsPy9n2Gymps24vFPXwzS4vz/+myTumNuOYcICq6bN
- tKDf/vff5Jdj0GpFjkfFw/xmYtqMb7+ZM2/5SN//sJ7az7toPvChD234reGLLJk203hsm25++BITEjUe
- Bc/zm2lpMy7EzJU43uNtFE2fe/9DW8Y3+rGPP3bsbzQf0adlE29mGo9NxwkJGY+CR/rVrLRZR3/aMhzu
- i3VuTZ/YMAWf3+hnHa554K9US5txPCz/y6oTEjAe1l2Pn22DOWkz7NuHWWtwtCfPz2Gf8ENHPyrlrB/9
- 0rD11kqbdTw2rSfk9HhYt33Fbk9Jm3nuw07avv3P87INsWU4+GlZ229+2jPMW/y0YtiNPAvWf0LOjYd5
- 3ycd7RcT0na0+z/Nmfb9j/P+GaKrsP/z8nZ/9/eGLLt5xJ/mbLafZzw2EhNyZjyKne4X+WkzD/2UZ9/d
- iX9/gv1tG5mzM0N0iuu5B5h3+Wn6pJt4l0llQk6Mx/4SvJp8cctOm/3BC876iQ3/QvxRKEIkbV5MSN0j
- npw2+8RXHPWEN+jujyRt3TAhG3vbpn7+1LQVfWYzBteMtH12nQmx7/7Ebc9MW/ey7T/A0CbtLwlp64YJ
- +eDY/mmPkJi2io/rEz9mu2vS+bSTtl+40IQUPOx5aetftqNn8A/a/s8ruwwGjt3+oJE2JuTJMQCTtj4r
- bfuvs3d1N+zoKXyf/OCntT7sV00bE/JUrm1JadMom+E57B8+8EcV5E7bh9bPfMeEPFVrW07aPINe+/V9
- 3GjT5z/+Mc1P+WDafur79EzIk2cGJjxLStp0ymYauaOHsCxH9WU4cjZtH1quAhPyYFqIp/y2ZaRNqWwb
- 8+N83i3z/7V72YLSdtdvLZiQD7XalpA2z5S3GGPXjo1oH7bQtN1N+MISiAn5UKpt8WlzDXmTCc4d3V7H
- +Nei03bTaV2YkLtKhz88bYpl26SNrsCN7SYjbZtGq8OE3BQ6/tFpcz1ar2OdcXo7XUx2JaVt02hImBBn
- 4FMfLjhtwmXbBL+Y2z3/jry0bS57uW84IXXaFpu2Qs3OEnWGWz7811LT1uuMX3xCytxuQtPmK1vbS8vp
- V7PSde0hOW3N1uzKE1ImAqFp881373vL6FkWu609paet33G/6oRUqUBk2nzPJHF18TyyaNQ+TEhbz5G5
- 3oQ4r6xpDx2Ytot8Hf21rydY7EG/8Hz+naeNqF/jw3+dCfFtdNrTB6bN90TSdxh87dyfQ13jRdFbkWtb
- XNoufWmDz4kbHO/E8py7m7SjcWkrcg1FE8N1o23VOa9tSS0IS1uRWyj6GP1qymuxuhLXtrC0cWmD39jV
- jekprsS1LSptXNowYuzmxvgUV+HaFpW2EldQNDR0cWN+ahNKW4kbKFoaaRsDVFuFHgSlzTmeTCb+Qdvk
- eP+cIePatiZtfJ/Ai5G2MUKlFQhCTNoqRBptjfxdAte20gp8jVuSNsYSb0baxuuxsgJFIG0oYOArKWmr
- zPuyStjNmLQVuH6is4G0MUSVXTVtvHDxbuAbKWmrjLQBd3wjFbM+CaQNFZA2Mc4NTbiDkzZUQNrEkDbg
- hrSJIW3ADWkTsz4JpA0V+NPG35CWRtqAG9KmhX+yC9wM/Ls23o+VOTc0owgxaSvwIOiMtIkhbcAN30fF
- OIuQ8Z6KSRt/2IYzuLSpKRAE0ob1uLSp8e1oym4GpY1vpFfyc7eDXlH+svFyrK1CD4LSVqHSyPLl5sbs
- I2WTU+CP2sLSVuFZEMOxlxFtGygbr8biKtx0otLmfBjSVtGKyDjfiXeUrbgSF52wtPmehuEsaX7bBn4j
- w1NeiRiEpY1rm4LJd6iRsDE69ZVoQVzauLYpGGnb4GYO/SrK1kCNFMSljWubhMHgeOdz6L624ZXYQI0S
- BKaNa5uG0epYt3Qwnne8EBvwbXDalgamrcoj4aQz7dl8WbjhZj7xOmzBtc95exqZtirPhLNORygDA9ND
- lRtOaNq4tskoFzfC1oVrdBIjEJo2X9sY1tJKxY1ZaaNMA2LT5nsurm21+S7hiRiURjyvxNQ3VnDaytxG
- EaLA1Y0LWyt1AhCdtjrRRoi1VzcmpJlCX9vC0+ZqG9e2DlbVjenop9Dpj08bbVM0O29c11qqdPYT0uZ5
- Pia4kVl5433XlWdC0nc5I220TVhu36haZ57ZyD/4KWnztI1h7ig8cLziBNQ69jlpo20XcTpxJE1HsUOf
- lDbHYzLcKoydY8M1OV5zU64zWWmjbcCVVCtbXtocj0rbgObKlS0xbbStiN19EF76qz73EgUPe2LaHF9K
- GbRU+3Onufi7s8e8RSt41FPTRtvK2N8JteW/1tMWYD7oE/89RG7a7PdUxi3b0fRNHLpURyOn8pyVVCxb
- dtrsT03b0h2+Z/qf+sNpI2wJap7x9LTRtkqON6Pv2T/+hsCIZTB/M5s8WvlpMz86gzeDZTf65c3w/mS8
- cpQ93hPSZr+48W1hCtMwtimB7WgxWkmsZZu/AVPSVvj5L8q4IcX7xitzOeMWrBikOWkrvQQXZX3dlCyD
- NWpMVC7jPiyZoFlpE7kniLEXosjO2Ht8x3UtVe0zPS1t5oVgHOfy5O1mxaA6i3bHSzJb8QM9MW3WU0Tb
- pvPm7SG3HoMf6oYRmqD6aZ6aNmPned+uMHIz+mx4kk+E7B1Zm8O0YSuP8ty0GQ8QbVslpm+rULVpbIOy
- dENmp81Ye4Z0oYZ942U4V4dDPD9ttnVhVldrEjgGZT7TaCy/naxImy1uXNxKqFs4BmQRy0gUeOOsSZsp
- boxuJXUSx1ysZTi6Ja7Sq9JmWSG+a5RkuXLHYxhqMLziimzVurRZzggv6OJyM8f2l9PoQrIybVA0Wjuu
- ZQhF2gAIIm0ABJE2AIJIGwBBpA2AINIGQBBpAyCItAEQRNoACCJtAASRNgCCSBsAQaQNgCDSBkAQaQMg
- iLQBEETaAAgibQAEkTYAgkgbAEGkDYAg0gZAEGkDIIi0ARBE2gAIIm0ABJE2AIJIGwBBpA2AINIGQBBp
- AyCItAEQRNoACCJtAASRNgCCSBsAQaQNgCDSBkAQaQMgiLQBEETaAAgibQAEkTYAgkgbAEGkDYAg0gZA
- EGkDIIi0ARBE2gAIIm0ABJE2AIJIGwA5P378HyuEmb0husDDAAAAAElFTkSuQmCC
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAAZ4AAADQCAIAAAC4O5DwAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
- cwAAEnMBjCK5BwAAC05JREFUeF7t2sGBG0cORmEn4PPmooCUxO7FGTgaJ+NgtE0OKZMeTTdQDVQBf7/v
- 4svuDLsK9boo6bcfACCHtAEQRNoACCJtAASRNgCCSBsAQaQNgCDSBkAQaQMgiLQBEETaAAgibQAEkTYA
- gkgbAEGkDYAg0gZAEGkDIIi0ARBE2gAIIm0ABJE2AIJIGwBBpA2AINIGQBBpAyCItAEQRNoACCJtAASR
- NgCCSBsAQaQNgCDSBkAQaQMgiLQBEETaAAgibQAEkTYAgkgbAEGkDYAg0pbqr++/Dfn259+PnwBhjEci
- 0hZndFBtvv/1+DXoifGYi7SdkzuvX+Gt3QTjsQ5pG/H3n98eU7QaL+uCGI8KSJtHnZn9NxJXAONRCWkz
- qTu0b/gmsgbjUdDKtB0PRIG9aDK1r1asmvsPlUSO2cXGo8WRfViXNsNQLL5GNxzbF3MX74Jpu+Z4HG90
- lZ1dlTbLXCwsW+7YHm5+2F+sTVvCa6UtvWr7q7N0PAy/vMberkmbZTSWrU/Y4OxyTtWJDzUlb9dJ25zx
- 2Hj2beZ4lD68L1akzfTOm3IgP5k2tzeD+z9yZUgftWukbep4bEYWacJ4WJZh/f7OT5tt6ReUbfbc3px6
- TOcQpy6pftpWjMdmfNcSx8O0Fqt3eHbabOs9fVVGXnUxAh7Vfujy1lU7bevGY3N2pTLGo+gxfjM5bbZl
- nrwkSwd3E3Odsk5wzuVNOG3G8fjP478ZAvYsejxsPy9n2Gymps24vFPXwzS4vz/+myTumNuOYcICq6bN
- tKDf/vff5Jdj0GpFjkfFw/xmYtqMb7+ZM2/5SN//sJ7az7toPvChD234reGLLJk203hsm25++BITEjUe
- Bc/zm2lpMy7EzJU43uNtFE2fe/9DW8Y3+rGPP3bsbzQf0adlE29mGo9NxwkJGY+CR/rVrLRZR3/aMhzu
- i3VuTZ/YMAWf3+hnHa554K9US5txPCz/y6oTEjAe1l2Pn22DOWkz7NuHWWtwtCfPz2Gf8ENHPyrlrB/9
- 0rD11kqbdTw2rSfk9HhYt33Fbk9Jm3nuw07avv3P87INsWU4+GlZ229+2jPMW/y0YtiNPAvWf0LOjYd5
- 3ycd7RcT0na0+z/Nmfb9j/P+GaKrsP/z8nZ/9/eGLLt5xJ/mbLafZzw2EhNyZjyKne4X+WkzD/2UZ9/d
- iX9/gv1tG5mzM0N0iuu5B5h3+Wn6pJt4l0llQk6Mx/4SvJp8cctOm/3BC876iQ3/QvxRKEIkbV5MSN0j
- npw2+8RXHPWEN+jujyRt3TAhG3vbpn7+1LQVfWYzBteMtH12nQmx7/7Ebc9MW/ey7T/A0CbtLwlp64YJ
- +eDY/mmPkJi2io/rEz9mu2vS+bSTtl+40IQUPOx5aetftqNn8A/a/s8ruwwGjt3+oJE2JuTJMQCTtj4r
- bfuvs3d1N+zoKXyf/OCntT7sV00bE/JUrm1JadMom+E57B8+8EcV5E7bh9bPfMeEPFVrW07aPINe+/V9
- 3GjT5z/+Mc1P+WDafur79EzIk2cGJjxLStp0ymYauaOHsCxH9WU4cjZtH1quAhPyYFqIp/y2ZaRNqWwb
- 8+N83i3z/7V72YLSdtdvLZiQD7XalpA2z5S3GGPXjo1oH7bQtN1N+MISiAn5UKpt8WlzDXmTCc4d3V7H
- +Nei03bTaV2YkLtKhz88bYpl26SNrsCN7SYjbZtGq8OE3BQ6/tFpcz1ar2OdcXo7XUx2JaVt02hImBBn
- 4FMfLjhtwmXbBL+Y2z3/jry0bS57uW84IXXaFpu2Qs3OEnWGWz7811LT1uuMX3xCytxuQtPmK1vbS8vp
- V7PSde0hOW3N1uzKE1ImAqFp881373vL6FkWu609paet33G/6oRUqUBk2nzPJHF18TyyaNQ+TEhbz5G5
- 3oQ4r6xpDx2Ytot8Hf21rydY7EG/8Hz+naeNqF/jw3+dCfFtdNrTB6bN90TSdxh87dyfQ13jRdFbkWtb
- XNoufWmDz4kbHO/E8py7m7SjcWkrcg1FE8N1o23VOa9tSS0IS1uRWyj6GP1qymuxuhLXtrC0cWmD39jV
- jekprsS1LSptXNowYuzmxvgUV+HaFpW2EldQNDR0cWN+ahNKW4kbKFoaaRsDVFuFHgSlzTmeTCb+Qdvk
- eP+cIePatiZtfJ/Ai5G2MUKlFQhCTNoqRBptjfxdAte20gp8jVuSNsYSb0baxuuxsgJFIG0oYOArKWmr
- zPuyStjNmLQVuH6is4G0MUSVXTVtvHDxbuAbKWmrjLQBd3wjFbM+CaQNFZA2Mc4NTbiDkzZUQNrEkDbg
- hrSJIW3ADWkTsz4JpA0V+NPG35CWRtqAG9KmhX+yC9wM/Ls23o+VOTc0owgxaSvwIOiMtIkhbcAN30fF
- OIuQ8Z6KSRt/2IYzuLSpKRAE0ob1uLSp8e1oym4GpY1vpFfyc7eDXlH+svFyrK1CD4LSVqHSyPLl5sbs
- I2WTU+CP2sLSVuFZEMOxlxFtGygbr8biKtx0otLmfBjSVtGKyDjfiXeUrbgSF52wtPmehuEsaX7bBn4j
- w1NeiRiEpY1rm4LJd6iRsDE69ZVoQVzauLYpGGnb4GYO/SrK1kCNFMSljWubhMHgeOdz6L624ZXYQI0S
- BKaNa5uG0epYt3Qwnne8EBvwbXDalgamrcoj4aQz7dl8WbjhZj7xOmzBtc95exqZtirPhLNORygDA9ND
- lRtOaNq4tskoFzfC1oVrdBIjEJo2X9sY1tJKxY1ZaaNMA2LT5nsurm21+S7hiRiURjyvxNQ3VnDaytxG
- EaLA1Y0LWyt1AhCdtjrRRoi1VzcmpJlCX9vC0+ZqG9e2DlbVjenop9Dpj08bbVM0O29c11qqdPYT0uZ5
- Pia4kVl5433XlWdC0nc5I220TVhu36haZ57ZyD/4KWnztI1h7ig8cLziBNQ69jlpo20XcTpxJE1HsUOf
- lDbHYzLcKoydY8M1OV5zU64zWWmjbcCVVCtbXtocj0rbgObKlS0xbbStiN19EF76qz73EgUPe2LaHF9K
- GbRU+3Onufi7s8e8RSt41FPTRtvK2N8JteW/1tMWYD7oE/89RG7a7PdUxi3b0fRNHLpURyOn8pyVVCxb
- dtrsT03b0h2+Z/qf+sNpI2wJap7x9LTRtkqON6Pv2T/+hsCIZTB/M5s8WvlpMz86gzeDZTf65c3w/mS8
- cpQ93hPSZr+48W1hCtMwtimB7WgxWkmsZZu/AVPSVvj5L8q4IcX7xitzOeMWrBikOWkrvQQXZX3dlCyD
- NWpMVC7jPiyZoFlpE7kniLEXosjO2Ht8x3UtVe0zPS1t5oVgHOfy5O1mxaA6i3bHSzJb8QM9MW3WU0Tb
- pvPm7SG3HoMf6oYRmqD6aZ6aNmPned+uMHIz+mx4kk+E7B1Zm8O0YSuP8ty0GQ8QbVslpm+rULVpbIOy
- dENmp81Ye4Z0oYZ942U4V4dDPD9ttnVhVldrEjgGZT7TaCy/naxImy1uXNxKqFs4BmQRy0gUeOOsSZsp
- boxuJXUSx1ysZTi6Ja7Sq9JmWSG+a5RkuXLHYxhqMLziimzVurRZzggv6OJyM8f2l9PoQrIybVA0Wjuu
- ZQhF2gAIIm0ABJE2AIJIGwBBpA2AINIGQBBpAyCItAEQRNoACCJtAASRNgCCSBsAQaQNgCDSBkAQaQMg
- iLQBEETaAAgibQAEkTYAgkgbAEGkDYAg0gZAEGkDIIi0ARBE2gAIIm0ABJE2AIJIGwBBpA2AINIGQBBp
- AyCItAEQRNoACCJtAASRNgCCSBsAQaQNgCDSBkAQaQMgiLQBEETaAAgibQAEkTYAgkgbAEGkDYAg0gZA
- EGkDIIi0ARBE2gAIIm0ABJE2AIJIGwA5P378HyuEmb0husDDAAAAAElFTkSuQmCC
-
-
-
\ No newline at end of file
diff --git a/ImageCatalogCS/App.config b/ImageCatalogCS/App.config
deleted file mode 100644
index 4bfa005..0000000
--- a/ImageCatalogCS/App.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/ImageCatalogCS/CreaImmagineSeparateThread.cs b/ImageCatalogCS/CreaImmagineSeparateThread.cs
deleted file mode 100644
index 4444736..0000000
--- a/ImageCatalogCS/CreaImmagineSeparateThread.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace ImageCatalogCS
-{
- class CreaImmagineSeparateThread
- {
- }
-}
diff --git a/ImageCatalogCS/ExifReader.cs b/ImageCatalogCS/ExifReader.cs
deleted file mode 100644
index 9f801be..0000000
--- a/ImageCatalogCS/ExifReader.cs
+++ /dev/null
@@ -1,1166 +0,0 @@
-using Microsoft.VisualBasic;
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Data;
-using System.Diagnostics;
-///-----------------------------------------------------------------------------
-///
-/// Utility class for reading EXIF data from images. Provides abstraction
-/// for most common data and generic utilities for work with all other.
-///
-///
-/// Copyright (c) Michal A. Valášek - Altair Communications, 2003
-/// Copmany: http://software.altaircom.net * support@altaircom.net
-/// Private: http://www.rider.cz * developer@rider.cz
-/// This is free software licensed under GNU Lesser General Public License
-///
-///
-/// [altair] 10.9.2003 Created
-///
-///-----------------------------------------------------------------------------
-public class ExifReader : IDisposable
-{
-
-
- private System.Drawing.Bitmap Image;
- ///-----------------------------------------------------------------------------
- ///
- /// Contains possible values of EXIF tag names (ID)
- ///
- /// See GdiPlusImaging.h
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public enum TagNames
- {
- ExifIFD = 0x8769,
- GpsIFD = 0x8825,
- NewSubfileType = 0xfe,
- SubfileType = 0xff,
- ImageWidth = 0x100,
- ImageHeight = 0x101,
- BitsPerSample = 0x102,
- Compression = 0x103,
- PhotometricInterp = 0x106,
- ThreshHolding = 0x107,
- CellWidth = 0x108,
- CellHeight = 0x109,
- FillOrder = 0x10a,
- DocumentName = 0x10d,
- ImageDescription = 0x10e,
- EquipMake = 0x10f,
- EquipModel = 0x110,
- StripOffsets = 0x111,
- Orientation = 0x112,
- SamplesPerPixel = 0x115,
- RowsPerStrip = 0x116,
- StripBytesCount = 0x117,
- MinSampleValue = 0x118,
- MaxSampleValue = 0x119,
- XResolution = 0x11a,
- YResolution = 0x11b,
- PlanarConfig = 0x11c,
- PageName = 0x11d,
- XPosition = 0x11e,
- YPosition = 0x11f,
- FreeOffset = 0x120,
- FreeByteCounts = 0x121,
- GrayResponseUnit = 0x122,
- GrayResponseCurve = 0x123,
- T4Option = 0x124,
- T6Option = 0x125,
- ResolutionUnit = 0x128,
- PageNumber = 0x129,
- TransferFuncition = 0x12d,
- SoftwareUsed = 0x131,
- DateTime = 0x132,
- Artist = 0x13b,
- HostComputer = 0x13c,
- Predictor = 0x13d,
- WhitePoint = 0x13e,
- PrimaryChromaticities = 0x13f,
- ColorMap = 0x140,
- HalftoneHints = 0x141,
- TileWidth = 0x142,
- TileLength = 0x143,
- TileOffset = 0x144,
- TileByteCounts = 0x145,
- InkSet = 0x14c,
- InkNames = 0x14d,
- NumberOfInks = 0x14e,
- DotRange = 0x150,
- TargetPrinter = 0x151,
- ExtraSamples = 0x152,
- SampleFormat = 0x153,
- SMinSampleValue = 0x154,
- SMaxSampleValue = 0x155,
- TransferRange = 0x156,
- JPEGProc = 0x200,
- JPEGInterFormat = 0x201,
- JPEGInterLength = 0x202,
- JPEGRestartInterval = 0x203,
- JPEGLosslessPredictors = 0x205,
- JPEGPointTransforms = 0x206,
- JPEGQTables = 0x207,
- JPEGDCTables = 0x208,
- JPEGACTables = 0x209,
- YCbCrCoefficients = 0x211,
- YCbCrSubsampling = 0x212,
- YCbCrPositioning = 0x213,
- REFBlackWhite = 0x214,
- ICCProfile = 0x8773,
- Gamma = 0x301,
- ICCProfileDescriptor = 0x302,
- SRGBRenderingIntent = 0x303,
- ImageTitle = 0x320,
- Copyright = 0x8298,
- ResolutionXUnit = 0x5001,
- ResolutionYUnit = 0x5002,
- ResolutionXLengthUnit = 0x5003,
- ResolutionYLengthUnit = 0x5004,
- PrintFlags = 0x5005,
- PrintFlagsVersion = 0x5006,
- PrintFlagsCrop = 0x5007,
- PrintFlagsBleedWidth = 0x5008,
- PrintFlagsBleedWidthScale = 0x5009,
- HalftoneLPI = 0x500a,
- HalftoneLPIUnit = 0x500b,
- HalftoneDegree = 0x500c,
- HalftoneShape = 0x500d,
- HalftoneMisc = 0x500e,
- HalftoneScreen = 0x500f,
- JPEGQuality = 0x5010,
- GridSize = 0x5011,
- ThumbnailFormat = 0x5012,
- ThumbnailWidth = 0x5013,
- ThumbnailHeight = 0x5014,
- ThumbnailColorDepth = 0x5015,
- ThumbnailPlanes = 0x5016,
- ThumbnailRawBytes = 0x5017,
- ThumbnailSize = 0x5018,
- ThumbnailCompressedSize = 0x5019,
- ColorTransferFunction = 0x501a,
- ThumbnailData = 0x501b,
- ThumbnailImageWidth = 0x5020,
- ThumbnailImageHeight = 0x502,
- ThumbnailBitsPerSample = 0x5022,
- ThumbnailCompression = 0x5023,
- ThumbnailPhotometricInterp = 0x5024,
- ThumbnailImageDescription = 0x5025,
- ThumbnailEquipMake = 0x5026,
- ThumbnailEquipModel = 0x5027,
- ThumbnailStripOffsets = 0x5028,
- ThumbnailOrientation = 0x5029,
- ThumbnailSamplesPerPixel = 0x502a,
- ThumbnailRowsPerStrip = 0x502b,
- ThumbnailStripBytesCount = 0x502c,
- ThumbnailResolutionX = 0x502d,
- ThumbnailResolutionY = 0x502e,
- ThumbnailPlanarConfig = 0x502f,
- ThumbnailResolutionUnit = 0x5030,
- ThumbnailTransferFunction = 0x5031,
- ThumbnailSoftwareUsed = 0x5032,
- ThumbnailDateTime = 0x5033,
- ThumbnailArtist = 0x5034,
- ThumbnailWhitePoint = 0x5035,
- ThumbnailPrimaryChromaticities = 0x5036,
- ThumbnailYCbCrCoefficients = 0x5037,
- ThumbnailYCbCrSubsampling = 0x5038,
- ThumbnailYCbCrPositioning = 0x5039,
- ThumbnailRefBlackWhite = 0x503a,
- ThumbnailCopyRight = 0x503b,
- LuminanceTable = 0x5090,
- ChrominanceTable = 0x5091,
- FrameDelay = 0x5100,
- LoopCount = 0x5101,
- PixelUnit = 0x5110,
- PixelPerUnitX = 0x5111,
- PixelPerUnitY = 0x5112,
- PaletteHistogram = 0x5113,
- ExifExposureTime = 0x829a,
- ExifFNumber = 0x829d,
- ExifExposureProg = 0x8822,
- ExifSpectralSense = 0x8824,
- ExifISOSpeed = 0x8827,
- ExifOECF = 0x8828,
- ExifVer = 0x9000,
- ExifDTOrig = 0x9003,
- ExifDTDigitized = 0x9004,
- ExifCompConfig = 0x9101,
- ExifCompBPP = 0x9102,
- ExifShutterSpeed = 0x9201,
- ExifAperture = 0x9202,
- ExifBrightness = 0x9203,
- ExifExposureBias = 0x9204,
- ExifMaxAperture = 0x9205,
- ExifSubjectDist = 0x9206,
- ExifMeteringMode = 0x9207,
- ExifLightSource = 0x9208,
- ExifFlash = 0x9209,
- ExifFocalLength = 0x920a,
- ExifMakerNote = 0x927c,
- ExifUserComment = 0x9286,
- ExifDTSubsec = 0x9290,
- ExifDTOrigSS = 0x9291,
- ExifDTDigSS = 0x9292,
- ExifFPXVer = 0xa000,
- ExifColorSpace = 0xa001,
- ExifPixXDim = 0xa002,
- ExifPixYDim = 0xa003,
- ExifRelatedWav = 0xa004,
- ExifInterop = 0xa005,
- ExifFlashEnergy = 0xa20b,
- ExifSpatialFR = 0xa20c,
- ExifFocalXRes = 0xa20e,
- ExifFocalYRes = 0xa20f,
- ExifFocalResUnit = 0xa210,
- ExifSubjectLoc = 0xa214,
- ExifExposureIndex = 0xa215,
- ExifSensingMethod = 0xa217,
- ExifFileSource = 0xa300,
- ExifSceneType = 0xa301,
- ExifCfaPattern = 0xa302,
- GpsVer = 0x0,
- GpsLatitudeRef = 0x1,
- GpsLatitude = 0x2,
- GpsLongitudeRef = 0x3,
- GpsLongitude = 0x4,
- GpsAltitudeRef = 0x5,
- GpsAltitude = 0x6,
- GpsGpsTime = 0x7,
- GpsGpsSatellites = 0x8,
- GpsGpsStatus = 0x9,
- GpsGpsMeasureMode = 0xa,
- GpsGpsDop = 0xb,
- GpsSpeedRef = 0xc,
- GpsSpeed = 0xd,
- GpsTrackRef = 0xe,
- GpsTrack = 0xf,
- GpsImgDirRef = 0x10,
- GpsImgDir = 0x11,
- GpsMapDatum = 0x12,
- GpsDestLatRef = 0x13,
- GpsDestLat = 0x14,
- GpsDestLongRef = 0x15,
- GpsDestLong = 0x16,
- GpsDestBearRef = 0x17,
- GpsDestBear = 0x18,
- GpsDestDistRef = 0x19,
- GpsDestDist = 0x1a
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Real position of 0th row and column of picture
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public enum Orientations
- {
- TopLeft = 1,
- TopRight = 2,
- BottomRight = 3,
- BottomLeft = 4,
- LeftTop = 5,
- RightTop = 6,
- RightBottom = 7,
- LftBottom = 8
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Exposure programs
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public enum ExposurePrograms
- {
- Manual = 1,
- Normal = 2,
- AperturePriority = 3,
- ShutterPriority = 4,
- Creative = 5,
- Action = 6,
- Portrait = 7,
- Landscape = 8
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Exposure metering modes
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public enum ExposureMeteringModes
- {
- Unknown = 0,
- Average = 1,
- CenterWeightedAverage = 2,
- Spot = 3,
- MultiSpot = 4,
- MultiSegment = 5,
- Partial = 6,
- Other = 255
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Flash activity modes
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public enum FlashModes
- {
- NotFired = 0,
- Fired = 1,
- FiredButNoStrobeReturned = 5,
- FiredAndStrobeReturned = 7
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Possible light sources (white balance)
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public enum LightSources
- {
- Unknown = 0,
- Daylight = 1,
- Fluorescent = 2,
- Tungsten = 3,
- Flash = 10,
- StandardLightA = 17,
- StandardLightB = 18,
- StandardLightC = 19,
- D55 = 20,
- D65 = 21,
- D75 = 22,
- Other = 255
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Represents rational which is type of some Exif properties
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public struct Rational
- {
- public Int32 Numerator;
-
- public Int32 Denominator;
- ///-----------------------------------------------------------------------------
- ///
- /// Converts rational to string representation
- ///
- /// Optional, default "/". String to be used as delimiter of components.
- /// String representation of the rational.
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public new string ToString(string Delimiter = "/")
- {
- return Numerator + Delimiter + Denominator;
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Converts rational to double precision real number
- ///
- /// The rational as double precision real number.
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public double ToDouble()
- {
- return Numerator / Denominator;
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Initializes new instance of this class.
- ///
- /// Bitmap to read exif information from
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public ExifReader(System.Drawing.Bitmap Bitmap)
- {
- if (Bitmap == null)
- throw new ArgumentNullException("Bitmap");
- this.Image = Bitmap;
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Returns all available data in formatted string form
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public override string ToString()
- {
- System.Text.StringBuilder SB = new System.Text.StringBuilder();
-
- SB.Append("Image:");
- SB.Append("\\n\\tDimensions: " + this.Width + " x " + this.Height + " px");
- SB.Append("\\n\\tResolution: " + this.ResolutionX + " x " + this.ResolutionY + " dpi");
- SB.Append("\\n\\tOrientation: " + Enum.GetName(typeof(Orientations), this.Orientation));
- SB.Append("\\n\\tTitle: " + this.Title);
- SB.Append("\\n\\tDescription: " + this.Description);
- SB.Append("\\n\\tCopyright: " + this.Copyright);
- SB.Append("\\nEquipment:");
- SB.Append("\\n\\tMaker: " + this.EquipmentMaker);
- SB.Append("\\n\\tModel: " + this.EquipmentModel);
- SB.Append("\\n\\tSoftware: " + this.Software);
- SB.Append("\\nDate and time:");
- SB.Append("\\n\\tGeneral: " + this.DateTimeLastModified.ToString());
- SB.Append("\\n\\tOriginal: " + this.DateTimeOriginal.ToString());
- SB.Append("\\n\\tDigitized: " + this.DateTimeDigitized.ToString());
- SB.Append("\\nShooting conditions:");
- SB.Append("\\n\\tExposure time: " + this.ExposureTime.ToString("N4") + " s");
- SB.Append("\\n\\tExposure program: " + Enum.GetName(typeof(ExposurePrograms), this.ExposureProgram));
- SB.Append("\\n\\tExposure mode: " + Enum.GetName(typeof(ExposureMeteringModes), this.ExposureMeteringMode));
- SB.Append("\\n\\tAperture: F" + this.Aperture.ToString("N2"));
- SB.Append("\\n\\tISO sensitivity: " + this.ISO);
- SB.Append("\\n\\tSubject distance: " + this.SubjectDistance.ToString("N2") + " m");
- SB.Append("\\n\\tFocal length: " + this.FocalLength);
- SB.Append("\\n\\tFlash: " + Enum.GetName(typeof(FlashModes), this.FlashMode));
- SB.Append("\\n\\tLight source (WB): " + Enum.GetName(typeof(LightSources), this.LightSource));
- SB.Append("\\n\\nCopyright (c) Michal A. Valasek - Altair Communications, 2003");
- SB.Append("\\nhttp://software.altaircom.net * support@altaircom.net");
-
- SB.Replace("\\n", System.Environment.NewLine);
- SB.Replace("\\t", "\t");
- return SB.ToString();
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Brand of equipment (EXIF EquipMake)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public string EquipmentMaker
- {
- get { return this.GetPropertyString((int)TagNames.EquipMake); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Model of equipment (EXIF EquipModel)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public string EquipmentModel
- {
- get { return this.GetPropertyString((int)TagNames.EquipModel); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Software used for processing (EXIF Software)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public string Software
- {
- get { return this.GetPropertyString((int)TagNames.SoftwareUsed); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Orientation of image (position of row 0, column 0) (EXIF Orientation)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public Orientations Orientation
- {
- get
- {
- Int32 X = this.GetPropertyInt16((int)TagNames.Orientation);
-
- if (!Enum.IsDefined(typeof(Orientations), X))
- {
- return Orientations.TopLeft;
- }
- else
- {
- return (Orientations)Enum.Parse(typeof(Orientations), Enum.GetName(typeof(Orientations), X));
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Time when image was last modified (EXIF DateTime).
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public DateTime DateTimeLastModified
- {
- get
- {
- try
- {
- return DateTime.ParseExact(this.GetPropertyString((int)TagNames.DateTime), "yyyy\\:MM\\:dd HH\\:mm\\:ss", null);
- }
- catch (Exception ex)
- {
- return DateTime.MinValue;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Time when image was taken (EXIF DateTimeOriginal).
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public DateTime DateTimeOriginal
- {
- get
- {
- try
- {
- return DateTime.ParseExact(this.GetPropertyString((int)TagNames.ExifDTOrig), "yyyy\\:MM\\:dd HH\\:mm\\:ss", null);
- }
- catch (Exception ex)
- {
- return DateTime.MinValue;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Time when image was digitized (EXIF DateTimeDigitized).
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public DateTime DateTimeDigitized
- {
- get
- {
- try
- {
- return DateTime.ParseExact(this.GetPropertyString((int)TagNames.ExifDTDigitized), "yyyy\\:MM\\:dd HH\\:mm\\:ss", null);
- }
- catch (Exception ex)
- {
- return DateTime.MinValue;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Image width
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public Int16 Width
- {
- get { return this.GetPropertyInt16((int)TagNames.ImageWidth); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Image height
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public Int16 Height
- {
- get { return this.GetPropertyInt16((int)TagNames.ImageHeight); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// X resolution in dpi (EXIF XResolution/ResolutionUnit)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public double ResolutionX
- {
- get
- {
- double R = this.GetPropertyRational((int)TagNames.XResolution).ToDouble();
-
- if (this.GetPropertyInt16((int)TagNames.ResolutionUnit) == 3)
- {
- //-- resolution is in points/cm
- return R * 2.54;
- }
- else
- {
- //-- resolution is in points/inch
- return R;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Y resolution in dpi (EXIF YResolution/ResolutionUnit)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public double ResolutionY
- {
- get
- {
- double R = this.GetPropertyRational((int)TagNames.YResolution).ToDouble();
-
- if (this.GetPropertyInt16((int)TagNames.ResolutionUnit) == 3)
- {
- //-- resolution is in points/cm
- return R * 2.54;
- }
- else
- {
- //-- resolution is in points/inch
- return R;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Image title (EXIF ImageTitle)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public string Title
- {
- get { return this.GetPropertyString((int)TagNames.ImageTitle); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Image description (EXIF ImageDescription)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public string Description
- {
- get { return this.GetPropertyString((int)TagNames.ImageDescription); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Image copyright (EXIF Copyright)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public string Copyright
- {
- get { return this.GetPropertyString((int)TagNames.Copyright); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Exposure time in seconds (EXIF ExifExposureTime/ExifShutterSpeed)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public double ExposureTime
- {
- get
- {
- if (this.IsPropertyDefined((int)TagNames.ExifExposureTime))
- {
- //-- Exposure time is explicitly specified
- return this.GetPropertyRational((int)TagNames.ExifExposureTime).ToDouble();
- }
- else if (this.IsPropertyDefined((int)TagNames.ExifShutterSpeed))
- {
- //-- Compute exposure time from shutter speed
- return 1 / (Math.Pow(2, this.GetPropertyRational((int)TagNames.ExifShutterSpeed).ToDouble()));
- }
- else
- {
- //-- Can't figure out
- return 0;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Aperture value as F number (EXIF ExifFNumber/ExifApertureValue)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public double Aperture
- {
- get
- {
- if (this.IsPropertyDefined((int)TagNames.ExifFNumber))
- {
- return this.GetPropertyRational((int)TagNames.ExifFNumber).ToDouble();
- }
- else if (this.IsPropertyDefined((int)TagNames.ExifAperture))
- {
- return Math.Pow(System.Math.Sqrt(2), this.GetPropertyRational((int)TagNames.ExifAperture).ToDouble());
- }
- else
- {
- return 0;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Exposure program used (EXIF ExifExposureProg)
- ///
- ///
- /// If not specified, returns Normal (2)
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public ExposurePrograms ExposureProgram
- {
- get
- {
- Int32 X = this.GetPropertyInt16((int)TagNames.ExifExposureProg);
-
- if (Enum.IsDefined(typeof(ExposurePrograms), X))
- {
- return (ExposurePrograms)Enum.Parse(typeof(ExposurePrograms), Enum.GetName(typeof(ExposurePrograms), X));
- }
- else
- {
- return ExposurePrograms.Normal;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// ISO sensitivity
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public Int16 ISO
- {
- get { return this.GetPropertyInt16((int)TagNames.ExifISOSpeed); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Subject distance in meters (EXIF SubjectDistance)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public double SubjectDistance
- {
- get { return this.GetPropertyRational((int)TagNames.ExifSubjectDist).ToDouble(); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Exposure method metering mode used (EXIF MeteringMode)
- ///
- ///
- /// If not specified, returns Unknown (0)
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public ExposureMeteringModes ExposureMeteringMode
- {
- get
- {
- Int32 X = this.GetPropertyInt16((int)TagNames.ExifMeteringMode);
-
- if (Enum.IsDefined(typeof(ExposureMeteringModes), X))
- {
- return (ExposureMeteringModes)Enum.Parse(typeof(ExposureMeteringModes), Enum.GetName(typeof(ExposureMeteringModes), X));
- }
- else
- {
- return ExposureMeteringModes.Unknown;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Focal length of lenses in mm (EXIF FocalLength)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public double FocalLength
- {
- get { return this.GetPropertyRational((int)TagNames.ExifFocalLength).ToDouble(); }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Flash mode (EXIF Flash)
- ///
- ///
- /// If not present, value NotFired (0) is returned
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public FlashModes FlashMode
- {
- get
- {
- Int32 X = this.GetPropertyInt16((int)TagNames.ExifFlash);
-
- if (Enum.IsDefined(typeof(FlashModes), X))
- {
- return (FlashModes)Enum.Parse(typeof(FlashModes), Enum.GetName(typeof(FlashModes), X));
- }
- else
- {
- return FlashModes.NotFired;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Light source / white balance (EXIF LightSource)
- ///
- ///
- /// If not specified, returns Unknown (0).
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public LightSources LightSource
- {
- get
- {
- Int32 X = this.GetPropertyInt16((int)TagNames.ExifLightSource);
-
- if (Enum.IsDefined(typeof(LightSources), X))
- {
- return (LightSources)Enum.Parse(typeof(LightSources), Enum.GetName(typeof(LightSources), X));
- }
- else
- {
- return LightSources.Unknown;
- }
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Checks if current image has specified certain property
- ///
- ///
- /// True if image has specified property, False otherwise.
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public bool IsPropertyDefined(Int32 PID)
- {
- return Convert.ToBoolean(Array.IndexOf(this.Image.PropertyIdList, PID) > -1);
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Gets specified Int32 property
- ///
- /// Property ID
- /// Optional, default 0. Default value returned if property is not present.
- /// Value of property or DefaultValue if property is not present.
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public Int32 GetPropertyInt32(Int32 PID, Int32 DefaultValue = 0)
- {
- if (this.IsPropertyDefined(PID))
- {
- return GetInt32(this.Image.GetPropertyItem(PID).Value);
- }
- else
- {
- return DefaultValue;
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Gets specified Int16 property
- ///
- /// Property ID
- /// Optional, default 0. Default value returned if property is not present.
- /// Value of property or DefaultValue if property is not present.
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public Int16 GetPropertyInt16(Int32 PID, Int16 DefaultValue = 0)
- {
- if (this.IsPropertyDefined(PID))
- {
- return GetInt16(this.Image.GetPropertyItem(PID).Value);
- }
- else
- {
- return DefaultValue;
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Gets specified string property
- ///
- /// Property ID
- /// Optional, default String.Empty. Default value returned if property is not present.
- ///
- /// Value of property or DefaultValue if property is not present.
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public string GetPropertyString(Int32 PID, string DefaultValue = "")
- {
- if (this.IsPropertyDefined(PID))
- {
- return GetString(this.Image.GetPropertyItem(PID).Value);
- }
- else
- {
- return DefaultValue;
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Gets specified rational property
- ///
- /// Property ID
- ///
- /// Value of property or 0/1 if not present.
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public Rational GetPropertyRational(Int32 PID)
- {
- if (this.IsPropertyDefined(PID))
- {
- return GetRational(this.Image.GetPropertyItem(PID).Value);
- }
- else
- {
- Rational R = default(Rational);
- R.Numerator = 0;
- R.Denominator = 1;
- return R;
- }
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Reads Int32 from EXIF bytearray.
- ///
- /// EXIF bytearray to process
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public static Int32 GetInt32(byte[] B)
- {
- if (B.Length < 4)
- throw new ArgumentException("Data too short (4 bytes expected)", "B");
- return B[3] << 24 | B[2] << 16 | B[1] << 8 | B[0];
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Reads Int16 from EXIF bytearray.
- ///
- /// EXIF bytearray to process
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public static Int16 GetInt16(byte[] B)
- {
- if (B.Length < 2)
- throw new ArgumentException("Data too short (2 bytes expected)", "B");
- return Convert.ToInt16(B[1] << 8 | B[0]);
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Reads string from EXIF bytearray.
- ///
- /// EXIF bytearray to process
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public static string GetString(byte[] B)
- {
- string R = System.Text.Encoding.ASCII.GetString(B);
- if (R.EndsWith(string.Empty))
- R = R.Substring(0, R.Length - 1);
- return R;
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Reads rational from EXIF bytearray.
- ///
- /// EXIF bytearray to process
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public static Rational GetRational(byte[] B)
- {
- Rational R = new Rational();
- byte[] N = new byte[4];
- byte[] D = new byte[4];
- Array.Copy(B, 0, N, 0, 4);
- Array.Copy(B, 4, D, 0, 4);
- R.Denominator = GetInt32(D);
- R.Numerator = GetInt32(N);
- return R;
- }
-
- ///-----------------------------------------------------------------------------
- ///
- /// Disposes unmanaged resources of this class
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- ///-----------------------------------------------------------------------------
- public void Dispose()
- {
- this.Image.Dispose();
- }
-}
\ No newline at end of file
diff --git a/ImageCatalogCS/FileHelper.cs b/ImageCatalogCS/FileHelper.cs
deleted file mode 100644
index 0e68384..0000000
--- a/ImageCatalogCS/FileHelper.cs
+++ /dev/null
@@ -1,173 +0,0 @@
-using Microsoft.VisualBasic;
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Data;
-using System.Diagnostics;
-using System.IO;
-
-public class FileHelper
-{
- //Private dirSourceDest As Dictionary(Of FileInfo, DirectoryInfo)
- private int filesPerFolder;
- private string suffix;
- private int counterSize;
- private int numerationType;
- private string filter;
- private bool separateFiles;
-
- private string extensions = "*.jpg,*.png,*.gif";
-
- public enum numerazione
- {
- Progressiva,
- Files
- }
- ///
- /// Preparazione per la separazione
- ///
- ///
- ///
- ///
- ///
- ///
- public FileHelper(int filesPerFolder, string suffix, int counterSize, int numerationType)
- {
- this.filesPerFolder = filesPerFolder;
- this.suffix = suffix;
- this.counterSize = counterSize;
- this.numerationType = numerationType;
- this.separateFiles = true;
- }
-
- ///
- /// nessuna separazione
- ///
- ///
- public FileHelper()
- {
- this.separateFiles = false;
- }
-
-
- public Dictionary GetFilesRecursive(DirectoryInfo root, DirectoryInfo destRoot, string filter)
- {
- Dictionary dirSourceDest = new Dictionary();
- List result = new List();
-
- //Dim stack As New Stack(Of DirectoryInfo)
- Stack> stack = new Stack>();
-
-
- this.filter = filter;
- KeyValuePair pair = new KeyValuePair();
-
-
- //stack.Push(root)
- stack.Push(new KeyValuePair(root, destRoot));
-
- while ((stack.Count > 0))
- {
- KeyValuePair curDirKV = stack.Pop();
- //curDirKP = stack.Pop()
- DirectoryInfo dir = curDirKV.Key;
- DirectoryInfo dDir = curDirKV.Value;
- try
- {
- //result.AddRange(dir.GetFiles(filter, SearchOption.TopDirectoryOnly))
- // dividere file qui
- if (filesPerFolder > 0 & separateFiles)
- {
- appendDictionary(dirSourceDest, dividiFilesInDir(dir, dDir));
- }
- else
- {
- appendDictionary(dirSourceDest, getAllFilesInDir(dir, dDir));
- }
-
-
-
- foreach (DirectoryInfo subDirectory in dir.GetDirectories())
- {
- stack.Push(new KeyValuePair(subDirectory, new DirectoryInfo(Path.Combine(dDir.FullName, subDirectory.Name))));
-
- }
-
- }
- catch (Exception ex)
- {
- }
- }
-
- return dirSourceDest;
- }
-
- public Dictionary appendDictionary(Dictionary dictA, Dictionary dictB)
- {
- foreach (KeyValuePair pair in dictB)
- {
- dictA.Add(pair.Key, pair.Value);
- }
- return dictA;
- }
-
- public Dictionary getAllFilesInDir(DirectoryInfo dir, DirectoryInfo dirDest)
- {
- Dictionary dict = new Dictionary();
- foreach (FileInfo File in dir.GetFiles(filter))
- {
- dict.Add(File, new DirectoryInfo(Path.Combine(dirDest.FullName, File.Name)));
-
- }
- return dict;
- }
-
- private Dictionary dividiFilesInDir(DirectoryInfo dir, DirectoryInfo dirDest)
- {
- int filesCount = dir.GetFiles(filter).Length;
- int contaFilePerDir = 0;
- int contaDirPerDir = 0;
- string tempText = string.Empty;
- Dictionary foldersDict = new Dictionary();
-
- DirectoryInfo destDir = null;
- destDir = new DirectoryInfo(Path.Combine(dirDest.FullName));
-
- foreach (FileInfo file in dir.GetFiles(filter))
- {
- contaFilePerDir += 1;
-
- if (contaFilePerDir == (contaDirPerDir * filesPerFolder) + 1)
- {
- contaDirPerDir += 1;
-
- if (numerazione.Progressiva.Equals(numerationType))
- {
- tempText = contaDirPerDir.ToString();
- }
- else
- {
- tempText = (contaDirPerDir * filesPerFolder).ToString();
- }
- int i = 0;
- for (i = 1; i <= (counterSize - tempText.Length); i++)
- {
- tempText = "0" + tempText;
- }
- destDir = new DirectoryInfo(Path.Combine(dirDest.FullName, suffix + tempText));
-
-
-
- }
-
- if (!destDir.Exists)
- {
- destDir.Create();
- }
-
- foldersDict.Add(file, destDir);
- }
-
- return foldersDict;
- }
-}
\ No newline at end of file
diff --git a/ImageCatalogCS/ImageCatalog 3.csproj b/ImageCatalogCS/ImageCatalog 3.csproj
deleted file mode 100644
index ef71c58..0000000
--- a/ImageCatalogCS/ImageCatalog 3.csproj
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {D11ED7B0-93E8-4F38-A142-EED72D7EE8B5}
- WinExe
- Properties
- ImageCatalogCS
- ImageCatalogCS
- v4.8
- 512
- SAK
- SAK
- SAK
- SAK
-
-
-
- AnyCPU
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- AnyCPU
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- true
- bin\x64\Debug\
- DEBUG;TRACE
- full
- x64
- prompt
- MinimumRecommendedRules.ruleset
- true
-
-
- bin\x64\Release\
- TRACE
- true
- pdbonly
- x64
- prompt
- MinimumRecommendedRules.ruleset
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- AboutForm.cs
-
-
-
-
-
-
- Form
-
-
- MainForm.cs
-
-
-
-
-
-
-
-
- AboutForm.cs
-
-
- MainForm.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
- True
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ImageCatalogCS/ImageCreator.cs b/ImageCatalogCS/ImageCreator.cs
deleted file mode 100644
index 3c03533..0000000
--- a/ImageCatalogCS/ImageCreator.cs
+++ /dev/null
@@ -1,1057 +0,0 @@
-using Microsoft.VisualBasic;
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Data;
-using System.Diagnostics;
-using System.IO;
-using System.Drawing.Drawing2D;
-using System.Drawing.Imaging;
-using System.Drawing;
-using ImageCatalogCS;
-using System.Windows.Forms;
-//using System.Drawing;
-//Imports System.Threading
-
-public class ImageCreator
-{
- #region "dichiarazioni"
-
-
- private bool FotoRuotaADestra = false;
-
- private bool FotoRuotaASinistra = false;
- private string TempMinText = "";
- //Private crFont1 As Font
-
- private string _NomeFileChild;
- private DirectoryInfo _SourceDir;
- private DirectoryInfo _DestDirStart;
-
- private DirectoryInfo _DestDir;
-
- private FileInfo _workFile;
- private string testoFirma;
- private string testoFirmaV;
- private int alphaScelta;
- private int DimensioneStandard;
- private int DimensioneStandardMiniatura;
- private DateTime dataFoto;
- private DateTime dataPartenzaI;
- private string testoOrario;
- private string testoFirmaPiccola;
- private Size thumbSizeSmall;
- private Size thumbSizeBig;
- private string nomeFileSmall;
- private string nomeFileBig;
-
- private string nomeFileBig2;
- private float yPosFromBottom;
- private float yPosFromBottom1;
- private float yPosFromBottom2;
- private float yPosFromBottom3;
-
- private float yPosFromBottom4;
-
- #endregion
- public ImageCreator()
- {
- }
-
- public ImageCreator(string nomeFileChild, DirectoryInfo sourceDir, DirectoryInfo destDir, DirectoryInfo destDirStart)
- {
- this._NomeFileChild = nomeFileChild;
- this._SourceDir = sourceDir;
- this._DestDir = destDir;
- this._DestDirStart = destDirStart;
- this._workFile = new FileInfo(nomeFileChild);
- }
-
- public ImageCreator(string nomeFileChild, DirectoryInfo sourceDir, DirectoryInfo destDir)
- {
- this._NomeFileChild = nomeFileChild;
- this._DestDir = destDir;
- }
-
- public ImageCreator(FileInfo file, DirectoryInfo destination)
- {
- this._workFile = file;
- this._DestDir = destination;
-
- }
-
-
-
- public void CreaImmagineThread(string Info)
- {
-
- try
- {
- preparaVariabili();
- //Dim g As System.Drawing.Image = System.Drawing.Image.FromFile(Path.Combine(SourceDir.FullName, NomeFileChild))
- System.Drawing.Image g = System.Drawing.Image.FromFile(WorkFile.FullName);
-
- // Imposta testo extra
- impostaTestoExtra(g);
-
- // Ruota l'immagine in base ai dati EXIF
- Rotation(ref g);
-
- // Forza jpeg se è selezionata l'opzione
- System.Drawing.Imaging.ImageFormat thisFormat = g.RawFormat;
- if (PicSettings.UsaForzaJpg == true)
- thisFormat = System.Drawing.Imaging.ImageFormat.Jpeg;
-
- prepareThumbnailSize(g);
-
- Bitmap imgOutputBig = new Bitmap(g, thumbSizeBig.Width, thumbSizeBig.Height);
- imgOutputBig.SetResolution(g.HorizontalResolution, g.VerticalResolution);
-
- // Crea le miniature
- creaMiniature(g, imgOutputBig, thisFormat);
-
- aggiungiTesto(g, imgOutputBig);
-
- aggiungiLogo(imgOutputBig);
-
- salvaFoto(imgOutputBig, thumbSizeBig, nomeFileBig, nomeFileSmall, thumbSizeSmall, thisFormat);
-
- g.Dispose();
-
- GC.Collect();
-
- //PicSettings.mainForm.stepProgressBar();
-
-
- }
- catch (Exception ex)
- {
-
- MessageBox.Show(ex.Message);
-
-
- }
-
-
-
- }
-
-
- private void Rotation(ref System.Drawing.Image g)
- {
- FotoRuotaADestra = false;
- FotoRuotaASinistra = false;
-
- if (PicSettings.UsaRotazioneAutomatica)
- {
- // ci sono dati exif
- if (g.PropertyIdList.Length > 0)
- {
- ExifReader DatiExif = new ExifReader((Bitmap)g);
-
- switch (DatiExif.Orientation)
- {
- case ExifReader.Orientations.BottomLeft:
-
- break;
- case ExifReader.Orientations.BottomRight:
-
- break;
- case ExifReader.Orientations.LeftTop:
-
- break;
- case ExifReader.Orientations.LftBottom:
- FotoRuotaASinistra = true;
- break;
- case ExifReader.Orientations.RightBottom:
-
- break;
- case ExifReader.Orientations.RightTop:
-
- break;
- case ExifReader.Orientations.TopLeft:
-
- break;
- case ExifReader.Orientations.TopRight:
-
- break;
- }
- }
- }
-
- if (FotoRuotaASinistra == true)
- {
- g.RotateFlip(RotateFlipType.Rotate270FlipNone);
- }
- if (FotoRuotaADestra == true)
- {
- g.RotateFlip(RotateFlipType.Rotate90FlipNone);
- }
-
-
-
- }
- ///
- /// Aggiunge Orario, tempo gara e altri
- ///
- /// Image
- ///
- private void impostaTestoExtra(Image g)
- {
-
- if (PicSettings.UsaOrarioTestoApplicare | PicSettings.UsaTempoGaraTestoApplicare | PicSettings.UsaOrarioMiniatura | PicSettings.TestoMin | PicSettings.AggTempoGaraMin | PicSettings.AggNumTempMin)
- {
- // ci sono dati exif
- if (g.PropertyIdList.Length > 0)
- {
- ExifReader DatiExif = new ExifReader((Bitmap)g);
- dataFoto = DatiExif.DateTimeOriginal;
- testoFirma = PicSettings.TestoFirmaStart;
- testoFirmaV = PicSettings.TestoFirmaStartV;
-
- if (dataFoto.Year != 1)
- {
- testoFirmaPiccola = dataFoto.ToShortTimeString();
- if (PicSettings.UsaOrarioTestoApplicare == true)
- {
- testoFirma += " " + dataFoto.ToShortDateString() + " " + dataFoto.ToLongTimeString();
- testoFirmaV += " " + dataFoto.ToShortDateString() + " " + dataFoto.ToLongTimeString();
- }
- if (PicSettings.UsaTempoGaraTestoApplicare == true)
- {
- TimeSpan Orario = dataFoto.Subtract(dataPartenzaI);
-
-
- //TimeSpan Orario = new TimeSpan( DateAndTime.DateDiff(DateInterval.Second, dataPartenzaI, dataFoto) * 10000000);
- testoFirma += " " + testoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
- testoFirmaV += " " + testoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
- }
- }
-
- }
- }
- else
- {
- testoFirma = PicSettings.TestoFirmaStart;
- testoFirmaV = PicSettings.TestoFirmaStartV;
-
- }
- }
-
- ///
- /// Prepara diverse variabili azzerandole, elaborandole e prendendole dalle impostazioni
- ///
- ///
- private void preparaVariabili()
- {
- alphaScelta = Convert.ToInt32((255 * (100 - PicSettings.Trasparenza) / 100));
- testoFirma = "";
- testoFirmaV = "";
- dataPartenzaI = PicSettings.DataPartenza;
- testoOrario = PicSettings.TestoOrario;
- if (testoOrario.Length > 0)
- testoOrario += " ";
- testoFirmaPiccola = "";
- thumbSizeSmall = new Size();
- thumbSizeBig = new Size();
- nomeFileSmall = "";
- nomeFileBig2 = "";
- nomeFileBig = "";
- DimensioneStandard = PicSettings.dimStandard;
- DimensioneStandardMiniatura = PicSettings.dimStandardMiniatura;
- //nomeFileSmall = Suffisso & NomeFileChild
- //nomeFileBig = NomeFileChild
- nomeFileSmall = PicSettings.Suffisso + WorkFile.Name;
- nomeFileBig = WorkFile.Name;
- }
-
- private void prepareThumbnailSize(Image g)
- {
- if (g.Width > g.Height)
- {
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, PicSettings.LarghezzaSmall, "Larghezza");
- Size SizeOrig = new Size(g.Width, g.Height);
- thumbSizeBig = SizeOrig;
- }
- else
- {
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, PicSettings.AltezzaSmall, "Altezza");
- Size SizeOrig = new Size(g.Width, g.Height);
- thumbSizeBig = SizeOrig;
- }
- }
-
- private void creaMiniature(Image g, Bitmap imgOutputBig, ImageFormat thisFormat)
- {
- if (PicSettings.TestoMin)
- {
- testoFirmaPiccola = nomeFileBig;
- }
- else if (PicSettings.AggNumTempMin)
- {
- testoFirmaPiccola = nomeFileBig + " ";
- }
- //Dim yPosFromBottom4 As Single
-
- Font crFont1 = null;
- Font crFont2 = null;
- SizeF crSize1 = new SizeF();
- SizeF crSize2 = new SizeF();
-
- if (PicSettings.CreaMiniature == true)
- {
- if (PicSettings.AggiungiScritteMiniature == false)
- {
- if (string.Equals(PicSettings.directorySorgente.ToUpper(),
- PicSettings.directoryDestinazione.ToUpper()))
- {
- nomeFileSmall = nomeFileSmall.Substring(0, nomeFileSmall.Length - 4) + PicSettings.Codice + nomeFileSmall.Substring(nomeFileSmall.Length - 4);
- }
-
- if (PicSettings.UsaOrarioMiniatura | PicSettings.TestoMin | PicSettings.AggTempoGaraMin | PicSettings.AggNumTempMin)
- {
- if (testoFirmaPiccola.Length > 0)
- {
- Bitmap imgOutputSmall = default(Bitmap);
- imgOutputSmall = (Bitmap)imgOutputBig.Clone();
-
- Graphics grPhoto1 = default(Graphics);
- grPhoto1 = Graphics.FromImage(imgOutputSmall);
- grPhoto1.SmoothingMode = SmoothingMode.AntiAlias;
-
- int LarghezzaStandard1 = 0;
- //quick fix
- DimensioneStandardMiniatura = 50;
- if (PicSettings.Grassetto == true)
- {
- crFont1 = new Font(PicSettings.IlFont, DimensioneStandardMiniatura, FontStyle.Bold);
- crFont2 = new Font(PicSettings.IlFont, DimensioneStandard, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(PicSettings.IlFont, DimensioneStandardMiniatura);
- crFont2 = new Font(PicSettings.IlFont, DimensioneStandard);
- }
-
- crSize1 = grPhoto1.MeasureString(testoFirmaPiccola, crFont1);
- crSize2 = grPhoto1.MeasureString(testoFirma, crFont1);
- LarghezzaStandard1 = Convert.ToInt32(crSize1.Width);
-
- if (crSize1.Width > Convert.ToSingle(g.Width))
- {
- int Conta = DimensioneStandardMiniatura;
- do
- {
- if (Conta > 20)
- {
- Conta -= 5;
- }
- else
- {
- Conta -= 1;
- }
- if (PicSettings.Grassetto == true)
- {
- crFont1 = new Font(PicSettings.IlFont, Conta, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(PicSettings.IlFont, Conta);
- }
- crSize1 = grPhoto1.MeasureString(testoFirmaPiccola, crFont1);
- if (crSize1.Width < Convert.ToSingle(g.Width))
- {
- LarghezzaStandard1 = Convert.ToInt32(crSize1.Width);
- break; // TODO: might not be correct. Was : Exit Do
- }
- if (Conta <= 5)
- break; // TODO: might not be correct. Was : Exit Do
- } while (true);
- DimensioneStandardMiniatura = Conta;
- }
-
- switch (PicSettings.Posizione.ToUpper())
- {
- case "ALTO":
- yPosFromBottom1 = (PicSettings.Margine);
- yPosFromBottom4 = (PicSettings.margVert);
-
- break;
- case "BASSO":
- yPosFromBottom1 = Convert.ToSingle((g.Height - crSize1.Height - (g.Height * PicSettings.Margine / 100)));
- yPosFromBottom4 = Convert.ToSingle((g.Height - crSize1.Height - (g.Height * PicSettings.margVert / 100)));
-
- break;
- }
-
- float xCenterOfImg1 = 0;
-
- StringFormat StrFormat1 = new StringFormat();
- switch (PicSettings.Allineamento.ToUpper())
- {
- case "SINISTRA":
- xCenterOfImg1 = Convert.ToSingle((PicSettings.Margine + (LarghezzaStandard1 / 2)));
-
- if ((LarghezzaStandard1 / 2) > (g.Width / 2) - PicSettings.Margine)
- {
- xCenterOfImg1 = Convert.ToSingle((g.Width / 2));
- }
-
- break;
-
- case "CENTRO":
- xCenterOfImg1 = Convert.ToSingle((g.Width / 2));
-
- break;
-
- case "DESTRA":
- xCenterOfImg1 = Convert.ToSingle((g.Width - PicSettings.Margine - (LarghezzaStandard1 / 2)));
-
- if ((LarghezzaStandard1 / 2) > (g.Width / 2) - PicSettings.Margine)
- {
- xCenterOfImg1 = Convert.ToSingle((g.Width / 2));
- }
-
- break;
-
- }
- StrFormat1.Alignment = StringAlignment.Center;
-
- SolidBrush semiTransBrush21 = new SolidBrush(Color.FromArgb(alphaScelta, 0, 0, 0));
- SolidBrush semiTransBrush1 = new SolidBrush(Color.FromArgb(alphaScelta, PicSettings.fontColoreRGB));
-
- //quick fix
- DimensioneStandardMiniatura = PicSettings.DimMin;
-
- if (PicSettings.Grassetto == true)
- {
- crFont1 = new Font(PicSettings.IlFont, DimensioneStandardMiniatura, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(PicSettings.IlFont, DimensioneStandardMiniatura);
- }
- //asdgadfhdfhjgfsjgfjygfdhsdafa
- if (PicSettings.TestoMin)
- {
- grPhoto1.DrawString(nomeFileBig, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1);
- grPhoto1.DrawString(nomeFileBig, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- }
- else if (PicSettings.AggTempoGaraMin & PicSettings.UsaTempoGaraTestoApplicare)
- {
- //TimeSpan Orario = new TimeSpan(DateAndTime.DateDiff(DateInterval.Second, dataPartenzaI, dataFoto) * 10000000);
- TimeSpan Orario = dataFoto.Subtract(dataPartenzaI);
- string tempstr = "";
-
-
- tempstr += Environment.NewLine + testoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
-
-
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1);
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
-
- }
- else if (PicSettings.AggNumTempMin)
- {
- TimeSpan Orario = dataFoto.Subtract(dataPartenzaI);
- //TimeSpan Orario = new TimeSpan(DateAndTime.DateDiff(DateInterval.Second, dataPartenzaI, dataFoto) * 10000000);
- string tempstr = "";
- tempstr += nomeFileBig;
-
- tempstr += Environment.NewLine + testoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
-
-
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1);
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
-
-
- }
- else
- {
- grPhoto1.DrawString(testoFirmaPiccola, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1);
- grPhoto1.DrawString(testoFirmaPiccola, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- }
-
- // Salva la miniatura
- imgOutputSmall.Save(Path.Combine(DestDir.FullName, "Temp_" + nomeFileSmall), thisFormat);
- System.Drawing.Image g2 = System.Drawing.Image.FromFile(Path.Combine(DestDir.FullName, "Temp_" + nomeFileSmall));
- Bitmap imgOutputSmall2 = new Bitmap(g2, thumbSizeSmall.Width, thumbSizeSmall.Height);
- imgOutputSmall2.Save(Path.Combine(DestDir.FullName, nomeFileSmall), thisFormat);
-
- imgOutputSmall2.Dispose();
- imgOutputSmall.Dispose();
- g2.Dispose();
- File.Delete((Path.Combine(DestDir.FullName, "Temp_" + nomeFileSmall)));
- }
- else
- {
- Bitmap imgOutputSmall = new Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height);
- imgOutputSmall.Save(Path.Combine(DestDir.FullName, nomeFileSmall), thisFormat);
- imgOutputSmall.Dispose();
- }
- }
- else
- {
- Bitmap imgOutputSmall = new Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height);
- imgOutputSmall.Save(Path.Combine(DestDir.FullName, nomeFileSmall), thisFormat);
- imgOutputSmall.Dispose();
- }
- }
- }
- }
-
- private void aggiungiTesto(Image g, Bitmap imgOutputBig)
- {
- Graphics grPhoto = default(Graphics);
- grPhoto = Graphics.FromImage(imgOutputBig);
- grPhoto.SmoothingMode = SmoothingMode.AntiAlias;
-
- Font crFont = null;
- SizeF crSize = new SizeF();
- int LarghezzaStandard = 0;
-
- if (PicSettings.Grassetto == true)
- {
- crFont = new Font(PicSettings.IlFont, DimensioneStandard, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(PicSettings.IlFont, DimensioneStandard);
- }
- crSize = grPhoto.MeasureString(testoFirma, crFont);
- LarghezzaStandard = Convert.ToInt32(crSize.Width);
-
- if (crSize.Width > Convert.ToSingle(g.Width))
- {
- int Conta = DimensioneStandard;
- do
- {
- if (Conta > 20)
- {
- Conta -= 5;
- }
- else
- {
- Conta -= 1;
- }
- if (PicSettings.Grassetto == true)
- {
- crFont = new Font(PicSettings.IlFont, Conta, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(PicSettings.IlFont, Conta);
- }
- crSize = grPhoto.MeasureString(testoFirma, crFont);
- if (crSize.Width < Convert.ToSingle(g.Width))
- {
- LarghezzaStandard = Convert.ToInt32(crSize.Width);
- break; // TODO: might not be correct. Was : Exit Do
- }
- if (Conta <= 5)
- break; // TODO: might not be correct. Was : Exit Do
- } while (true);
- DimensioneStandard = Conta;
- }
-
-
- switch (PicSettings.Posizione.ToUpper())
- {
- case "ALTO":
- yPosFromBottom = (PicSettings.Margine);
- yPosFromBottom3 = (PicSettings.margVert);
-
- break;
- case "BASSO":
- yPosFromBottom = Convert.ToSingle((g.Height - crSize.Height - (g.Height * PicSettings.Margine / 100)));
- yPosFromBottom3 = Convert.ToSingle((g.Height - crSize.Height - (g.Height * PicSettings.margVert / 100)));
- break;
- }
-
- float xCenterOfImg = 0;
- float xCenterOfImg3 = 0;
- StringFormat StrFormat = new StringFormat();
- switch (PicSettings.Allineamento.ToUpper())
- {
- case "SINISTRA":
- xCenterOfImg = Convert.ToSingle((PicSettings.Margine + (LarghezzaStandard / 2)));
- xCenterOfImg3 = Convert.ToSingle((PicSettings.margVert + (LarghezzaStandard / 2)));
- if ((LarghezzaStandard / 2) > (g.Width / 2) - PicSettings.Margine)
- {
- xCenterOfImg = Convert.ToSingle((g.Width / 2));
- }
- if ((LarghezzaStandard / 2) > (g.Width / 2) - PicSettings.margVert)
- {
- xCenterOfImg3 = Convert.ToSingle((g.Width / 2));
- }
-
- break;
- case "CENTRO":
- xCenterOfImg = Convert.ToSingle((g.Width / 2));
-
- break;
- case "DESTRA":
- xCenterOfImg = Convert.ToSingle((g.Width - PicSettings.Margine - (LarghezzaStandard / 2)));
- xCenterOfImg3 = Convert.ToSingle((g.Width - PicSettings.margVert - (LarghezzaStandard / 2)));
- if ((LarghezzaStandard / 2) > (g.Width / 2) - PicSettings.Margine)
- {
- xCenterOfImg = Convert.ToSingle((g.Width / 2));
- }
- if ((LarghezzaStandard / 2) > (g.Width / 2) - PicSettings.margVert)
- {
- xCenterOfImg3 = Convert.ToSingle((g.Width / 2));
- }
-
- break;
- }
- StrFormat.Alignment = StringAlignment.Center;
-
- SolidBrush semiTransBrush2 = new SolidBrush(Color.FromArgb(alphaScelta, 0, 0, 0));
- //Dim semiTransBrush As SolidBrush = New SolidBrush(Color.FromArgb(AlphaScelta, _FontColoreR, _FontColoreG, _FontColoreB))
- SolidBrush semiTransBrush = new SolidBrush(Color.FromArgb(alphaScelta, PicSettings.fontColoreRGB));
-
-
- if (FotoRuotaADestra | FotoRuotaASinistra)
- {
- if (PicSettings.Grassetto == true)
- {
- crFont = new Font(PicSettings.IlFont, PicSettings.dimVert, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(PicSettings.IlFont, PicSettings.dimVert);
- }
-
-
- }
- else
- {
- if (PicSettings.Grassetto == true)
- {
- crFont = new Font(PicSettings.IlFont, DimensioneStandard, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(PicSettings.IlFont, DimensioneStandard);
- }
- }
-
-
- //qui scrive il testo (nomefilebig)
- if (PicSettings.TestoNome)
- {
- if (PicSettings.NomeData & g.PropertyIdList.Length > 0)
- {
- ExifReader DatiExif = new ExifReader((Bitmap)g);
- dataFoto = DatiExif.DateTimeOriginal;
-
- grPhoto.DrawString((nomeFileBig + " " + dataFoto.ToShortDateString()), crFont, semiTransBrush2, new PointF(xCenterOfImg + 1, yPosFromBottom + 1), StrFormat);
- grPhoto.DrawString((nomeFileBig + " " + dataFoto.ToShortDateString()), crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom), StrFormat);
- }
- else
- {
- grPhoto.DrawString(nomeFileBig, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1, yPosFromBottom + 1), StrFormat);
- grPhoto.DrawString(nomeFileBig, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom), StrFormat);
-
- }
- }
-
- if (PicSettings.TestoNome == false)
- {
- if (FotoRuotaADestra | FotoRuotaASinistra)
- {
-
- if (PicSettings.TestoMin == false)
- {
-
- grPhoto.DrawString(testoFirmaV, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1, yPosFromBottom3 + 1), StrFormat);
- grPhoto.DrawString(testoFirmaV, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom3), StrFormat);
- }
-
- if (PicSettings.TestoMin == true)
- {
- grPhoto.DrawString(testoFirmaV, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1, yPosFromBottom4 + 1), StrFormat);
- grPhoto.DrawString(testoFirmaV, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom4), StrFormat);
-
- }
- }
- else
- {
- grPhoto.DrawString(testoFirma, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1, yPosFromBottom + 1), StrFormat);
- grPhoto.DrawString(testoFirma, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom), StrFormat);
-
-
- }
- }
-
- if (PicSettings.directorySorgente.ToUpper() == PicSettings.directoryDestinazione.ToUpper())
- {
- nomeFileBig2 = nomeFileBig;
- nomeFileBig = nomeFileBig.Substring(0, nomeFileBig.Length - 4) + PicSettings.Codice + nomeFileBig.Substring(nomeFileBig.Length - 4);
- }
- grPhoto.Dispose();
- }
-
-
-
-
- private void aggiungiLogo(Bitmap imgOutputBig)
- {
- //imgOutputBig
-
- if (PicSettings.LogoAggiungi == true & File.Exists(PicSettings.LogoNomeFile))
- {
- Image ImmagineLogo = Image.FromFile(PicSettings.LogoNomeFile);
-
- Color LogoColoreTrasparente = Color.White;
- //Dim bmWatermark As Bitmap
-
- //* Create a Bitmap based on the previously modified photograph Bitmap
- //bmWatermark = New Bitmap(imgOutputBig)
- //bmWatermark.SetResolution(imgOutputBig.HorizontalResolution, imgOutputBig.VerticalResolution)
-
- //* Load this Bitmap into a new Graphic Object
- Graphics grWatermark = Graphics.FromImage(imgOutputBig);
-
- //* To achieve a translucent watermark we will apply (2) color manipulations
- ImageAttributes imageAttributes = new ImageAttributes();
-
- //* The first step replace the background color with one that is transparent (Alpha=0, R=0, G=0, B=0)
- ColorMap colorMap = new ColorMap();
-
- //* background this will be the color we search for and replace with transparency
- colorMap.OldColor = LogoColoreTrasparente;
- colorMap.NewColor = Color.FromArgb(0, 0, 0, 0);
-
- ColorMap[] remapTable = { colorMap };
- imageAttributes.SetRemapTable(remapTable, ColorAdjustType.Bitmap);
-
- //* The second color manipulation is used to change the opacity by setting the 3rd row and 3rd column to 0.3f
- float[][] colorMatrixElements = {
- new float[] {
- 1f,
- 0f,
- 0f,
- 0f,
- 0f
- },
- new float[] {
- 0f,
- 1f,
- 0f,
- 0f,
- 0f
- },
- new float[] {
- 0f,
- 0f,
- 1f,
- 0f,
- 0f
- },
- new float[] {
- 0f,
- 0f,
- 0f,
- Convert.ToSingle(PicSettings.LogoTrasparenza) / 100,
- 0f
- },
- new float[] {
- 0f,
- 0f,
- 0f,
- 0f,
- 1f
- }
- };
- ColorMatrix wmColorMatrix = new ColorMatrix(colorMatrixElements);
- imageAttributes.SetColorMatrix(wmColorMatrix, ColorMatrixFlag.Default, ColorAdjustType.Bitmap);
-
- int FotoLogoH = PicSettings.LogoAltezza;
- int FotoLogoW = PicSettings.LogoLarghezza;
- double FattoreAlt = ImmagineLogo.Height / FotoLogoH;
- double FattoreLarg = ImmagineLogo.Width / FotoLogoW;
- Size NuovaSize = default(Size);
- if (FattoreLarg > FattoreAlt)
- {
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoW, "Larghezza");
- }
- else
- {
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoH, "Altezza");
- }
-
- int MargineUsato = 0;
- int MargineL = 0;
- bool InPercentualeL = false;
- if (PicSettings.LogoMargine.EndsWith("%") == true)
- {
- InPercentualeL = true;
- }
- else
- {
- InPercentualeL = false;
- }
- MargineL = Convert.ToInt32(PicSettings.LogoMargine);
- if (InPercentualeL == true)
- {
- MargineUsato = Convert.ToInt32(imgOutputBig.Height * MargineL / 100);
- }
- else
- {
- MargineUsato = MargineL;
- }
-
- int xPosOfWm = 0;
- int yPosOfWm = 0;
- switch (PicSettings.LogoPosizioneH.ToUpper())
- {
- case "SINISTRA":
- case "NESSUNA":
- xPosOfWm = MargineUsato;
-
- break;
- case "CENTRO":
- xPosOfWm = Convert.ToInt32((imgOutputBig.Width - NuovaSize.Width) / 2);
-
- break;
- case "DESTRA":
- xPosOfWm = ((imgOutputBig.Width - NuovaSize.Width) - MargineUsato);
- break;
- }
- switch (PicSettings.LogoPosizioneV.ToUpper())
- {
- case "ALTO":
- case "NESSUNA":
- yPosOfWm = MargineUsato;
-
- break;
- case "CENTRO":
- yPosOfWm = Convert.ToInt32((imgOutputBig.Height - NuovaSize.Height) / 2);
-
- break;
- case "BASSO":
- yPosOfWm = ((imgOutputBig.Height - NuovaSize.Height) - MargineUsato);
- break;
- }
-
- grWatermark.DrawImage(ImmagineLogo, new Rectangle(xPosOfWm, yPosOfWm, NuovaSize.Width, NuovaSize.Height), 0, 0, ImmagineLogo.Width, ImmagineLogo.Height, GraphicsUnit.Pixel, imageAttributes);
- grWatermark.Dispose();
- }
- }
-
-
-
- private void salvaFoto(Bitmap imgOutputBig, Size thumbSizeBig, string NomeFileBig, string NomeFileSmall, Size thumbSizeSmall, ImageFormat thisFormat)
- {
- if (PicSettings.FotoGrandeDimOrigina == false)
- {
- //attenzione non controlla se è png
- //imgOutputBig.Save(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig), thisFormat)
- if (thisFormat.Equals(ImageFormat.Jpeg))
- {
- salvaImmagineCustomQuality(imgOutputBig, Path.Combine(DestDir.FullName, "Temp_" + NomeFileBig), PicSettings.jpegQuality);
- }
- else
- {
- imgOutputBig.Save(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig), thisFormat);
- }
-
-
- System.Drawing.Image g2 = System.Drawing.Image.FromFile(Path.Combine(DestDir.FullName, "Temp_" + NomeFileBig));
- if (g2.Width > g2.Height)
- {
- thumbSizeBig = NewthumbSize(g2.Width, g2.Height, PicSettings.LarghezzaBig, "Larghezza");
- }
- else
- {
- thumbSizeBig = NewthumbSize(g2.Width, g2.Height, PicSettings.AltezzaBig, "Altezza");
- }
- Bitmap imgOutputBig2 = new Bitmap(g2, thumbSizeBig.Width, thumbSizeBig.Height);
- //
- if (thisFormat.Equals(ImageFormat.Jpeg))
- {
- salvaImmagineCustomQuality(imgOutputBig2, Path.Combine(DestDir.FullName, NomeFileBig), PicSettings.jpegQuality);
- }
- else
- {
- imgOutputBig2.Save(Path.Combine(_DestDir.FullName, NomeFileBig), thisFormat);
- }
-
- imgOutputBig2.Dispose();
- imgOutputBig.Dispose();
- g2.Dispose();
- }
- else
- {
- //
- if (thisFormat.Equals(ImageFormat.Jpeg))
- {
- salvaImmagineCustomQuality(imgOutputBig, Path.Combine(DestDir.FullName, NomeFileBig), PicSettings.jpegQuality);
- }
- else
- {
- imgOutputBig.Save(Path.Combine(_DestDir.FullName, NomeFileBig), thisFormat);
- }
-
- imgOutputBig.Dispose();
- }
-
-
- if (PicSettings.CreaMiniature)
- {
- if (PicSettings.AggiungiScritteMiniature == true)
- {
- System.Drawing.Image g1 = null;
- if (PicSettings.FotoGrandeDimOrigina == false)
- {
- g1 = System.Drawing.Image.FromFile(Path.Combine(DestDir.FullName, "Temp_" + NomeFileBig));
- }
- else
- {
- g1 = System.Drawing.Image.FromFile(Path.Combine(DestDir.FullName, NomeFileBig));
- }
- Bitmap imgOutputSmall = new Bitmap(g1, thumbSizeSmall.Width, thumbSizeSmall.Height);
- if (PicSettings.directorySorgente.ToUpper() == PicSettings.directoryDestinazione.ToUpper())
- {
- NomeFileSmall = NomeFileSmall.Substring(0, NomeFileSmall.Length - 4) + PicSettings.Codice + NomeFileSmall.Substring(NomeFileSmall.Length - 4);
- }
- //
- if (thisFormat.Equals(ImageFormat.Jpeg))
- {
- salvaImmagineCustomQuality(imgOutputSmall, Path.Combine(DestDir.FullName, NomeFileSmall), PicSettings.jpegQualityMin);
- }
- else
- {
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat);
- }
-
- imgOutputSmall.Dispose();
- g1.Dispose();
- }
-
-
-
- }
-
- if (File.Exists(Path.Combine(DestDir.FullName, "Temp_" + NomeFileBig)) == true)
- {
- File.Delete(Path.Combine(DestDir.FullName, "Temp_" + NomeFileBig));
- }
-
-
- }
-
-
- private void salvaImmagineCustomQuality(Bitmap imageToSave, string nomeFileFinale, long quality)
- {
- ImageCodecInfo JgpEncoder = GetEncoder(ImageFormat.Jpeg);
- Encoder MyEncoder = Encoder.Quality;
-
- EncoderParameters MyEncoderParameters = new EncoderParameters(1);
-
- EncoderParameter MyEncoderParameter = new EncoderParameter(MyEncoder, PicSettings.jpegQuality);
- MyEncoderParameters.Param[0] = MyEncoderParameter;
- imageToSave.Save(nomeFileFinale, JgpEncoder, MyEncoderParameters);
- imageToSave.Dispose();
- }
-
-
-
- private ImageCodecInfo GetEncoder(ImageFormat format)
- {
-
- ImageCodecInfo[] codecs = ImageCodecInfo.GetImageDecoders();
-
- ImageCodecInfo codec = null;
- foreach (ImageCodecInfo codec_loopVariable in codecs)
- {
- codec = codec_loopVariable;
- if (codec.FormatID == format.Guid)
- {
- return codec;
- }
- }
- return null;
-
- }
-
-
-
-
-
-
- ///
- /// Calculate the Size of the New image
- ///
- /// Larghezza
- /// Altezza
- ///
- ///
- ///
- ///
- private Size NewthumbSize(int currentwidth, int currentheight, int MaxPixel, string TipoSize)
- {
- // e
- //*** Larghezza, Altezza, Auto
-
- double tempMultiplier = 0;
-
- if (TipoSize.ToUpper() == "Larghezza".ToUpper())
- {
- tempMultiplier = MaxPixel / currentwidth;
- }
- else if (TipoSize.ToUpper() == "Altezza".ToUpper())
- {
- tempMultiplier = MaxPixel / currentheight;
- }
- else
- {
- // portrait
- if (currentheight > currentwidth)
- {
- tempMultiplier = MaxPixel / currentheight;
- }
- else
- {
- tempMultiplier = MaxPixel / currentwidth;
- }
- }
-
- Size NewSize = new Size(Convert.ToInt32(currentwidth * tempMultiplier), Convert.ToInt32(currentheight * tempMultiplier));
-
- return NewSize;
- }
-
- public FileInfo WorkFile
- {
- get { return _workFile; }
- set { _workFile = value; }
- }
-
- public DirectoryInfo DestDir
- {
- get { return _DestDir; }
- set { _DestDir = value; }
- }
-
- public DirectoryInfo SourceDir
- {
- get { return _SourceDir; }
- set { _SourceDir = value; }
- }
-
- public DirectoryInfo DestDirStart
- {
- get { return _DestDirStart; }
- set { _DestDirStart = value; }
- }
-
- public string NomeFileChild
- {
- get { return _NomeFileChild; }
- set { _NomeFileChild = value; }
- }
-
-
-}
\ No newline at end of file
diff --git a/ImageCatalogCS/MainForm.Designer.cs b/ImageCatalogCS/MainForm.Designer.cs
deleted file mode 100644
index 54b8132..0000000
--- a/ImageCatalogCS/MainForm.Designer.cs
+++ /dev/null
@@ -1,1794 +0,0 @@
-namespace ImageCatalogCS
-{
- partial class MainForm
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.ProgressBar1 = new System.Windows.Forms.ProgressBar();
- this.CheckBox22 = new System.Windows.Forms.CheckBox();
- this.Label43 = new System.Windows.Forms.Label();
- this.TabControl1 = new System.Windows.Forms.TabControl();
- this.TabPage5 = new System.Windows.Forms.TabPage();
- this.GroupBox11 = new System.Windows.Forms.GroupBox();
- this.Label8 = new System.Windows.Forms.Label();
- this.TextBox8 = new System.Windows.Forms.TextBox();
- this.Label7 = new System.Windows.Forms.Label();
- this.TextBox7 = new System.Windows.Forms.TextBox();
- this.GroupBox3 = new System.Windows.Forms.GroupBox();
- this.chkAggiornaSottodirectory = new System.Windows.Forms.CheckBox();
- this.Button3 = new System.Windows.Forms.Button();
- this.Button2 = new System.Windows.Forms.Button();
- this.Label1 = new System.Windows.Forms.Label();
- this.Label2 = new System.Windows.Forms.Label();
- this.txtSorgente = new System.Windows.Forms.TextBox();
- this.txtDestinazione = new System.Windows.Forms.TextBox();
- this.GroupBox8 = new System.Windows.Forms.GroupBox();
- this.rdbNumFiles = new System.Windows.Forms.RadioButton();
- this.rdbNumProgressiva = new System.Windows.Forms.RadioButton();
- this.txtCifreContatore = new System.Windows.Forms.TextBox();
- this.Label34 = new System.Windows.Forms.Label();
- this.txtSuffissoCartelle = new System.Windows.Forms.TextBox();
- this.Label33 = new System.Windows.Forms.Label();
- this.Label31 = new System.Windows.Forms.Label();
- this.chkCreaSottocartelle = new System.Windows.Forms.CheckBox();
- this.txtFilePerCartella = new System.Windows.Forms.TextBox();
- this.Label32 = new System.Windows.Forms.Label();
- this.GroupBox7 = new System.Windows.Forms.GroupBox();
- this.chkSovrascriviFile = new System.Windows.Forms.CheckBox();
- this.chkRotazioneAutomatica = new System.Windows.Forms.CheckBox();
- this.chkForzaJpg = new System.Windows.Forms.CheckBox();
- this.TabPage3 = new System.Windows.Forms.TabPage();
- this.CheckBox2 = new System.Windows.Forms.CheckBox();
- this.GroupBox10 = new System.Windows.Forms.GroupBox();
- this.Label42 = new System.Windows.Forms.Label();
- this.Label41 = new System.Windows.Forms.Label();
- this.TextBox31 = new System.Windows.Forms.TextBox();
- this.TextBox30 = new System.Windows.Forms.TextBox();
- this.GroupBox9 = new System.Windows.Forms.GroupBox();
- this.CheckBox17 = new System.Windows.Forms.CheckBox();
- this.CheckBox16 = new System.Windows.Forms.CheckBox();
- this.GroupBox5 = new System.Windows.Forms.GroupBox();
- this.TextBox34 = new System.Windows.Forms.TextBox();
- this.Button8 = new System.Windows.Forms.Button();
- this.Label36 = new System.Windows.Forms.Label();
- this.TextBox25 = new System.Windows.Forms.TextBox();
- this.Label35 = new System.Windows.Forms.Label();
- this.ComboBox3 = new System.Windows.Forms.ComboBox();
- this.TextBox11 = new System.Windows.Forms.TextBox();
- this.Label12 = new System.Windows.Forms.Label();
- this.Label11 = new System.Windows.Forms.Label();
- this.CheckBox3 = new System.Windows.Forms.CheckBox();
- this.GroupBox4 = new System.Windows.Forms.GroupBox();
- this.Label40 = new System.Windows.Forms.Label();
- this.TextBox29 = new System.Windows.Forms.TextBox();
- this.TextBox18 = new System.Windows.Forms.TextBox();
- this.Label26 = new System.Windows.Forms.Label();
- this.DateTimePicker1 = new System.Windows.Forms.DateTimePicker();
- this.CheckBox8 = new System.Windows.Forms.CheckBox();
- this.TextBox9 = new System.Windows.Forms.TextBox();
- this.CheckBox7 = new System.Windows.Forms.CheckBox();
- this.Label4 = new System.Windows.Forms.Label();
- this.TextBox4 = new System.Windows.Forms.TextBox();
- this.Label9 = new System.Windows.Forms.Label();
- this.Label13 = new System.Windows.Forms.Label();
- this.ComboBox1 = new System.Windows.Forms.ComboBox();
- this.ComboBox2 = new System.Windows.Forms.ComboBox();
- this.Label14 = new System.Windows.Forms.Label();
- this.TextBox12 = new System.Windows.Forms.TextBox();
- this.Label15 = new System.Windows.Forms.Label();
- this.TabPage2 = new System.Windows.Forms.TabPage();
- this.GroupBox2 = new System.Windows.Forms.GroupBox();
- this.Label45 = new System.Windows.Forms.Label();
- this.TextBox32 = new System.Windows.Forms.TextBox();
- this.TextBox26 = new System.Windows.Forms.TextBox();
- this.Label37 = new System.Windows.Forms.Label();
- this.Label38 = new System.Windows.Forms.Label();
- this.TextBox27 = new System.Windows.Forms.TextBox();
- this.Label39 = new System.Windows.Forms.Label();
- this.TextBox28 = new System.Windows.Forms.TextBox();
- this.CheckBox15 = new System.Windows.Forms.CheckBox();
- this.TabPage1 = new System.Windows.Forms.TabPage();
- this.GroupBox1 = new System.Windows.Forms.GroupBox();
- this.Label46 = new System.Windows.Forms.Label();
- this.TextBox33 = new System.Windows.Forms.TextBox();
- this.Panel2 = new System.Windows.Forms.Panel();
- this.RadioButton3 = new System.Windows.Forms.RadioButton();
- this.RadioButton7 = new System.Windows.Forms.RadioButton();
- this.RadioButton4 = new System.Windows.Forms.RadioButton();
- this.RadioButton6 = new System.Windows.Forms.RadioButton();
- this.RadioButton5 = new System.Windows.Forms.RadioButton();
- this.Label5 = new System.Windows.Forms.Label();
- this.TextBox5 = new System.Windows.Forms.TextBox();
- this.Label6 = new System.Windows.Forms.Label();
- this.TextBox6 = new System.Windows.Forms.TextBox();
- this.Label3 = new System.Windows.Forms.Label();
- this.TextBox3 = new System.Windows.Forms.TextBox();
- this.CheckBox1 = new System.Windows.Forms.CheckBox();
- this.TabPage4 = new System.Windows.Forms.TabPage();
- this.GroupBox6 = new System.Windows.Forms.GroupBox();
- this.PictureBox2 = new System.Windows.Forms.PictureBox();
- this.PictureBox1 = new System.Windows.Forms.PictureBox();
- this.ComboBox5 = new System.Windows.Forms.ComboBox();
- this.ComboBox4 = new System.Windows.Forms.ComboBox();
- this.TextBox19 = new System.Windows.Forms.TextBox();
- this.Label28 = new System.Windows.Forms.Label();
- this.CheckBox5 = new System.Windows.Forms.CheckBox();
- this.TextBox15 = new System.Windows.Forms.TextBox();
- this.TextBox14 = new System.Windows.Forms.TextBox();
- this.Label25 = new System.Windows.Forms.Label();
- this.TextBox16 = new System.Windows.Forms.TextBox();
- this.Label24 = new System.Windows.Forms.Label();
- this.Label22 = new System.Windows.Forms.Label();
- this.Label23 = new System.Windows.Forms.Label();
- this.Button4 = new System.Windows.Forms.Button();
- this.TextBox10 = new System.Windows.Forms.TextBox();
- this.Label29 = new System.Windows.Forms.Label();
- this.Label30 = new System.Windows.Forms.Label();
- this.PictureBox3 = new System.Windows.Forms.PictureBox();
- this.Label20 = new System.Windows.Forms.Label();
- this.Label19 = new System.Windows.Forms.Label();
- this.Label18 = new System.Windows.Forms.Label();
- this.lblFotoTotaliNum = new System.Windows.Forms.Label();
- this.menuStrip1 = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.caricaImpostazioniToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.salvaImpostazioniToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.creaCatalogoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.esciToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.aiutoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.informazioniToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.groupBox12 = new System.Windows.Forms.GroupBox();
- this.btnStopCreazione = new System.Windows.Forms.Button();
- this.lblLog = new System.Windows.Forms.ListBox();
- this.txtFileInfo = new System.Windows.Forms.TextBox();
- this.panelTesto = new System.Windows.Forms.Panel();
- this.panelMiniature = new System.Windows.Forms.Panel();
- this.TabControl1.SuspendLayout();
- this.TabPage5.SuspendLayout();
- this.GroupBox11.SuspendLayout();
- this.GroupBox3.SuspendLayout();
- this.GroupBox8.SuspendLayout();
- this.GroupBox7.SuspendLayout();
- this.TabPage3.SuspendLayout();
- this.GroupBox10.SuspendLayout();
- this.GroupBox9.SuspendLayout();
- this.GroupBox5.SuspendLayout();
- this.GroupBox4.SuspendLayout();
- this.TabPage2.SuspendLayout();
- this.GroupBox2.SuspendLayout();
- this.TabPage1.SuspendLayout();
- this.GroupBox1.SuspendLayout();
- this.Panel2.SuspendLayout();
- this.TabPage4.SuspendLayout();
- this.GroupBox6.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).BeginInit();
- this.menuStrip1.SuspendLayout();
- this.groupBox12.SuspendLayout();
- this.panelTesto.SuspendLayout();
- this.panelMiniature.SuspendLayout();
- this.SuspendLayout();
- //
- // ProgressBar1
- //
- this.ProgressBar1.Location = new System.Drawing.Point(16, 401);
- this.ProgressBar1.Name = "ProgressBar1";
- this.ProgressBar1.Size = new System.Drawing.Size(513, 13);
- this.ProgressBar1.TabIndex = 81;
- //
- // CheckBox22
- //
- this.CheckBox22.AutoSize = true;
- this.CheckBox22.Location = new System.Drawing.Point(6, 365);
- this.CheckBox22.Name = "CheckBox22";
- this.CheckBox22.Size = new System.Drawing.Size(104, 17);
- this.CheckBox22.TabIndex = 80;
- this.CheckBox22.Text = "Arresta il sistema";
- this.CheckBox22.UseVisualStyleBackColor = true;
- //
- // Label43
- //
- this.Label43.AutoSize = true;
- this.Label43.Location = new System.Drawing.Point(3, 349);
- this.Label43.Name = "Label43";
- this.Label43.Size = new System.Drawing.Size(25, 13);
- this.Label43.TabIndex = 79;
- this.Label43.Text = "000";
- this.Label43.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // TabControl1
- //
- this.TabControl1.Controls.Add(this.TabPage5);
- this.TabControl1.Controls.Add(this.TabPage3);
- this.TabControl1.Controls.Add(this.TabPage2);
- this.TabControl1.Controls.Add(this.TabPage1);
- this.TabControl1.Controls.Add(this.TabPage4);
- this.TabControl1.Location = new System.Drawing.Point(12, 27);
- this.TabControl1.Name = "TabControl1";
- this.TabControl1.SelectedIndex = 0;
- this.TabControl1.Size = new System.Drawing.Size(521, 372);
- this.TabControl1.TabIndex = 78;
- //
- // TabPage5
- //
- this.TabPage5.Controls.Add(this.GroupBox11);
- this.TabPage5.Controls.Add(this.GroupBox3);
- this.TabPage5.Controls.Add(this.GroupBox8);
- this.TabPage5.Controls.Add(this.GroupBox7);
- this.TabPage5.Location = new System.Drawing.Point(4, 22);
- this.TabPage5.Name = "TabPage5";
- this.TabPage5.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage5.Size = new System.Drawing.Size(513, 346);
- this.TabPage5.TabIndex = 4;
- this.TabPage5.Text = "Generale";
- this.TabPage5.UseVisualStyleBackColor = true;
- //
- // GroupBox11
- //
- this.GroupBox11.Controls.Add(this.Label8);
- this.GroupBox11.Controls.Add(this.TextBox8);
- this.GroupBox11.Controls.Add(this.Label7);
- this.GroupBox11.Controls.Add(this.TextBox7);
- this.GroupBox11.Location = new System.Drawing.Point(7, 209);
- this.GroupBox11.Name = "GroupBox11";
- this.GroupBox11.Size = new System.Drawing.Size(191, 132);
- this.GroupBox11.TabIndex = 48;
- this.GroupBox11.TabStop = false;
- this.GroupBox11.Text = "Avanzate (ATTENZIONE)";
- //
- // Label8
- //
- this.Label8.AutoSize = true;
- this.Label8.Location = new System.Drawing.Point(64, 26);
- this.Label8.Name = "Label8";
- this.Label8.Size = new System.Drawing.Size(61, 13);
- this.Label8.TabIndex = 3;
- this.Label8.Text = "Min Thread";
- //
- // TextBox8
- //
- this.TextBox8.Location = new System.Drawing.Point(7, 20);
- this.TextBox8.Name = "TextBox8";
- this.TextBox8.Size = new System.Drawing.Size(47, 20);
- this.TextBox8.TabIndex = 2;
- this.TextBox8.Text = "5";
- //
- // Label7
- //
- this.Label7.AutoSize = true;
- this.Label7.Location = new System.Drawing.Point(61, 48);
- this.Label7.Name = "Label7";
- this.Label7.Size = new System.Drawing.Size(64, 13);
- this.Label7.TabIndex = 1;
- this.Label7.Text = "Max Thread";
- //
- // TextBox7
- //
- this.TextBox7.Location = new System.Drawing.Point(7, 46);
- this.TextBox7.Name = "TextBox7";
- this.TextBox7.Size = new System.Drawing.Size(47, 20);
- this.TextBox7.TabIndex = 0;
- this.TextBox7.Text = "15";
- //
- // GroupBox3
- //
- this.GroupBox3.Controls.Add(this.chkAggiornaSottodirectory);
- this.GroupBox3.Controls.Add(this.Button3);
- this.GroupBox3.Controls.Add(this.Button2);
- this.GroupBox3.Controls.Add(this.Label1);
- this.GroupBox3.Controls.Add(this.Label2);
- this.GroupBox3.Controls.Add(this.txtSorgente);
- this.GroupBox3.Controls.Add(this.txtDestinazione);
- this.GroupBox3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox3.Location = new System.Drawing.Point(6, 6);
- this.GroupBox3.Name = "GroupBox3";
- this.GroupBox3.Size = new System.Drawing.Size(496, 101);
- this.GroupBox3.TabIndex = 35;
- this.GroupBox3.TabStop = false;
- this.GroupBox3.Text = "Directory";
- //
- // chkAggiornaSottodirectory
- //
- this.chkAggiornaSottodirectory.ForeColor = System.Drawing.Color.Black;
- this.chkAggiornaSottodirectory.Location = new System.Drawing.Point(80, 64);
- this.chkAggiornaSottodirectory.Name = "chkAggiornaSottodirectory";
- this.chkAggiornaSottodirectory.Size = new System.Drawing.Size(152, 24);
- this.chkAggiornaSottodirectory.TabIndex = 25;
- this.chkAggiornaSottodirectory.Text = "aggiorna le sottodirectory";
- //
- // Button3
- //
- this.Button3.Location = new System.Drawing.Point(462, 40);
- this.Button3.Name = "Button3";
- this.Button3.Size = new System.Drawing.Size(24, 20);
- this.Button3.TabIndex = 6;
- this.Button3.Text = "...";
- //
- // Button2
- //
- this.Button2.Location = new System.Drawing.Point(462, 16);
- this.Button2.Name = "Button2";
- this.Button2.Size = new System.Drawing.Size(24, 20);
- this.Button2.TabIndex = 5;
- this.Button2.Text = "...";
- //
- // Label1
- //
- this.Label1.AutoSize = true;
- this.Label1.ForeColor = System.Drawing.Color.Black;
- this.Label1.Location = new System.Drawing.Point(6, 19);
- this.Label1.Name = "Label1";
- this.Label1.Size = new System.Drawing.Size(50, 13);
- this.Label1.TabIndex = 3;
- this.Label1.Text = "Sorgente";
- //
- // Label2
- //
- this.Label2.AutoSize = true;
- this.Label2.ForeColor = System.Drawing.Color.Black;
- this.Label2.Location = new System.Drawing.Point(6, 43);
- this.Label2.Name = "Label2";
- this.Label2.Size = new System.Drawing.Size(68, 13);
- this.Label2.TabIndex = 4;
- this.Label2.Text = "Destinazione";
- //
- // txtSorgente
- //
- this.txtSorgente.Location = new System.Drawing.Point(80, 16);
- this.txtSorgente.Name = "txtSorgente";
- this.txtSorgente.Size = new System.Drawing.Size(376, 20);
- this.txtSorgente.TabIndex = 0;
- this.txtSorgente.Text = "TextBox1";
- //
- // txtDestinazione
- //
- this.txtDestinazione.Location = new System.Drawing.Point(80, 40);
- this.txtDestinazione.Name = "txtDestinazione";
- this.txtDestinazione.Size = new System.Drawing.Size(376, 20);
- this.txtDestinazione.TabIndex = 1;
- this.txtDestinazione.Text = "TextBox2";
- //
- // GroupBox8
- //
- this.GroupBox8.Controls.Add(this.rdbNumFiles);
- this.GroupBox8.Controls.Add(this.rdbNumProgressiva);
- this.GroupBox8.Controls.Add(this.txtCifreContatore);
- this.GroupBox8.Controls.Add(this.Label34);
- this.GroupBox8.Controls.Add(this.txtSuffissoCartelle);
- this.GroupBox8.Controls.Add(this.Label33);
- this.GroupBox8.Controls.Add(this.Label31);
- this.GroupBox8.Controls.Add(this.chkCreaSottocartelle);
- this.GroupBox8.Controls.Add(this.txtFilePerCartella);
- this.GroupBox8.Controls.Add(this.Label32);
- this.GroupBox8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox8.Location = new System.Drawing.Point(204, 113);
- this.GroupBox8.Name = "GroupBox8";
- this.GroupBox8.Size = new System.Drawing.Size(192, 152);
- this.GroupBox8.TabIndex = 47;
- this.GroupBox8.TabStop = false;
- this.GroupBox8.Text = "Sottocartelle";
- //
- // rdbNumFiles
- //
- this.rdbNumFiles.ForeColor = System.Drawing.Color.Black;
- this.rdbNumFiles.Location = new System.Drawing.Point(32, 128);
- this.rdbNumFiles.Name = "rdbNumFiles";
- this.rdbNumFiles.Size = new System.Drawing.Size(136, 16);
- this.rdbNumFiles.TabIndex = 38;
- this.rdbNumFiles.Text = "Numerazione files";
- //
- // rdbNumProgressiva
- //
- this.rdbNumProgressiva.Checked = true;
- this.rdbNumProgressiva.ForeColor = System.Drawing.Color.Black;
- this.rdbNumProgressiva.Location = new System.Drawing.Point(32, 112);
- this.rdbNumProgressiva.Name = "rdbNumProgressiva";
- this.rdbNumProgressiva.Size = new System.Drawing.Size(152, 16);
- this.rdbNumProgressiva.TabIndex = 37;
- this.rdbNumProgressiva.TabStop = true;
- this.rdbNumProgressiva.Text = "Numerazione progressiva";
- //
- // txtCifreContatore
- //
- this.txtCifreContatore.Location = new System.Drawing.Point(128, 88);
- this.txtCifreContatore.Name = "txtCifreContatore";
- this.txtCifreContatore.Size = new System.Drawing.Size(56, 20);
- this.txtCifreContatore.TabIndex = 34;
- this.txtCifreContatore.Text = "4";
- //
- // Label34
- //
- this.Label34.ForeColor = System.Drawing.Color.Black;
- this.Label34.Location = new System.Drawing.Point(8, 88);
- this.Label34.Name = "Label34";
- this.Label34.Size = new System.Drawing.Size(112, 16);
- this.Label34.TabIndex = 33;
- this.Label34.Text = "Num. cifre contatore";
- this.Label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // txtSuffissoCartelle
- //
- this.txtSuffissoCartelle.Location = new System.Drawing.Point(56, 64);
- this.txtSuffissoCartelle.Name = "txtSuffissoCartelle";
- this.txtSuffissoCartelle.Size = new System.Drawing.Size(128, 20);
- this.txtSuffissoCartelle.TabIndex = 32;
- this.txtSuffissoCartelle.Text = "TextBox20";
- //
- // Label33
- //
- this.Label33.ForeColor = System.Drawing.Color.Black;
- this.Label33.Location = new System.Drawing.Point(6, 67);
- this.Label33.Name = "Label33";
- this.Label33.Size = new System.Drawing.Size(48, 16);
- this.Label33.TabIndex = 31;
- this.Label33.Text = "Suffisso";
- //
- // Label31
- //
- this.Label31.ForeColor = System.Drawing.Color.Black;
- this.Label31.Location = new System.Drawing.Point(24, 40);
- this.Label31.Name = "Label31";
- this.Label31.Size = new System.Drawing.Size(32, 16);
- this.Label31.TabIndex = 30;
- this.Label31.Text = "ogni";
- //
- // chkCreaSottocartelle
- //
- this.chkCreaSottocartelle.ForeColor = System.Drawing.Color.Black;
- this.chkCreaSottocartelle.Location = new System.Drawing.Point(56, 16);
- this.chkCreaSottocartelle.Name = "chkCreaSottocartelle";
- this.chkCreaSottocartelle.Size = new System.Drawing.Size(112, 16);
- this.chkCreaSottocartelle.TabIndex = 29;
- this.chkCreaSottocartelle.Text = "crea sottocartelle";
- //
- // txtFilePerCartella
- //
- this.txtFilePerCartella.Location = new System.Drawing.Point(56, 40);
- this.txtFilePerCartella.Name = "txtFilePerCartella";
- this.txtFilePerCartella.Size = new System.Drawing.Size(64, 20);
- this.txtFilePerCartella.TabIndex = 27;
- this.txtFilePerCartella.Text = "99";
- //
- // Label32
- //
- this.Label32.ForeColor = System.Drawing.Color.Black;
- this.Label32.Location = new System.Drawing.Point(128, 40);
- this.Label32.Name = "Label32";
- this.Label32.Size = new System.Drawing.Size(24, 16);
- this.Label32.TabIndex = 28;
- this.Label32.Text = "file";
- //
- // GroupBox7
- //
- this.GroupBox7.Controls.Add(this.chkSovrascriviFile);
- this.GroupBox7.Controls.Add(this.chkRotazioneAutomatica);
- this.GroupBox7.Controls.Add(this.chkForzaJpg);
- this.GroupBox7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox7.Location = new System.Drawing.Point(6, 113);
- this.GroupBox7.Name = "GroupBox7";
- this.GroupBox7.Size = new System.Drawing.Size(192, 88);
- this.GroupBox7.TabIndex = 45;
- this.GroupBox7.TabStop = false;
- this.GroupBox7.Text = "Generale";
- //
- // chkSovrascriviFile
- //
- this.chkSovrascriviFile.AutoSize = true;
- this.chkSovrascriviFile.Location = new System.Drawing.Point(16, 61);
- this.chkSovrascriviFile.Name = "chkSovrascriviFile";
- this.chkSovrascriviFile.Size = new System.Drawing.Size(94, 17);
- this.chkSovrascriviFile.TabIndex = 2;
- this.chkSovrascriviFile.Text = "Sovrascrivi file";
- this.chkSovrascriviFile.UseVisualStyleBackColor = true;
- //
- // chkRotazioneAutomatica
- //
- this.chkRotazioneAutomatica.ForeColor = System.Drawing.Color.Black;
- this.chkRotazioneAutomatica.Location = new System.Drawing.Point(16, 39);
- this.chkRotazioneAutomatica.Name = "chkRotazioneAutomatica";
- this.chkRotazioneAutomatica.Size = new System.Drawing.Size(136, 16);
- this.chkRotazioneAutomatica.TabIndex = 1;
- this.chkRotazioneAutomatica.Text = "Rotazione automatica";
- //
- // chkForzaJpg
- //
- this.chkForzaJpg.Checked = true;
- this.chkForzaJpg.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkForzaJpg.ForeColor = System.Drawing.Color.Black;
- this.chkForzaJpg.Location = new System.Drawing.Point(16, 18);
- this.chkForzaJpg.Name = "chkForzaJpg";
- this.chkForzaJpg.Size = new System.Drawing.Size(80, 16);
- this.chkForzaJpg.TabIndex = 0;
- this.chkForzaJpg.Text = "Forza Jpg";
- //
- // TabPage3
- //
- this.TabPage3.Controls.Add(this.panelTesto);
- this.TabPage3.Controls.Add(this.CheckBox2);
- this.TabPage3.Location = new System.Drawing.Point(4, 22);
- this.TabPage3.Name = "TabPage3";
- this.TabPage3.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage3.Size = new System.Drawing.Size(513, 346);
- this.TabPage3.TabIndex = 2;
- this.TabPage3.Text = "Testo";
- this.TabPage3.UseVisualStyleBackColor = true;
- //
- // CheckBox2
- //
- this.CheckBox2.AutoSize = true;
- this.CheckBox2.Location = new System.Drawing.Point(7, 8);
- this.CheckBox2.Name = "CheckBox2";
- this.CheckBox2.Size = new System.Drawing.Size(93, 17);
- this.CheckBox2.TabIndex = 40;
- this.CheckBox2.Text = "Aggiungi testo";
- this.CheckBox2.UseVisualStyleBackColor = true;
- this.CheckBox2.CheckedChanged += new System.EventHandler(this.CheckBox2_CheckedChanged);
- //
- // GroupBox10
- //
- this.GroupBox10.Controls.Add(this.Label42);
- this.GroupBox10.Controls.Add(this.Label41);
- this.GroupBox10.Controls.Add(this.TextBox31);
- this.GroupBox10.Controls.Add(this.TextBox30);
- this.GroupBox10.Location = new System.Drawing.Point(313, 50);
- this.GroupBox10.Name = "GroupBox10";
- this.GroupBox10.Size = new System.Drawing.Size(186, 73);
- this.GroupBox10.TabIndex = 39;
- this.GroupBox10.TabStop = false;
- this.GroupBox10.Text = "Testo foto verticali";
- //
- // Label42
- //
- this.Label42.AutoSize = true;
- this.Label42.Location = new System.Drawing.Point(7, 46);
- this.Label42.Name = "Label42";
- this.Label42.Size = new System.Drawing.Size(45, 13);
- this.Label42.TabIndex = 3;
- this.Label42.Text = "Margine";
- //
- // Label41
- //
- this.Label41.AutoSize = true;
- this.Label41.Location = new System.Drawing.Point(7, 25);
- this.Label41.Name = "Label41";
- this.Label41.Size = new System.Drawing.Size(108, 13);
- this.Label41.TabIndex = 2;
- this.Label41.Text = "Dimensione Carattere";
- //
- // TextBox31
- //
- this.TextBox31.Location = new System.Drawing.Point(131, 46);
- this.TextBox31.Name = "TextBox31";
- this.TextBox31.Size = new System.Drawing.Size(39, 20);
- this.TextBox31.TabIndex = 1;
- //
- // TextBox30
- //
- this.TextBox30.Location = new System.Drawing.Point(131, 22);
- this.TextBox30.Name = "TextBox30";
- this.TextBox30.Size = new System.Drawing.Size(39, 20);
- this.TextBox30.TabIndex = 0;
- //
- // GroupBox9
- //
- this.GroupBox9.Controls.Add(this.CheckBox17);
- this.GroupBox9.Controls.Add(this.CheckBox16);
- this.GroupBox9.Location = new System.Drawing.Point(313, 3);
- this.GroupBox9.Name = "GroupBox9";
- this.GroupBox9.Size = new System.Drawing.Size(186, 45);
- this.GroupBox9.TabIndex = 38;
- this.GroupBox9.TabStop = false;
- this.GroupBox9.Text = "Slide show";
- //
- // CheckBox17
- //
- this.CheckBox17.AutoSize = true;
- this.CheckBox17.Location = new System.Drawing.Point(96, 18);
- this.CheckBox17.Name = "CheckBox17";
- this.CheckBox17.Size = new System.Drawing.Size(84, 17);
- this.CheckBox17.TabIndex = 1;
- this.CheckBox17.Text = "Numero foto";
- this.CheckBox17.UseVisualStyleBackColor = true;
- //
- // CheckBox16
- //
- this.CheckBox16.AutoSize = true;
- this.CheckBox16.Location = new System.Drawing.Point(6, 19);
- this.CheckBox16.Name = "CheckBox16";
- this.CheckBox16.Size = new System.Drawing.Size(49, 17);
- this.CheckBox16.TabIndex = 0;
- this.CheckBox16.Text = "Data";
- this.CheckBox16.UseVisualStyleBackColor = true;
- //
- // GroupBox5
- //
- this.GroupBox5.Controls.Add(this.TextBox34);
- this.GroupBox5.Controls.Add(this.Button8);
- this.GroupBox5.Controls.Add(this.Label36);
- this.GroupBox5.Controls.Add(this.TextBox25);
- this.GroupBox5.Controls.Add(this.Label35);
- this.GroupBox5.Controls.Add(this.ComboBox3);
- this.GroupBox5.Controls.Add(this.TextBox11);
- this.GroupBox5.Controls.Add(this.Label12);
- this.GroupBox5.Controls.Add(this.Label11);
- this.GroupBox5.Controls.Add(this.CheckBox3);
- this.GroupBox5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox5.Location = new System.Drawing.Point(3, 3);
- this.GroupBox5.Name = "GroupBox5";
- this.GroupBox5.Size = new System.Drawing.Size(304, 120);
- this.GroupBox5.TabIndex = 37;
- this.GroupBox5.TabStop = false;
- this.GroupBox5.Text = "Carattere";
- //
- // TextBox34
- //
- this.TextBox34.Location = new System.Drawing.Point(160, 91);
- this.TextBox34.Name = "TextBox34";
- this.TextBox34.Size = new System.Drawing.Size(56, 20);
- this.TextBox34.TabIndex = 36;
- this.TextBox34.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
- //
- // Button8
- //
- this.Button8.ForeColor = System.Drawing.Color.Black;
- this.Button8.Location = new System.Drawing.Point(222, 89);
- this.Button8.Name = "Button8";
- this.Button8.Size = new System.Drawing.Size(74, 24);
- this.Button8.TabIndex = 35;
- this.Button8.Text = "Scegli...";
- //
- // Label36
- //
- this.Label36.ForeColor = System.Drawing.Color.Black;
- this.Label36.Location = new System.Drawing.Point(8, 60);
- this.Label36.Name = "Label36";
- this.Label36.Size = new System.Drawing.Size(120, 19);
- this.Label36.TabIndex = 34;
- this.Label36.Text = "Dimensione miniatura";
- this.Label36.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // TextBox25
- //
- this.TextBox25.Location = new System.Drawing.Point(160, 59);
- this.TextBox25.Name = "TextBox25";
- this.TextBox25.Size = new System.Drawing.Size(56, 20);
- this.TextBox25.TabIndex = 33;
- this.TextBox25.Text = "TextBox25";
- //
- // Label35
- //
- this.Label35.ForeColor = System.Drawing.Color.Black;
- this.Label35.Location = new System.Drawing.Point(8, 93);
- this.Label35.Name = "Label35";
- this.Label35.Size = new System.Drawing.Size(72, 16);
- this.Label35.TabIndex = 32;
- this.Label35.Text = "Colore RGB";
- this.Label35.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // ComboBox3
- //
- this.ComboBox3.Location = new System.Drawing.Point(96, 8);
- this.ComboBox3.Name = "ComboBox3";
- this.ComboBox3.Size = new System.Drawing.Size(120, 21);
- this.ComboBox3.TabIndex = 28;
- this.ComboBox3.Text = "ComboBox3";
- //
- // TextBox11
- //
- this.TextBox11.Location = new System.Drawing.Point(160, 35);
- this.TextBox11.Name = "TextBox11";
- this.TextBox11.Size = new System.Drawing.Size(56, 20);
- this.TextBox11.TabIndex = 27;
- this.TextBox11.Text = "TextBox11";
- //
- // Label12
- //
- this.Label12.AutoSize = true;
- this.Label12.ForeColor = System.Drawing.Color.Black;
- this.Label12.Location = new System.Drawing.Point(8, 38);
- this.Label12.Name = "Label12";
- this.Label12.Size = new System.Drawing.Size(62, 13);
- this.Label12.TabIndex = 26;
- this.Label12.Text = "Dimensione";
- this.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label11
- //
- this.Label11.AutoSize = true;
- this.Label11.ForeColor = System.Drawing.Color.Black;
- this.Label11.Location = new System.Drawing.Point(56, 8);
- this.Label11.Name = "Label11";
- this.Label11.Size = new System.Drawing.Size(28, 13);
- this.Label11.TabIndex = 22;
- this.Label11.Text = "Font";
- //
- // CheckBox3
- //
- this.CheckBox3.ForeColor = System.Drawing.Color.Black;
- this.CheckBox3.Location = new System.Drawing.Point(224, 8);
- this.CheckBox3.Name = "CheckBox3";
- this.CheckBox3.Size = new System.Drawing.Size(72, 24);
- this.CheckBox3.TabIndex = 24;
- this.CheckBox3.Text = "Grassetto";
- //
- // GroupBox4
- //
- this.GroupBox4.Controls.Add(this.Label40);
- this.GroupBox4.Controls.Add(this.TextBox29);
- this.GroupBox4.Controls.Add(this.TextBox18);
- this.GroupBox4.Controls.Add(this.Label26);
- this.GroupBox4.Controls.Add(this.DateTimePicker1);
- this.GroupBox4.Controls.Add(this.CheckBox8);
- this.GroupBox4.Controls.Add(this.TextBox9);
- this.GroupBox4.Controls.Add(this.CheckBox7);
- this.GroupBox4.Controls.Add(this.Label4);
- this.GroupBox4.Controls.Add(this.TextBox4);
- this.GroupBox4.Controls.Add(this.Label9);
- this.GroupBox4.Controls.Add(this.Label13);
- this.GroupBox4.Controls.Add(this.ComboBox1);
- this.GroupBox4.Controls.Add(this.ComboBox2);
- this.GroupBox4.Controls.Add(this.Label14);
- this.GroupBox4.Controls.Add(this.TextBox12);
- this.GroupBox4.Controls.Add(this.Label15);
- this.GroupBox4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox4.Location = new System.Drawing.Point(3, 129);
- this.GroupBox4.Name = "GroupBox4";
- this.GroupBox4.Size = new System.Drawing.Size(496, 171);
- this.GroupBox4.TabIndex = 36;
- this.GroupBox4.TabStop = false;
- this.GroupBox4.Text = "Testo da applicare";
- //
- // Label40
- //
- this.Label40.AutoSize = true;
- this.Label40.Location = new System.Drawing.Point(8, 52);
- this.Label40.Name = "Label40";
- this.Label40.Size = new System.Drawing.Size(48, 13);
- this.Label40.TabIndex = 40;
- this.Label40.Text = "Verticale";
- //
- // TextBox29
- //
- this.TextBox29.Location = new System.Drawing.Point(72, 49);
- this.TextBox29.Multiline = true;
- this.TextBox29.Name = "TextBox29";
- this.TextBox29.Size = new System.Drawing.Size(408, 44);
- this.TextBox29.TabIndex = 39;
- //
- // TextBox18
- //
- this.TextBox18.Location = new System.Drawing.Point(232, 147);
- this.TextBox18.Name = "TextBox18";
- this.TextBox18.Size = new System.Drawing.Size(100, 20);
- this.TextBox18.TabIndex = 38;
- //
- // Label26
- //
- this.Label26.AutoSize = true;
- this.Label26.ForeColor = System.Drawing.Color.Black;
- this.Label26.Location = new System.Drawing.Point(344, 147);
- this.Label26.Name = "Label26";
- this.Label26.Size = new System.Drawing.Size(48, 13);
- this.Label26.TabIndex = 37;
- this.Label26.Text = "partenza";
- //
- // DateTimePicker1
- //
- this.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Time;
- this.DateTimePicker1.Location = new System.Drawing.Point(392, 147);
- this.DateTimePicker1.Name = "DateTimePicker1";
- this.DateTimePicker1.Size = new System.Drawing.Size(88, 20);
- this.DateTimePicker1.TabIndex = 36;
- //
- // CheckBox8
- //
- this.CheckBox8.ForeColor = System.Drawing.Color.Black;
- this.CheckBox8.Location = new System.Drawing.Point(72, 147);
- this.CheckBox8.Name = "CheckBox8";
- this.CheckBox8.Size = new System.Drawing.Size(56, 16);
- this.CheckBox8.TabIndex = 35;
- this.CheckBox8.Text = "Orario";
- //
- // TextBox9
- //
- this.TextBox9.Location = new System.Drawing.Point(120, 99);
- this.TextBox9.Name = "TextBox9";
- this.TextBox9.Size = new System.Drawing.Size(56, 20);
- this.TextBox9.TabIndex = 20;
- this.TextBox9.Text = "TextBox9";
- //
- // CheckBox7
- //
- this.CheckBox7.ForeColor = System.Drawing.Color.Black;
- this.CheckBox7.Location = new System.Drawing.Point(136, 147);
- this.CheckBox7.Name = "CheckBox7";
- this.CheckBox7.Size = new System.Drawing.Size(88, 16);
- this.CheckBox7.TabIndex = 34;
- this.CheckBox7.Text = "Tempo gara";
- //
- // Label4
- //
- this.Label4.AutoSize = true;
- this.Label4.ForeColor = System.Drawing.Color.Black;
- this.Label4.Location = new System.Drawing.Point(8, 24);
- this.Label4.Name = "Label4";
- this.Label4.Size = new System.Drawing.Size(59, 13);
- this.Label4.TabIndex = 9;
- this.Label4.Text = "Orizzontale";
- //
- // TextBox4
- //
- this.TextBox4.Location = new System.Drawing.Point(72, 24);
- this.TextBox4.Name = "TextBox4";
- this.TextBox4.Size = new System.Drawing.Size(408, 20);
- this.TextBox4.TabIndex = 8;
- this.TextBox4.Text = "TextBox4";
- //
- // Label9
- //
- this.Label9.AutoSize = true;
- this.Label9.ForeColor = System.Drawing.Color.Black;
- this.Label9.Location = new System.Drawing.Point(8, 99);
- this.Label9.Name = "Label9";
- this.Label9.Size = new System.Drawing.Size(110, 13);
- this.Label9.TabIndex = 19;
- this.Label9.Text = "Trasparenza (0-100%)";
- //
- // Label13
- //
- this.Label13.AutoSize = true;
- this.Label13.ForeColor = System.Drawing.Color.Black;
- this.Label13.Location = new System.Drawing.Point(16, 123);
- this.Label13.Name = "Label13";
- this.Label13.Size = new System.Drawing.Size(52, 13);
- this.Label13.TabIndex = 29;
- this.Label13.Text = "Posizione";
- //
- // ComboBox1
- //
- this.ComboBox1.Location = new System.Drawing.Point(72, 123);
- this.ComboBox1.Name = "ComboBox1";
- this.ComboBox1.Size = new System.Drawing.Size(104, 21);
- this.ComboBox1.TabIndex = 28;
- this.ComboBox1.Text = "ComboBox1";
- //
- // ComboBox2
- //
- this.ComboBox2.Location = new System.Drawing.Point(376, 123);
- this.ComboBox2.Name = "ComboBox2";
- this.ComboBox2.Size = new System.Drawing.Size(104, 21);
- this.ComboBox2.TabIndex = 31;
- this.ComboBox2.Text = "ComboBox2";
- //
- // Label14
- //
- this.Label14.AutoSize = true;
- this.Label14.ForeColor = System.Drawing.Color.Black;
- this.Label14.Location = new System.Drawing.Point(304, 123);
- this.Label14.Name = "Label14";
- this.Label14.Size = new System.Drawing.Size(67, 13);
- this.Label14.TabIndex = 30;
- this.Label14.Text = "Allineamento";
- //
- // TextBox12
- //
- this.TextBox12.Location = new System.Drawing.Point(376, 99);
- this.TextBox12.Name = "TextBox12";
- this.TextBox12.Size = new System.Drawing.Size(104, 20);
- this.TextBox12.TabIndex = 33;
- this.TextBox12.Text = "TextBox12";
- //
- // Label15
- //
- this.Label15.AutoSize = true;
- this.Label15.ForeColor = System.Drawing.Color.Black;
- this.Label15.Location = new System.Drawing.Point(296, 99);
- this.Label15.Name = "Label15";
- this.Label15.Size = new System.Drawing.Size(75, 13);
- this.Label15.TabIndex = 32;
- this.Label15.Text = "Margine (pixel)";
- //
- // TabPage2
- //
- this.TabPage2.Controls.Add(this.GroupBox2);
- this.TabPage2.Location = new System.Drawing.Point(4, 22);
- this.TabPage2.Name = "TabPage2";
- this.TabPage2.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage2.Size = new System.Drawing.Size(513, 351);
- this.TabPage2.TabIndex = 5;
- this.TabPage2.Text = "Foto";
- this.TabPage2.UseVisualStyleBackColor = true;
- //
- // GroupBox2
- //
- this.GroupBox2.Controls.Add(this.Label45);
- this.GroupBox2.Controls.Add(this.TextBox32);
- this.GroupBox2.Controls.Add(this.TextBox26);
- this.GroupBox2.Controls.Add(this.Label37);
- this.GroupBox2.Controls.Add(this.Label38);
- this.GroupBox2.Controls.Add(this.TextBox27);
- this.GroupBox2.Controls.Add(this.Label39);
- this.GroupBox2.Controls.Add(this.TextBox28);
- this.GroupBox2.Controls.Add(this.CheckBox15);
- this.GroupBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox2.Location = new System.Drawing.Point(3, 6);
- this.GroupBox2.Name = "GroupBox2";
- this.GroupBox2.Size = new System.Drawing.Size(304, 156);
- this.GroupBox2.TabIndex = 36;
- this.GroupBox2.TabStop = false;
- this.GroupBox2.Text = "Foto grande";
- //
- // Label45
- //
- this.Label45.AutoSize = true;
- this.Label45.Location = new System.Drawing.Point(11, 86);
- this.Label45.Name = "Label45";
- this.Label45.Size = new System.Drawing.Size(40, 13);
- this.Label45.TabIndex = 22;
- this.Label45.Text = "Qualità ";
- //
- // TextBox32
- //
- this.TextBox32.Location = new System.Drawing.Point(72, 80);
- this.TextBox32.Name = "TextBox32";
- this.TextBox32.Size = new System.Drawing.Size(72, 20);
- this.TextBox32.TabIndex = 21;
- this.TextBox32.Text = "100";
- //
- // TextBox26
- //
- this.TextBox26.Location = new System.Drawing.Point(224, 48);
- this.TextBox26.Name = "TextBox26";
- this.TextBox26.Size = new System.Drawing.Size(56, 20);
- this.TextBox26.TabIndex = 20;
- this.TextBox26.Text = "TextBox26";
- //
- // Label37
- //
- this.Label37.ForeColor = System.Drawing.Color.Black;
- this.Label37.Location = new System.Drawing.Point(168, 48);
- this.Label37.Name = "Label37";
- this.Label37.Size = new System.Drawing.Size(48, 16);
- this.Label37.TabIndex = 19;
- this.Label37.Text = "Suffisso";
- this.Label37.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // Label38
- //
- this.Label38.AutoSize = true;
- this.Label38.ForeColor = System.Drawing.Color.Black;
- this.Label38.Location = new System.Drawing.Point(24, 24);
- this.Label38.Name = "Label38";
- this.Label38.Size = new System.Drawing.Size(41, 13);
- this.Label38.TabIndex = 16;
- this.Label38.Text = "Altezza";
- //
- // TextBox27
- //
- this.TextBox27.Location = new System.Drawing.Point(72, 24);
- this.TextBox27.Name = "TextBox27";
- this.TextBox27.Size = new System.Drawing.Size(72, 20);
- this.TextBox27.TabIndex = 14;
- this.TextBox27.Text = "TextBox27";
- //
- // Label39
- //
- this.Label39.AutoSize = true;
- this.Label39.ForeColor = System.Drawing.Color.Black;
- this.Label39.Location = new System.Drawing.Point(8, 48);
- this.Label39.Name = "Label39";
- this.Label39.Size = new System.Drawing.Size(56, 13);
- this.Label39.TabIndex = 17;
- this.Label39.Text = "Larghezza";
- //
- // TextBox28
- //
- this.TextBox28.Location = new System.Drawing.Point(72, 48);
- this.TextBox28.Name = "TextBox28";
- this.TextBox28.Size = new System.Drawing.Size(72, 20);
- this.TextBox28.TabIndex = 15;
- this.TextBox28.Text = "TextBox28";
- //
- // CheckBox15
- //
- this.CheckBox15.Checked = true;
- this.CheckBox15.CheckState = System.Windows.Forms.CheckState.Checked;
- this.CheckBox15.ForeColor = System.Drawing.Color.Black;
- this.CheckBox15.Location = new System.Drawing.Point(168, 16);
- this.CheckBox15.Name = "CheckBox15";
- this.CheckBox15.Size = new System.Drawing.Size(120, 32);
- this.CheckBox15.TabIndex = 18;
- this.CheckBox15.Text = "Mantieni dimensioni originali";
- //
- // TabPage1
- //
- this.TabPage1.Controls.Add(this.panelMiniature);
- this.TabPage1.Controls.Add(this.CheckBox1);
- this.TabPage1.Location = new System.Drawing.Point(4, 22);
- this.TabPage1.Name = "TabPage1";
- this.TabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage1.Size = new System.Drawing.Size(513, 346);
- this.TabPage1.TabIndex = 0;
- this.TabPage1.Text = "Miniature";
- this.TabPage1.UseVisualStyleBackColor = true;
- //
- // GroupBox1
- //
- this.GroupBox1.Controls.Add(this.Label46);
- this.GroupBox1.Controls.Add(this.TextBox33);
- this.GroupBox1.Controls.Add(this.Panel2);
- this.GroupBox1.Controls.Add(this.Label5);
- this.GroupBox1.Controls.Add(this.TextBox5);
- this.GroupBox1.Controls.Add(this.Label6);
- this.GroupBox1.Controls.Add(this.TextBox6);
- this.GroupBox1.Controls.Add(this.Label3);
- this.GroupBox1.Controls.Add(this.TextBox3);
- this.GroupBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox1.Location = new System.Drawing.Point(3, 3);
- this.GroupBox1.Name = "GroupBox1";
- this.GroupBox1.Size = new System.Drawing.Size(350, 210);
- this.GroupBox1.TabIndex = 25;
- this.GroupBox1.TabStop = false;
- this.GroupBox1.Text = "Miniature";
- //
- // Label46
- //
- this.Label46.AutoSize = true;
- this.Label46.Location = new System.Drawing.Point(198, 43);
- this.Label46.Name = "Label46";
- this.Label46.Size = new System.Drawing.Size(40, 13);
- this.Label46.TabIndex = 21;
- this.Label46.Text = "Qualità ";
- //
- // TextBox33
- //
- this.TextBox33.Location = new System.Drawing.Point(244, 40);
- this.TextBox33.Name = "TextBox33";
- this.TextBox33.Size = new System.Drawing.Size(100, 20);
- this.TextBox33.TabIndex = 20;
- //
- // Panel2
- //
- this.Panel2.Controls.Add(this.RadioButton3);
- this.Panel2.Controls.Add(this.RadioButton7);
- this.Panel2.Controls.Add(this.RadioButton4);
- this.Panel2.Controls.Add(this.RadioButton6);
- this.Panel2.Controls.Add(this.RadioButton5);
- this.Panel2.Location = new System.Drawing.Point(56, 114);
- this.Panel2.Name = "Panel2";
- this.Panel2.Size = new System.Drawing.Size(235, 90);
- this.Panel2.TabIndex = 19;
- //
- // RadioButton3
- //
- this.RadioButton3.AutoSize = true;
- this.RadioButton3.Location = new System.Drawing.Point(15, 16);
- this.RadioButton3.Name = "RadioButton3";
- this.RadioButton3.Size = new System.Drawing.Size(99, 17);
- this.RadioButton3.TabIndex = 14;
- this.RadioButton3.TabStop = true;
- this.RadioButton3.Text = "Aggiungi Scritta";
- this.RadioButton3.UseVisualStyleBackColor = true;
- //
- // RadioButton7
- //
- this.RadioButton7.AutoSize = true;
- this.RadioButton7.Location = new System.Drawing.Point(129, 40);
- this.RadioButton7.Name = "RadioButton7";
- this.RadioButton7.Size = new System.Drawing.Size(95, 17);
- this.RadioButton7.TabIndex = 18;
- this.RadioButton7.TabStop = true;
- this.RadioButton7.Text = "numero+tempo";
- this.RadioButton7.UseVisualStyleBackColor = true;
- //
- // RadioButton4
- //
- this.RadioButton4.AutoSize = true;
- this.RadioButton4.Location = new System.Drawing.Point(15, 40);
- this.RadioButton4.Name = "RadioButton4";
- this.RadioButton4.Size = new System.Drawing.Size(95, 17);
- this.RadioButton4.TabIndex = 15;
- this.RadioButton4.TabStop = true;
- this.RadioButton4.Text = "Aggiungi orario";
- this.RadioButton4.UseVisualStyleBackColor = true;
- //
- // RadioButton6
- //
- this.RadioButton6.AutoSize = true;
- this.RadioButton6.Location = new System.Drawing.Point(129, 16);
- this.RadioButton6.Name = "RadioButton6";
- this.RadioButton6.Size = new System.Drawing.Size(83, 17);
- this.RadioButton6.TabIndex = 17;
- this.RadioButton6.TabStop = true;
- this.RadioButton6.Text = "Numero foto";
- this.RadioButton6.UseVisualStyleBackColor = true;
- //
- // RadioButton5
- //
- this.RadioButton5.AutoSize = true;
- this.RadioButton5.Location = new System.Drawing.Point(15, 65);
- this.RadioButton5.Name = "RadioButton5";
- this.RadioButton5.Size = new System.Drawing.Size(84, 17);
- this.RadioButton5.TabIndex = 16;
- this.RadioButton5.TabStop = true;
- this.RadioButton5.Text = "Tempo Gara";
- this.RadioButton5.UseVisualStyleBackColor = true;
- //
- // Label5
- //
- this.Label5.AutoSize = true;
- this.Label5.ForeColor = System.Drawing.Color.Black;
- this.Label5.Location = new System.Drawing.Point(24, 88);
- this.Label5.Name = "Label5";
- this.Label5.Size = new System.Drawing.Size(41, 13);
- this.Label5.TabIndex = 12;
- this.Label5.Text = "Altezza";
- //
- // TextBox5
- //
- this.TextBox5.Location = new System.Drawing.Point(72, 64);
- this.TextBox5.Name = "TextBox5";
- this.TextBox5.Size = new System.Drawing.Size(88, 20);
- this.TextBox5.TabIndex = 10;
- this.TextBox5.Text = "TextBox5";
- //
- // Label6
- //
- this.Label6.AutoSize = true;
- this.Label6.ForeColor = System.Drawing.Color.Black;
- this.Label6.Location = new System.Drawing.Point(8, 64);
- this.Label6.Name = "Label6";
- this.Label6.Size = new System.Drawing.Size(56, 13);
- this.Label6.TabIndex = 13;
- this.Label6.Text = "Larghezza";
- //
- // TextBox6
- //
- this.TextBox6.Location = new System.Drawing.Point(72, 88);
- this.TextBox6.Name = "TextBox6";
- this.TextBox6.Size = new System.Drawing.Size(88, 20);
- this.TextBox6.TabIndex = 11;
- this.TextBox6.Text = "TextBox6";
- //
- // Label3
- //
- this.Label3.AutoSize = true;
- this.Label3.ForeColor = System.Drawing.Color.Black;
- this.Label3.Location = new System.Drawing.Point(24, 40);
- this.Label3.Name = "Label3";
- this.Label3.Size = new System.Drawing.Size(44, 13);
- this.Label3.TabIndex = 7;
- this.Label3.Text = "Suffisso";
- //
- // TextBox3
- //
- this.TextBox3.Location = new System.Drawing.Point(72, 40);
- this.TextBox3.Name = "TextBox3";
- this.TextBox3.Size = new System.Drawing.Size(88, 20);
- this.TextBox3.TabIndex = 6;
- this.TextBox3.Text = "TextBox3";
- //
- // CheckBox1
- //
- this.CheckBox1.ForeColor = System.Drawing.Color.Black;
- this.CheckBox1.Location = new System.Drawing.Point(6, 7);
- this.CheckBox1.Name = "CheckBox1";
- this.CheckBox1.Size = new System.Drawing.Size(104, 24);
- this.CheckBox1.TabIndex = 5;
- this.CheckBox1.Text = "Crea miniature";
- this.CheckBox1.CheckedChanged += new System.EventHandler(this.CheckBox1_CheckedChanged);
- //
- // TabPage4
- //
- this.TabPage4.Controls.Add(this.GroupBox6);
- this.TabPage4.Location = new System.Drawing.Point(4, 22);
- this.TabPage4.Name = "TabPage4";
- this.TabPage4.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage4.Size = new System.Drawing.Size(513, 351);
- this.TabPage4.TabIndex = 3;
- this.TabPage4.Text = "Logo";
- this.TabPage4.UseVisualStyleBackColor = true;
- //
- // GroupBox6
- //
- this.GroupBox6.Controls.Add(this.PictureBox2);
- this.GroupBox6.Controls.Add(this.PictureBox1);
- this.GroupBox6.Controls.Add(this.ComboBox5);
- this.GroupBox6.Controls.Add(this.ComboBox4);
- this.GroupBox6.Controls.Add(this.TextBox19);
- this.GroupBox6.Controls.Add(this.Label28);
- this.GroupBox6.Controls.Add(this.CheckBox5);
- this.GroupBox6.Controls.Add(this.TextBox15);
- this.GroupBox6.Controls.Add(this.TextBox14);
- this.GroupBox6.Controls.Add(this.Label25);
- this.GroupBox6.Controls.Add(this.TextBox16);
- this.GroupBox6.Controls.Add(this.Label24);
- this.GroupBox6.Controls.Add(this.Label22);
- this.GroupBox6.Controls.Add(this.Label23);
- this.GroupBox6.Controls.Add(this.Button4);
- this.GroupBox6.Controls.Add(this.TextBox10);
- this.GroupBox6.Controls.Add(this.Label29);
- this.GroupBox6.Controls.Add(this.Label30);
- this.GroupBox6.Controls.Add(this.PictureBox3);
- this.GroupBox6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox6.Location = new System.Drawing.Point(6, 6);
- this.GroupBox6.Name = "GroupBox6";
- this.GroupBox6.Size = new System.Drawing.Size(496, 224);
- this.GroupBox6.TabIndex = 42;
- this.GroupBox6.TabStop = false;
- this.GroupBox6.Text = "Logo";
- //
- // PictureBox2
- //
- this.PictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.PictureBox2.Location = new System.Drawing.Point(144, 192);
- this.PictureBox2.Name = "PictureBox2";
- this.PictureBox2.Size = new System.Drawing.Size(24, 24);
- this.PictureBox2.TabIndex = 44;
- this.PictureBox2.TabStop = false;
- this.PictureBox2.Visible = false;
- //
- // PictureBox1
- //
- this.PictureBox1.Cursor = System.Windows.Forms.Cursors.Cross;
- this.PictureBox1.Location = new System.Drawing.Point(256, 56);
- this.PictureBox1.Name = "PictureBox1";
- this.PictureBox1.Size = new System.Drawing.Size(224, 160);
- this.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.PictureBox1.TabIndex = 43;
- this.PictureBox1.TabStop = false;
- //
- // ComboBox5
- //
- this.ComboBox5.Location = new System.Drawing.Point(144, 168);
- this.ComboBox5.Name = "ComboBox5";
- this.ComboBox5.Size = new System.Drawing.Size(96, 21);
- this.ComboBox5.TabIndex = 42;
- this.ComboBox5.Text = "ComboBox5";
- //
- // ComboBox4
- //
- this.ComboBox4.Location = new System.Drawing.Point(144, 144);
- this.ComboBox4.Name = "ComboBox4";
- this.ComboBox4.Size = new System.Drawing.Size(96, 21);
- this.ComboBox4.TabIndex = 41;
- this.ComboBox4.Text = "ComboBox4";
- //
- // TextBox19
- //
- this.TextBox19.Location = new System.Drawing.Point(144, 96);
- this.TextBox19.Name = "TextBox19";
- this.TextBox19.Size = new System.Drawing.Size(96, 20);
- this.TextBox19.TabIndex = 40;
- this.TextBox19.Text = "TextBox19";
- //
- // Label28
- //
- this.Label28.ForeColor = System.Drawing.Color.Black;
- this.Label28.Location = new System.Drawing.Point(17, 97);
- this.Label28.Name = "Label28";
- this.Label28.Size = new System.Drawing.Size(120, 16);
- this.Label28.TabIndex = 39;
- this.Label28.Text = "Trasparenza (0-100%)";
- this.Label28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // CheckBox5
- //
- this.CheckBox5.ForeColor = System.Drawing.Color.Black;
- this.CheckBox5.Location = new System.Drawing.Point(0, 26);
- this.CheckBox5.Name = "CheckBox5";
- this.CheckBox5.Size = new System.Drawing.Size(72, 20);
- this.CheckBox5.TabIndex = 38;
- this.CheckBox5.Text = "Aggiungi";
- //
- // TextBox15
- //
- this.TextBox15.Location = new System.Drawing.Point(144, 72);
- this.TextBox15.Name = "TextBox15";
- this.TextBox15.Size = new System.Drawing.Size(96, 20);
- this.TextBox15.TabIndex = 19;
- this.TextBox15.Text = "TextBox15";
- //
- // TextBox14
- //
- this.TextBox14.Location = new System.Drawing.Point(144, 48);
- this.TextBox14.Name = "TextBox14";
- this.TextBox14.Size = new System.Drawing.Size(96, 20);
- this.TextBox14.TabIndex = 18;
- this.TextBox14.Text = "TextBox14";
- //
- // Label25
- //
- this.Label25.AutoSize = true;
- this.Label25.ForeColor = System.Drawing.Color.Black;
- this.Label25.Location = new System.Drawing.Point(17, 168);
- this.Label25.Name = "Label25";
- this.Label25.Size = new System.Drawing.Size(95, 13);
- this.Label25.TabIndex = 36;
- this.Label25.Text = "Posizione verticale";
- this.Label25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // TextBox16
- //
- this.TextBox16.Location = new System.Drawing.Point(144, 120);
- this.TextBox16.Name = "TextBox16";
- this.TextBox16.Size = new System.Drawing.Size(96, 20);
- this.TextBox16.TabIndex = 35;
- this.TextBox16.Text = "TextBox16";
- //
- // Label24
- //
- this.Label24.AutoSize = true;
- this.Label24.ForeColor = System.Drawing.Color.Black;
- this.Label24.Location = new System.Drawing.Point(19, 123);
- this.Label24.Name = "Label24";
- this.Label24.Size = new System.Drawing.Size(88, 13);
- this.Label24.TabIndex = 34;
- this.Label24.Text = "Margine (pixel/%)";
- this.Label24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label22
- //
- this.Label22.AutoSize = true;
- this.Label22.ForeColor = System.Drawing.Color.Black;
- this.Label22.Location = new System.Drawing.Point(19, 51);
- this.Label22.Name = "Label22";
- this.Label22.Size = new System.Drawing.Size(41, 13);
- this.Label22.TabIndex = 20;
- this.Label22.Text = "Altezza";
- this.Label22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label23
- //
- this.Label23.AutoSize = true;
- this.Label23.ForeColor = System.Drawing.Color.Black;
- this.Label23.Location = new System.Drawing.Point(19, 75);
- this.Label23.Name = "Label23";
- this.Label23.Size = new System.Drawing.Size(56, 13);
- this.Label23.TabIndex = 21;
- this.Label23.Text = "Larghezza";
- this.Label23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Button4
- //
- this.Button4.Location = new System.Drawing.Point(464, 24);
- this.Button4.Name = "Button4";
- this.Button4.Size = new System.Drawing.Size(24, 20);
- this.Button4.TabIndex = 8;
- this.Button4.Text = "...";
- //
- // TextBox10
- //
- this.TextBox10.Location = new System.Drawing.Point(144, 24);
- this.TextBox10.Name = "TextBox10";
- this.TextBox10.Size = new System.Drawing.Size(312, 20);
- this.TextBox10.TabIndex = 6;
- this.TextBox10.Text = "TextBox10";
- //
- // Label29
- //
- this.Label29.AutoSize = true;
- this.Label29.ForeColor = System.Drawing.Color.Black;
- this.Label29.Location = new System.Drawing.Point(17, 147);
- this.Label29.Name = "Label29";
- this.Label29.Size = new System.Drawing.Size(105, 13);
- this.Label29.TabIndex = 36;
- this.Label29.Text = "Posizione orizzontale";
- this.Label29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label30
- //
- this.Label30.AutoSize = true;
- this.Label30.ForeColor = System.Drawing.Color.Black;
- this.Label30.Location = new System.Drawing.Point(19, 203);
- this.Label30.Name = "Label30";
- this.Label30.Size = new System.Drawing.Size(93, 13);
- this.Label30.TabIndex = 36;
- this.Label30.Text = "Colore trasparente";
- this.Label30.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.Label30.Visible = false;
- //
- // PictureBox3
- //
- this.PictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.PictureBox3.Location = new System.Drawing.Point(216, 192);
- this.PictureBox3.Name = "PictureBox3";
- this.PictureBox3.Size = new System.Drawing.Size(24, 24);
- this.PictureBox3.TabIndex = 44;
- this.PictureBox3.TabStop = false;
- this.PictureBox3.Visible = false;
- //
- // Label20
- //
- this.Label20.AutoSize = true;
- this.Label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label20.Location = new System.Drawing.Point(6, 301);
- this.Label20.Name = "Label20";
- this.Label20.Size = new System.Drawing.Size(104, 16);
- this.Label20.TabIndex = 74;
- this.Label20.Text = "foto generate:";
- //
- // Label19
- //
- this.Label19.AutoSize = true;
- this.Label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label19.Location = new System.Drawing.Point(6, 282);
- this.Label19.Name = "Label19";
- this.Label19.Size = new System.Drawing.Size(80, 16);
- this.Label19.TabIndex = 73;
- this.Label19.Text = "foto totali: ";
- //
- // Label18
- //
- this.Label18.AutoSize = true;
- this.Label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label18.Location = new System.Drawing.Point(110, 301);
- this.Label18.Name = "Label18";
- this.Label18.Size = new System.Drawing.Size(19, 20);
- this.Label18.TabIndex = 72;
- this.Label18.Text = "0";
- //
- // lblFotoTotaliNum
- //
- this.lblFotoTotaliNum.AutoSize = true;
- this.lblFotoTotaliNum.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.lblFotoTotaliNum.Location = new System.Drawing.Point(110, 282);
- this.lblFotoTotaliNum.Name = "lblFotoTotaliNum";
- this.lblFotoTotaliNum.Size = new System.Drawing.Size(19, 20);
- this.lblFotoTotaliNum.TabIndex = 71;
- this.lblFotoTotaliNum.Text = "0";
- //
- // menuStrip1
- //
- this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.fileToolStripMenuItem,
- this.aiutoToolStripMenuItem});
- this.menuStrip1.Location = new System.Drawing.Point(0, 0);
- this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Size = new System.Drawing.Size(756, 24);
- this.menuStrip1.TabIndex = 82;
- this.menuStrip1.Text = "menuStrip1";
- //
- // fileToolStripMenuItem
- //
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.caricaImpostazioniToolStripMenuItem,
- this.salvaImpostazioniToolStripMenuItem,
- this.creaCatalogoToolStripMenuItem,
- this.esciToolStripMenuItem});
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
- this.fileToolStripMenuItem.Text = "File";
- //
- // caricaImpostazioniToolStripMenuItem
- //
- this.caricaImpostazioniToolStripMenuItem.Name = "caricaImpostazioniToolStripMenuItem";
- this.caricaImpostazioniToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
- this.caricaImpostazioniToolStripMenuItem.Text = "Carica impostazioni...";
- this.caricaImpostazioniToolStripMenuItem.Click += new System.EventHandler(this.caricaImpostazioniToolStripMenuItem_Click);
- //
- // salvaImpostazioniToolStripMenuItem
- //
- this.salvaImpostazioniToolStripMenuItem.Name = "salvaImpostazioniToolStripMenuItem";
- this.salvaImpostazioniToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
- this.salvaImpostazioniToolStripMenuItem.Text = "Salva impostazioni...";
- //
- // creaCatalogoToolStripMenuItem
- //
- this.creaCatalogoToolStripMenuItem.Name = "creaCatalogoToolStripMenuItem";
- this.creaCatalogoToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
- this.creaCatalogoToolStripMenuItem.Text = "Crea catalogo";
- //
- // esciToolStripMenuItem
- //
- this.esciToolStripMenuItem.Name = "esciToolStripMenuItem";
- this.esciToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
- this.esciToolStripMenuItem.Text = "Esci";
- //
- // aiutoToolStripMenuItem
- //
- this.aiutoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.informazioniToolStripMenuItem});
- this.aiutoToolStripMenuItem.Name = "aiutoToolStripMenuItem";
- this.aiutoToolStripMenuItem.Size = new System.Drawing.Size(48, 20);
- this.aiutoToolStripMenuItem.Text = "Aiuto";
- //
- // informazioniToolStripMenuItem
- //
- this.informazioniToolStripMenuItem.Name = "informazioniToolStripMenuItem";
- this.informazioniToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
- this.informazioniToolStripMenuItem.Text = "Informazioni";
- this.informazioniToolStripMenuItem.Click += new System.EventHandler(this.informazioniToolStripMenuItem_Click);
- //
- // groupBox12
- //
- this.groupBox12.Controls.Add(this.txtFileInfo);
- this.groupBox12.Controls.Add(this.lblLog);
- this.groupBox12.Controls.Add(this.btnStopCreazione);
- this.groupBox12.Controls.Add(this.lblFotoTotaliNum);
- this.groupBox12.Controls.Add(this.CheckBox22);
- this.groupBox12.Controls.Add(this.Label18);
- this.groupBox12.Controls.Add(this.Label43);
- this.groupBox12.Controls.Add(this.Label19);
- this.groupBox12.Controls.Add(this.Label20);
- this.groupBox12.Location = new System.Drawing.Point(539, 27);
- this.groupBox12.Name = "groupBox12";
- this.groupBox12.Size = new System.Drawing.Size(204, 387);
- this.groupBox12.TabIndex = 83;
- this.groupBox12.TabStop = false;
- this.groupBox12.Text = "Statistiche";
- //
- // btnStopCreazione
- //
- this.btnStopCreazione.Location = new System.Drawing.Point(6, 20);
- this.btnStopCreazione.Name = "btnStopCreazione";
- this.btnStopCreazione.Size = new System.Drawing.Size(192, 40);
- this.btnStopCreazione.TabIndex = 82;
- this.btnStopCreazione.Text = "STOP CREAZIONE";
- this.btnStopCreazione.UseVisualStyleBackColor = true;
- this.btnStopCreazione.Click += new System.EventHandler(this.btnStopCreazione_Click);
- //
- // lblLog
- //
- this.lblLog.FormattingEnabled = true;
- this.lblLog.Location = new System.Drawing.Point(6, 68);
- this.lblLog.Name = "lblLog";
- this.lblLog.Size = new System.Drawing.Size(192, 95);
- this.lblLog.TabIndex = 83;
- //
- // txtFileInfo
- //
- this.txtFileInfo.Enabled = false;
- this.txtFileInfo.Location = new System.Drawing.Point(6, 170);
- this.txtFileInfo.Multiline = true;
- this.txtFileInfo.Name = "txtFileInfo";
- this.txtFileInfo.Size = new System.Drawing.Size(192, 109);
- this.txtFileInfo.TabIndex = 84;
- //
- // panelTesto
- //
- this.panelTesto.Controls.Add(this.GroupBox5);
- this.panelTesto.Controls.Add(this.GroupBox10);
- this.panelTesto.Controls.Add(this.GroupBox9);
- this.panelTesto.Controls.Add(this.GroupBox4);
- this.panelTesto.Location = new System.Drawing.Point(3, 28);
- this.panelTesto.Name = "panelTesto";
- this.panelTesto.Size = new System.Drawing.Size(504, 312);
- this.panelTesto.TabIndex = 85;
- //
- // panelMiniature
- //
- this.panelMiniature.Controls.Add(this.GroupBox1);
- this.panelMiniature.Location = new System.Drawing.Point(6, 36);
- this.panelMiniature.Name = "panelMiniature";
- this.panelMiniature.Size = new System.Drawing.Size(501, 304);
- this.panelMiniature.TabIndex = 27;
- //
- // MainForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(756, 427);
- this.Controls.Add(this.groupBox12);
- this.Controls.Add(this.TabControl1);
- this.Controls.Add(this.menuStrip1);
- this.Controls.Add(this.ProgressBar1);
- this.MainMenuStrip = this.menuStrip1;
- this.Name = "MainForm";
- this.Text = "Form1";
- this.Load += new System.EventHandler(this.Form1_Load);
- this.TabControl1.ResumeLayout(false);
- this.TabPage5.ResumeLayout(false);
- this.GroupBox11.ResumeLayout(false);
- this.GroupBox11.PerformLayout();
- this.GroupBox3.ResumeLayout(false);
- this.GroupBox3.PerformLayout();
- this.GroupBox8.ResumeLayout(false);
- this.GroupBox8.PerformLayout();
- this.GroupBox7.ResumeLayout(false);
- this.GroupBox7.PerformLayout();
- this.TabPage3.ResumeLayout(false);
- this.TabPage3.PerformLayout();
- this.GroupBox10.ResumeLayout(false);
- this.GroupBox10.PerformLayout();
- this.GroupBox9.ResumeLayout(false);
- this.GroupBox9.PerformLayout();
- this.GroupBox5.ResumeLayout(false);
- this.GroupBox5.PerformLayout();
- this.GroupBox4.ResumeLayout(false);
- this.GroupBox4.PerformLayout();
- this.TabPage2.ResumeLayout(false);
- this.GroupBox2.ResumeLayout(false);
- this.GroupBox2.PerformLayout();
- this.TabPage1.ResumeLayout(false);
- this.GroupBox1.ResumeLayout(false);
- this.GroupBox1.PerformLayout();
- this.Panel2.ResumeLayout(false);
- this.Panel2.PerformLayout();
- this.TabPage4.ResumeLayout(false);
- this.GroupBox6.ResumeLayout(false);
- this.GroupBox6.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).EndInit();
- this.menuStrip1.ResumeLayout(false);
- this.menuStrip1.PerformLayout();
- this.groupBox12.ResumeLayout(false);
- this.groupBox12.PerformLayout();
- this.panelTesto.ResumeLayout(false);
- this.panelMiniature.ResumeLayout(false);
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- internal System.Windows.Forms.ProgressBar ProgressBar1;
- internal System.Windows.Forms.CheckBox CheckBox22;
- internal System.Windows.Forms.Label Label43;
- internal System.Windows.Forms.TabControl TabControl1;
- internal System.Windows.Forms.TabPage TabPage5;
- internal System.Windows.Forms.GroupBox GroupBox11;
- internal System.Windows.Forms.Label Label8;
- internal System.Windows.Forms.TextBox TextBox8;
- internal System.Windows.Forms.Label Label7;
- internal System.Windows.Forms.TextBox TextBox7;
- internal System.Windows.Forms.GroupBox GroupBox3;
- internal System.Windows.Forms.CheckBox chkAggiornaSottodirectory;
- internal System.Windows.Forms.Button Button3;
- internal System.Windows.Forms.Button Button2;
- internal System.Windows.Forms.Label Label1;
- internal System.Windows.Forms.Label Label2;
- internal System.Windows.Forms.TextBox txtSorgente;
- internal System.Windows.Forms.TextBox txtDestinazione;
- internal System.Windows.Forms.GroupBox GroupBox8;
- internal System.Windows.Forms.RadioButton rdbNumFiles;
- internal System.Windows.Forms.RadioButton rdbNumProgressiva;
- internal System.Windows.Forms.TextBox txtCifreContatore;
- internal System.Windows.Forms.Label Label34;
- internal System.Windows.Forms.TextBox txtSuffissoCartelle;
- internal System.Windows.Forms.Label Label33;
- internal System.Windows.Forms.Label Label31;
- internal System.Windows.Forms.CheckBox chkCreaSottocartelle;
- internal System.Windows.Forms.TextBox txtFilePerCartella;
- internal System.Windows.Forms.Label Label32;
- internal System.Windows.Forms.GroupBox GroupBox7;
- internal System.Windows.Forms.CheckBox chkSovrascriviFile;
- internal System.Windows.Forms.CheckBox chkRotazioneAutomatica;
- internal System.Windows.Forms.CheckBox chkForzaJpg;
- internal System.Windows.Forms.TabPage TabPage3;
- internal System.Windows.Forms.CheckBox CheckBox2;
- internal System.Windows.Forms.GroupBox GroupBox10;
- internal System.Windows.Forms.Label Label42;
- internal System.Windows.Forms.Label Label41;
- internal System.Windows.Forms.TextBox TextBox31;
- internal System.Windows.Forms.TextBox TextBox30;
- internal System.Windows.Forms.GroupBox GroupBox9;
- internal System.Windows.Forms.CheckBox CheckBox17;
- internal System.Windows.Forms.CheckBox CheckBox16;
- internal System.Windows.Forms.GroupBox GroupBox5;
- internal System.Windows.Forms.TextBox TextBox34;
- internal System.Windows.Forms.Button Button8;
- internal System.Windows.Forms.Label Label36;
- internal System.Windows.Forms.TextBox TextBox25;
- internal System.Windows.Forms.Label Label35;
- internal System.Windows.Forms.ComboBox ComboBox3;
- internal System.Windows.Forms.TextBox TextBox11;
- internal System.Windows.Forms.Label Label12;
- internal System.Windows.Forms.Label Label11;
- internal System.Windows.Forms.CheckBox CheckBox3;
- internal System.Windows.Forms.GroupBox GroupBox4;
- internal System.Windows.Forms.Label Label40;
- internal System.Windows.Forms.TextBox TextBox29;
- internal System.Windows.Forms.TextBox TextBox18;
- internal System.Windows.Forms.Label Label26;
- internal System.Windows.Forms.DateTimePicker DateTimePicker1;
- internal System.Windows.Forms.CheckBox CheckBox8;
- internal System.Windows.Forms.TextBox TextBox9;
- internal System.Windows.Forms.CheckBox CheckBox7;
- internal System.Windows.Forms.Label Label4;
- internal System.Windows.Forms.TextBox TextBox4;
- internal System.Windows.Forms.Label Label9;
- internal System.Windows.Forms.Label Label13;
- internal System.Windows.Forms.ComboBox ComboBox1;
- internal System.Windows.Forms.ComboBox ComboBox2;
- internal System.Windows.Forms.Label Label14;
- internal System.Windows.Forms.TextBox TextBox12;
- internal System.Windows.Forms.Label Label15;
- internal System.Windows.Forms.TabPage TabPage2;
- internal System.Windows.Forms.GroupBox GroupBox2;
- internal System.Windows.Forms.Label Label45;
- internal System.Windows.Forms.TextBox TextBox32;
- internal System.Windows.Forms.TextBox TextBox26;
- internal System.Windows.Forms.Label Label37;
- internal System.Windows.Forms.Label Label38;
- internal System.Windows.Forms.TextBox TextBox27;
- internal System.Windows.Forms.Label Label39;
- internal System.Windows.Forms.TextBox TextBox28;
- internal System.Windows.Forms.CheckBox CheckBox15;
- internal System.Windows.Forms.TabPage TabPage1;
- internal System.Windows.Forms.GroupBox GroupBox1;
- internal System.Windows.Forms.Label Label46;
- internal System.Windows.Forms.TextBox TextBox33;
- internal System.Windows.Forms.Panel Panel2;
- internal System.Windows.Forms.RadioButton RadioButton3;
- internal System.Windows.Forms.RadioButton RadioButton7;
- internal System.Windows.Forms.RadioButton RadioButton4;
- internal System.Windows.Forms.RadioButton RadioButton6;
- internal System.Windows.Forms.RadioButton RadioButton5;
- internal System.Windows.Forms.Label Label5;
- internal System.Windows.Forms.TextBox TextBox5;
- internal System.Windows.Forms.Label Label6;
- internal System.Windows.Forms.TextBox TextBox6;
- internal System.Windows.Forms.Label Label3;
- internal System.Windows.Forms.TextBox TextBox3;
- internal System.Windows.Forms.CheckBox CheckBox1;
- internal System.Windows.Forms.TabPage TabPage4;
- internal System.Windows.Forms.GroupBox GroupBox6;
- internal System.Windows.Forms.PictureBox PictureBox2;
- internal System.Windows.Forms.PictureBox PictureBox1;
- internal System.Windows.Forms.ComboBox ComboBox5;
- internal System.Windows.Forms.ComboBox ComboBox4;
- internal System.Windows.Forms.TextBox TextBox19;
- internal System.Windows.Forms.Label Label28;
- internal System.Windows.Forms.CheckBox CheckBox5;
- internal System.Windows.Forms.TextBox TextBox15;
- internal System.Windows.Forms.TextBox TextBox14;
- internal System.Windows.Forms.Label Label25;
- internal System.Windows.Forms.TextBox TextBox16;
- internal System.Windows.Forms.Label Label24;
- internal System.Windows.Forms.Label Label22;
- internal System.Windows.Forms.Label Label23;
- internal System.Windows.Forms.Button Button4;
- internal System.Windows.Forms.TextBox TextBox10;
- internal System.Windows.Forms.Label Label29;
- internal System.Windows.Forms.Label Label30;
- internal System.Windows.Forms.PictureBox PictureBox3;
- internal System.Windows.Forms.Label Label20;
- internal System.Windows.Forms.Label Label19;
- internal System.Windows.Forms.Label Label18;
- internal System.Windows.Forms.Label lblFotoTotaliNum;
- private System.Windows.Forms.MenuStrip menuStrip1;
- private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem caricaImpostazioniToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem salvaImpostazioniToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem creaCatalogoToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem aiutoToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem informazioniToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem esciToolStripMenuItem;
- private System.Windows.Forms.GroupBox groupBox12;
- private System.Windows.Forms.Button btnStopCreazione;
- private System.Windows.Forms.ListBox lblLog;
- private System.Windows.Forms.TextBox txtFileInfo;
- private System.Windows.Forms.Panel panelTesto;
- private System.Windows.Forms.Panel panelMiniature;
-
- }
-}
-
diff --git a/ImageCatalogCS/MainForm.cs b/ImageCatalogCS/MainForm.cs
deleted file mode 100644
index c11509f..0000000
--- a/ImageCatalogCS/MainForm.cs
+++ /dev/null
@@ -1,548 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using System.IO;
-using System.Drawing.Text;
-using System.Threading;
-
-public delegate void XyThreadAdd(string Info);
-
-namespace ImageCatalogCS
-{
- public partial class MainForm : Form
- {
- private bool stopAttivo;
- private bool waterSelectColor = false;
-
- //pool
- private XYThreadPool myPool = new XYThreadPool();
-
- private int contaImmaginiThread;
-
- private int maxThreads = 15;
- private int minThreads = 5;
-
- public MainForm()
- {
- InitializeComponent();
- }
-
- private void setDefaults()
- {
- txtSorgente.Text = "";
- txtDestinazione.Text = "";
- TextBox3.Text = "tn_";
- TextBox4.Text = "";
- TextBox5.Text = "350";
- TextBox6.Text = "350";
- TextBox27.Text = "2240";
- TextBox28.Text = "2240";
- TextBox9.Text = "0";
- TextBox11.Text = "20";
- TextBox12.Text = "8";
- //TextBox13.Text = ""
- TextBox10.Text = "";
- TextBox14.Text = "430";
- TextBox15.Text = "430";
- TextBox16.Text = "290";
- txtFilePerCartella.Text = "99";
- TextBox19.Text = "100";
- txtSuffissoCartelle.Text = "";
- txtCifreContatore.Text = "2";
- TextBox25.Text = "50";
- TextBox26.Text = "";
- TextBox7.Text = Convert.ToString(15);
- TextBox8.Text = Convert.ToString(5);
- TextBox34.Text = "Yellow";
- TextBox30.Text = "20";
- TextBox31.Text = "6";
- TextBox32.Text = "85";
- TextBox33.Text = "30";
-
-
- ComboBox1.Items.Add("Alto");
- ComboBox1.Items.Add("Basso");
- ComboBox1.SelectedIndex = 1;
-
- ComboBox2.Items.Add("Sinistra");
- ComboBox2.Items.Add("Centro");
- ComboBox2.Items.Add("Destra");
- ComboBox2.SelectedIndex = 1;
-
- // Create a obejct of InstalledFontCollection
- InstalledFontCollection InstalledFonts = new InstalledFontCollection();
- // Gets the array of FontFamily objects associated with this FontCollection.
- FontFamily[] fontfamilies = InstalledFonts.Families;
-
- // Populates font combobox with the font name
-
- foreach (FontFamily fontFamily in fontfamilies)
- {
- ComboBox3.Items.Add(fontFamily.Name);
- }
-
- ComboBox3.Text = ComboBox3.Items[0].ToString();
-
- ComboBox4.Items.Add("Sinistra");
- ComboBox4.Items.Add("Centro");
- ComboBox4.Items.Add("Destra");
- ComboBox4.SelectedIndex = 2;
-
- ComboBox5.Items.Add("Alto");
- ComboBox5.Items.Add("Centro");
- ComboBox5.Items.Add("Basso");
- ComboBox5.SelectedIndex = 2;
- }
-
- private void Form1_Load(object sender, EventArgs e)
- {
- Application.EnableVisualStyles();
- setDefaults();
- }
-
- private void btnCreaCatalogo_Click(object sender, EventArgs e)
- {
- DateTime timestart;
- DateTime timeStop;
-
- timestart = DateTime.Now;
-
- txtFileInfo.Text = string.Empty;
- lblFotoTotaliNum.Text = "0";
- Label18.Text = "0";
- Label43.Text = "-s";
-
- maxThreads = Convert.ToInt32(TextBox7.Text);
- minThreads = Convert.ToInt32(TextBox18.Text);
-
- //setPicSettings(txtSorgente.Text, txtDestinazione.Text);
- makeSettingsFromForm();
- ProgressBar1.Minimum = 0;
- ProgressBar1.Step = 1;
- ProgressBar1.Value = 0;
-
- System.Threading.Thread t1 = new System.Threading.Thread(creaCatalogoThread);
-
-
- }
-
- private void creaCatalogoThread()
-{
- System.DateTime timeStart = DateTime.Now;
- myPool.StopThreadPool();
- myPool.StartThreadPool(minThreads, maxThreads);
- contaImmaginiThread = 0;
-
- //creaImmaginiWithThreadMod(txtSorgente.Text, txtDestinazione.Text)
- //creaimmaginiWithThreadDict(txtSorgente.Text, txtDestinazione.Text);
- ThreadPoolWorkItem ThAttivo = null;
- //int i = 0;
-
- // fine
-
-
-}
-
- private int getNumerazione()
- {
- int numerazione = 0;
- if (rdbNumProgressiva.Checked)
- {
- numerazione = (int)FileHelper.numerazione.Progressiva;
- }
- else
- {
- numerazione = (int)FileHelper.numerazione.Files;
- }
- return numerazione;
- }
-
- private void creaimmaginiWithThreadDict(string SourcePath, string DestPath)
-{
- Dictionary dirSourceDest = new Dictionary();
-
- if (chkAggiornaSottodirectory.Checked & chkCreaSottocartelle.Checked) {
- FileHelper helper = new FileHelper(Convert.ToInt32(txtFilePerCartella.Text), txtSuffissoCartelle.Text, Convert.ToInt32(txtCifreContatore.Text), getNumerazione());
- //getfilesrecursive
- dirSourceDest = helper.GetFilesRecursive(new DirectoryInfo(SourcePath), new DirectoryInfo(DestPath), "*.jpg");
-
- } else if (chkAggiornaSottodirectory.Checked & !chkCreaSottocartelle.Checked) {
-
- }
- //else if ()
-
- //= getDirsDict(SourcePath, DestPath)
-
- KeyValuePair pair = default(KeyValuePair);
-
- foreach (KeyValuePair pair_loopVariable in dirSourceDest) {
- pair = pair_loopVariable;
- //setLabel10Text("File: " + pair.Key.Name);
- string b = (Convert.ToInt32(Label18.Text) + 1).ToString();
-
- ImageCreator ClsCreaImmagine = new ImageCreator(pair.Key, pair.Value);
- contaImmaginiThread += 1;
- myPool.InsertWorkItem(pair.Key.Name, new XyThreadAdd(ClsCreaImmagine.CreaImmagineThread), new object[1] { pair.Key.Name }, true);
-
- }
-
-}
-
- private Dictionary makeSettingsFromForm()
- {
- Dictionary settingsDict = new Dictionary();
- settingsDict.Add("sourceDirRoot", new DirectoryInfo(txtSorgente.Text));
- settingsDict.Add("destDirRoot", new DirectoryInfo(txtDestinazione.Text));
-
- settingsDict.Add("DirDividiDestinazione", chkCreaSottocartelle.Checked);
- settingsDict.Add("DirDividiNumFile", txtFilePerCartella.Text);
- settingsDict.Add("DirDividiSuffisso", txtSuffissoCartelle.Text);
- settingsDict.Add("DirDividiNumCifre", txtCifreContatore.Text);
-
- settingsDict.Add("DirDividiTipoNumerazione", rdbNumProgressiva.Checked ? "Progressiva" : "Files");
-
- // if (rdbNumProgressiva.Checked)
- // settingsDict.Add("DirDividiTipoNumerazione", "Progressiva");
- //else
- // settingsDict.Add("DirDividiTipoNumerazione", "Files");
-
- // Checkbox
- settingsDict.Add("creaMiniature", CheckBox1.Checked);
- settingsDict.Add("aggiungiTesto", CheckBox2.Checked);
- settingsDict.Add("grassetto", CheckBox3.Checked);
- settingsDict.Add("logoAggiungi", CheckBox5.Checked);
- settingsDict.Add("usaOrarioTestoApplicare", CheckBox8.Checked);
- //settingsDict.Add("usaOrarioMiniatura", CheckBox12.Checked);
- settingsDict.Add("fotoGrandeDimOrigina", CheckBox15.Checked);
-
- settingsDict.Add("dimStandard", Convert.ToInt32(TextBox11.Text));
- settingsDict.Add("dimStandardMiniatura", Convert.ToInt32(TextBox25.Text));
-
-
-
-
- settingsDict.Add("usaRotazioneAutomatica", chkRotazioneAutomatica.Checked);
- settingsDict.Add("usaForzaJpg", chkForzaJpg.Checked);
-
- settingsDict.Add("testoNome", CheckBox17.Checked);
- settingsDict.Add("nomeData", CheckBox16.Checked);
-
- settingsDict.Add("testoFirmaStart", TextBox4.Text);
- settingsDict.Add("testoFirmaStartV", TextBox29.Text);
-
- settingsDict.Add("dataPartenza", DateTimePicker1.Value);
- settingsDict.Add("testoOrario", TextBox18.Text);
-
- settingsDict.Add("altezzaSmall", Convert.ToInt32(TextBox6.Text));
- settingsDict.Add("larghezzaSmall", Convert.ToInt32(TextBox5.Text));
-
-
- settingsDict.Add("aggiungiScritteMiniature", RadioButton3.Checked);
- settingsDict.Add("aggTempoGaraMin", RadioButton5.Checked);
- settingsDict.Add("aggNumTempMin", RadioButton7.Checked);
-
- settingsDict.Add("dimVert", Convert.ToUInt32(TextBox30.Text));
- settingsDict.Add("margVert", Convert.ToInt32(TextBox31.Text));
-
- settingsDict.Add("suffisso", TextBox3.Text);
- settingsDict.Add("trasparenza", Convert.ToInt32(TextBox9.Text));
- settingsDict.Add("ilFont", ComboBox3.SelectedItem.ToString());
-
-
- settingsDict.Add("posizione", ComboBox1.SelectedItem.ToString());
- settingsDict.Add("allineamento", ComboBox2.SelectedItem.ToString());
- settingsDict.Add("margine", Convert.ToInt32(TextBox12.Text));
-
- settingsDict.Add("logoAltezza", Convert.ToInt32(TextBox14.Text));
- settingsDict.Add("logoLarghezza", Convert.ToInt32(TextBox15.Text));
-
- settingsDict.Add("fontColoreRGB", ColorTranslator.FromHtml(TextBox34.Text));
-
-
- settingsDict.Add("logoNomeFile", TextBox10.Text);
- settingsDict.Add("logoTrasparenza", TextBox19.Text);
- settingsDict.Add("logoMargine", TextBox16.Text);
- settingsDict.Add("logoPosizioneH", ComboBox4.Text);
- settingsDict.Add("logoPosizioneV", ComboBox5.Text);
-
-
- settingsDict.Add("altezzaBig", Convert.ToInt32(TextBox27.Text));
- settingsDict.Add("larghezzaBig", Convert.ToInt32(TextBox28.Text));
- settingsDict.Add("dimMin", Convert.ToInt32(TextBox25.Text));
-
- settingsDict.Add("testoMin", RadioButton6.Checked);
-
- settingsDict.Add("jpegQuality", Convert.ToInt32(TextBox32.Text));
- settingsDict.Add("jpegQualityMin", Convert.ToInt32(TextBox33.Text));
-
- return settingsDict;
- }
-
- private void setPicSettings(string SourcePath, string DestPath)
- {
- DirectoryInfo SourceDir = new DirectoryInfo(SourcePath);
- DirectoryInfo DestDirStart = new DirectoryInfo(DestPath);
- DirectoryInfo DestDir = null;
-
- PicSettings.directorySorgente = txtSorgente.Text;
- PicSettings.directoryDestinazione = txtDestinazione.Text;
-
-
- PicSettings.dimStandard = Convert.ToInt32(TextBox11.Text);
- PicSettings.dimStandardMiniatura = Convert.ToInt32(TextBox25.Text);
-
- //PicSettings.UsaOrarioMiniatura = CheckBox12.Checked;
- PicSettings.UsaOrarioTestoApplicare = CheckBox8.Checked;
- PicSettings.UsaTempoGaraTestoApplicare = CheckBox7.Checked;
-
- PicSettings.UsaRotazioneAutomatica = chkRotazioneAutomatica.Checked;
- PicSettings.UsaForzaJpg = chkForzaJpg.Checked;
-
- if (CheckBox17.Checked)
- {
- PicSettings.TestoNome = true;
- }
- else
- {
- PicSettings.TestoNome = false;
-
- }
-
- if (CheckBox16.Checked)
- {
- PicSettings.NomeData = true;
- }
- else
- {
- PicSettings.NomeData = false;
- }
- PicSettings.TestoFirmaStart = TextBox4.Text;
- PicSettings.TestoFirmaStartV = TextBox29.Text;
-
- PicSettings.DataPartenza = DateTimePicker1.Value;
- PicSettings.TestoOrario = TextBox18.Text;
-
- PicSettings.AltezzaSmall = Convert.ToInt32(TextBox6.Text);
- PicSettings.LarghezzaSmall = Convert.ToInt32(TextBox5.Text);
-
- PicSettings.CreaMiniature = CheckBox1.Checked;
- PicSettings.AggiungiScritteMiniature = RadioButton3.Checked;
- PicSettings.AggTempoGaraMin = RadioButton5.Checked;
- PicSettings.AggNumTempMin = RadioButton7.Checked;
-
-
- PicSettings.dimVert = Convert.ToInt32(TextBox30.Text);
- PicSettings.margVert = Convert.ToInt32(TextBox31.Text);
-
- //PicSettings.NomeFileChild = childFile.Name
- PicSettings.Suffisso = TextBox3.Text;
- //PicSettings.Codice = TextBox13.Text
-
- PicSettings.Trasparenza = Convert.ToInt32(TextBox9.Text);
- PicSettings.IlFont = ComboBox3.SelectedItem.ToString();
- PicSettings.Grassetto = CheckBox3.Checked;
-
- PicSettings.Posizione = ComboBox1.SelectedItem.ToString();
- PicSettings.Allineamento = ComboBox2.SelectedItem.ToString();
- PicSettings.Margine = Convert.ToInt32(TextBox12.Text);
-
- PicSettings.LogoAltezza = Convert.ToInt32(TextBox14.Text);
- PicSettings.LogoLarghezza = Convert.ToInt32(TextBox15.Text);
-
- PicSettings.fontColoreRGB = ColorTranslator.FromHtml(TextBox34.Text);
-
- PicSettings.LogoAggiungi = CheckBox5.Checked;
- PicSettings.LogoNomeFile = TextBox10.Text;
- PicSettings.LogoTrasparenza = TextBox19.Text;
- PicSettings.LogoMargine = TextBox16.Text;
- PicSettings.LogoPosizioneH = ComboBox4.Text;
- PicSettings.LogoPosizioneV = ComboBox5.Text;
-
- PicSettings.FotoGrandeDimOrigina = CheckBox15.Checked;
- PicSettings.AltezzaBig = Convert.ToInt32(TextBox27.Text);
- PicSettings.LarghezzaBig = Convert.ToInt32(TextBox28.Text);
- PicSettings.DimMin = Convert.ToInt32(TextBox25.Text);
-
- PicSettings.TestoMin = RadioButton6.Checked;
-
- PicSettings.jpegQuality = Convert.ToInt64(TextBox32.Text);
- PicSettings.jpegQualityMin = Convert.ToInt64(TextBox33.Text);
-
- PicSettings.mainForm = this;
-
-
- }
-
- private void makeSettingsFromFile()
- {
- OpenFileDialog openFileDialog = new OpenFileDialog();
- openFileDialog.Filter = "Setup (*.xml)|*.xml|All valid files (*.*)|*.*";
- openFileDialog.FilterIndex = 0;
- openFileDialog.RestoreDirectory = true;
-
- Dictionary settingsDict = new Dictionary(StringComparer.OrdinalIgnoreCase);
-
- if (DialogResult.OK == openFileDialog.ShowDialog())
- {
- XMLSettings xmlSettings = new XMLSettings(openFileDialog.FileName);
- settingsDict = xmlSettings.getParametriDict();
-
-
- settingsDict = bindSettings(settingsDict);
- setLogoMiniature();
- this.Text = string.Format("Image Catalog - {0}", openFileDialog.FileName);
-
-
- }
- }
-
- private void setLogoMiniature()
- {
- if (File.Exists(TextBox10.Text))
- {
-
- PictureBox1.Image = Image.FromFile(TextBox10.Text);
- if (PictureBox1.Image.Height >= PictureBox1.Image.Width)
- {
- PictureBox1.Height = 160;
- PictureBox1.Width = Convert.ToInt32(160 * PictureBox1.Image.Width / PictureBox1.Image.Height);
- }
- else
- {
- PictureBox1.Width = 224;
- PictureBox1.Height = Convert.ToInt32(224 * PictureBox1.Image.Height / PictureBox1.Image.Width);
- }
- }
- }
-
- private Dictionary bindSettings(Dictionary dict)
- {
-
- txtSorgente.Text = dict["dirSorgente"].ToString();
- txtDestinazione.Text = dict["dirDestinazione"].ToString();
- chkAggiornaSottodirectory.Checked = Convert.ToBoolean(dict["DirSottoDirectory"]);
-
- chkCreaSottocartelle.Checked = Convert.ToBoolean(dict["dirDividiDestinazione"]);
- txtFilePerCartella.Text = dict["dirDividiNumFile"].ToString();
- txtSuffissoCartelle.Text = dict["dirDividiSuffisso"].ToString();
- txtCifreContatore.Text = dict["dirDividiNumCifre"].ToString();
-
- if (dict["dirDividiTipoNumerazione"].ToString().ToUpper() == "PROGRESSIVA")
- rdbNumProgressiva.Checked = true;
- else
- rdbNumFiles.Checked = true;
-
- CheckBox1.Checked = Convert.ToBoolean(dict["miniatureCrea"]);
- TextBox3.Text = dict["miniatureSuffisso"].ToString();
- TextBox5.Text = dict["miniatureAltezza"].ToString();
- TextBox6.Text = dict["miniatureLarghezza"].ToString();
- RadioButton3.Checked = Convert.ToBoolean(dict["miniatureAddScritta"]);
- RadioButton4.Checked = Convert.ToBoolean(dict["miniatureAddOrario"]);
-
- TextBox27.Text = dict["fotoAltezza"].ToString();
- TextBox28.Text = dict["fotoLarghezza"].ToString();
-
- TextBox11.Text = dict["fontDimensione"].ToString();
- TextBox25.Text = dict["fontDimensioneMiniatura"].ToString();
- CheckBox3.Checked = Convert.ToBoolean(dict["fontBold"]);
- ComboBox3.Text = dict["fontNome"].ToString();
-
- TextBox4.Text = dict["testoTesto"].ToString();
- TextBox9.Text = dict["testoTrasparente"].ToString();
- TextBox12.Text = dict["testoMargine"].ToString();
- ComboBox1.Text = dict["testoPosizione"].ToString();
- ComboBox2.Text = dict["testoAllineamento"].ToString();
-
- TextBox10.Text = dict["marchioFile"].ToString();
- TextBox14.Text = dict["marchioAltezza"].ToString();
- TextBox15.Text = dict["marchioLarghezza"].ToString();
- TextBox16.Text = dict["marchioMargine"].ToString();
- ComboBox4.Text = dict["marchioAllOrizzontale"].ToString();
- ComboBox5.Text = dict["marchioAllVerticale"].ToString();
- TextBox19.Text = dict["marchioTrasparenza"].ToString();
- CheckBox5.Checked = Convert.ToBoolean(dict["MarchioAggiungi"]);
-
- CheckBox7.Checked = Convert.ToBoolean(dict["tempoGara"]);
- CheckBox8.Checked = Convert.ToBoolean(dict["orario"]);
- TextBox18.Text = dict["etichettaOrario"].ToString();
-
- chkForzaJpg.Checked = Convert.ToBoolean(dict["generaleForzaJpg"]);
- chkRotazioneAutomatica.Checked = Convert.ToBoolean(dict["generaleRotazioneAutomatica"]);
-
- TextBox30.Text = dict["grandezzaVerticale"].ToString();
- TextBox31.Text = dict["margineVerticale"].ToString();
- CheckBox15.Checked = Convert.ToBoolean(dict["dimensioniOriginali"]);
- TextBox29.Text = dict["testoVerticale"].ToString();
- RadioButton6.Checked = Convert.ToBoolean(dict["nomeMiniatura"]);
- CheckBox16.Checked = Convert.ToBoolean(dict["dataFoto"]);
- CheckBox17.Checked = Convert.ToBoolean(dict["numeroFoto"]);
-
-
- RadioButton5.Checked = Convert.ToBoolean(dict["tempoSmall"]);
- RadioButton7.Checked = Convert.ToBoolean(dict["numTempoSmall"]);
-
- TextBox32.Text = dict["compressioneJpeg"].ToString();
- TextBox33.Text = dict["compressioneJpegMiniatura"].ToString();
-
- TextBox34.Text = dict["coloreTestoRGB"].ToString();
-
-
-
- return dict;
- }
-
-
-
-
- private void caricaImpostazioniToolStripMenuItem_Click(object sender, EventArgs e)
- {
- makeSettingsFromFile();
- }
-
- private void btnStopCreazione_Click(object sender, EventArgs e)
- {
-
- }
-
- private void informazioniToolStripMenuItem_Click(object sender, EventArgs e)
- {
- AboutForm about = new AboutForm();
- about.Show();
- }
-
- private void CheckBox2_CheckedChanged(object sender, EventArgs e)
- {
- if (CheckBox2.Checked)
- panelTesto.Enabled = true;
- else
- panelTesto.Enabled = false;
- }
-
- private void CheckBox1_CheckedChanged(object sender, EventArgs e)
- {
- if (CheckBox1.Checked)
- panelMiniature.Enabled = true;
- else
- panelMiniature.Enabled = false;
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
- }
-}
diff --git a/ImageCatalogCS/MainForm.resx b/ImageCatalogCS/MainForm.resx
deleted file mode 100644
index d5494e3..0000000
--- a/ImageCatalogCS/MainForm.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
\ No newline at end of file
diff --git a/ImageCatalogCS/PicSettings.cs b/ImageCatalogCS/PicSettings.cs
deleted file mode 100644
index 9f930c8..0000000
--- a/ImageCatalogCS/PicSettings.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Drawing;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace ImageCatalogCS
-{
- static class PicSettings
- {
- // Root
- public static string directorySorgente { get; set; }
- public static string directoryDestinazione { get; set; }
-
- public static int dimVert { get; set; }
- public static int margVert { get; set; }
-
- public static int dimStandard { get; set; }
- public static int dimStandardMiniatura { get; set; }
-
- public static bool NomeData { get; set; }
- public static bool TestoNome { get; set; }
- public static bool UsaOrarioMiniatura { get; set; }
- public static bool UsaOrarioTestoApplicare { get; set; }
- public static bool UsaTempoGaraTestoApplicare { get; set; }
- public static string TestoFirmaStart { get; set; }
- public static string TestoFirmaStartV { get; set; }
- public static DateTime DataPartenza { get; set; }
-
- public static string TestoOrario { get; set; }
- public static bool UsaRotazioneAutomatica { get; set; }
-
- public static bool UsaForzaJpg { get; set; }
- public static int LarghezzaSmall { get; set; }
-
- public static int AltezzaSmall { get; set; }
- public static bool CreaMiniature { get; set; }
- public static bool AggiungiScritteMiniature { get; set; }
- public static bool AggTempoGaraMin { get; set; }
-
- public static bool AggNumTempMin { get; set; }
- public static string Suffisso { get; set; }
-
- public static string Codice { get; set; }
- public static int Trasparenza { get; set; }
- public static string IlFont { get; set; }
-
- public static bool Grassetto { get; set; }
- public static string Posizione { get; set; }
- public static string Allineamento { get; set; }
-
- public static int Margine { get; set; }
- public static int LogoAltezza { get; set; }
-
- public static int LogoLarghezza { get; set; }
-
- public static Color fontColoreRGB { get; set; }
- public static bool LogoAggiungi { get; set; }
- public static string LogoNomeFile { get; set; }
- public static string LogoTrasparenza { get; set; }
- public static string LogoMargine { get; set; }
- public static string LogoPosizioneH { get; set; }
-
- public static string LogoPosizioneV { get; set; }
- public static bool FotoGrandeDimOrigina { get; set; }
- public static int AltezzaBig { get; set; }
- public static int LarghezzaBig { get; set; }
- public static DirectoryInfo DestDir { get; set; }
-
- public static int DimMin { get; set; }
-
- public static bool TestoMin { get; set; }
- public static bool SecretDefault { get; set; }
- public static bool SecretBig { get; set; }
-
- public static bool SecretSmall { get; set; }
- public static string SecretPathSmall { get; set; }
-
- public static string SecretPathBig { get; set; }
- public static long jpegQuality { get; set; }
-
- public static long jpegQualityMin { get; set; }
- public static bool FotoRuotaADestra { get; set; } // Default False
-
- public static bool FotoRuotaASinistra { get; set; } // Default False
-
- public static string TempMinText { get; set; } // Default ""
- public static MainForm mainForm { get; set; }
- }
-}
diff --git a/ImageCatalogCS/Program.cs b/ImageCatalogCS/Program.cs
deleted file mode 100644
index 9c2ec36..0000000
--- a/ImageCatalogCS/Program.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace ImageCatalogCS
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new MainForm());
- }
- }
-}
diff --git a/ImageCatalogCS/Properties/AssemblyInfo.cs b/ImageCatalogCS/Properties/AssemblyInfo.cs
deleted file mode 100644
index 97f38c2..0000000
--- a/ImageCatalogCS/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("ImageCatalogCS")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("ImageCatalogCS")]
-[assembly: AssemblyCopyright("Copyright © 2012")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("00b0a7a5-0de0-48e6-b0c9-ec214aa338dd")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/ImageCatalogCS/Properties/Resources.Designer.cs b/ImageCatalogCS/Properties/Resources.Designer.cs
deleted file mode 100644
index 6af1fd8..0000000
--- a/ImageCatalogCS/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace ImageCatalogCS.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ImageCatalogCS.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/ImageCatalogCS/Properties/Resources.resx b/ImageCatalogCS/Properties/Resources.resx
deleted file mode 100644
index af7dbeb..0000000
--- a/ImageCatalogCS/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/ImageCatalogCS/Properties/Settings.Designer.cs b/ImageCatalogCS/Properties/Settings.Designer.cs
deleted file mode 100644
index 0e29f59..0000000
--- a/ImageCatalogCS/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace ImageCatalogCS.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.11.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/ImageCatalogCS/Properties/Settings.settings b/ImageCatalogCS/Properties/Settings.settings
deleted file mode 100644
index 3964565..0000000
--- a/ImageCatalogCS/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/ImageCatalogCS/Temperature.cs b/ImageCatalogCS/Temperature.cs
deleted file mode 100644
index a56ed82..0000000
--- a/ImageCatalogCS/Temperature.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Management;
-
-
-
-namespace ImageCatalogCS
-{
- public class Temperature
- {
- public double CurrentValue { get; set; }
- public string InstanceName { get; set; }
- public static List Temperatures
- {
- get
- {
- List result = new List();
- ManagementObjectSearcher searcher = new ManagementObjectSearcher(@"root\WMI", "SELECT * FROM MSAcpi_ThermalZoneTemperature");
- foreach (ManagementObject obj in searcher.Get())
- {
- Double temp = Convert.ToDouble(obj["CurrentTemperature"].ToString());
- temp = (temp - 2732) / 10.0;
- result.Add(new Temperature { CurrentValue = temp, InstanceName = obj["InstanceName"].ToString() });
- }
- return result;
-
- }
- }
- }
-}
diff --git a/ImageCatalogCS/XMLSettings.cs b/ImageCatalogCS/XMLSettings.cs
deleted file mode 100644
index 2443542..0000000
--- a/ImageCatalogCS/XMLSettings.cs
+++ /dev/null
@@ -1,208 +0,0 @@
-using Microsoft.VisualBasic;
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Data;
-using System.Diagnostics;
-using System.IO;
-
-public class XMLSettings
-{
-
-
- private DataSet _ElencoParametri;
-
- private string _NomeFileSetup;
- public XMLSettings(string FileSetup)
- {
- _ElencoParametri = new DataSet();
- _NomeFileSetup = FileSetup;
-
- if (!string.IsNullOrEmpty(FileSetup))
- {
- CaricaParametriSetup();
- }
- }
-
- public XMLSettings()
- {
- _ElencoParametri = new DataSet();
- _NomeFileSetup = "";
- }
-
- public void CaricaParametriSetup()
- {
- _ElencoParametri = LeggiXmlDataSet("Setup", _NomeFileSetup, "Nome");
- }
-
- public void SalvaParametriSetup()
- {
- if (System.IO.File.Exists(_NomeFileSetup) == true)
- {
- File.Delete(_NomeFileSetup);
- }
- _ElencoParametri.WriteXml(_NomeFileSetup);
- }
-
- public Dictionary getParametriDict()
- {
- CaricaParametriSetup();
- Dictionary dictParam = new Dictionary(StringComparer.OrdinalIgnoreCase);
-
- //DataRow[] LElenco = _ElencoParametri.Tables["Setup"].Select("Nome='" + NomeParametro + "'");
- //DataTable table = _ElencoParametri.Tables["Setup"];
-
- foreach (DataRow row in _ElencoParametri.Tables["Setup"].Rows)
- {
- dictParam.Add(row["Nome"].ToString(), row["Valore"]);
- }
-
- return dictParam;
- }
-
- public string LeggiParametroString(string NomeParametro)
- {
- string Risposta = "";
-
- try
- {
- DataRow[] LElenco = _ElencoParametri.Tables["Setup"].Select("Nome='" + NomeParametro + "'");
-
- DataRow LaRiga = null;
- foreach (DataRow LaRiga_loopVariable in LElenco)
- {
- LaRiga = LaRiga_loopVariable;
- Risposta = LaRiga["Valore"].ToString();
- }
- }
- catch
- {
- Risposta = "";
- }
-
- return Risposta;
- }
-
- public bool LeggiParametroBoolean(string NomeParametro)
- {
- string Risposta = "";
-
- try
- {
- DataRow[] LElenco = _ElencoParametri.Tables["Setup"].Select("Nome='" + NomeParametro + "'");
-
- DataRow LaRiga = null;
- foreach (DataRow LaRiga_loopVariable in LElenco)
- {
- LaRiga = LaRiga_loopVariable;
- Risposta = LaRiga["Valore"].ToString();
- }
- }
- catch
- {
- Risposta = "";
- }
-
- switch (Risposta.ToUpper())
- {
- case "TRUE":
- case "OK":
- case "SI":
- case "1":
- case "YES":
- case "VERO":
- return true;
- default:
- return false;
- }
- }
-
- public void AggiornaParametro(string NomeParametro, object ValoreParametro)
- {
- try
- {
- if (_ElencoParametri.Tables["Setup"] == null)
- {
- DataTable TabellaTmp = new DataTable("Setup");
- DataRow RigaTmp = null;
-
- DataColumn LaColonna = null;
- LaColonna = TabellaTmp.Columns.Add("Nome", System.Type.GetType("System.String"));
- LaColonna = TabellaTmp.Columns.Add("Valore", System.Type.GetType("System.String"));
-
- //* Aggiunge alla tabella tutte le righe
- RigaTmp = TabellaTmp.NewRow();
- RigaTmp["Nome"] = NomeParametro;
- RigaTmp["Valore"] = ValoreParametro;
- TabellaTmp.Rows.Add(RigaTmp);
-
- _ElencoParametri.Tables.Add(TabellaTmp);
- }
- else
- {
- DataRow[] LElenco = _ElencoParametri.Tables["Setup"].Select("Nome='" + NomeParametro + "'");
-
- if (LElenco.Length == 0)
- {
- DataRow LaRiga = null;
- LaRiga = _ElencoParametri.Tables["Setup"].NewRow();
- LaRiga["Nome"] = NomeParametro;
- LaRiga["Valore"] = ValoreParametro;
- _ElencoParametri.Tables["Setup"].Rows.Add(LaRiga);
- }
- else
- {
- LElenco[0]["Valore"] = ValoreParametro;
- }
- }
-
- }
- catch
- {
- }
- }
-
-
- private DataTable LeggiXmlDataTable(string NomeTabella, string NomeFileXml, string NomeColonnaChiave = "")
- {
- //* Crea e Legge il dataset dal file xml
- System.Data.DataSet DataSetXml = new System.Data.DataSet();
- DataSetXml.ReadXml(NomeFileXml);
-
- //* Aggiunge il campo chiave
- if (!string.IsNullOrEmpty(NomeColonnaChiave))
- {
- DataSetXml.Tables[NomeTabella].Constraints.Add(NomeColonnaChiave, DataSetXml.Tables[NomeTabella].Columns[NomeColonnaChiave], true);
- }
-
- //* Restituisce la risposta
- return DataSetXml.Tables[NomeTabella];
- }
-
- private static DataSet LeggiXmlDataSet(string NomeTabella, string NomeFileXml, string NomeColonnaChiave = "")
- {
- //* Crea e Legge il dataset dal file xml
- DataSet DataSetXml = new DataSet();
- DataSetXml.ReadXml(NomeFileXml);
-
- //* Aggiunge il campo chiave
- if (!string.IsNullOrEmpty(NomeColonnaChiave))
- {
- DataSetXml.Tables[NomeTabella].Constraints.Add(NomeColonnaChiave, DataSetXml.Tables[NomeTabella].Columns[NomeColonnaChiave], true);
- }
-
- //* Restituisce la risposta
- return DataSetXml;
- }
-
-
-
-
- public string NomeFileSetup
- {
- get { return _NomeFileSetup; }
- set { _NomeFileSetup = value; }
- }
-
-
-}
\ No newline at end of file
diff --git a/ImageCatalogCS/XYThreadPool.cs b/ImageCatalogCS/XYThreadPool.cs
deleted file mode 100644
index 005b30c..0000000
--- a/ImageCatalogCS/XYThreadPool.cs
+++ /dev/null
@@ -1,251 +0,0 @@
-using Microsoft.VisualBasic;
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Data;
-using System.Diagnostics;
-
-using System.Threading;
-
-public delegate void ThreadErrorHandlerDelegate(ThreadPoolWorkItem oWorkItem, Exception oError);
-
-public class ThreadPoolWorkItem
-{
- public bool m_bStoreOutput = false;
- public string m_sName = "";
- public Delegate m_pMethod = null;
- public object[] m_pInput = null;
- public object m_oOutput = null;
- public Exception m_oException = null;
- public ThreadPoolWorkItem()
- {
- }
- public ThreadPoolWorkItem(string sName, Delegate pMethod, object[] pInput, bool bStoreOutput)
- {
- m_sName = sName;
- m_pMethod = pMethod;
- m_pInput = pInput;
- m_bStoreOutput = bStoreOutput;
- }
-}
-
-public class XYThreadPool
-{
- private Hashtable m_htThreads = new Hashtable(256);
- private int m_nMinThreadCount = 5;
- private int m_nMaxThreadCount = 10;
- private int m_nShutdownPause = 200;
- private int m_nServerPause = 25;
- private bool m_bContinue = false;
- private static Exception m_oException = null;
- private Queue m_qInput = new Queue(1024);
- private Queue m_qOutput = new Queue(1024);
- private Delegate m_delegateThreadErrorHandler = new ThreadErrorHandlerDelegate(OnThreadError);
- private void ThreadProc()
- {
- while (m_bContinue)
- {
- object obj = null;
- Monitor.Enter(this);
- if (m_qInput.Count > 0)
- obj = m_qInput.Dequeue();
- Monitor.Exit(this);
- if (obj == null)
- {
- bool bQuit = false;
- Monitor.Enter(this);
- if (m_htThreads.Count > m_nMinThreadCount)
- {
- m_htThreads.Remove(Thread.CurrentThread.Name);
- bQuit = true;
- }
- Monitor.Exit(this);
- if (bQuit)
- return;
- Thread.Sleep(10 * m_nServerPause);
- }
- else
- {
- ThreadPoolWorkItem oWorkItem = (ThreadPoolWorkItem)obj;
- //oWorkItem.m_oOutput = oWorkItem.m_pMethod.DynamicInvoke(oWorkItem.m_pInput)
- try
- {
- oWorkItem.m_oOutput = oWorkItem.m_pMethod.DynamicInvoke(oWorkItem.m_pInput);
- }
- catch (Exception oBug)
- {
- if ((m_delegateThreadErrorHandler != null))
- {
- try
- {
- object[] pInput = {
- oWorkItem,
- oBug
- };
- m_delegateThreadErrorHandler.DynamicInvoke(pInput);
- }
- catch
- {
- }
- }
- }
- if (oWorkItem.m_bStoreOutput)
- {
- Monitor.Enter(m_qOutput);
- m_qOutput.Enqueue(oWorkItem);
- Monitor.Exit(m_qOutput);
- }
- Thread.Sleep(m_nServerPause);
- }
- }
- }
- private static void OnThreadError(ThreadPoolWorkItem oWorkItem, Exception oError)
- {
- if (oWorkItem == null)
- {
- m_oException = oError;
- }
- else
- {
- oWorkItem.m_oException = oError;
- }
- }
- public void SetThreadErrorHandler(ThreadErrorHandlerDelegate pMethod)
- {
- Monitor.Enter(this);
- m_delegateThreadErrorHandler = pMethod;
- Monitor.Exit(this);
- }
- public void SetServerPause(int nMilliseconds)
- {
- Monitor.Enter(this);
- if (nMilliseconds > 9 & nMilliseconds < 101)
- m_nServerPause = nMilliseconds;
- Monitor.Exit(this);
- }
- public void SetShutdownPause(int nMilliseconds)
- {
- Monitor.Enter(this);
- m_nShutdownPause = nMilliseconds;
- Monitor.Exit(this);
- }
- public Exception GetException()
- {
- return m_oException;
- }
- public void InsertWorkItem(ThreadPoolWorkItem oWorkItem)
- {
- try
- {
- Monitor.Enter(this);
- m_qInput.Enqueue(oWorkItem);
- if (m_bContinue && m_qInput.Count > m_htThreads.Count && m_htThreads.Count < m_nMaxThreadCount)
- {
- Thread th = new Thread(ThreadProc);
- th.Name = Guid.NewGuid().ToString();
- m_htThreads.Add(th.Name, th);
- th.Start();
- }
- }
- catch (Exception oBug)
- {
- m_oException = oBug;
- }
- finally
- {
- Monitor.Exit(this);
- }
- }
- public void InsertWorkItem(string sName, Delegate pMethod, object[] pArgs, bool bStoreOutput)
- {
- InsertWorkItem(new ThreadPoolWorkItem(sName, pMethod, pArgs, bStoreOutput));
- }
- public ThreadPoolWorkItem ExtractWorkItem()
- {
- object oWorkItem = null;
- Monitor.Enter(m_qOutput);
- if (m_qOutput.Count > 0)
- oWorkItem = m_qOutput.Dequeue();
- Monitor.Exit(m_qOutput);
- if (oWorkItem == null)
- return null;
- return (ThreadPoolWorkItem)oWorkItem;
- }
- public bool StartThreadPool(int nMinThreadCount = 5, int nMaxThreadCount = 10)
- {
- try
- {
- Monitor.Enter(this);
- if (m_bContinue == false)
- {
- m_bContinue = true;
- if (nMinThreadCount > 0)
- {
- m_nMinThreadCount = nMinThreadCount;
- }
- if (nMaxThreadCount > m_nMinThreadCount)
- {
- m_nMaxThreadCount = nMaxThreadCount;
- }
- else
- {
- m_nMaxThreadCount = 2 * m_nMinThreadCount;
- }
- int i = 0;
- for (i = 1; i <= m_nMinThreadCount; i++)
- {
- Thread th = new Thread(ThreadProc);
- th.Name = Guid.NewGuid().ToString();
- m_htThreads.Add(th.Name, th);
- th.Start();
- }
- }
- return true;
- }
- catch (Exception oBug)
- {
- m_bContinue = false;
- m_oException = oBug;
- return false;
- }
- finally
- {
- Monitor.Exit(this);
- }
- }
- public void StopThreadPool()
- {
- Monitor.Enter(this);
- m_bContinue = false;
- Thread.Sleep(Math.Max(200, m_nShutdownPause));
- if ((m_nShutdownPause > 0))
- {
- IDictionaryEnumerator dict = m_htThreads.GetEnumerator();
- while (dict.MoveNext())
- {
- Thread th = (Thread)dict.Value;
- if (th.IsAlive)
- {
- try
- {
- th.Abort();
- }
- catch
- {
- }
- }
- }
- }
- m_htThreads.Clear();
- m_qInput.Clear();
- // m_qOutput.Clear()
- Monitor.Exit(this);
- }
- public int GetThreadCount()
- {
- Monitor.Enter(this);
- int nCount = m_htThreads.Count;
- Monitor.Exit(this);
- return nCount;
- }
-}
\ No newline at end of file
diff --git a/ImageCatalogParallel/App.config b/ImageCatalogParallel/App.config
deleted file mode 100644
index 193aecc..0000000
--- a/ImageCatalogParallel/App.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ImageCatalogParallel/Form1.Designer.cs b/ImageCatalogParallel/Form1.Designer.cs
deleted file mode 100644
index d598f89..0000000
--- a/ImageCatalogParallel/Form1.Designer.cs
+++ /dev/null
@@ -1,1809 +0,0 @@
-
-namespace ImageCatalogParallel
-{
- partial class Form1
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.TabPage1 = new System.Windows.Forms.TabPage();
- this.Panel1 = new System.Windows.Forms.Panel();
- this.CheckBox18 = new System.Windows.Forms.CheckBox();
- this.CheckBox4 = new System.Windows.Forms.CheckBox();
- this.CheckBox12 = new System.Windows.Forms.CheckBox();
- this.GroupBox1 = new System.Windows.Forms.GroupBox();
- this.Label46 = new System.Windows.Forms.Label();
- this.TextBox33 = new System.Windows.Forms.TextBox();
- this.Panel2 = new System.Windows.Forms.Panel();
- this.RadioButton3 = new System.Windows.Forms.RadioButton();
- this.RadioButton7 = new System.Windows.Forms.RadioButton();
- this.RadioButton4 = new System.Windows.Forms.RadioButton();
- this.RadioButton6 = new System.Windows.Forms.RadioButton();
- this.RadioButton5 = new System.Windows.Forms.RadioButton();
- this.Label5 = new System.Windows.Forms.Label();
- this.TextBox5 = new System.Windows.Forms.TextBox();
- this.Label6 = new System.Windows.Forms.Label();
- this.TextBox6 = new System.Windows.Forms.TextBox();
- this.Label3 = new System.Windows.Forms.Label();
- this.TextBox3 = new System.Windows.Forms.TextBox();
- this.CheckBox1 = new System.Windows.Forms.CheckBox();
- this.Label37 = new System.Windows.Forms.Label();
- this.Label38 = new System.Windows.Forms.Label();
- this.Label45 = new System.Windows.Forms.Label();
- this.TextBox32 = new System.Windows.Forms.TextBox();
- this.TextBox26 = new System.Windows.Forms.TextBox();
- this.TextBox27 = new System.Windows.Forms.TextBox();
- this.Label39 = new System.Windows.Forms.Label();
- this.CheckBox15 = new System.Windows.Forms.CheckBox();
- this.Label40 = new System.Windows.Forms.Label();
- this.TextBox29 = new System.Windows.Forms.TextBox();
- this.TextBox18 = new System.Windows.Forms.TextBox();
- this.Label26 = new System.Windows.Forms.Label();
- this.DateTimePicker1 = new System.Windows.Forms.DateTimePicker();
- this.CheckBox8 = new System.Windows.Forms.CheckBox();
- this.TextBox9 = new System.Windows.Forms.TextBox();
- this.CheckBox7 = new System.Windows.Forms.CheckBox();
- this.Label4 = new System.Windows.Forms.Label();
- this.TextBox4 = new System.Windows.Forms.TextBox();
- this.Label9 = new System.Windows.Forms.Label();
- this.TextBox28 = new System.Windows.Forms.TextBox();
- this.TabPage2 = new System.Windows.Forms.TabPage();
- this.GroupBox2 = new System.Windows.Forms.GroupBox();
- this.Label27 = new System.Windows.Forms.Label();
- this.Button7 = new System.Windows.Forms.Button();
- this.Button5 = new System.Windows.Forms.Button();
- this.PictureBox2 = new System.Windows.Forms.PictureBox();
- this.PictureBox1 = new System.Windows.Forms.PictureBox();
- this.ComboBox5 = new System.Windows.Forms.ComboBox();
- this.ComboBox4 = new System.Windows.Forms.ComboBox();
- this.Label19 = new System.Windows.Forms.Label();
- this.Label18 = new System.Windows.Forms.Label();
- this.lblFotoTotaliNum = new System.Windows.Forms.Label();
- this.Label10 = new System.Windows.Forms.Label();
- this.TextBox19 = new System.Windows.Forms.TextBox();
- this.Label28 = new System.Windows.Forms.Label();
- this.CheckBox5 = new System.Windows.Forms.CheckBox();
- this.TextBox15 = new System.Windows.Forms.TextBox();
- this.TextBox14 = new System.Windows.Forms.TextBox();
- this.Label25 = new System.Windows.Forms.Label();
- this.TextBox16 = new System.Windows.Forms.TextBox();
- this.btnCreaCatalogoAsync = new System.Windows.Forms.Button();
- this.Label20 = new System.Windows.Forms.Label();
- this.btnCreaCatalogo = new System.Windows.Forms.Button();
- this.Label24 = new System.Windows.Forms.Label();
- this.Label22 = new System.Windows.Forms.Label();
- this.Label23 = new System.Windows.Forms.Label();
- this.TextBox10 = new System.Windows.Forms.TextBox();
- this.Label29 = new System.Windows.Forms.Label();
- this.Label30 = new System.Windows.Forms.Label();
- this.PictureBox3 = new System.Windows.Forms.PictureBox();
- this.GroupBox6 = new System.Windows.Forms.GroupBox();
- this.Button4 = new System.Windows.Forms.Button();
- this.TabPage4 = new System.Windows.Forms.TabPage();
- this.Label13 = new System.Windows.Forms.Label();
- this.rdbNumFiles = new System.Windows.Forms.RadioButton();
- this.rdbNumProgressiva = new System.Windows.Forms.RadioButton();
- this.txtCifreContatore = new System.Windows.Forms.TextBox();
- this.Label34 = new System.Windows.Forms.Label();
- this.txtSuffissoCartelle = new System.Windows.Forms.TextBox();
- this.Label33 = new System.Windows.Forms.Label();
- this.Label31 = new System.Windows.Forms.Label();
- this.txtFilePerCartella = new System.Windows.Forms.TextBox();
- this.GroupBox8 = new System.Windows.Forms.GroupBox();
- this.chkCreaSottocartelle = new System.Windows.Forms.CheckBox();
- this.Label32 = new System.Windows.Forms.Label();
- this.chkAggiornaSottodirectory = new System.Windows.Forms.CheckBox();
- this.GroupBox3 = new System.Windows.Forms.GroupBox();
- this.Button3 = new System.Windows.Forms.Button();
- this.Button2 = new System.Windows.Forms.Button();
- this.Label1 = new System.Windows.Forms.Label();
- this.Label2 = new System.Windows.Forms.Label();
- this.txtSorgente = new System.Windows.Forms.TextBox();
- this.txtDestinazione = new System.Windows.Forms.TextBox();
- this.ProgressBar1 = new System.Windows.Forms.ProgressBar();
- this.CheckBox22 = new System.Windows.Forms.CheckBox();
- this.Label43 = new System.Windows.Forms.Label();
- this.TabControl1 = new System.Windows.Forms.TabControl();
- this.TabPage5 = new System.Windows.Forms.TabPage();
- this.GroupBox11 = new System.Windows.Forms.GroupBox();
- this.Panel3 = new System.Windows.Forms.Panel();
- this.rdbNuovoMetodo = new System.Windows.Forms.RadioButton();
- this.rdbVecchioMetodo = new System.Windows.Forms.RadioButton();
- this.Label8 = new System.Windows.Forms.Label();
- this.TextBox8 = new System.Windows.Forms.TextBox();
- this.Label7 = new System.Windows.Forms.Label();
- this.TextBox7 = new System.Windows.Forms.TextBox();
- this.GroupBox7 = new System.Windows.Forms.GroupBox();
- this.chkSovrascriviFile = new System.Windows.Forms.CheckBox();
- this.chkRotazioneAutomatica = new System.Windows.Forms.CheckBox();
- this.chkForzaJpg = new System.Windows.Forms.CheckBox();
- this.TabPage3 = new System.Windows.Forms.TabPage();
- this.CheckBox2 = new System.Windows.Forms.CheckBox();
- this.GroupBox10 = new System.Windows.Forms.GroupBox();
- this.Label42 = new System.Windows.Forms.Label();
- this.Label41 = new System.Windows.Forms.Label();
- this.TextBox31 = new System.Windows.Forms.TextBox();
- this.TextBox30 = new System.Windows.Forms.TextBox();
- this.GroupBox9 = new System.Windows.Forms.GroupBox();
- this.CheckBox17 = new System.Windows.Forms.CheckBox();
- this.CheckBox16 = new System.Windows.Forms.CheckBox();
- this.GroupBox5 = new System.Windows.Forms.GroupBox();
- this.TextBox34 = new System.Windows.Forms.TextBox();
- this.Button8 = new System.Windows.Forms.Button();
- this.Label36 = new System.Windows.Forms.Label();
- this.TextBox25 = new System.Windows.Forms.TextBox();
- this.Label35 = new System.Windows.Forms.Label();
- this.ComboBox3 = new System.Windows.Forms.ComboBox();
- this.TextBox11 = new System.Windows.Forms.TextBox();
- this.Label12 = new System.Windows.Forms.Label();
- this.Label11 = new System.Windows.Forms.Label();
- this.CheckBox3 = new System.Windows.Forms.CheckBox();
- this.GroupBox4 = new System.Windows.Forms.GroupBox();
- this.ComboBox1 = new System.Windows.Forms.ComboBox();
- this.ComboBox2 = new System.Windows.Forms.ComboBox();
- this.Label14 = new System.Windows.Forms.Label();
- this.TextBox12 = new System.Windows.Forms.TextBox();
- this.Label15 = new System.Windows.Forms.Label();
- this.Button6 = new System.Windows.Forms.Button();
- this.TabPage1.SuspendLayout();
- this.Panel1.SuspendLayout();
- this.GroupBox1.SuspendLayout();
- this.Panel2.SuspendLayout();
- this.TabPage2.SuspendLayout();
- this.GroupBox2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).BeginInit();
- this.GroupBox6.SuspendLayout();
- this.TabPage4.SuspendLayout();
- this.GroupBox8.SuspendLayout();
- this.GroupBox3.SuspendLayout();
- this.TabControl1.SuspendLayout();
- this.TabPage5.SuspendLayout();
- this.GroupBox11.SuspendLayout();
- this.Panel3.SuspendLayout();
- this.GroupBox7.SuspendLayout();
- this.TabPage3.SuspendLayout();
- this.GroupBox10.SuspendLayout();
- this.GroupBox9.SuspendLayout();
- this.GroupBox5.SuspendLayout();
- this.GroupBox4.SuspendLayout();
- this.SuspendLayout();
- //
- // TabPage1
- //
- this.TabPage1.Controls.Add(this.Panel1);
- this.TabPage1.Controls.Add(this.GroupBox1);
- this.TabPage1.Location = new System.Drawing.Point(4, 22);
- this.TabPage1.Name = "TabPage1";
- this.TabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage1.Size = new System.Drawing.Size(513, 351);
- this.TabPage1.TabIndex = 0;
- this.TabPage1.Text = "Miniature";
- this.TabPage1.UseVisualStyleBackColor = true;
- //
- // Panel1
- //
- this.Panel1.Controls.Add(this.CheckBox18);
- this.Panel1.Controls.Add(this.CheckBox4);
- this.Panel1.Controls.Add(this.CheckBox12);
- this.Panel1.Location = new System.Drawing.Point(52, 236);
- this.Panel1.Name = "Panel1";
- this.Panel1.Size = new System.Drawing.Size(304, 73);
- this.Panel1.TabIndex = 26;
- this.Panel1.Visible = false;
- //
- // CheckBox18
- //
- this.CheckBox18.AutoSize = true;
- this.CheckBox18.Location = new System.Drawing.Point(140, 3);
- this.CheckBox18.Name = "CheckBox18";
- this.CheckBox18.Size = new System.Drawing.Size(84, 17);
- this.CheckBox18.TabIndex = 36;
- this.CheckBox18.Text = "Numero foto";
- this.CheckBox18.UseVisualStyleBackColor = true;
- //
- // CheckBox4
- //
- this.CheckBox4.ForeColor = System.Drawing.Color.Black;
- this.CheckBox4.Location = new System.Drawing.Point(10, 3);
- this.CheckBox4.Name = "CheckBox4";
- this.CheckBox4.Size = new System.Drawing.Size(104, 17);
- this.CheckBox4.TabIndex = 34;
- this.CheckBox4.Text = "Aggiungi scritta";
- //
- // CheckBox12
- //
- this.CheckBox12.ForeColor = System.Drawing.Color.Black;
- this.CheckBox12.Location = new System.Drawing.Point(10, 19);
- this.CheckBox12.Name = "CheckBox12";
- this.CheckBox12.Size = new System.Drawing.Size(104, 21);
- this.CheckBox12.TabIndex = 35;
- this.CheckBox12.Text = "Aggiungi orario";
- //
- // GroupBox1
- //
- this.GroupBox1.Controls.Add(this.Label46);
- this.GroupBox1.Controls.Add(this.TextBox33);
- this.GroupBox1.Controls.Add(this.Panel2);
- this.GroupBox1.Controls.Add(this.Label5);
- this.GroupBox1.Controls.Add(this.TextBox5);
- this.GroupBox1.Controls.Add(this.Label6);
- this.GroupBox1.Controls.Add(this.TextBox6);
- this.GroupBox1.Controls.Add(this.Label3);
- this.GroupBox1.Controls.Add(this.TextBox3);
- this.GroupBox1.Controls.Add(this.CheckBox1);
- this.GroupBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox1.Location = new System.Drawing.Point(6, 5);
- this.GroupBox1.Name = "GroupBox1";
- this.GroupBox1.Size = new System.Drawing.Size(350, 210);
- this.GroupBox1.TabIndex = 25;
- this.GroupBox1.TabStop = false;
- this.GroupBox1.Text = "Miniature";
- //
- // Label46
- //
- this.Label46.AutoSize = true;
- this.Label46.Location = new System.Drawing.Point(198, 43);
- this.Label46.Name = "Label46";
- this.Label46.Size = new System.Drawing.Size(40, 13);
- this.Label46.TabIndex = 21;
- this.Label46.Text = "Qualità ";
- //
- // TextBox33
- //
- this.TextBox33.Location = new System.Drawing.Point(244, 40);
- this.TextBox33.Name = "TextBox33";
- this.TextBox33.Size = new System.Drawing.Size(100, 20);
- this.TextBox33.TabIndex = 20;
- //
- // Panel2
- //
- this.Panel2.Controls.Add(this.RadioButton3);
- this.Panel2.Controls.Add(this.RadioButton7);
- this.Panel2.Controls.Add(this.RadioButton4);
- this.Panel2.Controls.Add(this.RadioButton6);
- this.Panel2.Controls.Add(this.RadioButton5);
- this.Panel2.Location = new System.Drawing.Point(56, 114);
- this.Panel2.Name = "Panel2";
- this.Panel2.Size = new System.Drawing.Size(235, 90);
- this.Panel2.TabIndex = 19;
- //
- // RadioButton3
- //
- this.RadioButton3.AutoSize = true;
- this.RadioButton3.Location = new System.Drawing.Point(15, 16);
- this.RadioButton3.Name = "RadioButton3";
- this.RadioButton3.Size = new System.Drawing.Size(99, 17);
- this.RadioButton3.TabIndex = 14;
- this.RadioButton3.TabStop = true;
- this.RadioButton3.Text = "Aggiungi Scritta";
- this.RadioButton3.UseVisualStyleBackColor = true;
- //
- // RadioButton7
- //
- this.RadioButton7.AutoSize = true;
- this.RadioButton7.Location = new System.Drawing.Point(129, 40);
- this.RadioButton7.Name = "RadioButton7";
- this.RadioButton7.Size = new System.Drawing.Size(95, 17);
- this.RadioButton7.TabIndex = 18;
- this.RadioButton7.TabStop = true;
- this.RadioButton7.Text = "numero+tempo";
- this.RadioButton7.UseVisualStyleBackColor = true;
- //
- // RadioButton4
- //
- this.RadioButton4.AutoSize = true;
- this.RadioButton4.Location = new System.Drawing.Point(15, 40);
- this.RadioButton4.Name = "RadioButton4";
- this.RadioButton4.Size = new System.Drawing.Size(95, 17);
- this.RadioButton4.TabIndex = 15;
- this.RadioButton4.TabStop = true;
- this.RadioButton4.Text = "Aggiungi orario";
- this.RadioButton4.UseVisualStyleBackColor = true;
- //
- // RadioButton6
- //
- this.RadioButton6.AutoSize = true;
- this.RadioButton6.Location = new System.Drawing.Point(129, 16);
- this.RadioButton6.Name = "RadioButton6";
- this.RadioButton6.Size = new System.Drawing.Size(83, 17);
- this.RadioButton6.TabIndex = 17;
- this.RadioButton6.TabStop = true;
- this.RadioButton6.Text = "Numero foto";
- this.RadioButton6.UseVisualStyleBackColor = true;
- //
- // RadioButton5
- //
- this.RadioButton5.AutoSize = true;
- this.RadioButton5.Location = new System.Drawing.Point(15, 65);
- this.RadioButton5.Name = "RadioButton5";
- this.RadioButton5.Size = new System.Drawing.Size(84, 17);
- this.RadioButton5.TabIndex = 16;
- this.RadioButton5.TabStop = true;
- this.RadioButton5.Text = "Tempo Gara";
- this.RadioButton5.UseVisualStyleBackColor = true;
- //
- // Label5
- //
- this.Label5.AutoSize = true;
- this.Label5.ForeColor = System.Drawing.Color.Black;
- this.Label5.Location = new System.Drawing.Point(24, 88);
- this.Label5.Name = "Label5";
- this.Label5.Size = new System.Drawing.Size(41, 13);
- this.Label5.TabIndex = 12;
- this.Label5.Text = "Altezza";
- //
- // TextBox5
- //
- this.TextBox5.Location = new System.Drawing.Point(72, 64);
- this.TextBox5.Name = "TextBox5";
- this.TextBox5.Size = new System.Drawing.Size(88, 20);
- this.TextBox5.TabIndex = 10;
- this.TextBox5.Text = "TextBox5";
- //
- // Label6
- //
- this.Label6.AutoSize = true;
- this.Label6.ForeColor = System.Drawing.Color.Black;
- this.Label6.Location = new System.Drawing.Point(8, 64);
- this.Label6.Name = "Label6";
- this.Label6.Size = new System.Drawing.Size(56, 13);
- this.Label6.TabIndex = 13;
- this.Label6.Text = "Larghezza";
- //
- // TextBox6
- //
- this.TextBox6.Location = new System.Drawing.Point(72, 88);
- this.TextBox6.Name = "TextBox6";
- this.TextBox6.Size = new System.Drawing.Size(88, 20);
- this.TextBox6.TabIndex = 11;
- this.TextBox6.Text = "TextBox6";
- //
- // Label3
- //
- this.Label3.AutoSize = true;
- this.Label3.ForeColor = System.Drawing.Color.Black;
- this.Label3.Location = new System.Drawing.Point(24, 40);
- this.Label3.Name = "Label3";
- this.Label3.Size = new System.Drawing.Size(44, 13);
- this.Label3.TabIndex = 7;
- this.Label3.Text = "Suffisso";
- //
- // TextBox3
- //
- this.TextBox3.Location = new System.Drawing.Point(72, 40);
- this.TextBox3.Name = "TextBox3";
- this.TextBox3.Size = new System.Drawing.Size(88, 20);
- this.TextBox3.TabIndex = 6;
- this.TextBox3.Text = "TextBox3";
- //
- // CheckBox1
- //
- this.CheckBox1.ForeColor = System.Drawing.Color.Black;
- this.CheckBox1.Location = new System.Drawing.Point(72, 16);
- this.CheckBox1.Name = "CheckBox1";
- this.CheckBox1.Size = new System.Drawing.Size(104, 24);
- this.CheckBox1.TabIndex = 5;
- this.CheckBox1.Text = "Crea miniature";
- //
- // Label37
- //
- this.Label37.ForeColor = System.Drawing.Color.Black;
- this.Label37.Location = new System.Drawing.Point(168, 48);
- this.Label37.Name = "Label37";
- this.Label37.Size = new System.Drawing.Size(48, 16);
- this.Label37.TabIndex = 19;
- this.Label37.Text = "Suffisso";
- this.Label37.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // Label38
- //
- this.Label38.AutoSize = true;
- this.Label38.ForeColor = System.Drawing.Color.Black;
- this.Label38.Location = new System.Drawing.Point(24, 24);
- this.Label38.Name = "Label38";
- this.Label38.Size = new System.Drawing.Size(41, 13);
- this.Label38.TabIndex = 16;
- this.Label38.Text = "Altezza";
- //
- // Label45
- //
- this.Label45.AutoSize = true;
- this.Label45.Location = new System.Drawing.Point(11, 86);
- this.Label45.Name = "Label45";
- this.Label45.Size = new System.Drawing.Size(40, 13);
- this.Label45.TabIndex = 22;
- this.Label45.Text = "Qualità ";
- //
- // TextBox32
- //
- this.TextBox32.Location = new System.Drawing.Point(72, 80);
- this.TextBox32.Name = "TextBox32";
- this.TextBox32.Size = new System.Drawing.Size(72, 20);
- this.TextBox32.TabIndex = 21;
- this.TextBox32.Text = "100";
- //
- // TextBox26
- //
- this.TextBox26.Location = new System.Drawing.Point(224, 48);
- this.TextBox26.Name = "TextBox26";
- this.TextBox26.Size = new System.Drawing.Size(56, 20);
- this.TextBox26.TabIndex = 20;
- this.TextBox26.Text = "TextBox26";
- //
- // TextBox27
- //
- this.TextBox27.Location = new System.Drawing.Point(72, 24);
- this.TextBox27.Name = "TextBox27";
- this.TextBox27.Size = new System.Drawing.Size(72, 20);
- this.TextBox27.TabIndex = 14;
- this.TextBox27.Text = "TextBox27";
- //
- // Label39
- //
- this.Label39.AutoSize = true;
- this.Label39.ForeColor = System.Drawing.Color.Black;
- this.Label39.Location = new System.Drawing.Point(8, 48);
- this.Label39.Name = "Label39";
- this.Label39.Size = new System.Drawing.Size(56, 13);
- this.Label39.TabIndex = 17;
- this.Label39.Text = "Larghezza";
- //
- // CheckBox15
- //
- this.CheckBox15.Checked = true;
- this.CheckBox15.CheckState = System.Windows.Forms.CheckState.Checked;
- this.CheckBox15.ForeColor = System.Drawing.Color.Black;
- this.CheckBox15.Location = new System.Drawing.Point(168, 16);
- this.CheckBox15.Name = "CheckBox15";
- this.CheckBox15.Size = new System.Drawing.Size(120, 32);
- this.CheckBox15.TabIndex = 18;
- this.CheckBox15.Text = "Mantieni dimensioni originali";
- //
- // Label40
- //
- this.Label40.AutoSize = true;
- this.Label40.Location = new System.Drawing.Point(8, 52);
- this.Label40.Name = "Label40";
- this.Label40.Size = new System.Drawing.Size(48, 13);
- this.Label40.TabIndex = 40;
- this.Label40.Text = "Verticale";
- //
- // TextBox29
- //
- this.TextBox29.Location = new System.Drawing.Point(72, 49);
- this.TextBox29.Multiline = true;
- this.TextBox29.Name = "TextBox29";
- this.TextBox29.Size = new System.Drawing.Size(408, 44);
- this.TextBox29.TabIndex = 39;
- //
- // TextBox18
- //
- this.TextBox18.Location = new System.Drawing.Point(232, 156);
- this.TextBox18.Name = "TextBox18";
- this.TextBox18.Size = new System.Drawing.Size(100, 20);
- this.TextBox18.TabIndex = 38;
- //
- // Label26
- //
- this.Label26.AutoSize = true;
- this.Label26.ForeColor = System.Drawing.Color.Black;
- this.Label26.Location = new System.Drawing.Point(344, 156);
- this.Label26.Name = "Label26";
- this.Label26.Size = new System.Drawing.Size(48, 13);
- this.Label26.TabIndex = 37;
- this.Label26.Text = "partenza";
- //
- // DateTimePicker1
- //
- this.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Time;
- this.DateTimePicker1.Location = new System.Drawing.Point(392, 156);
- this.DateTimePicker1.Name = "DateTimePicker1";
- this.DateTimePicker1.Size = new System.Drawing.Size(88, 20);
- this.DateTimePicker1.TabIndex = 36;
- //
- // CheckBox8
- //
- this.CheckBox8.ForeColor = System.Drawing.Color.Black;
- this.CheckBox8.Location = new System.Drawing.Point(72, 156);
- this.CheckBox8.Name = "CheckBox8";
- this.CheckBox8.Size = new System.Drawing.Size(56, 16);
- this.CheckBox8.TabIndex = 35;
- this.CheckBox8.Text = "Orario";
- //
- // TextBox9
- //
- this.TextBox9.Location = new System.Drawing.Point(120, 108);
- this.TextBox9.Name = "TextBox9";
- this.TextBox9.Size = new System.Drawing.Size(56, 20);
- this.TextBox9.TabIndex = 20;
- this.TextBox9.Text = "TextBox9";
- //
- // CheckBox7
- //
- this.CheckBox7.ForeColor = System.Drawing.Color.Black;
- this.CheckBox7.Location = new System.Drawing.Point(136, 156);
- this.CheckBox7.Name = "CheckBox7";
- this.CheckBox7.Size = new System.Drawing.Size(88, 16);
- this.CheckBox7.TabIndex = 34;
- this.CheckBox7.Text = "Tempo gara";
- //
- // Label4
- //
- this.Label4.AutoSize = true;
- this.Label4.ForeColor = System.Drawing.Color.Black;
- this.Label4.Location = new System.Drawing.Point(8, 24);
- this.Label4.Name = "Label4";
- this.Label4.Size = new System.Drawing.Size(59, 13);
- this.Label4.TabIndex = 9;
- this.Label4.Text = "Orizzontale";
- //
- // TextBox4
- //
- this.TextBox4.Location = new System.Drawing.Point(72, 24);
- this.TextBox4.Name = "TextBox4";
- this.TextBox4.Size = new System.Drawing.Size(408, 20);
- this.TextBox4.TabIndex = 8;
- this.TextBox4.Text = "TextBox4";
- //
- // Label9
- //
- this.Label9.AutoSize = true;
- this.Label9.ForeColor = System.Drawing.Color.Black;
- this.Label9.Location = new System.Drawing.Point(8, 108);
- this.Label9.Name = "Label9";
- this.Label9.Size = new System.Drawing.Size(110, 13);
- this.Label9.TabIndex = 19;
- this.Label9.Text = "Trasparenza (0-100%)";
- //
- // TextBox28
- //
- this.TextBox28.Location = new System.Drawing.Point(72, 48);
- this.TextBox28.Name = "TextBox28";
- this.TextBox28.Size = new System.Drawing.Size(72, 20);
- this.TextBox28.TabIndex = 15;
- this.TextBox28.Text = "TextBox28";
- //
- // TabPage2
- //
- this.TabPage2.Controls.Add(this.GroupBox2);
- this.TabPage2.Location = new System.Drawing.Point(4, 22);
- this.TabPage2.Name = "TabPage2";
- this.TabPage2.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage2.Size = new System.Drawing.Size(513, 351);
- this.TabPage2.TabIndex = 5;
- this.TabPage2.Text = "Foto";
- this.TabPage2.UseVisualStyleBackColor = true;
- //
- // GroupBox2
- //
- this.GroupBox2.Controls.Add(this.Label45);
- this.GroupBox2.Controls.Add(this.TextBox32);
- this.GroupBox2.Controls.Add(this.TextBox26);
- this.GroupBox2.Controls.Add(this.Label37);
- this.GroupBox2.Controls.Add(this.Label38);
- this.GroupBox2.Controls.Add(this.TextBox27);
- this.GroupBox2.Controls.Add(this.Label39);
- this.GroupBox2.Controls.Add(this.TextBox28);
- this.GroupBox2.Controls.Add(this.CheckBox15);
- this.GroupBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox2.Location = new System.Drawing.Point(3, 6);
- this.GroupBox2.Name = "GroupBox2";
- this.GroupBox2.Size = new System.Drawing.Size(304, 156);
- this.GroupBox2.TabIndex = 36;
- this.GroupBox2.TabStop = false;
- this.GroupBox2.Text = "Foto grande";
- //
- // Label27
- //
- this.Label27.Location = new System.Drawing.Point(591, 378);
- this.Label27.Name = "Label27";
- this.Label27.Size = new System.Drawing.Size(145, 20);
- this.Label27.TabIndex = 78;
- this.Label27.Text = "Versione 2.2 2021";
- this.Label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // Button7
- //
- this.Button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Button7.Location = new System.Drawing.Point(539, 120);
- this.Button7.Name = "Button7";
- this.Button7.Size = new System.Drawing.Size(197, 40);
- this.Button7.TabIndex = 77;
- this.Button7.Text = "stop creazione";
- //
- // Button5
- //
- this.Button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Button5.Location = new System.Drawing.Point(539, 43);
- this.Button5.Name = "Button5";
- this.Button5.Size = new System.Drawing.Size(197, 32);
- this.Button5.TabIndex = 76;
- this.Button5.Text = "Salva impostazioni";
- //
- // PictureBox2
- //
- this.PictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.PictureBox2.Location = new System.Drawing.Point(144, 192);
- this.PictureBox2.Name = "PictureBox2";
- this.PictureBox2.Size = new System.Drawing.Size(24, 24);
- this.PictureBox2.TabIndex = 44;
- this.PictureBox2.TabStop = false;
- this.PictureBox2.Visible = false;
- //
- // PictureBox1
- //
- this.PictureBox1.Cursor = System.Windows.Forms.Cursors.Cross;
- this.PictureBox1.Location = new System.Drawing.Point(256, 56);
- this.PictureBox1.Name = "PictureBox1";
- this.PictureBox1.Size = new System.Drawing.Size(224, 160);
- this.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.PictureBox1.TabIndex = 43;
- this.PictureBox1.TabStop = false;
- //
- // ComboBox5
- //
- this.ComboBox5.Location = new System.Drawing.Point(144, 168);
- this.ComboBox5.Name = "ComboBox5";
- this.ComboBox5.Size = new System.Drawing.Size(96, 21);
- this.ComboBox5.TabIndex = 42;
- this.ComboBox5.Text = "ComboBox5";
- //
- // ComboBox4
- //
- this.ComboBox4.Location = new System.Drawing.Point(144, 144);
- this.ComboBox4.Name = "ComboBox4";
- this.ComboBox4.Size = new System.Drawing.Size(96, 21);
- this.ComboBox4.TabIndex = 41;
- this.ComboBox4.Text = "ComboBox4";
- //
- // Label19
- //
- this.Label19.AutoSize = true;
- this.Label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label19.Location = new System.Drawing.Point(544, 275);
- this.Label19.Name = "Label19";
- this.Label19.Size = new System.Drawing.Size(80, 16);
- this.Label19.TabIndex = 74;
- this.Label19.Text = "foto totali: ";
- //
- // Label18
- //
- this.Label18.AutoSize = true;
- this.Label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label18.Location = new System.Drawing.Point(648, 294);
- this.Label18.Name = "Label18";
- this.Label18.Size = new System.Drawing.Size(19, 20);
- this.Label18.TabIndex = 73;
- this.Label18.Text = "0";
- //
- // lblFotoTotaliNum
- //
- this.lblFotoTotaliNum.AutoSize = true;
- this.lblFotoTotaliNum.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.lblFotoTotaliNum.Location = new System.Drawing.Point(648, 275);
- this.lblFotoTotaliNum.Name = "lblFotoTotaliNum";
- this.lblFotoTotaliNum.Size = new System.Drawing.Size(19, 20);
- this.lblFotoTotaliNum.TabIndex = 72;
- this.lblFotoTotaliNum.Text = "0";
- //
- // Label10
- //
- this.Label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label10.Location = new System.Drawing.Point(539, 163);
- this.Label10.Name = "Label10";
- this.Label10.Size = new System.Drawing.Size(197, 72);
- this.Label10.TabIndex = 71;
- this.Label10.Text = "file";
- //
- // TextBox19
- //
- this.TextBox19.Location = new System.Drawing.Point(144, 96);
- this.TextBox19.Name = "TextBox19";
- this.TextBox19.Size = new System.Drawing.Size(96, 20);
- this.TextBox19.TabIndex = 40;
- this.TextBox19.Text = "TextBox19";
- //
- // Label28
- //
- this.Label28.ForeColor = System.Drawing.Color.Black;
- this.Label28.Location = new System.Drawing.Point(17, 97);
- this.Label28.Name = "Label28";
- this.Label28.Size = new System.Drawing.Size(120, 16);
- this.Label28.TabIndex = 39;
- this.Label28.Text = "Trasparenza (0-100%)";
- this.Label28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // CheckBox5
- //
- this.CheckBox5.ForeColor = System.Drawing.Color.Black;
- this.CheckBox5.Location = new System.Drawing.Point(0, 26);
- this.CheckBox5.Name = "CheckBox5";
- this.CheckBox5.Size = new System.Drawing.Size(72, 20);
- this.CheckBox5.TabIndex = 38;
- this.CheckBox5.Text = "Aggiungi";
- //
- // TextBox15
- //
- this.TextBox15.Location = new System.Drawing.Point(144, 72);
- this.TextBox15.Name = "TextBox15";
- this.TextBox15.Size = new System.Drawing.Size(96, 20);
- this.TextBox15.TabIndex = 19;
- this.TextBox15.Text = "TextBox15";
- //
- // TextBox14
- //
- this.TextBox14.Location = new System.Drawing.Point(144, 48);
- this.TextBox14.Name = "TextBox14";
- this.TextBox14.Size = new System.Drawing.Size(96, 20);
- this.TextBox14.TabIndex = 18;
- this.TextBox14.Text = "TextBox14";
- //
- // Label25
- //
- this.Label25.AutoSize = true;
- this.Label25.ForeColor = System.Drawing.Color.Black;
- this.Label25.Location = new System.Drawing.Point(17, 168);
- this.Label25.Name = "Label25";
- this.Label25.Size = new System.Drawing.Size(95, 13);
- this.Label25.TabIndex = 36;
- this.Label25.Text = "Posizione verticale";
- this.Label25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // TextBox16
- //
- this.TextBox16.Location = new System.Drawing.Point(144, 120);
- this.TextBox16.Name = "TextBox16";
- this.TextBox16.Size = new System.Drawing.Size(96, 20);
- this.TextBox16.TabIndex = 35;
- this.TextBox16.Text = "TextBox16";
- //
- // btnCreaCatalogoAsync
- //
- this.btnCreaCatalogoAsync.Location = new System.Drawing.Point(647, 78);
- this.btnCreaCatalogoAsync.Name = "btnCreaCatalogoAsync";
- this.btnCreaCatalogoAsync.Size = new System.Drawing.Size(89, 38);
- this.btnCreaCatalogoAsync.TabIndex = 83;
- this.btnCreaCatalogoAsync.Text = "Crea 2";
- this.btnCreaCatalogoAsync.UseVisualStyleBackColor = true;
- //
- // Label20
- //
- this.Label20.AutoSize = true;
- this.Label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label20.Location = new System.Drawing.Point(544, 294);
- this.Label20.Name = "Label20";
- this.Label20.Size = new System.Drawing.Size(104, 16);
- this.Label20.TabIndex = 75;
- this.Label20.Text = "foto generate:";
- //
- // btnCreaCatalogo
- //
- this.btnCreaCatalogo.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.btnCreaCatalogo.Location = new System.Drawing.Point(539, 77);
- this.btnCreaCatalogo.Name = "btnCreaCatalogo";
- this.btnCreaCatalogo.Size = new System.Drawing.Size(107, 39);
- this.btnCreaCatalogo.TabIndex = 69;
- this.btnCreaCatalogo.Text = "crea catalogo";
- //
- // Label24
- //
- this.Label24.AutoSize = true;
- this.Label24.ForeColor = System.Drawing.Color.Black;
- this.Label24.Location = new System.Drawing.Point(19, 123);
- this.Label24.Name = "Label24";
- this.Label24.Size = new System.Drawing.Size(88, 13);
- this.Label24.TabIndex = 34;
- this.Label24.Text = "Margine (pixel/%)";
- this.Label24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label22
- //
- this.Label22.AutoSize = true;
- this.Label22.ForeColor = System.Drawing.Color.Black;
- this.Label22.Location = new System.Drawing.Point(19, 51);
- this.Label22.Name = "Label22";
- this.Label22.Size = new System.Drawing.Size(41, 13);
- this.Label22.TabIndex = 20;
- this.Label22.Text = "Altezza";
- this.Label22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label23
- //
- this.Label23.AutoSize = true;
- this.Label23.ForeColor = System.Drawing.Color.Black;
- this.Label23.Location = new System.Drawing.Point(19, 75);
- this.Label23.Name = "Label23";
- this.Label23.Size = new System.Drawing.Size(56, 13);
- this.Label23.TabIndex = 21;
- this.Label23.Text = "Larghezza";
- this.Label23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // TextBox10
- //
- this.TextBox10.Location = new System.Drawing.Point(144, 24);
- this.TextBox10.Name = "TextBox10";
- this.TextBox10.Size = new System.Drawing.Size(312, 20);
- this.TextBox10.TabIndex = 6;
- this.TextBox10.Text = "TextBox10";
- //
- // Label29
- //
- this.Label29.AutoSize = true;
- this.Label29.ForeColor = System.Drawing.Color.Black;
- this.Label29.Location = new System.Drawing.Point(17, 147);
- this.Label29.Name = "Label29";
- this.Label29.Size = new System.Drawing.Size(105, 13);
- this.Label29.TabIndex = 36;
- this.Label29.Text = "Posizione orizzontale";
- this.Label29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label30
- //
- this.Label30.AutoSize = true;
- this.Label30.ForeColor = System.Drawing.Color.Black;
- this.Label30.Location = new System.Drawing.Point(19, 203);
- this.Label30.Name = "Label30";
- this.Label30.Size = new System.Drawing.Size(93, 13);
- this.Label30.TabIndex = 36;
- this.Label30.Text = "Colore trasparente";
- this.Label30.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.Label30.Visible = false;
- //
- // PictureBox3
- //
- this.PictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.PictureBox3.Location = new System.Drawing.Point(216, 192);
- this.PictureBox3.Name = "PictureBox3";
- this.PictureBox3.Size = new System.Drawing.Size(24, 24);
- this.PictureBox3.TabIndex = 44;
- this.PictureBox3.TabStop = false;
- this.PictureBox3.Visible = false;
- //
- // GroupBox6
- //
- this.GroupBox6.Controls.Add(this.PictureBox2);
- this.GroupBox6.Controls.Add(this.PictureBox1);
- this.GroupBox6.Controls.Add(this.ComboBox5);
- this.GroupBox6.Controls.Add(this.ComboBox4);
- this.GroupBox6.Controls.Add(this.TextBox19);
- this.GroupBox6.Controls.Add(this.Label28);
- this.GroupBox6.Controls.Add(this.CheckBox5);
- this.GroupBox6.Controls.Add(this.TextBox15);
- this.GroupBox6.Controls.Add(this.TextBox14);
- this.GroupBox6.Controls.Add(this.Label25);
- this.GroupBox6.Controls.Add(this.TextBox16);
- this.GroupBox6.Controls.Add(this.Label24);
- this.GroupBox6.Controls.Add(this.Label22);
- this.GroupBox6.Controls.Add(this.Label23);
- this.GroupBox6.Controls.Add(this.Button4);
- this.GroupBox6.Controls.Add(this.TextBox10);
- this.GroupBox6.Controls.Add(this.Label29);
- this.GroupBox6.Controls.Add(this.Label30);
- this.GroupBox6.Controls.Add(this.PictureBox3);
- this.GroupBox6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox6.Location = new System.Drawing.Point(6, 6);
- this.GroupBox6.Name = "GroupBox6";
- this.GroupBox6.Size = new System.Drawing.Size(496, 224);
- this.GroupBox6.TabIndex = 42;
- this.GroupBox6.TabStop = false;
- this.GroupBox6.Text = "Logo";
- //
- // Button4
- //
- this.Button4.Location = new System.Drawing.Point(464, 24);
- this.Button4.Name = "Button4";
- this.Button4.Size = new System.Drawing.Size(24, 20);
- this.Button4.TabIndex = 8;
- this.Button4.Text = "...";
- //
- // TabPage4
- //
- this.TabPage4.Controls.Add(this.GroupBox6);
- this.TabPage4.Location = new System.Drawing.Point(4, 22);
- this.TabPage4.Name = "TabPage4";
- this.TabPage4.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage4.Size = new System.Drawing.Size(513, 351);
- this.TabPage4.TabIndex = 3;
- this.TabPage4.Text = "Logo";
- this.TabPage4.UseVisualStyleBackColor = true;
- //
- // Label13
- //
- this.Label13.AutoSize = true;
- this.Label13.ForeColor = System.Drawing.Color.Black;
- this.Label13.Location = new System.Drawing.Point(16, 132);
- this.Label13.Name = "Label13";
- this.Label13.Size = new System.Drawing.Size(52, 13);
- this.Label13.TabIndex = 29;
- this.Label13.Text = "Posizione";
- //
- // rdbNumFiles
- //
- this.rdbNumFiles.ForeColor = System.Drawing.Color.Black;
- this.rdbNumFiles.Location = new System.Drawing.Point(32, 128);
- this.rdbNumFiles.Name = "rdbNumFiles";
- this.rdbNumFiles.Size = new System.Drawing.Size(136, 16);
- this.rdbNumFiles.TabIndex = 38;
- this.rdbNumFiles.Text = "Numerazione files";
- //
- // rdbNumProgressiva
- //
- this.rdbNumProgressiva.Checked = true;
- this.rdbNumProgressiva.ForeColor = System.Drawing.Color.Black;
- this.rdbNumProgressiva.Location = new System.Drawing.Point(32, 112);
- this.rdbNumProgressiva.Name = "rdbNumProgressiva";
- this.rdbNumProgressiva.Size = new System.Drawing.Size(152, 16);
- this.rdbNumProgressiva.TabIndex = 37;
- this.rdbNumProgressiva.TabStop = true;
- this.rdbNumProgressiva.Text = "Numerazione progressiva";
- //
- // txtCifreContatore
- //
- this.txtCifreContatore.Location = new System.Drawing.Point(128, 88);
- this.txtCifreContatore.Name = "txtCifreContatore";
- this.txtCifreContatore.Size = new System.Drawing.Size(56, 20);
- this.txtCifreContatore.TabIndex = 34;
- this.txtCifreContatore.Text = "4";
- //
- // Label34
- //
- this.Label34.ForeColor = System.Drawing.Color.Black;
- this.Label34.Location = new System.Drawing.Point(8, 88);
- this.Label34.Name = "Label34";
- this.Label34.Size = new System.Drawing.Size(112, 16);
- this.Label34.TabIndex = 33;
- this.Label34.Text = "Num. cifre contatore";
- this.Label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // txtSuffissoCartelle
- //
- this.txtSuffissoCartelle.Location = new System.Drawing.Point(56, 64);
- this.txtSuffissoCartelle.Name = "txtSuffissoCartelle";
- this.txtSuffissoCartelle.Size = new System.Drawing.Size(128, 20);
- this.txtSuffissoCartelle.TabIndex = 32;
- this.txtSuffissoCartelle.Text = "TextBox20";
- //
- // Label33
- //
- this.Label33.ForeColor = System.Drawing.Color.Black;
- this.Label33.Location = new System.Drawing.Point(6, 67);
- this.Label33.Name = "Label33";
- this.Label33.Size = new System.Drawing.Size(48, 16);
- this.Label33.TabIndex = 31;
- this.Label33.Text = "Suffisso";
- //
- // Label31
- //
- this.Label31.ForeColor = System.Drawing.Color.Black;
- this.Label31.Location = new System.Drawing.Point(24, 40);
- this.Label31.Name = "Label31";
- this.Label31.Size = new System.Drawing.Size(32, 16);
- this.Label31.TabIndex = 30;
- this.Label31.Text = "ogni";
- //
- // txtFilePerCartella
- //
- this.txtFilePerCartella.Location = new System.Drawing.Point(56, 40);
- this.txtFilePerCartella.Name = "txtFilePerCartella";
- this.txtFilePerCartella.Size = new System.Drawing.Size(64, 20);
- this.txtFilePerCartella.TabIndex = 27;
- this.txtFilePerCartella.Text = "99";
- //
- // GroupBox8
- //
- this.GroupBox8.Controls.Add(this.rdbNumFiles);
- this.GroupBox8.Controls.Add(this.rdbNumProgressiva);
- this.GroupBox8.Controls.Add(this.txtCifreContatore);
- this.GroupBox8.Controls.Add(this.Label34);
- this.GroupBox8.Controls.Add(this.txtSuffissoCartelle);
- this.GroupBox8.Controls.Add(this.Label33);
- this.GroupBox8.Controls.Add(this.Label31);
- this.GroupBox8.Controls.Add(this.chkCreaSottocartelle);
- this.GroupBox8.Controls.Add(this.txtFilePerCartella);
- this.GroupBox8.Controls.Add(this.Label32);
- this.GroupBox8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox8.Location = new System.Drawing.Point(204, 113);
- this.GroupBox8.Name = "GroupBox8";
- this.GroupBox8.Size = new System.Drawing.Size(192, 152);
- this.GroupBox8.TabIndex = 47;
- this.GroupBox8.TabStop = false;
- this.GroupBox8.Text = "Sottocartelle";
- //
- // chkCreaSottocartelle
- //
- this.chkCreaSottocartelle.ForeColor = System.Drawing.Color.Black;
- this.chkCreaSottocartelle.Location = new System.Drawing.Point(56, 16);
- this.chkCreaSottocartelle.Name = "chkCreaSottocartelle";
- this.chkCreaSottocartelle.Size = new System.Drawing.Size(112, 16);
- this.chkCreaSottocartelle.TabIndex = 29;
- this.chkCreaSottocartelle.Text = "crea sottocartelle";
- //
- // Label32
- //
- this.Label32.ForeColor = System.Drawing.Color.Black;
- this.Label32.Location = new System.Drawing.Point(128, 40);
- this.Label32.Name = "Label32";
- this.Label32.Size = new System.Drawing.Size(24, 16);
- this.Label32.TabIndex = 28;
- this.Label32.Text = "file";
- //
- // chkAggiornaSottodirectory
- //
- this.chkAggiornaSottodirectory.ForeColor = System.Drawing.Color.Black;
- this.chkAggiornaSottodirectory.Location = new System.Drawing.Point(80, 64);
- this.chkAggiornaSottodirectory.Name = "chkAggiornaSottodirectory";
- this.chkAggiornaSottodirectory.Size = new System.Drawing.Size(152, 24);
- this.chkAggiornaSottodirectory.TabIndex = 25;
- this.chkAggiornaSottodirectory.Text = "aggiorna le sottodirectory";
- //
- // GroupBox3
- //
- this.GroupBox3.Controls.Add(this.chkAggiornaSottodirectory);
- this.GroupBox3.Controls.Add(this.Button3);
- this.GroupBox3.Controls.Add(this.Button2);
- this.GroupBox3.Controls.Add(this.Label1);
- this.GroupBox3.Controls.Add(this.Label2);
- this.GroupBox3.Controls.Add(this.txtSorgente);
- this.GroupBox3.Controls.Add(this.txtDestinazione);
- this.GroupBox3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox3.Location = new System.Drawing.Point(6, 6);
- this.GroupBox3.Name = "GroupBox3";
- this.GroupBox3.Size = new System.Drawing.Size(496, 101);
- this.GroupBox3.TabIndex = 35;
- this.GroupBox3.TabStop = false;
- this.GroupBox3.Text = "Directory";
- //
- // Button3
- //
- this.Button3.Location = new System.Drawing.Point(462, 40);
- this.Button3.Name = "Button3";
- this.Button3.Size = new System.Drawing.Size(24, 20);
- this.Button3.TabIndex = 6;
- this.Button3.Text = "...";
- //
- // Button2
- //
- this.Button2.Location = new System.Drawing.Point(462, 16);
- this.Button2.Name = "Button2";
- this.Button2.Size = new System.Drawing.Size(24, 20);
- this.Button2.TabIndex = 5;
- this.Button2.Text = "...";
- //
- // Label1
- //
- this.Label1.AutoSize = true;
- this.Label1.ForeColor = System.Drawing.Color.Black;
- this.Label1.Location = new System.Drawing.Point(6, 19);
- this.Label1.Name = "Label1";
- this.Label1.Size = new System.Drawing.Size(50, 13);
- this.Label1.TabIndex = 3;
- this.Label1.Text = "Sorgente";
- //
- // Label2
- //
- this.Label2.AutoSize = true;
- this.Label2.ForeColor = System.Drawing.Color.Black;
- this.Label2.Location = new System.Drawing.Point(6, 43);
- this.Label2.Name = "Label2";
- this.Label2.Size = new System.Drawing.Size(68, 13);
- this.Label2.TabIndex = 4;
- this.Label2.Text = "Destinazione";
- //
- // txtSorgente
- //
- this.txtSorgente.Location = new System.Drawing.Point(80, 16);
- this.txtSorgente.Name = "txtSorgente";
- this.txtSorgente.Size = new System.Drawing.Size(376, 20);
- this.txtSorgente.TabIndex = 0;
- this.txtSorgente.Text = "TextBox1";
- //
- // txtDestinazione
- //
- this.txtDestinazione.Location = new System.Drawing.Point(80, 40);
- this.txtDestinazione.Name = "txtDestinazione";
- this.txtDestinazione.Size = new System.Drawing.Size(376, 20);
- this.txtDestinazione.TabIndex = 1;
- this.txtDestinazione.Text = "TextBox2";
- //
- // ProgressBar1
- //
- this.ProgressBar1.Location = new System.Drawing.Point(539, 243);
- this.ProgressBar1.Name = "ProgressBar1";
- this.ProgressBar1.Size = new System.Drawing.Size(197, 23);
- this.ProgressBar1.TabIndex = 82;
- //
- // CheckBox22
- //
- this.CheckBox22.AutoSize = true;
- this.CheckBox22.Location = new System.Drawing.Point(544, 358);
- this.CheckBox22.Name = "CheckBox22";
- this.CheckBox22.Size = new System.Drawing.Size(104, 17);
- this.CheckBox22.TabIndex = 81;
- this.CheckBox22.Text = "Arresta il sistema";
- this.CheckBox22.UseVisualStyleBackColor = true;
- //
- // Label43
- //
- this.Label43.AutoSize = true;
- this.Label43.Location = new System.Drawing.Point(541, 342);
- this.Label43.Name = "Label43";
- this.Label43.Size = new System.Drawing.Size(25, 13);
- this.Label43.TabIndex = 80;
- this.Label43.Text = "000";
- this.Label43.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // TabControl1
- //
- this.TabControl1.Controls.Add(this.TabPage5);
- this.TabControl1.Controls.Add(this.TabPage3);
- this.TabControl1.Controls.Add(this.TabPage2);
- this.TabControl1.Controls.Add(this.TabPage1);
- this.TabControl1.Controls.Add(this.TabPage4);
- this.TabControl1.Location = new System.Drawing.Point(12, 12);
- this.TabControl1.Name = "TabControl1";
- this.TabControl1.SelectedIndex = 0;
- this.TabControl1.Size = new System.Drawing.Size(526, 377);
- this.TabControl1.TabIndex = 79;
- //
- // TabPage5
- //
- this.TabPage5.Controls.Add(this.GroupBox11);
- this.TabPage5.Controls.Add(this.GroupBox3);
- this.TabPage5.Controls.Add(this.GroupBox8);
- this.TabPage5.Controls.Add(this.GroupBox7);
- this.TabPage5.Location = new System.Drawing.Point(4, 22);
- this.TabPage5.Name = "TabPage5";
- this.TabPage5.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage5.Size = new System.Drawing.Size(518, 351);
- this.TabPage5.TabIndex = 4;
- this.TabPage5.Text = "Generale";
- this.TabPage5.UseVisualStyleBackColor = true;
- //
- // GroupBox11
- //
- this.GroupBox11.Controls.Add(this.Panel3);
- this.GroupBox11.Controls.Add(this.Label8);
- this.GroupBox11.Controls.Add(this.TextBox8);
- this.GroupBox11.Controls.Add(this.Label7);
- this.GroupBox11.Controls.Add(this.TextBox7);
- this.GroupBox11.Location = new System.Drawing.Point(7, 209);
- this.GroupBox11.Name = "GroupBox11";
- this.GroupBox11.Size = new System.Drawing.Size(191, 132);
- this.GroupBox11.TabIndex = 48;
- this.GroupBox11.TabStop = false;
- this.GroupBox11.Text = "Avanzate (ATTENZIONE)";
- //
- // Panel3
- //
- this.Panel3.Controls.Add(this.rdbNuovoMetodo);
- this.Panel3.Controls.Add(this.rdbVecchioMetodo);
- this.Panel3.Location = new System.Drawing.Point(7, 73);
- this.Panel3.Name = "Panel3";
- this.Panel3.Size = new System.Drawing.Size(178, 53);
- this.Panel3.TabIndex = 4;
- //
- // rdbNuovoMetodo
- //
- this.rdbNuovoMetodo.AutoSize = true;
- this.rdbNuovoMetodo.Checked = true;
- this.rdbNuovoMetodo.Location = new System.Drawing.Point(8, 28);
- this.rdbNuovoMetodo.Name = "rdbNuovoMetodo";
- this.rdbNuovoMetodo.Size = new System.Drawing.Size(95, 17);
- this.rdbNuovoMetodo.TabIndex = 1;
- this.rdbNuovoMetodo.TabStop = true;
- this.rdbNuovoMetodo.Text = "Nuovo metodo";
- this.rdbNuovoMetodo.UseVisualStyleBackColor = true;
- //
- // rdbVecchioMetodo
- //
- this.rdbVecchioMetodo.AutoSize = true;
- this.rdbVecchioMetodo.Location = new System.Drawing.Point(8, 4);
- this.rdbVecchioMetodo.Name = "rdbVecchioMetodo";
- this.rdbVecchioMetodo.Size = new System.Drawing.Size(102, 17);
- this.rdbVecchioMetodo.TabIndex = 0;
- this.rdbVecchioMetodo.Text = "Vecchio metodo";
- this.rdbVecchioMetodo.UseVisualStyleBackColor = true;
- //
- // Label8
- //
- this.Label8.AutoSize = true;
- this.Label8.Location = new System.Drawing.Point(64, 26);
- this.Label8.Name = "Label8";
- this.Label8.Size = new System.Drawing.Size(111, 13);
- this.Label8.TabIndex = 3;
- this.Label8.Text = "Chunk Size (0 = MAX)";
- //
- // TextBox8
- //
- this.TextBox8.Location = new System.Drawing.Point(7, 20);
- this.TextBox8.Name = "TextBox8";
- this.TextBox8.Size = new System.Drawing.Size(47, 20);
- this.TextBox8.TabIndex = 2;
- this.TextBox8.Text = "0";
- //
- // Label7
- //
- this.Label7.AutoSize = true;
- this.Label7.Location = new System.Drawing.Point(61, 48);
- this.Label7.Name = "Label7";
- this.Label7.Size = new System.Drawing.Size(108, 13);
- this.Label7.TabIndex = 1;
- this.Label7.Text = "Threads (0 = CPU *2)";
- //
- // TextBox7
- //
- this.TextBox7.Location = new System.Drawing.Point(7, 46);
- this.TextBox7.Name = "TextBox7";
- this.TextBox7.Size = new System.Drawing.Size(47, 20);
- this.TextBox7.TabIndex = 0;
- this.TextBox7.Text = "0";
- //
- // GroupBox7
- //
- this.GroupBox7.Controls.Add(this.chkSovrascriviFile);
- this.GroupBox7.Controls.Add(this.chkRotazioneAutomatica);
- this.GroupBox7.Controls.Add(this.chkForzaJpg);
- this.GroupBox7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox7.Location = new System.Drawing.Point(6, 113);
- this.GroupBox7.Name = "GroupBox7";
- this.GroupBox7.Size = new System.Drawing.Size(192, 88);
- this.GroupBox7.TabIndex = 45;
- this.GroupBox7.TabStop = false;
- this.GroupBox7.Text = "Generale";
- //
- // chkSovrascriviFile
- //
- this.chkSovrascriviFile.AutoSize = true;
- this.chkSovrascriviFile.Location = new System.Drawing.Point(16, 61);
- this.chkSovrascriviFile.Name = "chkSovrascriviFile";
- this.chkSovrascriviFile.Size = new System.Drawing.Size(94, 17);
- this.chkSovrascriviFile.TabIndex = 2;
- this.chkSovrascriviFile.Text = "Sovrascrivi file";
- this.chkSovrascriviFile.UseVisualStyleBackColor = true;
- //
- // chkRotazioneAutomatica
- //
- this.chkRotazioneAutomatica.ForeColor = System.Drawing.Color.Black;
- this.chkRotazioneAutomatica.Location = new System.Drawing.Point(16, 39);
- this.chkRotazioneAutomatica.Name = "chkRotazioneAutomatica";
- this.chkRotazioneAutomatica.Size = new System.Drawing.Size(136, 16);
- this.chkRotazioneAutomatica.TabIndex = 1;
- this.chkRotazioneAutomatica.Text = "Rotazione automatica";
- //
- // chkForzaJpg
- //
- this.chkForzaJpg.Checked = true;
- this.chkForzaJpg.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkForzaJpg.ForeColor = System.Drawing.Color.Black;
- this.chkForzaJpg.Location = new System.Drawing.Point(16, 18);
- this.chkForzaJpg.Name = "chkForzaJpg";
- this.chkForzaJpg.Size = new System.Drawing.Size(80, 16);
- this.chkForzaJpg.TabIndex = 0;
- this.chkForzaJpg.Text = "Forza Jpg";
- //
- // TabPage3
- //
- this.TabPage3.Controls.Add(this.CheckBox2);
- this.TabPage3.Controls.Add(this.GroupBox10);
- this.TabPage3.Controls.Add(this.GroupBox9);
- this.TabPage3.Controls.Add(this.GroupBox5);
- this.TabPage3.Controls.Add(this.GroupBox4);
- this.TabPage3.Location = new System.Drawing.Point(4, 22);
- this.TabPage3.Name = "TabPage3";
- this.TabPage3.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage3.Size = new System.Drawing.Size(513, 351);
- this.TabPage3.TabIndex = 2;
- this.TabPage3.Text = "Testo";
- this.TabPage3.UseVisualStyleBackColor = true;
- //
- // CheckBox2
- //
- this.CheckBox2.AutoSize = true;
- this.CheckBox2.Location = new System.Drawing.Point(7, 8);
- this.CheckBox2.Name = "CheckBox2";
- this.CheckBox2.Size = new System.Drawing.Size(93, 17);
- this.CheckBox2.TabIndex = 40;
- this.CheckBox2.Text = "Aggiungi testo";
- this.CheckBox2.UseVisualStyleBackColor = true;
- //
- // GroupBox10
- //
- this.GroupBox10.Controls.Add(this.Label42);
- this.GroupBox10.Controls.Add(this.Label41);
- this.GroupBox10.Controls.Add(this.TextBox31);
- this.GroupBox10.Controls.Add(this.TextBox30);
- this.GroupBox10.Location = new System.Drawing.Point(316, 78);
- this.GroupBox10.Name = "GroupBox10";
- this.GroupBox10.Size = new System.Drawing.Size(186, 73);
- this.GroupBox10.TabIndex = 39;
- this.GroupBox10.TabStop = false;
- this.GroupBox10.Text = "Testo foto verticali";
- //
- // Label42
- //
- this.Label42.AutoSize = true;
- this.Label42.Location = new System.Drawing.Point(7, 46);
- this.Label42.Name = "Label42";
- this.Label42.Size = new System.Drawing.Size(45, 13);
- this.Label42.TabIndex = 3;
- this.Label42.Text = "Margine";
- //
- // Label41
- //
- this.Label41.AutoSize = true;
- this.Label41.Location = new System.Drawing.Point(7, 25);
- this.Label41.Name = "Label41";
- this.Label41.Size = new System.Drawing.Size(108, 13);
- this.Label41.TabIndex = 2;
- this.Label41.Text = "Dimensione Carattere";
- //
- // TextBox31
- //
- this.TextBox31.Location = new System.Drawing.Point(131, 46);
- this.TextBox31.Name = "TextBox31";
- this.TextBox31.Size = new System.Drawing.Size(39, 20);
- this.TextBox31.TabIndex = 1;
- //
- // TextBox30
- //
- this.TextBox30.Location = new System.Drawing.Point(131, 22);
- this.TextBox30.Name = "TextBox30";
- this.TextBox30.Size = new System.Drawing.Size(39, 20);
- this.TextBox30.TabIndex = 0;
- //
- // GroupBox9
- //
- this.GroupBox9.Controls.Add(this.CheckBox17);
- this.GroupBox9.Controls.Add(this.CheckBox16);
- this.GroupBox9.Location = new System.Drawing.Point(316, 31);
- this.GroupBox9.Name = "GroupBox9";
- this.GroupBox9.Size = new System.Drawing.Size(186, 45);
- this.GroupBox9.TabIndex = 38;
- this.GroupBox9.TabStop = false;
- this.GroupBox9.Text = "Slide show";
- //
- // CheckBox17
- //
- this.CheckBox17.AutoSize = true;
- this.CheckBox17.Location = new System.Drawing.Point(96, 18);
- this.CheckBox17.Name = "CheckBox17";
- this.CheckBox17.Size = new System.Drawing.Size(84, 17);
- this.CheckBox17.TabIndex = 1;
- this.CheckBox17.Text = "Numero foto";
- this.CheckBox17.UseVisualStyleBackColor = true;
- //
- // CheckBox16
- //
- this.CheckBox16.AutoSize = true;
- this.CheckBox16.Location = new System.Drawing.Point(6, 19);
- this.CheckBox16.Name = "CheckBox16";
- this.CheckBox16.Size = new System.Drawing.Size(49, 17);
- this.CheckBox16.TabIndex = 0;
- this.CheckBox16.Text = "Data";
- this.CheckBox16.UseVisualStyleBackColor = true;
- //
- // GroupBox5
- //
- this.GroupBox5.Controls.Add(this.TextBox34);
- this.GroupBox5.Controls.Add(this.Button8);
- this.GroupBox5.Controls.Add(this.Label36);
- this.GroupBox5.Controls.Add(this.TextBox25);
- this.GroupBox5.Controls.Add(this.Label35);
- this.GroupBox5.Controls.Add(this.ComboBox3);
- this.GroupBox5.Controls.Add(this.TextBox11);
- this.GroupBox5.Controls.Add(this.Label12);
- this.GroupBox5.Controls.Add(this.Label11);
- this.GroupBox5.Controls.Add(this.CheckBox3);
- this.GroupBox5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox5.Location = new System.Drawing.Point(6, 31);
- this.GroupBox5.Name = "GroupBox5";
- this.GroupBox5.Size = new System.Drawing.Size(304, 120);
- this.GroupBox5.TabIndex = 37;
- this.GroupBox5.TabStop = false;
- this.GroupBox5.Text = "Carattere";
- //
- // TextBox34
- //
- this.TextBox34.Location = new System.Drawing.Point(160, 91);
- this.TextBox34.Name = "TextBox34";
- this.TextBox34.Size = new System.Drawing.Size(56, 20);
- this.TextBox34.TabIndex = 36;
- this.TextBox34.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
- //
- // Button8
- //
- this.Button8.ForeColor = System.Drawing.Color.Black;
- this.Button8.Location = new System.Drawing.Point(222, 89);
- this.Button8.Name = "Button8";
- this.Button8.Size = new System.Drawing.Size(74, 24);
- this.Button8.TabIndex = 35;
- this.Button8.Text = "Scegli...";
- //
- // Label36
- //
- this.Label36.ForeColor = System.Drawing.Color.Black;
- this.Label36.Location = new System.Drawing.Point(8, 60);
- this.Label36.Name = "Label36";
- this.Label36.Size = new System.Drawing.Size(120, 19);
- this.Label36.TabIndex = 34;
- this.Label36.Text = "Dimensione miniatura";
- this.Label36.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // TextBox25
- //
- this.TextBox25.Location = new System.Drawing.Point(160, 59);
- this.TextBox25.Name = "TextBox25";
- this.TextBox25.Size = new System.Drawing.Size(56, 20);
- this.TextBox25.TabIndex = 33;
- this.TextBox25.Text = "TextBox25";
- //
- // Label35
- //
- this.Label35.ForeColor = System.Drawing.Color.Black;
- this.Label35.Location = new System.Drawing.Point(8, 93);
- this.Label35.Name = "Label35";
- this.Label35.Size = new System.Drawing.Size(72, 16);
- this.Label35.TabIndex = 32;
- this.Label35.Text = "Colore RGB";
- this.Label35.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // ComboBox3
- //
- this.ComboBox3.Location = new System.Drawing.Point(96, 8);
- this.ComboBox3.Name = "ComboBox3";
- this.ComboBox3.Size = new System.Drawing.Size(120, 21);
- this.ComboBox3.TabIndex = 28;
- this.ComboBox3.Text = "ComboBox3";
- //
- // TextBox11
- //
- this.TextBox11.Location = new System.Drawing.Point(160, 35);
- this.TextBox11.Name = "TextBox11";
- this.TextBox11.Size = new System.Drawing.Size(56, 20);
- this.TextBox11.TabIndex = 27;
- this.TextBox11.Text = "TextBox11";
- //
- // Label12
- //
- this.Label12.AutoSize = true;
- this.Label12.ForeColor = System.Drawing.Color.Black;
- this.Label12.Location = new System.Drawing.Point(8, 38);
- this.Label12.Name = "Label12";
- this.Label12.Size = new System.Drawing.Size(62, 13);
- this.Label12.TabIndex = 26;
- this.Label12.Text = "Dimensione";
- this.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label11
- //
- this.Label11.AutoSize = true;
- this.Label11.ForeColor = System.Drawing.Color.Black;
- this.Label11.Location = new System.Drawing.Point(56, 8);
- this.Label11.Name = "Label11";
- this.Label11.Size = new System.Drawing.Size(28, 13);
- this.Label11.TabIndex = 22;
- this.Label11.Text = "Font";
- //
- // CheckBox3
- //
- this.CheckBox3.ForeColor = System.Drawing.Color.Black;
- this.CheckBox3.Location = new System.Drawing.Point(224, 8);
- this.CheckBox3.Name = "CheckBox3";
- this.CheckBox3.Size = new System.Drawing.Size(72, 24);
- this.CheckBox3.TabIndex = 24;
- this.CheckBox3.Text = "Grassetto";
- //
- // GroupBox4
- //
- this.GroupBox4.Controls.Add(this.Label40);
- this.GroupBox4.Controls.Add(this.TextBox29);
- this.GroupBox4.Controls.Add(this.TextBox18);
- this.GroupBox4.Controls.Add(this.Label26);
- this.GroupBox4.Controls.Add(this.DateTimePicker1);
- this.GroupBox4.Controls.Add(this.CheckBox8);
- this.GroupBox4.Controls.Add(this.TextBox9);
- this.GroupBox4.Controls.Add(this.CheckBox7);
- this.GroupBox4.Controls.Add(this.Label4);
- this.GroupBox4.Controls.Add(this.TextBox4);
- this.GroupBox4.Controls.Add(this.Label9);
- this.GroupBox4.Controls.Add(this.Label13);
- this.GroupBox4.Controls.Add(this.ComboBox1);
- this.GroupBox4.Controls.Add(this.ComboBox2);
- this.GroupBox4.Controls.Add(this.Label14);
- this.GroupBox4.Controls.Add(this.TextBox12);
- this.GroupBox4.Controls.Add(this.Label15);
- this.GroupBox4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox4.Location = new System.Drawing.Point(6, 157);
- this.GroupBox4.Name = "GroupBox4";
- this.GroupBox4.Size = new System.Drawing.Size(496, 186);
- this.GroupBox4.TabIndex = 36;
- this.GroupBox4.TabStop = false;
- this.GroupBox4.Text = "Testo da applicare";
- //
- // ComboBox1
- //
- this.ComboBox1.Location = new System.Drawing.Point(72, 132);
- this.ComboBox1.Name = "ComboBox1";
- this.ComboBox1.Size = new System.Drawing.Size(104, 21);
- this.ComboBox1.TabIndex = 28;
- this.ComboBox1.Text = "ComboBox1";
- //
- // ComboBox2
- //
- this.ComboBox2.Location = new System.Drawing.Point(376, 132);
- this.ComboBox2.Name = "ComboBox2";
- this.ComboBox2.Size = new System.Drawing.Size(104, 21);
- this.ComboBox2.TabIndex = 31;
- this.ComboBox2.Text = "ComboBox2";
- //
- // Label14
- //
- this.Label14.AutoSize = true;
- this.Label14.ForeColor = System.Drawing.Color.Black;
- this.Label14.Location = new System.Drawing.Point(304, 132);
- this.Label14.Name = "Label14";
- this.Label14.Size = new System.Drawing.Size(67, 13);
- this.Label14.TabIndex = 30;
- this.Label14.Text = "Allineamento";
- //
- // TextBox12
- //
- this.TextBox12.Location = new System.Drawing.Point(376, 108);
- this.TextBox12.Name = "TextBox12";
- this.TextBox12.Size = new System.Drawing.Size(104, 20);
- this.TextBox12.TabIndex = 33;
- this.TextBox12.Text = "TextBox12";
- //
- // Label15
- //
- this.Label15.AutoSize = true;
- this.Label15.ForeColor = System.Drawing.Color.Black;
- this.Label15.Location = new System.Drawing.Point(296, 108);
- this.Label15.Name = "Label15";
- this.Label15.Size = new System.Drawing.Size(75, 13);
- this.Label15.TabIndex = 32;
- this.Label15.Text = "Margine (pixel)";
- //
- // Button6
- //
- this.Button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Button6.Location = new System.Drawing.Point(539, 12);
- this.Button6.Name = "Button6";
- this.Button6.Size = new System.Drawing.Size(197, 32);
- this.Button6.TabIndex = 70;
- this.Button6.Text = "Carica impostazioni";
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(800, 450);
- this.Controls.Add(this.Label27);
- this.Controls.Add(this.Button7);
- this.Controls.Add(this.Button5);
- this.Controls.Add(this.Label19);
- this.Controls.Add(this.Label18);
- this.Controls.Add(this.lblFotoTotaliNum);
- this.Controls.Add(this.Label10);
- this.Controls.Add(this.btnCreaCatalogoAsync);
- this.Controls.Add(this.Label20);
- this.Controls.Add(this.btnCreaCatalogo);
- this.Controls.Add(this.ProgressBar1);
- this.Controls.Add(this.CheckBox22);
- this.Controls.Add(this.Label43);
- this.Controls.Add(this.TabControl1);
- this.Controls.Add(this.Button6);
- this.Name = "Form1";
- this.Text = "Form1";
- this.TabPage1.ResumeLayout(false);
- this.Panel1.ResumeLayout(false);
- this.Panel1.PerformLayout();
- this.GroupBox1.ResumeLayout(false);
- this.GroupBox1.PerformLayout();
- this.Panel2.ResumeLayout(false);
- this.Panel2.PerformLayout();
- this.TabPage2.ResumeLayout(false);
- this.GroupBox2.ResumeLayout(false);
- this.GroupBox2.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).EndInit();
- this.GroupBox6.ResumeLayout(false);
- this.GroupBox6.PerformLayout();
- this.TabPage4.ResumeLayout(false);
- this.GroupBox8.ResumeLayout(false);
- this.GroupBox8.PerformLayout();
- this.GroupBox3.ResumeLayout(false);
- this.GroupBox3.PerformLayout();
- this.TabControl1.ResumeLayout(false);
- this.TabPage5.ResumeLayout(false);
- this.GroupBox11.ResumeLayout(false);
- this.GroupBox11.PerformLayout();
- this.Panel3.ResumeLayout(false);
- this.Panel3.PerformLayout();
- this.GroupBox7.ResumeLayout(false);
- this.GroupBox7.PerformLayout();
- this.TabPage3.ResumeLayout(false);
- this.TabPage3.PerformLayout();
- this.GroupBox10.ResumeLayout(false);
- this.GroupBox10.PerformLayout();
- this.GroupBox9.ResumeLayout(false);
- this.GroupBox9.PerformLayout();
- this.GroupBox5.ResumeLayout(false);
- this.GroupBox5.PerformLayout();
- this.GroupBox4.ResumeLayout(false);
- this.GroupBox4.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- internal System.Windows.Forms.TabPage TabPage1;
- internal System.Windows.Forms.Panel Panel1;
- internal System.Windows.Forms.CheckBox CheckBox18;
- internal System.Windows.Forms.CheckBox CheckBox4;
- internal System.Windows.Forms.CheckBox CheckBox12;
- internal System.Windows.Forms.GroupBox GroupBox1;
- internal System.Windows.Forms.Label Label46;
- internal System.Windows.Forms.TextBox TextBox33;
- internal System.Windows.Forms.Panel Panel2;
- internal System.Windows.Forms.RadioButton RadioButton3;
- internal System.Windows.Forms.RadioButton RadioButton7;
- internal System.Windows.Forms.RadioButton RadioButton4;
- internal System.Windows.Forms.RadioButton RadioButton6;
- internal System.Windows.Forms.RadioButton RadioButton5;
- internal System.Windows.Forms.Label Label5;
- internal System.Windows.Forms.TextBox TextBox5;
- internal System.Windows.Forms.Label Label6;
- internal System.Windows.Forms.TextBox TextBox6;
- internal System.Windows.Forms.Label Label3;
- internal System.Windows.Forms.TextBox TextBox3;
- internal System.Windows.Forms.CheckBox CheckBox1;
- internal System.Windows.Forms.Label Label37;
- internal System.Windows.Forms.Label Label38;
- internal System.Windows.Forms.Label Label45;
- internal System.Windows.Forms.TextBox TextBox32;
- internal System.Windows.Forms.TextBox TextBox26;
- internal System.Windows.Forms.TextBox TextBox27;
- internal System.Windows.Forms.Label Label39;
- internal System.Windows.Forms.CheckBox CheckBox15;
- internal System.Windows.Forms.Label Label40;
- internal System.Windows.Forms.TextBox TextBox29;
- internal System.Windows.Forms.TextBox TextBox18;
- internal System.Windows.Forms.Label Label26;
- internal System.Windows.Forms.DateTimePicker DateTimePicker1;
- internal System.Windows.Forms.CheckBox CheckBox8;
- internal System.Windows.Forms.TextBox TextBox9;
- internal System.Windows.Forms.CheckBox CheckBox7;
- internal System.Windows.Forms.Label Label4;
- internal System.Windows.Forms.TextBox TextBox4;
- internal System.Windows.Forms.Label Label9;
- internal System.Windows.Forms.TextBox TextBox28;
- internal System.Windows.Forms.TabPage TabPage2;
- internal System.Windows.Forms.GroupBox GroupBox2;
- internal System.Windows.Forms.Label Label27;
- internal System.Windows.Forms.Button Button7;
- internal System.Windows.Forms.Button Button5;
- internal System.Windows.Forms.PictureBox PictureBox2;
- internal System.Windows.Forms.PictureBox PictureBox1;
- internal System.Windows.Forms.ComboBox ComboBox5;
- internal System.Windows.Forms.ComboBox ComboBox4;
- internal System.Windows.Forms.Label Label19;
- internal System.Windows.Forms.Label Label18;
- internal System.Windows.Forms.Label lblFotoTotaliNum;
- internal System.Windows.Forms.Label Label10;
- internal System.Windows.Forms.TextBox TextBox19;
- internal System.Windows.Forms.Label Label28;
- internal System.Windows.Forms.CheckBox CheckBox5;
- internal System.Windows.Forms.TextBox TextBox15;
- internal System.Windows.Forms.TextBox TextBox14;
- internal System.Windows.Forms.Label Label25;
- internal System.Windows.Forms.TextBox TextBox16;
- internal System.Windows.Forms.Button btnCreaCatalogoAsync;
- internal System.Windows.Forms.Label Label20;
- internal System.Windows.Forms.Button btnCreaCatalogo;
- internal System.Windows.Forms.Label Label24;
- internal System.Windows.Forms.Label Label22;
- internal System.Windows.Forms.Label Label23;
- internal System.Windows.Forms.TextBox TextBox10;
- internal System.Windows.Forms.Label Label29;
- internal System.Windows.Forms.Label Label30;
- internal System.Windows.Forms.PictureBox PictureBox3;
- internal System.Windows.Forms.GroupBox GroupBox6;
- internal System.Windows.Forms.Button Button4;
- internal System.Windows.Forms.TabPage TabPage4;
- internal System.Windows.Forms.Label Label13;
- internal System.Windows.Forms.RadioButton rdbNumFiles;
- internal System.Windows.Forms.RadioButton rdbNumProgressiva;
- internal System.Windows.Forms.TextBox txtCifreContatore;
- internal System.Windows.Forms.Label Label34;
- internal System.Windows.Forms.TextBox txtSuffissoCartelle;
- internal System.Windows.Forms.Label Label33;
- internal System.Windows.Forms.Label Label31;
- internal System.Windows.Forms.TextBox txtFilePerCartella;
- internal System.Windows.Forms.GroupBox GroupBox8;
- internal System.Windows.Forms.CheckBox chkCreaSottocartelle;
- internal System.Windows.Forms.Label Label32;
- internal System.Windows.Forms.CheckBox chkAggiornaSottodirectory;
- internal System.Windows.Forms.GroupBox GroupBox3;
- internal System.Windows.Forms.Button Button3;
- internal System.Windows.Forms.Button Button2;
- internal System.Windows.Forms.Label Label1;
- internal System.Windows.Forms.Label Label2;
- internal System.Windows.Forms.TextBox txtSorgente;
- internal System.Windows.Forms.TextBox txtDestinazione;
- internal System.Windows.Forms.ProgressBar ProgressBar1;
- internal System.Windows.Forms.CheckBox CheckBox22;
- internal System.Windows.Forms.Label Label43;
- internal System.Windows.Forms.TabControl TabControl1;
- internal System.Windows.Forms.TabPage TabPage5;
- internal System.Windows.Forms.GroupBox GroupBox11;
- internal System.Windows.Forms.Panel Panel3;
- internal System.Windows.Forms.RadioButton rdbNuovoMetodo;
- internal System.Windows.Forms.RadioButton rdbVecchioMetodo;
- internal System.Windows.Forms.Label Label8;
- internal System.Windows.Forms.TextBox TextBox8;
- internal System.Windows.Forms.Label Label7;
- internal System.Windows.Forms.TextBox TextBox7;
- internal System.Windows.Forms.GroupBox GroupBox7;
- internal System.Windows.Forms.CheckBox chkSovrascriviFile;
- internal System.Windows.Forms.CheckBox chkRotazioneAutomatica;
- internal System.Windows.Forms.CheckBox chkForzaJpg;
- internal System.Windows.Forms.TabPage TabPage3;
- internal System.Windows.Forms.CheckBox CheckBox2;
- internal System.Windows.Forms.GroupBox GroupBox10;
- internal System.Windows.Forms.Label Label42;
- internal System.Windows.Forms.Label Label41;
- internal System.Windows.Forms.TextBox TextBox31;
- internal System.Windows.Forms.TextBox TextBox30;
- internal System.Windows.Forms.GroupBox GroupBox9;
- internal System.Windows.Forms.CheckBox CheckBox17;
- internal System.Windows.Forms.CheckBox CheckBox16;
- internal System.Windows.Forms.GroupBox GroupBox5;
- internal System.Windows.Forms.TextBox TextBox34;
- internal System.Windows.Forms.Button Button8;
- internal System.Windows.Forms.Label Label36;
- internal System.Windows.Forms.TextBox TextBox25;
- internal System.Windows.Forms.Label Label35;
- internal System.Windows.Forms.ComboBox ComboBox3;
- internal System.Windows.Forms.TextBox TextBox11;
- internal System.Windows.Forms.Label Label12;
- internal System.Windows.Forms.Label Label11;
- internal System.Windows.Forms.CheckBox CheckBox3;
- internal System.Windows.Forms.GroupBox GroupBox4;
- internal System.Windows.Forms.ComboBox ComboBox1;
- internal System.Windows.Forms.ComboBox ComboBox2;
- internal System.Windows.Forms.Label Label14;
- internal System.Windows.Forms.TextBox TextBox12;
- internal System.Windows.Forms.Label Label15;
- internal System.Windows.Forms.Button Button6;
- }
-}
-
diff --git a/ImageCatalogParallel/Form1.cs b/ImageCatalogParallel/Form1.cs
deleted file mode 100644
index 458f104..0000000
--- a/ImageCatalogParallel/Form1.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace ImageCatalogParallel
-{
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/ImageCatalogParallel/Form1.resx b/ImageCatalogParallel/Form1.resx
deleted file mode 100644
index 1af7de1..0000000
--- a/ImageCatalogParallel/Form1.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/ImageCatalogParallel/ImageCatalogParallel.csproj b/ImageCatalogParallel/ImageCatalogParallel.csproj
deleted file mode 100644
index b507943..0000000
--- a/ImageCatalogParallel/ImageCatalogParallel.csproj
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {0F42DA5C-2788-48BD-BACA-01625C3CFFBB}
- WinExe
- ImageCatalogParallel
- ImageCatalogParallel
- v4.8
- 512
- true
- true
-
-
- AnyCPU
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- AnyCPU
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- Form1.cs
-
-
-
-
- Form1.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ImageCatalogParallel/Program.cs b/ImageCatalogParallel/Program.cs
deleted file mode 100644
index 0a1fd3d..0000000
--- a/ImageCatalogParallel/Program.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace ImageCatalogParallel
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new Form1());
- }
- }
-}
diff --git a/ImageCatalogParallel/Properties/AssemblyInfo.cs b/ImageCatalogParallel/Properties/AssemblyInfo.cs
deleted file mode 100644
index 757c842..0000000
--- a/ImageCatalogParallel/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("ImageCatalogParallel")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("ImageCatalogParallel")]
-[assembly: AssemblyCopyright("Copyright © 2021")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("0f42da5c-2788-48bd-baca-01625c3cffbb")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/ImageCatalogParallel/Properties/Resources.Designer.cs b/ImageCatalogParallel/Properties/Resources.Designer.cs
deleted file mode 100644
index a23847e..0000000
--- a/ImageCatalogParallel/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-
-namespace ImageCatalogParallel.Properties
-{
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources
- {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources()
- {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager
- {
- get
- {
- if ((resourceMan == null))
- {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ImageCatalogParallel.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture
- {
- get
- {
- return resourceCulture;
- }
- set
- {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/ImageCatalogParallel/Properties/Resources.resx b/ImageCatalogParallel/Properties/Resources.resx
deleted file mode 100644
index af7dbeb..0000000
--- a/ImageCatalogParallel/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/ImageCatalogParallel/Properties/Settings.Designer.cs b/ImageCatalogParallel/Properties/Settings.Designer.cs
deleted file mode 100644
index 28069fb..0000000
--- a/ImageCatalogParallel/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-
-namespace ImageCatalogParallel.Properties
-{
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/ImageCatalogParallel/Properties/Settings.settings b/ImageCatalogParallel/Properties/Settings.settings
deleted file mode 100644
index 3964565..0000000
--- a/ImageCatalogParallel/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/MaddoShared.backup/FileData.cs b/MaddoShared.backup/FileData.cs
deleted file mode 100644
index 37bd735..0000000
--- a/MaddoShared.backup/FileData.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace MaddoShared
-{
- public class FileData
- {
- ///
- /// Il file originale
- ///
- public FileInfo File { get; set; }
- ///
- /// La cartella di destinazione
- ///
- public DirectoryInfo Directory { get; set; }
-
- public FileData(FileInfo newFile, DirectoryInfo newDirectory)
- {
- this.File = newFile;
- this.Directory = newDirectory;
- }
- }
-}
diff --git a/MaddoShared.backup/FileHelperSharp.cs b/MaddoShared.backup/FileHelperSharp.cs
deleted file mode 100644
index 905999e..0000000
--- a/MaddoShared.backup/FileHelperSharp.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-using System;
-using System.Collections.Concurrent;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace MaddoShared
-{
- public class FileHelperOptions
- {
- public bool SeparateFiles { get; set; }
- public NumerazioneType NumerationType { get; set; }
- public int CounterSize { get; set; }
- public string Suffix { get; set; }
- public int FilesPerFolder { get; set; }
- }
- public enum NumerazioneType
- {
- Progressiva,
- Files
- }
- public class FileHelperSharp
- {
-
- public List GetFilesRecursive(DirectoryInfo root, DirectoryInfo destRoot, string filter, FileHelperOptions options)
- {
- ConcurrentDictionary dirSourceDest = new ConcurrentDictionary();
- List result = new List();
-
- // Dim stack As New Stack(Of DirectoryInfo)
- Stack> stack = new Stack>();
-
-
-
- KeyValuePair pair = new KeyValuePair();
-
-
- // stack.Push(root)
- stack.Push(new KeyValuePair(root, destRoot));
-
- while ((stack.Count > 0))
- {
- KeyValuePair curDirKV = stack.Pop();
- // curDirKP = stack.Pop()
- DirectoryInfo dir = curDirKV.Key;
- DirectoryInfo dDir = curDirKV.Value;
- try
- {
- // result.AddRange(dir.GetFiles(filter, SearchOption.TopDirectoryOnly))
- // dividere file qui
- if (options.FilesPerFolder > 0 & options.SeparateFiles)
- AppendDictionaryConcurrent(dirSourceDest, DividiFilesInDirConcurrent(dir, dDir, options, filter));
- else
- AppendDictionaryConcurrent(dirSourceDest, DividiFilesInDirConcurrent(dir, dDir, options, filter));
-
- foreach (DirectoryInfo subDirectory in dir.GetDirectories())
- stack.Push(new KeyValuePair(subDirectory, new DirectoryInfo(Path.Combine(dDir.FullName, subDirectory.Name))));
- }
- catch (Exception ex)
- {
- // TODO ERROR
- }
- }
-
- List resultData = new List();
- resultData.AddRange(from p in dirSourceDest
- select new FileData(p.Key, p.Value));
- return resultData;
- }
-
- public ConcurrentDictionary AppendDictionaryConcurrent(ConcurrentDictionary dictA, ConcurrentDictionary dictB)
- {
- foreach (KeyValuePair pair in dictB)
- dictA.TryAdd(pair.Key, pair.Value);
- return dictA;
- }
-
-
- private ConcurrentDictionary DividiFilesInDirConcurrent(DirectoryInfo dir, DirectoryInfo dirDest, FileHelperOptions options, string filter)
- {
- //int filesCount = dir.GetFiles(Filter).Length;
- int contaFilePerDir = 0;
- int contaDirPerDir = 0;
- string tempText;// = string.Empty;
- ConcurrentDictionary foldersDict = new ConcurrentDictionary();
-
- DirectoryInfo destDir;
- destDir = new DirectoryInfo(Path.Combine(dirDest.FullName));
- foreach (FileInfo file in dir.GetFiles(filter))
- {
- contaFilePerDir += 1;
-
- if (contaFilePerDir == (contaDirPerDir * options.FilesPerFolder) + 1)
- {
- contaDirPerDir += 1;
-
- tempText = options.NumerationType == NumerazioneType.Progressiva ? contaDirPerDir.ToString() : (contaDirPerDir * options.FilesPerFolder).ToString();
- int i;
- for (i = 1; i <= (options.CounterSize - tempText.Length); i++)
- tempText = "0" + tempText;
- destDir = new DirectoryInfo(Path.Combine(dirDest.FullName, options.Suffix + tempText));
- }
-
- if (!destDir.Exists)
- destDir.Create();
-
- foldersDict.TryAdd(file, destDir);
- }
-
- return foldersDict;
- }
-
- }
-}
diff --git a/MaddoShared.backup/ImageCreationStuff.cs b/MaddoShared.backup/ImageCreationStuff.cs
deleted file mode 100644
index 439f3dc..0000000
--- a/MaddoShared.backup/ImageCreationStuff.cs
+++ /dev/null
@@ -1,194 +0,0 @@
-using System;
-using System.Collections.Concurrent;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using CatalogVbLib;
-using Dasync.Collections;
-
-namespace MaddoShared
-{
- public class ImageCreationStuff
- {
- public class Options
- {
- public bool AggiornaSottodirectory { get; set; }
- public bool CreaSottocartelle { get; set; }
-
- public int FilePerCartella { get; set; }
- public string SuffissoCartelle { get; set; }
- public int CifreContatore { get; set; }
- public NumerazioneType NumerazioneType { get; set; }
- public string SourcePath { get; set; }
- public string DestinationPath { get; set; }
-
- public int MaxThreads { get; set; }
- public int ChunksSize { get; set; }
- public bool LinearExecution { get; set; }
- }
-
- public async Task CreaCatalogoParallel(Options options, ConcurrentBag results, EventHandler> updateEvent, CancellationToken cancellationToken = default(CancellationToken))
- {
- var stopwatch = new Stopwatch();
- stopwatch.Start();
- // todo immagini counter
- //todo set label
- await CreaImmaginiParallel(options, results, updateEvent, cancellationToken);
-
- // todo set finito label
- stopwatch.Stop();
-
- return $"{stopwatch.Elapsed.Hours}h {stopwatch.Elapsed.Minutes}m ${stopwatch.Elapsed.Seconds}s ({stopwatch.Elapsed.TotalSeconds}s)";
-
-
- }
-
- public async Task CreaImmaginiParallel(Options options, ConcurrentBag results, EventHandler> updateEvent, CancellationToken cancellationToken = default(CancellationToken))
- {
- var dataToProcess = new List();
- if (options.AggiornaSottodirectory && options.CreaSottocartelle)
- {
- var helper = new FileHelperSharp();
- dataToProcess = helper.GetFilesRecursive(new DirectoryInfo(options.SourcePath), new DirectoryInfo(options.DestinationPath),
- "*.jpg", new FileHelperOptions()
- {
- FilesPerFolder = options.FilePerCartella,
- Suffix = options.SuffissoCartelle,
- CounterSize = options.CifreContatore,
- NumerationType = options.NumerazioneType
- });
- }
- else if (!options.CreaSottocartelle)
- {
- var files = Directory.EnumerateFiles(options.SourcePath, "*.jpg",
- options.AggiornaSottodirectory
- ? SearchOption.AllDirectories
- : SearchOption.TopDirectoryOnly);
-
- dataToProcess = files.Select(x =>
- {
- var fInfo = new FileInfo(x);
- var filePath = fInfo.DirectoryName;
- var trimmedSourcePath = options.SourcePath.TrimEnd('\\');
- var newFilePath = fInfo.FullName.Replace(trimmedSourcePath, "").TrimStart('\\');
- newFilePath = Path.Combine(options.DestinationPath, newFilePath);
-
- var destFolderPath = new FileInfo(newFilePath).DirectoryName;
- var destFolderInfo = new DirectoryInfo(destFolderPath);
- destFolderInfo.EnsureDirectoryExists();
-
- return new FileData(fInfo, new DirectoryInfo(new FileInfo(newFilePath).DirectoryName));
- }).ToList();
-
- //// TODO
- //dataToProcess =
- // (from f in Directory.EnumerateFiles(options.SourcePath, "*.jpg",
- // options.AggiornaSottodirectory
- // ? SearchOption.AllDirectories
- // : SearchOption.TopDirectoryOnly)
- // select new FileData(new FileInfo(f),
- // new DirectoryInfo(options.DestinationPath.PathCombine(
- // new FileInfo(f).DirectoryName.Replace(options.SourcePath.TrimEnd(new char[] {'\\'}), "")
- // )
- // )
- // )
- // )
- // .ToList();
- }
-
- var threads = options.MaxThreads == 0 ? Environment.ProcessorCount * 2 : options.MaxThreads;
- var scheduler = new ConcurrentExclusiveSchedulerPair(TaskScheduler.Default, threads)
- .ConcurrentScheduler;
-
- //var allTasks = new List();
- var test = from d in dataToProcess
- select Task.Factory.StartNew(async () =>
- {
- await new ImageCreatorSharp(d.File, d.Directory).CreaImmagineThread(d.File.Name);
-
- //var imgC = new ImageCreatorSharp(d.File, d.Directory);
- //imgC.CreaImmagineThread(d.File.Name);
- //imgC = null;
- }, CancellationToken.None, TaskCreationOptions.None, scheduler);
-
- //int count = 0;
-
- if (options.LinearExecution)
- {
- foreach (var task in test)
- {
- await task;
- }
- }
- else
- {
- if (options.ChunksSize == 0)
- {
-
-
- //var opts = new ParallelOptions() { MaxDegreeOfParallelism = threads, CancellationToken = cancellationToken, TaskScheduler = scheduler};
- await dataToProcess.ParallelForEachAsync(async fileData =>
- {
- await new ImageCreatorSharp(fileData.File, fileData.Directory).CreaImmagineThread(fileData.File.Name);
- results.Add(fileData.File.Name);
- //count = Interlocked.Increment(ref count);
- try
- {
- updateEvent?.Invoke(this, new Tuple(fileData.File.Name, dataToProcess.Count) );
- }
- catch (Exception e)
- {
- Console.WriteLine(e);
- throw;
- }
-
- }, maxDegreeOfParallelism: threads, false, cancellationToken);
-
-
- }
- else
- {
-
- var asdf = SplitList(dataToProcess.ToList(), options.ChunksSize).ToList();
-
-
- foreach (var sdaf in asdf)
- {
- await sdaf.ParallelForEachAsync(async fileData =>
- {
- await new ImageCreatorSharp(fileData.File, fileData.Directory).CreaImmagineThread(fileData.File.Name);
- results.Add(fileData.File.Name);
- //count = Interlocked.Increment(ref count);
- try
- {
- updateEvent?.Invoke(this, new Tuple(fileData.File.Name, dataToProcess.Count));
- }
- catch (Exception e)
- {
- Console.WriteLine(e);
- throw;
- }
- }, maxDegreeOfParallelism: threads, false, cancellationToken);
- }
-
-
-
- }
- }
-
-
- }
-
- public static IEnumerable> SplitList(List bigList, int nSize = 3)
- {
- for (int i = 0; i < bigList.Count; i += nSize)
- {
- yield return bigList.GetRange(i, Math.Min(nSize, bigList.Count - i));
- }
- }
- }
-}
diff --git a/MaddoShared.backup/ImageCreatorSharp.cs b/MaddoShared.backup/ImageCreatorSharp.cs
deleted file mode 100644
index 13f0d8e..0000000
--- a/MaddoShared.backup/ImageCreatorSharp.cs
+++ /dev/null
@@ -1,1021 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Globalization;
-using System.IO;
-using System.Linq;
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Security;
-using System.Text;
-using System.Threading.Tasks;
-using Microsoft.VisualBasic;
-using System.Drawing;
-using System.Drawing.Drawing2D;
-using System.Drawing.Imaging;
-using System.Windows.Forms;
-using CatalogVbLib;
-using SixLabors.ImageSharp.Metadata.Profiles.Exif;
-
-// Imports System.Threading
-
-public class ImageCreatorSharp
-{
- private bool FotoRuotaADestra = false;
- private bool FotoRuotaASinistra = false;
-
- private string TempMinText = "";
- // Private crFont1 As Font
- private string _NomeFileChild;
-
- private DirectoryInfo _SourceDir;
- private DirectoryInfo _DestDirStart;
- private DirectoryInfo _DestDir;
-
- private FileInfo _workFile;
-
- private string testoFirma;
- private string testoFirmaV;
- private int alphaScelta;
- private int DimensioneStandard;
- private int DimensioneStandardMiniatura;
- private DateTime dataFoto;
- private DateTime dataPartenzaI;
- private string testoOrario;
- private string testoFirmaPiccola;
- private Size thumbSizeSmall;
- private Size thumbSizeBig;
- private string nomeFileSmall;
- private string nomeFileBig;
- private string nomeFileBig2;
-
- private float yPosFromBottom;
- private float yPosFromBottom1;
- private float yPosFromBottom2;
- private float yPosFromBottom3;
- private float yPosFromBottom4;
-
- private ExifReader.Orientations _orientation;
- private DateTime? _creationDate;
-
- public ImageCreatorSharp()
- {
- }
-
- public ImageCreatorSharp(string nomeFileChild, DirectoryInfo sourceDir, DirectoryInfo destDir, DirectoryInfo destDirStart)
- {
- this.NomeFileChild = nomeFileChild;
- this.SourceDir = sourceDir;
- this.DestDir = destDir;
- this.DestDirStart = destDirStart;
- this.WorkFile = new FileInfo(nomeFileChild);
- }
-
- public ImageCreatorSharp(string nomeFileChild, DirectoryInfo sourceDir, DirectoryInfo destDir)
- {
- this.NomeFileChild = nomeFileChild;
- this.DestDir = destDir;
- }
-
- public ImageCreatorSharp(FileInfo file, DirectoryInfo destination)
- {
- this.WorkFile = file;
- this.DestDir = destination;
- }
-
- public async Task CreaImmagineThread(string Info)
- {
- try
- {
- await Task.Run(() =>
- {
- Console.WriteLine($"File: {WorkFile} Dest: {DestDir}");
- preparaVariabili();
- ExtractExif();
- // Dim g As System.Drawing.Image = System.Drawing.Image.FromFile(Path.Combine(SourceDir.FullName, NomeFileChild))
- using (Image g = Image.FromFile(WorkFile.FullName))
- {
-
- // Dim g As System.Drawing.Image = System.Drawing.Image.FromFile(WorkFile.FullName)
-
- // Imposta testo extra
- impostaTestoExtra(g);
-
- // Ruota l'immagine in base ai dati EXIF
- Rotation(g);
-
- // Forza jpeg se è selezionata l'opzione
- System.Drawing.Imaging.ImageFormat thisFormat = g.RawFormat;
- if (PicSettings.UsaForzaJpg == true)
- thisFormat = System.Drawing.Imaging.ImageFormat.Jpeg;
-
- prepareThumbnailSize(g);
-
- using (Bitmap imgOutputBig = new Bitmap(g, thumbSizeBig.Width, thumbSizeBig.Height))
- {
- //Bitmap imgOutputBig = new Bitmap(g, thumbSizeBig.Width, thumbSizeBig.Height);
- imgOutputBig.SetResolution(g.HorizontalResolution, g.VerticalResolution);
-
- // Crea le miniature
- creaMiniature(g, imgOutputBig, thisFormat);
-
- AggiungiTesto(g, imgOutputBig);
-
- aggiungiLogo(imgOutputBig);
-
- SalvaFoto(imgOutputBig, thumbSizeBig, nomeFileBig, nomeFileSmall, thumbSizeSmall, thisFormat);
- }
-
-
- }
- });
-
- // g.Dispose()
-
- //GC.Collect();
- }
-
- // PicSettings.mainForm.stepProgressBar()
-
- catch (Exception ex)
- {
- var e = ex.Demystify();
- Console.WriteLine(e);
- Console.WriteLine(e.Message);
- Console.WriteLine(e.StackTrace);
- }
- }
-
- private void ExtractExif()
- {
- using (var img = SixLabors.ImageSharp.Image.Load(_workFile.FullName))
- {
- ExifReader.Orientations finalOrientation;
- var rotation = img.Metadata?.ExifProfile?.GetValue(ExifTag.Orientation);
- if (rotation == null)
- {
- finalOrientation = ExifReader.Orientations.TopLeft;
- }
- else
- {
- finalOrientation = (ExifReader.Orientations)rotation.Value;
- }
-
- _orientation = finalOrientation;
-
- var creation = img.Metadata?.ExifProfile?.GetValue(ExifTag.DateTime);
- if (creation != null)
- {
- var succ = DateTime.TryParse(creation.Value, out var crDate);
- if (succ)
- {
- _creationDate = crDate;
- }
- else
- {
- _creationDate = null;
- }
- }
- else
- {
- _creationDate = null;
- }
-
-
- }
- }
-
- private void Rotation(System.Drawing.Image g)
- {
- FotoRuotaADestra = false;
- FotoRuotaASinistra = false;
-
- if (PicSettings.UsaRotazioneAutomatica == true)
- {
- if (g.PropertyIdList.Length > 0)
- {
-
-
- //ExifReader DatiExif = new ExifReader((Bitmap)g);
-
- switch (_orientation /*DatiExif.Orientation*/)
- {
- case ExifReader.Orientations.BottomLeft:
- case ExifReader.Orientations.BottomRight:
- case ExifReader.Orientations.LeftTop:
- case ExifReader.Orientations.LftBottom:
- FotoRuotaASinistra = true;
- break;
- case ExifReader.Orientations.RightBottom:
- case ExifReader.Orientations.RightTop:
- case ExifReader.Orientations.TopLeft:
- case ExifReader.Orientations.TopRight:
- break;
-
- }
- }
- }
-
- if (FotoRuotaASinistra == true)
- g.RotateFlip(RotateFlipType.Rotate270FlipNone);
- if (FotoRuotaADestra == true)
- g.RotateFlip(RotateFlipType.Rotate90FlipNone);
- }
- ///
- /// ''' Aggiunge Orario, tempo gara e altri
- /// '''
- /// ''' Image
- /// '''
- private void impostaTestoExtra(Image g)
- {
- if (PicSettings.UsaOrarioTestoApplicare | PicSettings.UsaTempoGaraTestoApplicare | PicSettings.UsaOrarioMiniatura | PicSettings.TestoMin | PicSettings.AggTempoGaraMin | PicSettings.AggNumTempMin)
- {
- if (g.PropertyIdList.Length > 0)
- {
- //ExifReader DatiExif = new ExifReader((Bitmap)g);
- dataFoto = _creationDate ?? DateTime.Now; //DatiExif.DateTimeOriginal;
- testoFirma = PicSettings.TestoFirmaStart;
- testoFirmaV = PicSettings.TestoFirmaStartV;
-
- if (dataFoto.Year != 1)
- {
- testoFirmaPiccola = dataFoto.ToShortTimeString();
- if (PicSettings.UsaOrarioTestoApplicare == true)
- {
- testoFirma += " " + dataFoto.ToShortDateString() + " " + dataFoto.ToLongTimeString();
- testoFirmaV += " " + dataFoto.ToShortDateString() + " " + dataFoto.ToLongTimeString();
- }
- if (PicSettings.UsaTempoGaraTestoApplicare == true)
- {
-
- var diff = dataPartenzaI - dataFoto;
- var diffA = diff.TotalSeconds * 10000000;
-
- TimeSpan Orario = new TimeSpan(0, 0, 0, (int)diffA);
- testoFirma += " " + testoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
- testoFirmaV += " " + testoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
- }
- }
- }
- }
- else
- {
- testoFirma = PicSettings.TestoFirmaStart;
- testoFirmaV = PicSettings.TestoFirmaStartV;
- }
- }
-
- ///
- /// ''' Prepara diverse variabili azzerandole, elaborandole e prendendole dalle impostazioni
- /// '''
- /// '''
- private void preparaVariabili()
- {
- alphaScelta = System.Convert.ToInt32((255 * (100 - PicSettings.Trasparenza) / (double)100));
- testoFirma = "";
- testoFirmaV = "";
- dataPartenzaI = PicSettings.DataPartenza;
- testoOrario = PicSettings.TestoOrario;
- if (testoOrario.Length > 0)
- testoOrario += " ";
- testoFirmaPiccola = "";
- thumbSizeSmall = new Size();
- thumbSizeBig = new Size();
- nomeFileSmall = "";
- nomeFileBig2 = "";
- nomeFileBig = "";
- DimensioneStandard = PicSettings.DimStandard;
- DimensioneStandardMiniatura = PicSettings.DimStandardMiniatura;
- // nomeFileSmall = Suffisso & NomeFileChild
- // nomeFileBig = NomeFileChild
- nomeFileSmall = PicSettings.Suffisso + WorkFile.Name;
- nomeFileBig = WorkFile.Name;
- }
-
- private void prepareThumbnailSize(Image g)
- {
- if (g.Width > g.Height)
- {
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, PicSettings.LarghezzaSmall, "Larghezza");
- Size SizeOrig = new Size(g.Width, g.Height);
- thumbSizeBig = SizeOrig;
- }
- else
- {
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, PicSettings.AltezzaSmall, "Altezza");
- Size SizeOrig = new Size(g.Width, g.Height);
- thumbSizeBig = SizeOrig;
- }
- }
-
- private void creaMiniature(Image g, Bitmap imgOutputBig, ImageFormat thisFormat)
- {
- if (PicSettings.TestoMin)
- testoFirmaPiccola = nomeFileBig;
- else if (PicSettings.AggNumTempMin)
- testoFirmaPiccola = nomeFileBig + " ";
- // Dim yPosFromBottom4 As Single
-
- Font crFont1 = null/* TODO Change to default(_) if this is not a reference type */;
- Font crFont2 = null/* TODO Change to default(_) if this is not a reference type */;
- SizeF crSize1 = new SizeF();
- SizeF crSize2 = new SizeF();
-
- if (PicSettings.CreaMiniature == true)
- {
- if (PicSettings.AggiungiScritteMiniature == false)
- {
- if (string.Equals(PicSettings.DirectorySorgente, PicSettings.DirectoryDestinazione, StringComparison.OrdinalIgnoreCase))
- nomeFileSmall = nomeFileSmall.Substring(0, nomeFileSmall.Length - 4) + PicSettings.Codice + nomeFileSmall.Substring(nomeFileSmall.Length - 4);
- if (PicSettings.UsaOrarioMiniatura | PicSettings.TestoMin | PicSettings.AggTempoGaraMin | PicSettings.AggNumTempMin)
- {
- if (testoFirmaPiccola.Length > 0)
- {
- using (var imgOutputSmall = (Bitmap)imgOutputBig.Clone())
- {
- Graphics grPhoto1;
- grPhoto1 = Graphics.FromImage(imgOutputSmall);
- grPhoto1.SmoothingMode = SmoothingMode.AntiAlias;
-
- int LarghezzaStandard1;
- // quick fix
- DimensioneStandardMiniatura = 50;
- if (PicSettings.Grassetto == true)
- {
- crFont1 = new Font(PicSettings.IlFont, DimensioneStandardMiniatura, FontStyle.Bold);
- crFont2 = new Font(PicSettings.IlFont, DimensioneStandard, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(PicSettings.IlFont, DimensioneStandardMiniatura);
- crFont2 = new Font(PicSettings.IlFont, DimensioneStandard);
- }
-
- crSize1 = grPhoto1.MeasureString(testoFirmaPiccola, crFont1);
- crSize2 = grPhoto1.MeasureString(testoFirma, crFont1);
- LarghezzaStandard1 = System.Convert.ToInt32(crSize1.Width);
-
- if (crSize1.Width > System.Convert.ToSingle(g.Width))
- {
- int Conta = DimensioneStandardMiniatura;
- do
- {
- if (Conta > 20)
- Conta -= 5;
- else
- Conta -= 1;
- if (PicSettings.Grassetto == true)
- crFont1 = new Font(PicSettings.IlFont, Conta, FontStyle.Bold);
- else
- crFont1 = new Font(PicSettings.IlFont, Conta);
- crSize1 = grPhoto1.MeasureString(testoFirmaPiccola, crFont1);
- if (crSize1.Width < System.Convert.ToSingle(g.Width))
- {
- LarghezzaStandard1 = System.Convert.ToInt32(crSize1.Width);
- break;
- }
-
- if (Conta <= 5)
- break;
- }
- while (true);
- DimensioneStandardMiniatura = Conta;
- }
-
- switch (PicSettings.Posizione.ToUpper())
- {
- case "ALTO":
- {
- yPosFromBottom1 = (PicSettings.Margine);
- yPosFromBottom4 = (PicSettings.MargVert);
- break;
- }
-
- case "BASSO":
- {
- yPosFromBottom1 = System.Convert.ToSingle((g.Height - crSize1.Height - (g.Height * PicSettings.Margine / (double)100)));
- yPosFromBottom4 = System.Convert.ToSingle((g.Height - crSize1.Height - (g.Height * PicSettings.MargVert / (double)100)));
- break;
- }
- }
-
- float xCenterOfImg1 = 0;
-
- StringFormat StrFormat1 = new StringFormat();
- switch (PicSettings.Allineamento.ToUpper())
- {
- case "SINISTRA":
- {
- xCenterOfImg1 = System.Convert.ToSingle((PicSettings.Margine + (LarghezzaStandard1 / (double)2)));
-
- if ((LarghezzaStandard1 / (double)2) > (g.Width / (double)2) - PicSettings.Margine)
- xCenterOfImg1 = System.Convert.ToSingle((g.Width / (double)2));
- break;
- }
-
- case "CENTRO":
- {
- xCenterOfImg1 = System.Convert.ToSingle((g.Width / (double)2));
- break;
- }
-
- case "DESTRA":
- {
- xCenterOfImg1 = System.Convert.ToSingle((g.Width - PicSettings.Margine - (LarghezzaStandard1 / (double)2)));
-
- if ((LarghezzaStandard1 / (double)2) > (g.Width / (double)2) - PicSettings.Margine)
- xCenterOfImg1 = System.Convert.ToSingle((g.Width / (double)2));
- break;
- }
- }
- StrFormat1.Alignment = StringAlignment.Center;
-
- SolidBrush semiTransBrush21 = new SolidBrush(Color.FromArgb(alphaScelta, 0, 0, 0));
- SolidBrush semiTransBrush1 = new SolidBrush(Color.FromArgb(alphaScelta, PicSettings.fontColoreRGB));
-
- // quick fix
- DimensioneStandardMiniatura = PicSettings.DimMin;
-
- if (PicSettings.Grassetto == true)
- crFont1 = new Font(PicSettings.IlFont, DimensioneStandardMiniatura, FontStyle.Bold);
- else
- crFont1 = new Font(PicSettings.IlFont, DimensioneStandardMiniatura);
- // asdgadfhdfhjgfsjgfjygfdhsdafa
- if (PicSettings.TestoMin)
- {
- grPhoto1.DrawString(nomeFileBig, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1);
- grPhoto1.DrawString(nomeFileBig, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- }
- else if (PicSettings.AggTempoGaraMin & PicSettings.UsaTempoGaraTestoApplicare)
- {
- var diff = dataPartenzaI - dataFoto;
- var diffA = diff.TotalSeconds * 10000000;
-
- TimeSpan Orario = new TimeSpan(0, 0, (int)diffA);/* new TimeSpan(DateTime.DateDiff(DateInterval.Second, dataPartenzaI, dataFoto) * 10000000);*/
- string tempstr = "";
-
-
- tempstr += Environment.NewLine + testoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
-
-
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1);
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- }
- else if (PicSettings.AggNumTempMin)
- {
- var diff = dataPartenzaI - dataFoto;
- var diffA = diff.TotalSeconds * 10000000;
- TimeSpan Orario = new TimeSpan(0, 0, (int)diffA);
- string tempstr = "";
- tempstr += nomeFileBig;
-
- tempstr += Environment.NewLine + testoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
-
-
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1);
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- }
- else
- {
- grPhoto1.DrawString(testoFirmaPiccola, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1);
- grPhoto1.DrawString(testoFirmaPiccola, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- }
-
- // Salva la miniatura
- //using (var g22 = Image.FromHbitmap(imgOutputSmall))
-
-
- using (var imgOutputSmall2 = new Bitmap(imgOutputSmall, thumbSizeSmall.Width, thumbSizeSmall.Height))
- {
- imgOutputSmall2.Save(Path.Combine(DestDir.FullName, nomeFileSmall), thisFormat);
-
- //imgOutputSmall2.Dispose();
- }
-
- //imgOutputSmall.Dispose();
- }
-
-
- //File.Delete(Path.Combine(DestDir.FullName, "Temp_" + nomeFileSmall));
- //FileSystem.Kill();
- }
- else
- {
- using (Bitmap imgOutputSmall = new Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height))
- {
- imgOutputSmall.Save(Path.Combine(DestDir.FullName, nomeFileSmall), thisFormat);
- //imgOutputSmall.Dispose();
- }
- }
- }
- else
- {
- using (Bitmap imgOutputSmall = new Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height))
- {
- imgOutputSmall.Save(Path.Combine(DestDir.FullName, nomeFileSmall), thisFormat);
- //imgOutputSmall.Dispose();
- }
- }
- }
- }
-
- crFont1?.Dispose();
- crFont2?.Dispose();
- }
-
- private void AggiungiTesto(Image g, Bitmap imgOutputBig)
- {
- using (var grPhoto = Graphics.FromImage(imgOutputBig))
- {
- grPhoto.SmoothingMode = SmoothingMode.AntiAlias;
-
- Font crFont = null/* TODO Change to default(_) if this is not a reference type */;
- SizeF crSize = new SizeF();
- int LarghezzaStandard;
-
- if (PicSettings.Grassetto == true)
- crFont = new Font(PicSettings.IlFont, DimensioneStandard, FontStyle.Bold);
- else
- crFont = new Font(PicSettings.IlFont, DimensioneStandard);
- crSize = grPhoto.MeasureString(testoFirma, crFont);
- LarghezzaStandard = System.Convert.ToInt32(crSize.Width);
-
- if (crSize.Width > System.Convert.ToSingle(g.Width))
- {
- int Conta = DimensioneStandard;
- do
- {
- if (Conta > 20)
- Conta -= 5;
- else
- Conta -= 1;
- if (PicSettings.Grassetto == true)
- crFont = new Font(PicSettings.IlFont, Conta, FontStyle.Bold);
- else
- crFont = new Font(PicSettings.IlFont, Conta);
- crSize = grPhoto.MeasureString(testoFirma, crFont);
- if (crSize.Width < System.Convert.ToSingle(g.Width))
- {
- LarghezzaStandard = System.Convert.ToInt32(crSize.Width);
- break;
- }
-
- if (Conta <= 5)
- break;
- }
- while (true);
- DimensioneStandard = Conta;
- }
-
-
- switch (PicSettings.Posizione.ToUpper())
- {
- case "ALTO":
- {
- yPosFromBottom = (PicSettings.Margine);
- yPosFromBottom3 = (PicSettings.MargVert);
- break;
- }
-
- case "BASSO":
- {
- yPosFromBottom = System.Convert.ToSingle((g.Height - crSize.Height - (g.Height * PicSettings.Margine / (double)100)));
- yPosFromBottom3 = System.Convert.ToSingle((g.Height - crSize.Height - (g.Height * PicSettings.MargVert / (double)100)));
- break;
- }
- }
-
- float xCenterOfImg = 0;
- float xCenterOfImg3 = 0;
- StringFormat StrFormat = new StringFormat();
- switch (PicSettings.Allineamento.ToUpper())
- {
- case "SINISTRA":
- {
- xCenterOfImg = System.Convert.ToSingle((PicSettings.Margine + (LarghezzaStandard / (double)2)));
- xCenterOfImg3 = System.Convert.ToSingle((PicSettings.MargVert + (LarghezzaStandard / (double)2)));
- if ((LarghezzaStandard / (double)2) > (g.Width / (double)2) - PicSettings.Margine)
- xCenterOfImg = System.Convert.ToSingle((g.Width / (double)2));
- if ((LarghezzaStandard / (double)2) > (g.Width / (double)2) - PicSettings.MargVert)
- xCenterOfImg3 = System.Convert.ToSingle((g.Width / (double)2));
- break;
- }
-
- case "CENTRO":
- {
- xCenterOfImg = System.Convert.ToSingle((g.Width / (double)2));
- break;
- }
-
- case "DESTRA":
- {
- xCenterOfImg = System.Convert.ToSingle((g.Width - PicSettings.Margine - (LarghezzaStandard / (double)2)));
- xCenterOfImg3 = System.Convert.ToSingle((g.Width - PicSettings.MargVert - (LarghezzaStandard / (double)2)));
- if ((LarghezzaStandard / (double)2) > (g.Width / (double)2) - PicSettings.Margine)
- xCenterOfImg = System.Convert.ToSingle((g.Width / (double)2));
- if ((LarghezzaStandard / (double)2) > (g.Width / (double)2) - PicSettings.MargVert)
- xCenterOfImg3 = System.Convert.ToSingle((g.Width / (double)2));
- break;
- }
- }
- StrFormat.Alignment = StringAlignment.Center;
-
- SolidBrush semiTransBrush2 = new SolidBrush(Color.FromArgb(alphaScelta, 0, 0, 0));
- // Dim semiTransBrush As SolidBrush = New SolidBrush(Color.FromArgb(AlphaScelta, _FontColoreR, _FontColoreG, _FontColoreB))
- SolidBrush semiTransBrush = new SolidBrush(Color.FromArgb(alphaScelta, PicSettings.fontColoreRGB));
-
- if (FotoRuotaADestra | FotoRuotaASinistra)
- {
- if (PicSettings.Grassetto == true)
- crFont = new Font(PicSettings.IlFont, PicSettings.DimVert, FontStyle.Bold);
- else
- crFont = new Font(PicSettings.IlFont, PicSettings.DimVert);
- }
- else if (PicSettings.Grassetto == true)
- crFont = new Font(PicSettings.IlFont, DimensioneStandard, FontStyle.Bold);
- else
- crFont = new Font(PicSettings.IlFont, DimensioneStandard);
-
-
- // qui scrive il testo (nomefilebig)
- if (PicSettings.TestoNome)
- {
- if (PicSettings.NomeData & g.PropertyIdList.Length > 0)
- {
- //ExifReader DatiExif = new ExifReader((Bitmap)g);
- dataFoto = _creationDate ?? DateTime.Now; //DatiExif.DateTimeOriginal;
-
- grPhoto.DrawString((nomeFileBig + " " + dataFoto.ToShortDateString()), crFont, semiTransBrush2, new PointF(xCenterOfImg + 1, yPosFromBottom + 1), StrFormat);
- grPhoto.DrawString((nomeFileBig + " " + dataFoto.ToShortDateString()), crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom), StrFormat);
- }
- else
- {
- grPhoto.DrawString(nomeFileBig, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1, yPosFromBottom + 1), StrFormat);
- grPhoto.DrawString(nomeFileBig, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom), StrFormat);
- }
- }
-
- if (PicSettings.TestoNome == false)
- {
- if (FotoRuotaADestra | FotoRuotaASinistra)
- {
- if (PicSettings.TestoMin == false)
- {
- grPhoto.DrawString(testoFirmaV, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1, yPosFromBottom3 + 1), StrFormat);
- grPhoto.DrawString(testoFirmaV, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom3), StrFormat);
- }
- if (PicSettings.TestoMin == true)
- {
- grPhoto.DrawString(testoFirmaV, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1, yPosFromBottom4 + 1), StrFormat);
- grPhoto.DrawString(testoFirmaV, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom4), StrFormat);
- }
- }
- else
- {
- grPhoto.DrawString(testoFirma, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1, yPosFromBottom + 1), StrFormat);
- grPhoto.DrawString(testoFirma, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom), StrFormat);
- }
- }
-
- if (string.Equals(PicSettings.DirectorySorgente, PicSettings.DirectoryDestinazione, StringComparison.OrdinalIgnoreCase))
- {
- nomeFileBig2 = nomeFileBig;
- nomeFileBig = nomeFileBig.Substring(0, nomeFileBig.Length - 4) + PicSettings.Codice + nomeFileBig.Substring(nomeFileBig.Length - 4);
- }
- //grPhoto.Dispose();
-
- crFont?.Dispose();
- }
-
-
- }
-
-
-
-
- private void aggiungiLogo(Bitmap imgOutputBig)
- {
- // imgOutputBig
- if (PicSettings.LogoAggiungi == true & File.Exists(PicSettings.LogoNomeFile))
- {
- Image ImmagineLogo = Image.FromFile(PicSettings.LogoNomeFile);
-
- Color LogoColoreTrasparente = Color.White;
- // Dim bmWatermark As Bitmap
-
- // * Create a Bitmap based on the previously modified photograph Bitmap
- // bmWatermark = New Bitmap(imgOutputBig)
- // bmWatermark.SetResolution(imgOutputBig.HorizontalResolution, imgOutputBig.VerticalResolution)
-
- // * Load this Bitmap into a new Graphic Object
- using (Graphics grWatermark = Graphics.FromImage(imgOutputBig))
- {
- ImageAttributes imageAttributes = new ImageAttributes();
-
- // * The first step replace the background color with one that is transparent (Alpha=0, R=0, G=0, B=0)
- ColorMap colorMap = new ColorMap();
-
- // * background this will be the color we search for and replace with transparency
- colorMap.OldColor = LogoColoreTrasparente;
- colorMap.NewColor = Color.FromArgb(0, 0, 0, 0);
-
- ColorMap[] remapTable = new[] { colorMap };
- imageAttributes.SetRemapTable(remapTable, ColorAdjustType.Bitmap);
-
- // * The second color manipulation is used to change the opacity by setting the 3rd row and 3rd column to 0.3f
- float[][] colorMatrixElements = new[] { new float[] { 1.0F, 0.0F, 0.0F, 0.0F, 0.0F }, new float[] { 0.0F, 1.0F, 0.0F, 0.0F, 0.0F }, new float[] { 0.0F, 0.0F, 1.0F, 0.0F, 0.0F }, new float[] { 0.0F, 0.0F, 0.0F, System.Convert.ToSingle(PicSettings.LogoTrasparenza) / 100F, 0.0F }, new float[] { 0.0F, 0.0F, 0.0F, 0.0F, 1.0F } };
- ColorMatrix wmColorMatrix = new ColorMatrix(colorMatrixElements);
- imageAttributes.SetColorMatrix(wmColorMatrix, ColorMatrixFlag.Default, ColorAdjustType.Bitmap);
-
- int FotoLogoH = PicSettings.LogoAltezza;
- int FotoLogoW = PicSettings.LogoLarghezza;
- double FattoreAlt = ImmagineLogo.Height / (double)FotoLogoH;
- double FattoreLarg = ImmagineLogo.Width / (double)FotoLogoW;
- Size NuovaSize;
- if (FattoreLarg > FattoreAlt)
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoW, "Larghezza");
- else
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoH, "Altezza");
-
- int MargineUsato;
- int MargineL;
- bool InPercentualeL;
- if (PicSettings.LogoMargine.EndsWith("%") == true)
- InPercentualeL = true;
- else
- InPercentualeL = false;
- MargineL = System.Convert.ToInt32(PicSettings.LogoMargine);
- if (InPercentualeL == true)
- MargineUsato = System.Convert.ToInt32(imgOutputBig.Height * MargineL / (double)100);
- else
- MargineUsato = MargineL;
-
- int xPosOfWm = 0;
- int yPosOfWm = 0;
- switch (PicSettings.LogoPosizioneH.ToUpper())
- {
- case "SINISTRA":
- case "NESSUNA":
- {
- xPosOfWm = MargineUsato;
- break;
- }
-
- case "CENTRO":
- {
- xPosOfWm = System.Convert.ToInt32((imgOutputBig.Width - NuovaSize.Width) / (double)2);
- break;
- }
-
- case "DESTRA":
- {
- xPosOfWm = ((imgOutputBig.Width - NuovaSize.Width) - MargineUsato);
- break;
- }
- }
- switch (PicSettings.LogoPosizioneV.ToUpper())
- {
- case "ALTO":
- case "NESSUNA":
- {
- yPosOfWm = MargineUsato;
- break;
- }
-
- case "CENTRO":
- {
- yPosOfWm = System.Convert.ToInt32((imgOutputBig.Height - NuovaSize.Height) / (double)2);
- break;
- }
-
- case "BASSO":
- {
- yPosOfWm = ((imgOutputBig.Height - NuovaSize.Height) - MargineUsato);
- break;
- }
- }
-
- grWatermark.DrawImage(ImmagineLogo, new Rectangle(xPosOfWm, yPosOfWm, NuovaSize.Width, NuovaSize.Height), 0, 0, ImmagineLogo.Width, ImmagineLogo.Height, GraphicsUnit.Pixel, imageAttributes);
- //grWatermark.Dispose();
- }
- }
- }
-
-
- private void SalvaFoto(Bitmap imgOutputBig, Size thumbSizeBig, string NomeFileBig, string NomeFileSmall, Size thumbSizeSmall, ImageFormat thisFormat)
- {
- using (var image1Stream = new MemoryStream())
- {
-
-
-
- if (PicSettings.FotoGrandeDimOrigina == false)
- {
- // attenzione non controlla se è png
- // imgOutputBig.Save(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig), thisFormat)
- if (thisFormat.Equals(ImageFormat.Jpeg))
- {
- MakeImageCustomQuality(imgOutputBig, image1Stream);
- }
- //SalvaImmagineCustomQuality(imgOutputBig, Path.Combine(DestDir.FullName, "Temp_" + NomeFileBig), PicSettings.jpegQuality);
- else
- {
- imgOutputBig.Save(image1Stream, thisFormat);
- }
- //imgOutputBig.Save(Path.Combine(DestDir.FullName, "Temp_" + NomeFileBig), thisFormat);
- image1Stream.Seek(0, SeekOrigin.Begin);
- using (var g2 = Image.FromStream(image1Stream))
- {
- thumbSizeBig = g2.Width > g2.Height ? NewthumbSize(g2.Width, g2.Height, PicSettings.LarghezzaBig, "Larghezza") : NewthumbSize(g2.Width, g2.Height, PicSettings.AltezzaBig, "Altezza");
- using (Bitmap imgOutputBig2 = new Bitmap(g2, thumbSizeBig.Width, thumbSizeBig.Height))
- {
- if (thisFormat.Equals(ImageFormat.Jpeg))
- SalvaImmagineCustomQuality(imgOutputBig2, Path.Combine(DestDir.FullName, NomeFileBig), PicSettings.jpegQuality);
- else
- imgOutputBig2.Save(Path.Combine(DestDir.FullName, NomeFileBig), thisFormat);
-
- //imgOutputBig2.Dispose();
- }
- }
-
- //imgOutputBig.Dispose();
- //g2.Dispose();
- }
- else
- {
- //
- if (thisFormat.Equals(ImageFormat.Jpeg))
- SalvaImmagineCustomQuality(imgOutputBig, Path.Combine(DestDir.FullName, NomeFileBig), PicSettings.jpegQuality);
- else
- imgOutputBig.Save(Path.Combine(DestDir.FullName, NomeFileBig), thisFormat);
-
- //imgOutputBig.Dispose();
- }
- image1Stream.Seek(0, SeekOrigin.Begin);
-
- if (PicSettings.CreaMiniature)
- {
- if (PicSettings.AggiungiScritteMiniature)
- {
- using (System.Drawing.Image g1 = PicSettings.FotoGrandeDimOrigina ? (Image)imgOutputBig.Clone() : Image.FromStream(image1Stream))
- {
- //if (PicSettings.FotoGrandeDimOrigina == false)
- // g1 = Image.FromStream(image1Stream);
- ////g1 = System.Drawing.Image.FromFile(Path.Combine(DestDir.FullName, "Temp_" + NomeFileBig));
- //else
- // g1 = (Image)imgOutputBig.Clone();
- //g1 = System.Drawing.Image.FromFile(Path.Combine(DestDir.FullName, NomeFileBig));
- using (Bitmap imgOutputSmall = new Bitmap(g1, thumbSizeSmall.Width, thumbSizeSmall.Height))
- {
- if (string.Equals(PicSettings.DirectorySorgente, PicSettings.DirectoryDestinazione, StringComparison.OrdinalIgnoreCase))
- NomeFileSmall = NomeFileSmall.Substring(0, NomeFileSmall.Length - 4) + PicSettings.Codice + NomeFileSmall.Substring(NomeFileSmall.Length - 4);
- //
- if (thisFormat.Equals(ImageFormat.Jpeg))
- SalvaImmagineCustomQuality(imgOutputSmall, Path.Combine(DestDir.FullName, NomeFileSmall), PicSettings.jpegQualityMin);
- else
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat);
-
- //imgOutputSmall.Dispose();
- }
-
- //g1.Dispose();
- }
- }
- }
-
- //if (File.Exists(Path.Combine(DestDir.FullName, "Temp_" + NomeFileBig)))
- // File.Delete(Path.Combine(DestDir.FullName, "Temp_" + NomeFileBig));
-
- }
- }
-
- private void SalvaImmagineCustomQuality(Bitmap imageToSave, string nomeFileFinale, long quality)
- {
- ImageCodecInfo JgpEncoder = GetEncoder(ImageFormat.Jpeg);
- System.Drawing.Imaging.Encoder MyEncoder = System.Drawing.Imaging.Encoder.Quality;
-
- EncoderParameters MyEncoderParameters = new EncoderParameters(1);
-
- EncoderParameter MyEncoderParameter = new EncoderParameter(MyEncoder, PicSettings.jpegQuality);
- MyEncoderParameters.Param[0] = MyEncoderParameter;
- imageToSave.Save(nomeFileFinale, JgpEncoder, MyEncoderParameters);
- //imageToSave.Dispose();
- }
-
- private void MakeImageCustomQuality(Bitmap imageToSave, Stream destinationStream)
- {
- ImageCodecInfo JgpEncoder = GetEncoder(ImageFormat.Jpeg);
- System.Drawing.Imaging.Encoder MyEncoder = System.Drawing.Imaging.Encoder.Quality;
-
- EncoderParameters MyEncoderParameters = new EncoderParameters(1);
-
- EncoderParameter MyEncoderParameter = new EncoderParameter(MyEncoder, PicSettings.jpegQuality);
- MyEncoderParameters.Param[0] = MyEncoderParameter;
- destinationStream.Seek(0, SeekOrigin.Begin);
- imageToSave.Save(destinationStream, JgpEncoder, MyEncoderParameters);
- //imageToSave.Dispose();
- }
-
-
- private ImageCodecInfo GetEncoder(ImageFormat format)
- {
- ImageCodecInfo[] codecs = ImageCodecInfo.GetImageDecoders();
-
-
- foreach (var codec in codecs)
- {
- if (codec.FormatID == format.Guid)
- return codec;
- }
- return null/* TODO Change to default(_) if this is not a reference type */;
- }
-
-
-
-
-
-
- ///
- /// ''' Calculate the Size of the New image
- /// '''
- /// ''' Larghezza
- /// ''' Altezza
- /// '''
- /// '''
- /// '''
- /// '''
- private Size NewthumbSize(int currentwidth, int currentheight, int MaxPixel, string TipoSize)
- {
- // e
- // *** Larghezza, Altezza, Auto
-
- double tempMultiplier;
-
- if (TipoSize.ToUpper() == "Larghezza".ToUpper())
- tempMultiplier = MaxPixel / (double)currentwidth;
- else if (TipoSize.ToUpper() == "Altezza".ToUpper())
- tempMultiplier = MaxPixel / (double)currentheight;
- else if (currentheight > currentwidth)
- tempMultiplier = MaxPixel / (double)currentheight;
- else
- tempMultiplier = MaxPixel / (double)currentwidth;
-
- Size NewSize = new Size(System.Convert.ToInt32(currentwidth * tempMultiplier), System.Convert.ToInt32(currentheight * tempMultiplier));
-
- return NewSize;
- }
-
- public FileInfo WorkFile
- {
- get
- {
- return _workFile;
- }
- set
- {
- _workFile = value;
- }
- }
-
- public DirectoryInfo DestDir
- {
- get => _DestDir;
- set => _DestDir = value;
- }
-
- public DirectoryInfo SourceDir
- {
- get
- {
- return _SourceDir;
- }
- set
- {
- _SourceDir = value;
- }
- }
-
- public DirectoryInfo DestDirStart
- {
- get
- {
- return _DestDirStart;
- }
- set
- {
- _DestDirStart = value;
- }
- }
-
- public string NomeFileChild
- {
- get
- {
- return _NomeFileChild;
- }
- set
- {
- _NomeFileChild = value;
- }
- }
-}
diff --git a/MaddoShared.backup/MaddoShared.csproj b/MaddoShared.backup/MaddoShared.csproj
deleted file mode 100644
index 03c762e..0000000
--- a/MaddoShared.backup/MaddoShared.csproj
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {AEBFE9E3-277C-4A7B-8448-145D1B11998B}
- Library
- Properties
- MaddoShared
- MaddoShared
- v4.7.2
- 512
- true
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
- ..\packages\AsyncEnumerator.4.0.2\lib\net461\AsyncEnumerable.dll
-
-
- ..\packages\Ben.Demystifier.0.3.0\lib\net45\Ben.Demystifier.dll
-
-
- ..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll
-
-
- ..\packages\SixLabors.ImageSharp.1.0.3\lib\net472\SixLabors.ImageSharp.dll
-
-
-
- ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll
-
-
- ..\packages\System.Collections.Immutable.5.0.0\lib\net461\System.Collections.Immutable.dll
-
-
-
-
- ..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll
-
-
-
- ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll
-
-
- ..\packages\System.Reflection.Metadata.5.0.0\lib\net461\System.Reflection.Metadata.dll
-
-
- ..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll
-
-
- ..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll
-
-
-
-
-
-
-
-
-
- ..\packages\Z.ExtensionMethods.2.1.1\lib\net45\Z.ExtensionMethods.dll
-
-
-
-
-
-
-
-
-
-
-
-
- {44465926-240d-473f-90b8-786ba4384406}
- CatalogVbLib
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MaddoShared.backup/Properties/AssemblyInfo.cs b/MaddoShared.backup/Properties/AssemblyInfo.cs
deleted file mode 100644
index 52a601e..0000000
--- a/MaddoShared.backup/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("MaddoShared")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("MaddoShared")]
-[assembly: AssemblyCopyright("Copyright © 2021")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("aebfe9e3-277c-4a7b-8448-145d1b11998b")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/MaddoShared.backup/ThreadingHelper.cs b/MaddoShared.backup/ThreadingHelper.cs
deleted file mode 100644
index f0ce4db..0000000
--- a/MaddoShared.backup/ThreadingHelper.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace MaddoShared
-{
- public static class ThreadingHelper
- {
- ///
- /// Starts the given tasks and waits for them to complete. This will run, at most, the specified number of tasks in parallel.
- /// NOTE: If one of the given tasks has already been started, an exception will be thrown.
- ///
- /// The tasks to run.
- /// The maximum number of tasks to run in parallel.
- /// The cancellation token.
- public static void StartAndWaitAllThrottled(IEnumerable tasksToRun, int maxTasksToRunInParallel, CancellationToken cancellationToken = new CancellationToken())
- {
- StartAndWaitAllThrottled(tasksToRun, maxTasksToRunInParallel, -1, cancellationToken);
- }
-
- ///
- /// Starts the given tasks and waits for them to complete. This will run, at most, the specified number of tasks in parallel.
- /// NOTE: If one of the given tasks has already been started, an exception will be thrown.
- ///
- /// The tasks to run.
- /// The maximum number of tasks to run in parallel.
- /// The maximum milliseconds we should allow the max tasks to run in parallel before allowing another task to start. Specify -1 to wait indefinitely.
- /// The cancellation token.
- public static void StartAndWaitAllThrottled(IEnumerable tasksToRun, int maxTasksToRunInParallel, int timeoutInMilliseconds, CancellationToken cancellationToken = new CancellationToken())
- {
- // Convert to a list of tasks so that we don't enumerate over it multiple times needlessly.
- var tasks = tasksToRun.ToList();
-
- using (var throttler = new SemaphoreSlim(maxTasksToRunInParallel))
- {
- var postTaskTasks = new List();
-
- // Have each task notify the throttler when it completes so that it decrements the number of tasks currently running.
- tasks.ForEach(t => postTaskTasks.Add(t.ContinueWith(tsk => throttler.Release())));
-
- // Start running each task.
- foreach (var task in tasks)
- {
- // Increment the number of tasks currently running and wait if too many are running.
- throttler.Wait(timeoutInMilliseconds, cancellationToken);
-
- cancellationToken.ThrowIfCancellationRequested();
- task.Start();
- }
-
- // Wait for all of the provided tasks to complete.
- // We wait on the list of "post" tasks instead of the original tasks, otherwise there is a potential race condition where the throttler's using block is exited before some Tasks have had their "post" action completed, which references the throttler, resulting in an exception due to accessing a disposed object.
- Task.WaitAll(postTaskTasks.ToArray(), cancellationToken);
- }
- }
- }
-}
diff --git a/MaddoShared.backup/app.config b/MaddoShared.backup/app.config
deleted file mode 100644
index 8d59e6b..0000000
--- a/MaddoShared.backup/app.config
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MaddoShared.backup/packages.config b/MaddoShared.backup/packages.config
deleted file mode 100644
index e229a26..0000000
--- a/MaddoShared.backup/packages.config
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MaddoShared.backup/upgrade.backup b/MaddoShared.backup/upgrade.backup
deleted file mode 100644
index 3d26f1f..0000000
--- a/MaddoShared.backup/upgrade.backup
+++ /dev/null
@@ -1 +0,0 @@
-Backup created at 1615021651 (06/03/2021 09:07:31 +00:00)
\ No newline at end of file
diff --git a/WPFCatalog/App.config b/WPFCatalog/App.config
deleted file mode 100644
index ca0daff..0000000
--- a/WPFCatalog/App.config
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/WPFCatalog/App.xaml b/WPFCatalog/App.xaml
deleted file mode 100644
index 9388e68..0000000
--- a/WPFCatalog/App.xaml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/WPFCatalog/App.xaml.cs b/WPFCatalog/App.xaml.cs
deleted file mode 100644
index ac50df1..0000000
--- a/WPFCatalog/App.xaml.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Configuration;
-using System.Data;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows;
-
-namespace WPFCatalog
-{
- ///
- /// Interaction logic for App.xaml
- ///
- public partial class App : Application
- {
- }
-}
diff --git a/WPFCatalog/Controls/GeneralSettingsControl.xaml b/WPFCatalog/Controls/GeneralSettingsControl.xaml
deleted file mode 100644
index bfa637d..0000000
--- a/WPFCatalog/Controls/GeneralSettingsControl.xaml
+++ /dev/null
@@ -1,186 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/WPFCatalog/Controls/GeneralSettingsControl.xaml.cs b/WPFCatalog/Controls/GeneralSettingsControl.xaml.cs
deleted file mode 100644
index af3e0aa..0000000
--- a/WPFCatalog/Controls/GeneralSettingsControl.xaml.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-
-namespace WPFCatalog.Controls
-{
- ///
- /// Interaction logic for GeneralSettingsControl.xaml
- ///
- public partial class GeneralSettingsControl : UserControl
- {
- public GeneralSettingsControl()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/WPFCatalog/Controls/TextSettingsControl.xaml b/WPFCatalog/Controls/TextSettingsControl.xaml
deleted file mode 100644
index 7d7ac19..0000000
--- a/WPFCatalog/Controls/TextSettingsControl.xaml
+++ /dev/null
@@ -1,168 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/WPFCatalog/Controls/TextSettingsControl.xaml.cs b/WPFCatalog/Controls/TextSettingsControl.xaml.cs
deleted file mode 100644
index 2c29c51..0000000
--- a/WPFCatalog/Controls/TextSettingsControl.xaml.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-
-namespace WPFCatalog.Controls
-{
- ///
- /// Interaction logic for TextSettingsControl.xaml
- ///
- public partial class TextSettingsControl : UserControl
- {
- public TextSettingsControl()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/WPFCatalog/Converters/FontFamilyStringConverter.cs b/WPFCatalog/Converters/FontFamilyStringConverter.cs
deleted file mode 100644
index 66a103e..0000000
--- a/WPFCatalog/Converters/FontFamilyStringConverter.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Data;
-using System.Windows.Media;
-
-namespace WPFCatalog
-{
- public class FontFamilyStringConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- FontFamily fontfamily = new FontFamily("Verdana");
- if (value != null)
- {
- fontfamily = new FontFamily(value.ToString());
- }
- return fontfamily;
-
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- throw new NotImplementedException();
- }
- }
-}
diff --git a/WPFCatalog/Converters/MaddoColorConverter.cs b/WPFCatalog/Converters/MaddoColorConverter.cs
deleted file mode 100644
index 2248484..0000000
--- a/WPFCatalog/Converters/MaddoColorConverter.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Diagnostics;
-using System.Globalization;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Data;
-using System.Windows.Media;
-
-namespace WPFCatalog
-{
- public class MaddoColorConverter : IValueConverter
- {
- private static readonly DependencyObject _dummy = new DependencyObject();
-
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- Color color = Colors.Black;
-
- if (value != null && value != DependencyProperty.UnsetValue && value is string && !String.IsNullOrWhiteSpace((string)value))
- {
- string c = (string)value;
- object convertedColor = null;
- try
- {
- convertedColor = ColorConverter.ConvertFromString(c);
- }
- catch (Exception ex)
- {
- if (!DesignerProperties.GetIsInDesignMode(_dummy))
- {
- throw new FormatException($"String {c} does not represent a valid color", ex);
- }
- }
- if (convertedColor != null)
- {
- color = (Color)convertedColor;
- }
- }
-
- return color;
-
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- if (value != null)
- {
- Color color = (Color)value;
- Debug.WriteLine(color.ToString());
- return color.ToString();
- }
- return string.Empty;
- }
- }
-}
diff --git a/WPFCatalog/Icons/camera-photo-5.png b/WPFCatalog/Icons/camera-photo-5.png
deleted file mode 100644
index 1e54dea..0000000
Binary files a/WPFCatalog/Icons/camera-photo-5.png and /dev/null differ
diff --git a/WPFCatalog/Icons/document-open-6.png b/WPFCatalog/Icons/document-open-6.png
deleted file mode 100644
index fe03b7f..0000000
Binary files a/WPFCatalog/Icons/document-open-6.png and /dev/null differ
diff --git a/WPFCatalog/Icons/document-open-folder.png b/WPFCatalog/Icons/document-open-folder.png
deleted file mode 100644
index 98b8a94..0000000
Binary files a/WPFCatalog/Icons/document-open-folder.png and /dev/null differ
diff --git a/WPFCatalog/Icons/face-smile-2.png b/WPFCatalog/Icons/face-smile-2.png
deleted file mode 100644
index 24ce7a5..0000000
Binary files a/WPFCatalog/Icons/face-smile-2.png and /dev/null differ
diff --git a/WPFCatalog/Icons/format-justify-left-2.png b/WPFCatalog/Icons/format-justify-left-2.png
deleted file mode 100644
index d6abc05..0000000
Binary files a/WPFCatalog/Icons/format-justify-left-2.png and /dev/null differ
diff --git a/WPFCatalog/Icons/photo.png b/WPFCatalog/Icons/photo.png
deleted file mode 100644
index 0b2e201..0000000
Binary files a/WPFCatalog/Icons/photo.png and /dev/null differ
diff --git a/WPFCatalog/Icons/picture.png b/WPFCatalog/Icons/picture.png
deleted file mode 100644
index b773744..0000000
Binary files a/WPFCatalog/Icons/picture.png and /dev/null differ
diff --git a/WPFCatalog/MainWindow.xaml b/WPFCatalog/MainWindow.xaml
deleted file mode 100644
index c7cd8fe..0000000
--- a/WPFCatalog/MainWindow.xaml
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/WPFCatalog/MainWindow.xaml.cs b/WPFCatalog/MainWindow.xaml.cs
deleted file mode 100644
index f4aab5a..0000000
--- a/WPFCatalog/MainWindow.xaml.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Forms;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using CatalogLib;
-using GalaSoft.MvvmLight.Messaging;
-using MaddoLibrary.Helpers;
-using MahApps.Metro.Controls;
-using WPFCatalog.Messages;
-
-namespace WPFCatalog
-{
- ///
- /// Interaction logic for MainWindow.xaml
- ///
- public partial class MainWindow
- {
- public PicSettings GlobalSettings = new PicSettings();
- public MainWindow()
- {
- InitializeComponent();
-
- this.DataContext = new MainWindowViewModel();
-
- SetDefaults();
-
- //((MainWindowViewModel) DataContext).
- Messenger.Default.Register(this, OpenFonts);
- }
-
- private void SetDefaults()
- {
-
- }
-
- private void OpenFonts(OpenFontWindowMessage message)
- {
- FontDialog fd = new FontDialog();
- System.Windows.Forms.DialogResult dr = fd.ShowDialog();
- if (dr != System.Windows.Forms.DialogResult.Cancel)
- {
- //DialogHelper.PopUpMessage(fd.Font.Name);
- //cmbFont.Text = fd.Font.Name;
- //tbSomeText.FontFamily = new System.Windows.Media.FontFamily(fd.Font.Name);
- //tbSomeText.FontSize = fd.Font.Size * 96.0 / 72.0;
- //tbSomeText.FontWeight = fd.Font.Bold ? FontWeights.Bold : FontWeights.Regular;
- //tbSomeText.FontStyle = fd.Font.Italic ? FontStyles.Italic : FontStyles.Normal;
-
- message.Callback(new FontData()
- {
- Name = fd.Font.Name,
- Size = Math.Round(fd.Font.Size) /* 96.0 / 72.0*/,
- Bold = fd.Font.Bold,
- Italic = fd.Font.Italic
- });
- }
- }
-
- }
-}
diff --git a/WPFCatalog/MainWindowViewModel.cs b/WPFCatalog/MainWindowViewModel.cs
deleted file mode 100644
index a9d0ce3..0000000
--- a/WPFCatalog/MainWindowViewModel.cs
+++ /dev/null
@@ -1,1016 +0,0 @@
-using System;
-using System.Collections.Concurrent;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using CatalogLib;
-using GalaSoft.MvvmLight.Command;
-using MaddoLibrary.Base.Log;
-using MaddoLibrary.Helpers;
-using WPFCatalog.Messages;
-
-namespace WPFCatalog
-{
- public class MainWindowViewModel : ViewModelBase
- {
-
-
- public PicSettings PicSettings
- {
- get { return PicSettings.Instance; }
- }
-
- public MainWindowViewModel()
- {
- //PicSettings = new PicSettings();
- RegisterCommands();
- }
-
- // todo: comandi e serializzazione
-
- #region commands
-
- public RelayCommand ExportSettingsCommand { get; private set; }
- public RelayCommand ImportSettingsCommand { get; private set; }
-
- public RelayCommand SelectSourceFolderCommand { get; private set; }
- public RelayCommand SelectDestinationFolderCommand { get; private set; }
- public RelayCommand OpenSourceFolderCommand { get; private set; }
- public RelayCommand OpenDestinationFolderCommand { get; private set; }
-
- public RelayCommand StartCommand { get; private set; }
- public RelayCommand StopCommand { get; private set; }
-
- public RelayCommand PickFontCommand { get; private set; }
-
- private void RegisterCommands()
- {
- ExportSettingsCommand = new RelayCommand(ExportSettings);
- ImportSettingsCommand = new RelayCommand(ImportSettings);
-
- SelectSourceFolderCommand = new RelayCommand(SelectSourceFolder);
- OpenSourceFolderCommand = new RelayCommand(OpenSourceFolder);
-
- SelectDestinationFolderCommand = new RelayCommand(SelectDestinationFolder);
- OpenDestinationFolderCommand = new RelayCommand(OpenDestinationFolder);
-
- StartCommand = new RelayCommand(Start);
- StopCommand = new RelayCommand(Stop);
-
-
- PickFontCommand = new RelayCommand(PickFont);
- }
-
- private void PickFont()
- {
- //FontData d = null;
- MessengerInstance.Send(new OpenFontWindowMessage((ayy) =>
- {
- this.FontName = ayy.Name;
- this.FontSize = ayy.Size;
- //d = ayy;
- }));
- //if (d != null)
- //{
- // FontName = d.Name;
- //}
-
- //string s = d.Name;
- }
-
- private struct ImageTask
- {
- public Task TaskImage;
- public string ImageName;
- public bool Completed;
- }
-
- private Task _workTask;
- //private List _tasks;
- private async void Start()
- {
-
- //Task outerTask = new Task(() =>
- //{
- // Stopwatch s = new Stopwatch();
-
- // var tasks = new List();
- // // todo folder mode
- // MaddoLogger.Log("Starting elaboration");
- // foreach (var file in Directory.EnumerateFiles(PicSettings.DirectorySorgente))
- // {
- // //Task t = new Task(() =>
- // //{
-
- // // //CompleteFile(file);
- // //});
- // var t = FileTask(file);
- // if (t != null)
- // {
- // tasks.Add(t);
- // }
- // else
- // {
- // MaddoLogger.LogError("Task was null for file: {0}", file);
- // }
- // //_tasks.Add(new ImageTask() { ImageName = file, TaskImage = t, Completed = false });
- // //t.Start();
-
-
-
- // }
- // s.Start();
-
- // await Task.WhenAll(tasks);
-
- // Task.WhenAll(tasks).Start();
- // s.Stop();
- // //tt.RunSynchronously();
- // MaddoLogger.Log("Finished: {0}, {1}", s.Elapsed, s.ElapsedMilliseconds);
- // DialogHelper.PopUpAlert($"Finished: {s.Elapsed}, {s.ElapsedMilliseconds}", "message");
- //});
- if (/*_workTask == null || _workTask.IsCanceled || _workTask.IsCompleted || _workTask.IsFaulted*/!_isRunning)
- {
- _workTask = OuterTask();
- try
- {
- await _workTask;
- }
- catch (TaskCanceledException e)
- {
- MaddoLogger.LogError(e);
- MaddoLogger.LogError("Master Task cancelled");
- //throw;
- }
-
- }
-
-
-
- }
-
-
-
- private void Stop()
- {
- if (_isRunning)
- {
- _tokenSource.Cancel();
- }
- }
-
- private CancellationTokenSource _tokenSource;
- private bool _isRunning = false;
- private async Task OuterTask()
- {
- _isRunning = true;
- _tokenSource = new CancellationTokenSource();
- var token = _tokenSource.Token;
-
- var tasks = new ConcurrentBag();
-
- IsUiActive = false;
- Stopwatch s = new Stopwatch();
-
- //var tasks = new List();
- // todo folder mode
- MaddoLogger.Log("Starting elaboration");
- var files = Directory.EnumerateFiles(PicSettings.DirectorySorgente).ToArray();
-
- TotalPictures = files.Count();
-
- IImageProcessor i = new ImgSharpCreator();
-
- foreach (var file in files)
- {
- //Task t = new Task(() =>
- //{
-
- // //CompleteFile(file);
- //});
- var t = FileTask(file, i, token);
-
- tasks.Add(t);
-
- //_tasks.Add(new ImageTask() { ImageName = file, TaskImage = t, Completed = false });
- //t.Start();
-
-
-
- }
- s.Start();
-
-
-
- try
- {
- await Task.WhenAll(tasks);
- }
- catch (AggregateException e)
- {
- MaddoLogger.LogError(e);
- MaddoLogger.LogError("Task cancelled");
- //Console.WriteLine(e);
- //Console.WriteLine("Task cancelled");
- //throw;
- }
- finally
- {
- _tokenSource.Dispose();
-
- //Task.WhenAll(tasks).Start();
- s.Stop();
- //tt.RunSynchronously();
- MaddoLogger.Log("Finished: {0}, {1}", s.Elapsed, s.ElapsedMilliseconds);
- DialogHelper.PopUpAlert($"Finished: {s.Elapsed}, {s.ElapsedMilliseconds}", "message");
-
- IsUiActive = true;
- _isRunning = false;
- }
-
-
-
-
-
- }
-
-
- private async Task FileTask(string file, IImageProcessor i, CancellationToken token)
- {
- if (token.IsCancellationRequested == true)
- {
- token.ThrowIfCancellationRequested();
- }
- MaddoLogger.Log("Starting task for image {0}", file);
- //IImageProcessor i = new ImgSharpCreator();
- await Task.Run(() => i.Start(new FileInfo(file)), token);
- CurrentImage = file;
- TotalPictures--;
- }
-
- private void CompleteFile(string file)
- {
-
- }
-
- private void OpenSourceFolder()
- {
- if (Directory.Exists(DirSorgente))
- {
- Process.Start("explorer.exe", DirSorgente);
- }
- }
-
- private void OpenDestinationFolder()
- {
- if (Directory.Exists(DirDestinazione))
- {
- Process.Start("explorer.exe", DirDestinazione);
- }
- }
-
-
-
- private void SelectSourceFolder()
- {
- var a = FileHelper.GetOpenFolderPath();
-
- if (!string.IsNullOrWhiteSpace(a))
- {
- this.DirSorgente = a;
-
- }
- }
-
- private void SelectDestinationFolder()
- {
- var a = FileHelper.GetOpenFolderPath();
-
- if (!string.IsNullOrWhiteSpace(a))
- {
- this.DirDestinazione = a;
-
- }
- }
-
- private void ExportSettings()
- {
- string s = PicSettings.SerializeSettings();
-
- DialogHelper.PopUpAlert(s, "data");
-
- var savePath = FileHelper.GetSavePath("", "settings.json", string.Empty);
- if (string.IsNullOrWhiteSpace(savePath)) return;
- if (Directory.Exists(Path.GetDirectoryName(savePath)))
- {
- Debug.WriteLine(savePath);
- FileHelper.WriteToFile(savePath, s, false);
- Debug.WriteLine(s);
- }
-
- }
-
- private void ImportSettings()
- {
- var loadPath = FileHelper.GetOpenPath();
- if (string.IsNullOrWhiteSpace(loadPath)) return;
- if (File.Exists(loadPath))
- {
- var f = FileHelper.ReadTextFile(loadPath);
- PicSettings.DeserializeSettings(f);
- RaisePropertyChanged(string.Empty);
- }
- }
-
- #endregion
-
- #region ProprietÃ
-
- private bool _isUiActive = true;
- public bool IsUiActive
- {
- get => _isUiActive;
- set { _isUiActive = value; RaisePropertyChanged("IsUiActive"); }
- }
-
- private string _currentImage;
-
- public string CurrentImage
- {
- get => _currentImage;
- set { _currentImage = value; RaisePropertyChanged("CurrentImage"); }
- }
-
- private int _totalPictures;
-
- public int TotalPictures
- {
- get => _totalPictures;
- set { _totalPictures = value; RaisePropertyChanged("TotalPictures"); }
- }
-
-
- public PicSettings SettingsString
- {
- get { return PicSettings; }
- }
-
- public string DirSorgente
- {
- get { return PicSettings.GetString("DirSorgente"); }
- set { PicSettings.Set("DirSorgente", value); RaisePropertyChanged("DirSorgente"); }
- }
-
- public string DirDestinazione
- {
- get { return PicSettings.DirectoryDestinazione; }
- set
- {
- PicSettings.Set("DirDestinazione", value);
- RaisePropertyChanged("DirDestinazione");
- }
- }
-
- public bool DirAggiornaSottoDirectory
- {
- get { return PicSettings.DirAggiornaSottoDirectory; }
- set
- {
- PicSettings.DirAggiornaSottoDirectory = value;
- RaisePropertyChanged("DirAggiornaSottoDirectory");
- }
- }
-
- public bool SubdirCreaSottoCartelle
- {
- get { return PicSettings.SubdirCreaSottoCartelle; }
- set { PicSettings.SubdirCreaSottoCartelle = value; RaisePropertyChanged("SubdirCreaSottoCartelle"); }
- }
-
- public int SubdirIntervalloFile
- {
- get { return PicSettings.SubdirIntervalloFile; }
- set { PicSettings.SubdirIntervalloFile = value; RaisePropertyChanged("SubdirIntervalloFile"); }
- }
-
- public string SubdirSuffisso
- {
- get { return PicSettings.SubdirSuffisso; }
- set { PicSettings.SubdirSuffisso = value; RaisePropertyChanged("SubdirSuffisso"); }
- }
-
- public int SubdirCifreContatore
- {
- get { return PicSettings.SubdirCifreContatore; }
- set { PicSettings.SubdirCifreContatore = value; RaisePropertyChanged("SubdirCifreContatore"); }
- }
-
- public bool SubdirNumerazioneProgressiva
- {
- get { return PicSettings.SubdirNumerazioneProgressiva; }
- set { PicSettings.SubdirNumerazioneProgressiva = value; RaisePropertyChanged("SubdirNumerazioneProgressiva"); }
- }
-
- public bool SubdirNumerazioneFiles
- {
- get { return PicSettings.SubdirNumerazioneFiles; }
- set { PicSettings.SubdirNumerazioneFiles = value; RaisePropertyChanged("SubdirNumerazioneFiles"); }
- }
-
- public string DirDividiNumFile { get { return PicSettings.GetString("dirDividiNumFile"); } set { PicSettings.Set("dirDividiNumFile", value); } }
- public string DirDividiSuffisso { get { return PicSettings.GetString("dirDividiSuffisso"); } set { PicSettings.Set("dirDividiSuffisso", value); } }
- public string DirDividiNumCifre { get { return PicSettings.GetString("dirDividiNumCifre"); } set { PicSettings.Set("dirDividiNumCifre", value); RaisePropertyChanged("DirDividiNumCifre"); } }
- public bool DirDividiDestinazione { get { return PicSettings.GetBool("dirDividiDestinazione"); } set { PicSettings.Set("dirDividiDestinazione", value); } }
- public bool DirDividiTipoNumerazioneProg { get { return PicSettings.GetString("DirDividiTipoNumerazione").ToUpper() == "PROGRESSIVA"; } set { if (value == true) PicSettings.Set("DirDividiTipoNumerazione", "PROGRESSIVA"); } }
- public bool DirDividiTipoNumerazioneFile { get { return PicSettings.GetString("DirDividiTipoNumerazione").ToUpper() == "FILES"; } set { if (value == false) PicSettings.Set("DirDividiTipoNumerazione", "FILES"); } }
- public bool MiniatureCrea { get { return PicSettings.GetBool("miniatureCrea"); } set { PicSettings.Set("miniatureCrea", value); RaisePropertyChanged("MiniatureCrea"); } }
-
-
-
- public string MiniatureSuffisso
- {
- get { return PicSettings.GetString("miniatureSuffisso"); }
- set
- {
- PicSettings.Set("miniatureSuffisso", value);
- RaisePropertyChanged("MiniatureSuffisso");
- }
- }
-
- public string MiniatureAltezza
- {
- get { return PicSettings.GetString("miniatureAltezza"); }
- set
- {
- PicSettings.Set("miniatureAltezza", value);
- RaisePropertyChanged("MiniatureAltezza");
- }
- }
-
- public string MiniatureLarghezza
- {
- get { return PicSettings.GetString("miniatureLarghezza"); }
- set
- {
- PicSettings.Set("miniatureLarghezza", value);
- RaisePropertyChanged("MiniatureLarghezza");
- }
- }
-
- public bool MiniatureAddScritta
- {
- get { return PicSettings.GetBool("miniatureAddScritta"); }
- set
- {
- PicSettings.Set("miniatureAddScritta", value);
- RaisePropertyChanged("MiniatureAddScritta");
- }
- }
-
- public bool MiniatureAddOrario
- {
- get { return PicSettings.GetBool("miniatureAddOrario"); }
- set
- {
- PicSettings.Set("miniatureAddOrario", value);
- RaisePropertyChanged("MiniatureAddOrario");
- }
- }
-
- public bool FotoRidimensiona
- {
- get { return PicSettings.FotoRidimensiona; }
- set
- {
- PicSettings.FotoRidimensiona = value;
- RaisePropertyChanged("FotoRidimensiona");
- }
- }
-
- public int FotoAltezza
- {
- get
- {
- return PicSettings.FotoAltezza;
- }
- set
- {
- PicSettings.FotoAltezza = value;
- RaisePropertyChanged("FotoAltezza");
- }
- }
-
- public int FotoLarghezza
- {
- get { return PicSettings.FotoLarghezza; }
- set
- {
- PicSettings.FotoLarghezza = value;
- RaisePropertyChanged("FotoLarghezza");
- }
- }
-
- public string FontDimensione
- {
- get { return PicSettings.GetString("fontDimensione"); }
- set
- {
- PicSettings.Set("fontDimensione", value);
- RaisePropertyChanged("FontDimensione");
- }
- }
-
- public string FontDimensioneMiniatura
- {
- get { return PicSettings.GetString("fontDimensioneMiniatura"); }
- set
- {
- PicSettings.Set("fontDimensioneMiniatura", value);
- RaisePropertyChanged("FontDimensioneMiniatura");
- }
- }
-
- public bool FontBold
- {
- get { return PicSettings.GetBool("fontBold"); }
- set
- {
- PicSettings.Set("fontBold", value);
- RaisePropertyChanged("FontBold");
- }
- }
-
- public bool FontNome
- {
- get { return PicSettings.GetBool("fontNome"); }
- set
- {
- PicSettings.Set("$parName", value);
- RaisePropertyChanged("FontNome");
- }
- }
-
- public string TestoTesto
- {
- get { return PicSettings.GetString("testoTesto"); }
- set
- {
- PicSettings.Set("testoTesto", value);
- RaisePropertyChanged("TestoTesto");
- }
- }
-
- public string TestoTrasparente
- {
- get { return PicSettings.GetString("testoTrasparente"); }
- set
- {
- PicSettings.Set("testoTrasparente", value);
- RaisePropertyChanged("TestoTrasparente");
- }
- }
-
- public string TestoMargine
- {
- get { return PicSettings.GetString("testoMargine"); }
- set
- {
- PicSettings.Set("testoMargine", value);
- RaisePropertyChanged("TestoMargine");
- }
- }
-
- public string TestoPosizione
- {
- get { return PicSettings.GetString("testoPosizione"); }
- set
- {
- PicSettings.Set("testoPosizione", value);
- RaisePropertyChanged("TestoPosizione");
- }
- }
-
- public string TestoAllineamento
- {
- get { return PicSettings.GetString("testoAllineamento"); }
- set
- {
- PicSettings.Set("testoAllineamento", value);
- RaisePropertyChanged("TestoAllineamento");
- }
- }
-
- public string MarchioFile
- {
- get { return PicSettings.GetString("marchioFile"); }
- set
- {
- PicSettings.Set("marchioFile", value);
- RaisePropertyChanged("MarchioFile");
- }
- }
-
- public string MarchioAltezza
- {
- get { return PicSettings.GetString("marchioAltezza"); }
- set
- {
- PicSettings.Set("marchioAltezza", value);
- RaisePropertyChanged("MarchioAltezza");
- }
- }
-
- public string MarchioLarghezza
- {
- get { return PicSettings.GetString("marchioLarghezza"); }
- set
- {
- PicSettings.Set("marchioLarghezza", value);
- RaisePropertyChanged("MarchioLarghezza");
- }
- }
-
- public string MarchioMargine
- {
- get { return PicSettings.GetString("marchioMargine"); }
- set
- {
- PicSettings.Set("marchioMargine", value);
- RaisePropertyChanged("MarchioMargine");
- }
- }
-
- public string MarchioAllOrizzontale
- {
- get { return PicSettings.GetString("marchioAllOrizzontale"); }
- set
- {
- PicSettings.Set("marchioAllOrizzontale", value);
- RaisePropertyChanged("MarchioAllOrizzontale");
- }
- }
-
- public string MarchioAllVerticale
- {
- get { return PicSettings.GetString("marchioAllVerticale"); }
- set
- {
- PicSettings.Set("marchioAllVerticale", value);
- RaisePropertyChanged("MarchioAllVerticale");
- }
- }
-
- public string MarchioTrasparenza
- {
- get { return PicSettings.GetString("marchioTrasparenza"); }
- set
- {
- PicSettings.Set("marchioTrasparenza", value);
- RaisePropertyChanged("MarchioTrasparenza");
- }
- }
-
- public bool MarchioAggiungi
- {
- get { return PicSettings.GetBool("marchioAggiungi"); }
- set
- {
- PicSettings.Set("marchioAggiungi", value);
- RaisePropertyChanged("MarchioAggiungi");
- }
- }
-
- public bool TempoGara
- {
- get { return PicSettings.GetBool("tempoGara"); }
- set
- {
- PicSettings.Set("tempoGara", value);
- RaisePropertyChanged("TempoGara");
- }
- }
-
- public bool Orario
- {
- get { return PicSettings.GetBool("orario"); }
- set
- {
- PicSettings.Set("orario", value);
- RaisePropertyChanged("Orario");
- }
- }
-
- public string EtichettaOrario
- {
- get { return PicSettings.GetString("etichettaOrario"); }
- set
- {
- PicSettings.Set("etichettaOrario", value);
- RaisePropertyChanged("EtichettaOrario");
- }
- }
-
- public bool GeneraleForzaJPG
- {
- get { return PicSettings.GeneraleForzaJPG; }
- set
- {
- PicSettings.GeneraleForzaJPG = value;
- RaisePropertyChanged("GeneraleForzaJPG");
- }
- }
-
- public bool GeneraleRotazioneAutomatica
- {
- get { return PicSettings.GeneraleRotazioneAutomatica; }
- set
- {
- PicSettings.GeneraleRotazioneAutomatica = value;
- RaisePropertyChanged("GeneraleRotazioneAutomatica");
- }
- }
-
- public bool GeneraleSovrascriviFile
- {
- get { return PicSettings.GeneraleSovrascriviFile; }
- set
- {
- PicSettings.GeneraleSovrascriviFile = value;
- RaisePropertyChanged("GeneraleSovrascriviFile");
- }
- }
-
-
- public string GrandezzaVerticale
- {
- get { return PicSettings.GetString("grandezzaVerticale"); }
- set
- {
- PicSettings.Set("grandezzaVerticale", value);
- RaisePropertyChanged("GrandezzaVerticale");
- }
- }
-
- public string MargineVerticale
- {
- get { return PicSettings.GetString("margineVerticale"); }
- set
- {
- PicSettings.Set("margineVerticale", value);
- RaisePropertyChanged("MargineVerticale");
- }
- }
-
- public bool DimensioniOriginali
- {
- get { return PicSettings.GetBool("dimensioniOriginali"); }
- set
- {
- PicSettings.Set("dimensioniOriginali", value);
- RaisePropertyChanged("DimensioniOriginali");
- }
- }
-
- public string TestoVerticale
- {
- get { return PicSettings.GetString("testoVerticale"); }
- set
- {
- PicSettings.Set("testoVerticale", value);
- RaisePropertyChanged("TestoVerticale");
- }
- }
-
- public bool NomeMiniatura
- {
- get { return PicSettings.GetBool("nomeMiniatura"); }
- set
- {
- PicSettings.Set("nomeMiniatura", value);
- RaisePropertyChanged("NomeMiniatura");
- }
- }
-
- public bool DataFoto
- {
- get { return PicSettings.GetBool("dataFoto"); }
- set
- {
- PicSettings.Set("dataFoto", value);
- RaisePropertyChanged("DataFoto");
- }
- }
-
- public bool NumeroFoto
- {
- get { return PicSettings.GetBool("numeroFoto"); }
- set
- {
- PicSettings.Set("numeroFoto", value);
- RaisePropertyChanged("NumeroFoto");
- }
- }
-
- public bool TempoSmall
- {
- get { return PicSettings.GetBool("tempoSmall"); }
- set
- {
- PicSettings.Set("tempoSmall", value);
- RaisePropertyChanged("TempoSmall");
- }
- }
-
- public bool NumTempoSmall
- {
- get { return PicSettings.GetBool("numTempoSmall"); }
- set
- {
- PicSettings.Set("numTempoSmall", value);
- RaisePropertyChanged("NumTempoSmall");
- }
- }
-
- public int CompressioneJpeg
- {
- get { return PicSettings.CompressioneJpeg; }
- set
- {
- PicSettings.CompressioneJpeg = value;
- RaisePropertyChanged("CompressioneJpeg");
- }
- }
-
- public bool FotoMantieniDimensioni
- {
- get { return PicSettings.FotoMantieniDimensioni; }
- set
- {
- PicSettings.FotoMantieniDimensioni = value;
- RaisePropertyChanged("FotoMantieniDimensioni");
- }
- }
-
- public string FotoSuffisso
- {
- get { return PicSettings.FotoSuffisso; }
- set { PicSettings.FotoSuffisso = value; RaisePropertyChanged("FotoSuffisso"); }
- }
-
- public string CompressioneJpegMiniatura
- {
- get { return PicSettings.GetString("compressioneJpegMiniatura"); }
- set
- {
- PicSettings.Set("compressioneJpegMiniatura", value);
- RaisePropertyChanged("CompressioneJpegMiniatura");
- }
- }
-
- public bool Threading
- {
- get => PicSettings.Threading;
- set { PicSettings.Threading = value; RaisePropertyChanged("Threading"); }
- }
-
- public int Margine
- {
- get => PicSettings.Margine;
- set { PicSettings.Margine = value; RaisePropertyChanged("Margine"); }
- }
-
- public Positions TextPosition
- {
- get => PicSettings.TextPosition;
- set { PicSettings.TextPosition = value; RaisePropertyChanged("TextPosition"); }
- }
-
- public Alignments TextAlignment
- {
- get => PicSettings.TextAlignment;
- set { PicSettings.TextAlignment = value; RaisePropertyChanged("TextAlignment"); }
- }
-
- public ResizeModes ResizeMode
- {
- get => PicSettings.ResizeMode;
- set { PicSettings.ResizeMode = value; RaisePropertyChanged("ResizeMode"); }
- }
-
- public ResizeDimensions ResizeDimension
- {
- get => PicSettings.ResizeDimension;
- set { PicSettings.ResizeDimension = value; RaisePropertyChanged("ResizeDimension"); }
- }
-
- public bool Grassetto
- {
- get => PicSettings.Grassetto;
- set { PicSettings.Grassetto = value; RaisePropertyChanged("Grassetto"); }
- }
-
- //public PicSettings.Positions Positions
- //{
- // get => PicSettings.Positions;
- //}
-
- #endregion
-
- #region Testo
-
- public bool EnableText
- {
- get { return PicSettings.EnableText; }
- set { PicSettings.EnableText = value; RaisePropertyChanged("EnableText"); }
-
- }
-
-
-
- public string ColoreTestoRGB
- {
- get { return PicSettings.ColoreTestoRGB; }
- set
- {
- PicSettings.ColoreTestoRGB = value;
- RaisePropertyChanged("ColoreTestoRGB");
- }
- }
-
- public string FontName
- {
- get { return PicSettings.NomeFont; }
- set
- {
- PicSettings.NomeFont = value;
- RaisePropertyChanged("FontName");
- }
- }
-
- public double FontSize
- {
- get
- {
- {
- return PicSettings.DimensioneFont;
- }
- }
- set
- {
- PicSettings.DimensioneFont = value;
- RaisePropertyChanged("FontSize");
- }
- }
-
- public string TestoApplicareOrizzontale
- {
- get
- {
- return PicSettings.TestoApplicareOrizzontale;
-
- }
- set
- {
- PicSettings.TestoApplicareOrizzontale = value;
- RaisePropertyChanged("TestoApplicareOrizzontale");
- }
-
- }
-
- //todo: bold
-
- //todo: italic
- #endregion
-
- #region Logo
-
-
- public bool EnableLogo
- {
- get { return PicSettings.EnableLogo; }
- set { PicSettings.EnableLogo = value; RaisePropertyChanged("EnableLogo"); }
-
- }
-
- #endregion
-
- #region Thumbnail
-
- public bool EnableThumbnails
- {
- get { return PicSettings.EnableThumbnails; }
- set { PicSettings.EnableThumbnails = value; RaisePropertyChanged("EnableThumbnails"); }
-
- }
-
- #endregion
-
-
-
-
- }
-}
diff --git a/WPFCatalog/Messages/FontData.cs b/WPFCatalog/Messages/FontData.cs
deleted file mode 100644
index 777c83f..0000000
--- a/WPFCatalog/Messages/FontData.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace WPFCatalog.Messages
-{
- public class FontData
- {
- public string Name { get; set; }
- public double Size { get; set; }
- public bool Bold { get; set; }
- public bool Italic { get; set; }
-
- }
-}
diff --git a/WPFCatalog/Messages/OpenFontWindowMessage.cs b/WPFCatalog/Messages/OpenFontWindowMessage.cs
deleted file mode 100644
index 8d3b6e9..0000000
--- a/WPFCatalog/Messages/OpenFontWindowMessage.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace WPFCatalog.Messages
-{
- public class OpenFontWindowMessage
- {
- public Action Callback { get; set; }
-
- public OpenFontWindowMessage(Action calllback)
- {
- Callback = calllback;
- }
- }
-}
diff --git a/WPFCatalog/Properties/AssemblyInfo.cs b/WPFCatalog/Properties/AssemblyInfo.cs
deleted file mode 100644
index 5ade458..0000000
--- a/WPFCatalog/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using System.Reflection;
-using System.Resources;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Windows;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("WPFCatalog")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("WPFCatalog")]
-[assembly: AssemblyCopyright("Copyright © 2013")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-//In order to begin building localizable applications, set
-//CultureYouAreCodingWith in your .csproj file
-//inside a . For example, if you are using US english
-//in your source files, set the to en-US. Then uncomment
-//the NeutralResourceLanguage attribute below. Update the "en-US" in
-//the line below to match the UICulture setting in the project file.
-
-//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
-
-
-[assembly: ThemeInfo(
- ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
- //(used if a resource is not found in the page,
- // or application resource dictionaries)
- ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
- //(used if a resource is not found in the page,
- // app, or any theme specific resource dictionaries)
-)]
-
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/WPFCatalog/Properties/Resources.Designer.cs b/WPFCatalog/Properties/Resources.Designer.cs
deleted file mode 100644
index 8df4267..0000000
--- a/WPFCatalog/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace WPFCatalog.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WPFCatalog.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/WPFCatalog/Properties/Resources.resx b/WPFCatalog/Properties/Resources.resx
deleted file mode 100644
index af7dbeb..0000000
--- a/WPFCatalog/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/WPFCatalog/Properties/Settings.Designer.cs b/WPFCatalog/Properties/Settings.Designer.cs
deleted file mode 100644
index 4d8c32f..0000000
--- a/WPFCatalog/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace WPFCatalog.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/WPFCatalog/Properties/Settings.settings b/WPFCatalog/Properties/Settings.settings
deleted file mode 100644
index 033d7a5..0000000
--- a/WPFCatalog/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/WPFCatalog/TestWindow.xaml b/WPFCatalog/TestWindow.xaml
deleted file mode 100644
index 7c7cffa..0000000
--- a/WPFCatalog/TestWindow.xaml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/WPFCatalog/TestWindow.xaml.cs b/WPFCatalog/TestWindow.xaml.cs
deleted file mode 100644
index 38ae495..0000000
--- a/WPFCatalog/TestWindow.xaml.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Shapes;
-
-namespace WPFCatalog
-{
- ///
- /// Interaction logic for TestWindow.xaml
- ///
- public partial class TestWindow
- {
- public TestWindow()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/WPFCatalog/ViewModel/MainViewModel.cs b/WPFCatalog/ViewModel/MainViewModel.cs
deleted file mode 100644
index b64003e..0000000
--- a/WPFCatalog/ViewModel/MainViewModel.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using GalaSoft.MvvmLight;
-
-namespace WPFCatalog.ViewModel
-{
- ///
- /// This class contains properties that the main View can data bind to.
- ///
- /// Use the mvvminpc snippet to add bindable properties to this ViewModel.
- ///
- ///
- /// You can also use Blend to data bind with the tool's support.
- ///
- ///
- /// See http://www.galasoft.ch/mvvm
- ///
- ///
- public class MainViewModel : ViewModelBase
- {
- ///
- /// Initializes a new instance of the MainViewModel class.
- ///
- public MainViewModel()
- {
- ////if (IsInDesignMode)
- ////{
- //// // Code runs in Blend --> create design time data.
- ////}
- ////else
- ////{
- //// // Code runs "for real"
- ////}
-
-
-
- }
- }
-}
\ No newline at end of file
diff --git a/WPFCatalog/ViewModel/ViewModelLocator.cs b/WPFCatalog/ViewModel/ViewModelLocator.cs
deleted file mode 100644
index 106efb8..0000000
--- a/WPFCatalog/ViewModel/ViewModelLocator.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- In App.xaml:
-
-
-
-
- In the View:
- DataContext="{Binding Source={StaticResource Locator}, Path=ViewModelName}"
-
- You can also use Blend to do all this with the tool's support.
- See http://www.galasoft.ch/mvvm
-*/
-
-using GalaSoft.MvvmLight;
-using GalaSoft.MvvmLight.Ioc;
-using Microsoft.Practices.ServiceLocation;
-
-namespace WPFCatalog.ViewModel
-{
- ///
- /// This class contains static references to all the view models in the
- /// application and provides an entry point for the bindings.
- ///
- public class ViewModelLocator
- {
- ///
- /// Initializes a new instance of the ViewModelLocator class.
- ///
- public ViewModelLocator()
- {
- ServiceLocator.SetLocatorProvider(() => SimpleIoc.Default);
-
- ////if (ViewModelBase.IsInDesignModeStatic)
- ////{
- //// // Create design time view services and models
- //// SimpleIoc.Default.Register();
- ////}
- ////else
- ////{
- //// // Create run time view services and models
- //// SimpleIoc.Default.Register();
- ////}
-
- SimpleIoc.Default.Register();
- }
-
- public MainViewModel Main
- {
- get
- {
- return ServiceLocator.Current.GetInstance();
- }
- }
-
-
-
- public static void Cleanup()
- {
- // TODO Clear the ViewModels
- }
- }
-}
\ No newline at end of file
diff --git a/WPFCatalog/ViewModelBase.cs b/WPFCatalog/ViewModelBase.cs
deleted file mode 100644
index a5bd351..0000000
--- a/WPFCatalog/ViewModelBase.cs
+++ /dev/null
@@ -1,127 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.ComponentModel;
-using System.Diagnostics;
-
-namespace WPFCatalog
-{
- public abstract class ViewModelBase : GalaSoft.MvvmLight.ViewModelBase, INotifyPropertyChanged, IDisposable
- {
-
- #region Constructor
-
- protected ViewModelBase()
- {
- }
-
- #endregion // Constructor
-
- #region DisplayName
-
- ///
- /// Returns the user-friendly name of this object.
- /// Child classes can set this property to a new value,
- /// or override it to determine the value on-demand.
- ///
- public virtual string DisplayName { get; protected set; }
-
- #endregion // DisplayName
-
- #region Debugging Aides
-
- /////
- ///// Warns the developer if this object does not have
- ///// a public property with the specified name. This
- ///// method does not exist in a Release build.
- /////
- //[Conditional("DEBUG")]
- //[DebuggerStepThrough]
- //public void VerifyPropertyName(string propertyName)
- //{
- // // Verify that the property name matches a real,
- // // public, instance property on this object.
- // if (TypeDescriptor.GetProperties(this)[propertyName] == null)
- // {
- // string msg = "Invalid property name: " + propertyName;
-
- // if (this.ThrowOnInvalidPropertyName)
- // throw new Exception(msg);
- // else
- // Debug.Fail(msg);
- // }
- //}
-
- ///
- /// Returns whether an exception is thrown, or if a Debug.Fail() is used
- /// when an invalid property name is passed to the VerifyPropertyName method.
- /// The default value is false, but subclasses used by unit tests might
- /// override this property's getter to return true.
- ///
- protected virtual bool ThrowOnInvalidPropertyName { get; private set; }
-
- #endregion // Debugging Aides
-
-
-
- #region INotifyPropertyChanged Members
-
- ///
- /// Raised when a property on this object has a new value.
- ///
- //public event PropertyChangedEventHandler PropertyChanged;
-
- /////
- ///// Raises this object's PropertyChanged event.
- /////
- ///// The property that has a new value.
- //protected virtual void OnPropertyChanged(string propertyName)
- //{
- // this.VerifyPropertyName(propertyName);
-
- // PropertyChangedEventHandler handler = this.PropertyChanged;
- // if (handler != null)
- // {
- // var e = new PropertyChangedEventArgs(propertyName);
- // handler(this, e);
- // }
- //}
-
- #endregion // INotifyPropertyChanged Members
-
- #region IDisposable Members
-
- ///
- /// Invoked when this object is being removed from the application
- /// and will be subject to garbage collection.
- ///
- public void Dispose()
- {
- this.OnDispose();
- }
-
- ///
- /// Child classes can override this method to perform
- /// clean-up logic, such as removing event handlers.
- ///
- protected virtual void OnDispose()
- {
- }
-
-#if DEBUG
- ///
- /// Useful for ensuring that ViewModel objects are properly garbage collected.
- ///
- ~ViewModelBase()
- {
- string msg = string.Format("{0} ({1}) ({2}) Finalized", this.GetType().Name, this.DisplayName, this.GetHashCode());
- System.Diagnostics.Debug.WriteLine(msg);
- }
-#endif
-
- #endregion // IDisposable Members
-
- }
-}
diff --git a/WPFCatalog/WPFCatalog.csproj b/WPFCatalog/WPFCatalog.csproj
deleted file mode 100644
index baf5b7a..0000000
--- a/WPFCatalog/WPFCatalog.csproj
+++ /dev/null
@@ -1,247 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {638DE501-CECA-4744-B293-7AE93CAEEB01}
- WinExe
- Properties
- WPFCatalog
- WPFCatalog
- v4.6
- 512
- {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- 4
- SAK
- SAK
- SAK
- SAK
-
-
-
- AnyCPU
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- AnyCPU
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- true
- bin\x64\Debug\
- DEBUG;TRACE
- full
- x64
- prompt
- MinimumRecommendedRules.ruleset
- true
-
-
- bin\x64\Release\
- TRACE
- true
- pdbonly
- x64
- prompt
- MinimumRecommendedRules.ruleset
- true
-
-
-
-
- ..\packages\MvvmLightLibs.4.1.27.1\lib\net45\GalaSoft.MvvmLight.Extras.WPF45.dll
-
-
- ..\packages\MvvmLightLibs.4.1.27.1\lib\net45\GalaSoft.MvvmLight.WPF45.dll
-
-
- ..\packages\MahApps.Metro.1.5.0\lib\net45\MahApps.Metro.dll
-
-
- ..\packages\MahApps.Metro.IconPacks.1.9.0\lib\net46\MahApps.Metro.IconPacks.dll
-
-
- ..\packages\CommonServiceLocator.1.0\lib\NET35\Microsoft.Practices.ServiceLocation.dll
-
-
-
-
-
- ..\packages\System.Collections.Immutable.1.4.0\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll
-
-
-
-
-
-
-
-
-
-
-
-
- ..\packages\MahApps.Metro.1.5.0\lib\net45\System.Windows.Interactivity.dll
-
-
-
-
-
-
-
- 4.0
-
-
-
-
-
-
-
- ..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.AvalonDock.dll
-
-
- ..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.AvalonDock.Themes.Aero.dll
-
-
- ..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.AvalonDock.Themes.Metro.dll
-
-
- ..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.AvalonDock.Themes.VS2010.dll
-
-
- ..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.DataGrid.dll
-
-
- ..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.Toolkit.dll
-
-
-
-
- MSBuild:Compile
- Designer
-
-
- GeneralSettingsControl.xaml
-
-
- TextSettingsControl.xaml
-
-
-
-
-
-
- TestWindow.xaml
-
-
-
-
-
- Designer
- MSBuild:Compile
-
-
- Designer
- MSBuild:Compile
-
-
- MSBuild:Compile
- Designer
-
-
- App.xaml
- Code
-
-
- MainWindow.xaml
- Code
-
-
- Designer
- MSBuild:Compile
-
-
-
-
-
- Code
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
-
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {d27accf2-80fc-4de8-aeb8-351ff076e6d5}
- CatalogLib
-
-
- {e93daae6-4aa9-4a45-afb6-58209b3ad3c9}
- MaddoLibrary.Base.NET46
-
-
- {73da19d7-196d-4b16-b610-93250978a607}
- MaddoLibrary.WPF.NET46
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/WPFCatalog/packages.config b/WPFCatalog/packages.config
deleted file mode 100644
index 183cb0a..0000000
--- a/WPFCatalog/packages.config
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/photo_catalog_pipeline.png b/docs/photo_catalog_pipeline.png
new file mode 100644
index 0000000..0a52480
Binary files /dev/null and b/docs/photo_catalog_pipeline.png differ
diff --git a/docs/photo_flows.mmd b/docs/photo_flows.mmd
new file mode 100644
index 0000000..670a941
--- /dev/null
+++ b/docs/photo_flows.mmd
@@ -0,0 +1,31 @@
+flowchart TB
+ subgraph Preproc["Parte 1, Preparazione"]
+ IC["ImageCatalog.exe"]
+ WC["WebCatalog"]
+
+ IC --> IC_resize["Ridimensionamento e testo"]
+ WC --> WC_resize["Ridimensionamento e testo"]
+
+ IC_resize --> IC_ocr["Riconoscimento Pettorali"]
+ WC_resize --> WC_ocr["Riconoscimento Pettorali"]
+
+ IC_ocr --> IC_index["Indicizzazione volti"]
+ IC_index --> InvManual["Invio manuale"]
+
+ WC_ocr --> WC_index["Indicizzazione volti"]
+ WC_index --> InvAuto["Invio automatico"]
+ end
+
+
+
+ InvManual --> Site["RegalamiUnSorriso.com"]
+ InvAuto --> Site
+
+ subgraph Present["Parte 2, Presentazione"]
+ Site --> Search["Ricerca"]
+ end
+
+ %% styling for the indexing nodes (softer color + readable text on dark background)
+ style IC_index fill:#1967d2,stroke:#082a4a,stroke-width:2px,color:#ffffff
+ style WC_index fill:#1967d2,stroke:#082a4a,stroke-width:2px,color:#ffffff
+
diff --git a/imagecatalog.backup/AssemblyInfo.cs b/imagecatalog.backup/AssemblyInfo.cs
deleted file mode 100644
index 70c63ca..0000000
--- a/imagecatalog.backup/AssemblyInfo.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-
-// Review the values of the assembly attributes
-
-[assembly: AssemblyTitle("Image Catalog")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyCompany("FornaSoft")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("(C) 2002-08")]
-[assembly: AssemblyTrademark("")]
-[assembly: CLSCompliant(true)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("948AA2AA-5BED-4DD5-9C67-3126EE9109C6")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-
-[assembly: AssemblyVersion("1.74.*")]
diff --git a/imagecatalog.backup/AssemblyInfo.vb b/imagecatalog.backup/AssemblyInfo.vb
deleted file mode 100644
index 96c6530..0000000
--- a/imagecatalog.backup/AssemblyInfo.vb
+++ /dev/null
@@ -1,31 +0,0 @@
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' General Information about an assembly is controlled through the following
-' set of attributes. Change these attribute values to modify the information
-' associated with an assembly.
-
-' Review the values of the assembly attributes
-
-
-
-
-
-
-
-
-
-'The following GUID is for the ID of the typelib if this project is exposed to COM
-
-
-' Version information for an assembly consists of the following four values:
-'
-' Major Version
-' Minor Version
-' Build Number
-' Revision
-'
-' You can specify all the values or you can default the Build and Revision Numbers
-' by using the '*' as shown below:
-
-
diff --git a/imagecatalog.backup/ClassDiagram1.cd b/imagecatalog.backup/ClassDiagram1.cd
deleted file mode 100644
index 0519ecb..0000000
--- a/imagecatalog.backup/ClassDiagram1.cd
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/imagecatalog.backup/CreaImmagineSeparateMultiCore.cs b/imagecatalog.backup/CreaImmagineSeparateMultiCore.cs
deleted file mode 100644
index 8ead6eb..0000000
--- a/imagecatalog.backup/CreaImmagineSeparateMultiCore.cs
+++ /dev/null
@@ -1,1255 +0,0 @@
-using System;
-using System.Drawing;
-using System.IO;
-using Microsoft.VisualBasic;
-using Microsoft.VisualBasic.CompilerServices;
-
-namespace ImageCatalog
-{
- // Imports System.Drawing.Drawing2D
- // Imports System.Drawing.Imaging
- // Imports System.Threading
-
- public class CreaImmagineSeparateMultiCore
- {
- private string _DirectorySorgente;
- private string _DirectoryDestinazione;
- private DirectoryInfo _SourceDir;
- private DirectoryInfo _DestDirStart;
- private int _DimStandard;
- private int _DimStandardMiniatura;
- private bool _UsaOrarioMiniatura;
- private bool _UsaOrarioTestoApplicare;
- private bool _UsaTempoGaraTestoApplicare;
- private string _TestoFirmaStart;
- private string _TestoFirmaStartV;
- private DateTime _DataPartenza;
- private string _TestoOrario;
- private bool _UsaRotazioneAutomatica;
- private bool _UsaForzaJpg;
- private int _LarghezzaSmall;
- private int _AltezzaSmall;
- private bool _CreaMiniature;
- private bool _AggiungiScritteMiniature;
- private string _NomeFileChild;
- private string _Suffisso;
- private string _Codice;
- private int _Trasparenza;
- private string _IlFont;
- private bool _Grassetto;
- private string _Posizione;
- private string _Allineamento;
- private int _Margine;
- private int _LogoAltezza;
- private int _LogoLarghezza;
- private int _FontColoreR;
- private int _FontColoreG;
- private int _FontColoreB;
- private bool _LogoAggiungi;
- private string _LogoNomeFile;
- private string _LogoTrasparenza;
- private string _LogoMargine;
- private string _LogoPosizioneH;
- private string _LogoPosizioneV;
- private bool _FotoGrandeDimOrigina;
- private int _AltezzaBig;
- private int _LarghezzaBig;
- private DirectoryInfo _DestDir;
-
- public void CreaImmagine(PicInfo InfoImg)
- {
- string TestoFirma = "";
- _DestDir = InfoImg.DirDest;
- _SourceDir = InfoImg.DirSource;
- _DestDirStart = InfoImg.DirDestStart;
- _NomeFileChild = InfoImg.NomeImmagine;
- int AlphaScelta = Conversions.ToInteger(255 * (100 - _Trasparenza) / 100d);
- int DimensioneStandard;
- int DimensioneStandardMiniatura;
- DateTime DataFoto;
- var DataPartenzaI = _DataPartenza;
- if (_TestoOrario.Length > 0)
- {
- _TestoOrario += " ";
- }
-
- string TestoFirmaPiccola = "";
- int FileConta = 0;
- int ContaFileXDir = 0;
- int ContaDirXDir = 0;
- string TestoTemp = "";
- int ContaTemp = 0;
- DimensioneStandard = _DimStandard;
- DimensioneStandardMiniatura = _DimStandardMiniatura;
- var g = Image.FromFile(Path.Combine(_SourceDir.FullName, _NomeFileChild));
- if (_UsaOrarioTestoApplicare == true | _UsaTempoGaraTestoApplicare == true | _UsaOrarioMiniatura == true)
- {
- if (g.PropertyIdList.Length > 0) // ci sono dati exif
- {
- var DatiExif = new ExifReader((Bitmap)g);
- DataFoto = DatiExif.DateTimeOriginal;
- TestoFirma = _TestoFirmaStart;
- if (DataFoto.Year != 1)
- {
- TestoFirmaPiccola = DataFoto.ToShortTimeString();
- if (_UsaOrarioTestoApplicare == true)
- {
- TestoFirma += " - " + DataFoto.ToShortDateString() + " " + DataFoto.ToLongTimeString();
- }
-
- if (_UsaTempoGaraTestoApplicare == true)
- {
- var Orario = new TimeSpan(DateAndTime.DateDiff(DateInterval.Second, DataPartenzaI, DataFoto) * 10000000L);
- TestoFirma += " - " + _TestoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
- }
- }
- }
- }
- else
- {
- TestoFirma = _TestoFirmaStart;
- }
-
- bool FotoRuotaADestra = false;
- bool FotoRuotaASinistra = false;
- if (_UsaRotazioneAutomatica == true)
- {
- if (g.PropertyIdList.Length > 0) // ci sono dati exif
- {
- var DatiExif = new ExifReader((Bitmap)g);
- switch (DatiExif.Orientation)
- {
- case ExifReader.Orientations.BottomLeft:
- {
- break;
- }
-
- case ExifReader.Orientations.BottomRight:
- {
- break;
- }
-
- case ExifReader.Orientations.LeftTop:
- {
- break;
- }
-
- case ExifReader.Orientations.LftBottom:
- {
- FotoRuotaASinistra = true;
- break;
- }
-
- case ExifReader.Orientations.RightBottom:
- {
- break;
- }
-
- case ExifReader.Orientations.RightTop:
- {
- break;
- }
-
- case ExifReader.Orientations.TopLeft:
- {
- break;
- }
-
- case ExifReader.Orientations.TopRight:
- {
- break;
- }
- }
- }
- }
- // rotazione
- if (FotoRuotaASinistra == true)
- {
- g.RotateFlip(RotateFlipType.Rotate270FlipNone);
- }
-
- if (FotoRuotaADestra == true)
- {
- g.RotateFlip(RotateFlipType.Rotate90FlipNone);
- }
-
- var thisFormat = g.RawFormat;
- if (_UsaForzaJpg == true)
- {
- thisFormat = System.Drawing.Imaging.ImageFormat.Jpeg;
- }
-
- var thumbSizeSmall = new Size();
- var thumbSizeBig = new Size();
- string NomeFileSmall = "";
- string NomeFileBig = "";
- string NomeFileBig2 = "";
- if (g.Width > g.Height)
- {
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, LarghezzaSmall, "Larghezza");
- var SizeOrig = new Size(g.Width, g.Height);
- thumbSizeBig = SizeOrig;
- }
- else
- {
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, AltezzaSmall, "Altezza");
- var SizeOrig = new Size(g.Width, g.Height);
- thumbSizeBig = SizeOrig;
- }
-
- NomeFileSmall = Suffisso + _NomeFileChild;
- NomeFileBig = _NomeFileChild;
- var imgOutputBig = new Bitmap(g, thumbSizeBig.Width, thumbSizeBig.Height);
- imgOutputBig.SetResolution(g.HorizontalResolution, g.VerticalResolution);
- if (_CreaMiniature == true)
- {
- if (_AggiungiScritteMiniature == false)
- {
- if ((_DirectorySorgente.ToUpper() ?? "") == (_DirectoryDestinazione.ToUpper() ?? ""))
- {
- NomeFileSmall = NomeFileSmall.Substring(0, NomeFileSmall.Length - 4) + Codice + NomeFileSmall.Substring(NomeFileSmall.Length - 4);
- }
-
- if (_UsaOrarioMiniatura == true)
- {
- if (TestoFirmaPiccola.Length > 0)
- {
- Bitmap imgOutputSmall;
- imgOutputSmall = (Bitmap)imgOutputBig.Clone();
- Graphics grPhoto1;
- grPhoto1 = Graphics.FromImage(imgOutputSmall);
- grPhoto1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
- Font crFont1 = null;
- var crSize1 = new SizeF();
- int LarghezzaStandard1;
- if (_Grassetto == true)
- {
- crFont1 = new Font(IlFont, DimensioneStandardMiniatura, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(_IlFont, DimensioneStandardMiniatura);
- }
-
- crSize1 = grPhoto1.MeasureString(TestoFirmaPiccola, crFont1);
- LarghezzaStandard1 = Conversions.ToInteger(crSize1.Width);
- if (crSize1.Width > Conversions.ToSingle(g.Width))
- {
- int Conta = DimensioneStandardMiniatura;
- do
- {
- if (Conta > 20)
- {
- Conta -= 5;
- }
- else
- {
- Conta -= 1;
- }
-
- if (_Grassetto == true)
- {
- crFont1 = new Font(_IlFont, Conta, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(_IlFont, Conta);
- }
-
- crSize1 = grPhoto1.MeasureString(TestoFirmaPiccola, crFont1);
- if (crSize1.Width < Conversions.ToSingle(g.Width))
- {
- LarghezzaStandard1 = Conversions.ToInteger(crSize1.Width);
- break;
- }
-
- if (Conta <= 5)
- break;
- }
- while (true);
- DimensioneStandardMiniatura = Conta;
- }
-
- var yPosFromBottom1 = default(float);
- switch (_Posizione.ToUpper() ?? "")
- {
- case "ALTO":
- {
- yPosFromBottom1 = _Margine;
- break;
- }
-
- case "BASSO":
- {
- // yPosFromBottom = (g.Height - _Margine - DimensioneStandard)
- // yPosFromBottom1 = CType((g.Height - crFont1.Height - (g.Height * _Margine / 100) - (crFont1.Height * 0.3)), Single)
- yPosFromBottom1 = Conversions.ToSingle(g.Height - crSize1.Height - g.Height * _Margine / 100d);
- break;
- }
- }
-
- var xCenterOfImg1 = default(float);
- var StrFormat1 = new StringFormat();
- switch (_Allineamento.ToUpper() ?? "")
- {
- case "SINISTRA":
- {
- xCenterOfImg1 = Conversions.ToSingle(_Margine + LarghezzaStandard1 / 2d);
- if (LarghezzaStandard1 / 2d > g.Width / 2d - _Margine)
- {
- xCenterOfImg1 = Conversions.ToSingle(g.Width / 2d);
- }
-
- break;
- }
-
- case "CENTRO":
- {
- xCenterOfImg1 = Conversions.ToSingle(g.Width / 2d);
- break;
- }
-
- case "DESTRA":
- {
- xCenterOfImg1 = Conversions.ToSingle(g.Width - _Margine - LarghezzaStandard1 / 2d);
- if (LarghezzaStandard1 / 2d > g.Width / 2d - _Margine)
- {
- xCenterOfImg1 = Conversions.ToSingle(g.Width / 2d);
- }
-
- break;
- }
- }
-
- StrFormat1.Alignment = StringAlignment.Center;
- var semiTransBrush21 = new SolidBrush(Color.FromArgb(AlphaScelta, 0, 0, 0));
- var semiTransBrush1 = new SolidBrush(Color.FromArgb(AlphaScelta, _FontColoreR, _FontColoreG, _FontColoreB));
- if (_Grassetto == true)
- {
- crFont1 = new Font(_IlFont, DimensioneStandardMiniatura, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(_IlFont, DimensioneStandardMiniatura);
- }
-
- grPhoto1.DrawString(TestoFirmaPiccola, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1f, yPosFromBottom1 + 1f), StrFormat1);
- grPhoto1.DrawString(TestoFirmaPiccola, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileSmall), thisFormat);
- var g2 = Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileSmall));
- var imgOutputSmall2 = new Bitmap(g2, thumbSizeSmall.Width, thumbSizeSmall.Height);
- imgOutputSmall2.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat);
- imgOutputSmall2.Dispose();
- imgOutputSmall.Dispose();
- g2.Dispose();
- FileSystem.Kill(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileSmall));
- }
- else
- {
- var imgOutputSmall = new Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height);
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat);
- imgOutputSmall.Dispose();
- }
- }
- else
- {
- var imgOutputSmall = new Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height);
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat);
- imgOutputSmall.Dispose();
- }
- }
- }
-
- Graphics grPhoto;
- grPhoto = Graphics.FromImage(imgOutputBig);
- grPhoto.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
- Font crFont = null;
- var crSize = new SizeF();
- int LarghezzaStandard;
- if (_Grassetto == true)
- {
- crFont = new Font(_IlFont, DimensioneStandard, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(_IlFont, DimensioneStandard);
- }
-
- crSize = grPhoto.MeasureString(TestoFirma, crFont);
- LarghezzaStandard = Conversions.ToInteger(crSize.Width);
- if (crSize.Width > Conversions.ToSingle(g.Width))
- {
- int Conta = DimensioneStandard;
- do
- {
- if (Conta > 20)
- {
- Conta -= 5;
- }
- else
- {
- Conta -= 1;
- }
-
- if (_Grassetto == true)
- {
- crFont = new Font(_IlFont, Conta, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(_IlFont, Conta);
- }
-
- crSize = grPhoto.MeasureString(TestoFirma, crFont);
- if (crSize.Width < Conversions.ToSingle(g.Width))
- {
- LarghezzaStandard = Conversions.ToInteger(crSize.Width);
- break;
- }
-
- if (Conta <= 5)
- break;
- }
- while (true);
- DimensioneStandard = Conta;
- }
-
- var yPosFromBottom = default(float);
- switch (_Posizione.ToUpper() ?? "")
- {
- case "ALTO":
- {
- yPosFromBottom = _Margine;
- break;
- }
-
- case "BASSO":
- {
- // yPosFromBottom = (g.Height - _Margine - DimensioneStandard)
- // yPosFromBottom = CType((g.Height - DimensioneStandard - (g.Height * _Margine / 100) - (DimensioneStandard * 0.3)), Single)
- yPosFromBottom = Conversions.ToSingle(g.Height - crSize.Height - g.Height * _Margine / 100d);
- break;
- }
- }
-
- var xCenterOfImg = default(float);
- var StrFormat = new StringFormat();
- switch (_Allineamento.ToUpper() ?? "")
- {
- case "SINISTRA":
- {
- xCenterOfImg = Conversions.ToSingle(_Margine + LarghezzaStandard / 2d);
- if (LarghezzaStandard / 2d > g.Width / 2d - _Margine)
- {
- xCenterOfImg = Conversions.ToSingle(g.Width / 2d);
- }
-
- break;
- }
-
- case "CENTRO":
- {
- xCenterOfImg = Conversions.ToSingle(g.Width / 2d);
- break;
- }
-
- case "DESTRA":
- {
- xCenterOfImg = Conversions.ToSingle(g.Width - _Margine - LarghezzaStandard / 2d);
- if (LarghezzaStandard / 2d > g.Width / 2d - _Margine)
- {
- xCenterOfImg = Conversions.ToSingle(g.Width / 2d);
- }
-
- break;
- }
- }
-
- StrFormat.Alignment = StringAlignment.Center;
- var semiTransBrush2 = new SolidBrush(Color.FromArgb(AlphaScelta, 0, 0, 0));
- var semiTransBrush = new SolidBrush(Color.FromArgb(AlphaScelta, _FontColoreR, _FontColoreG, _FontColoreB));
- if (_Grassetto == true)
- {
- crFont = new Font(_IlFont, DimensioneStandard, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(_IlFont, DimensioneStandard);
- }
-
- grPhoto.DrawString(TestoFirma, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1f, yPosFromBottom + 1f), StrFormat);
- grPhoto.DrawString(TestoFirma, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom), StrFormat);
- if ((_DirectorySorgente.ToUpper() ?? "") == (_DirectoryDestinazione.ToUpper() ?? ""))
- {
- NomeFileBig2 = NomeFileBig;
- NomeFileBig = NomeFileBig.Substring(0, NomeFileBig.Length - 4) + Codice + NomeFileBig.Substring(NomeFileBig.Length - 4);
- }
-
-
- // imgOutputBig
- if (_LogoAggiungi == true & File.Exists(_LogoNomeFile))
- {
- var ImmagineLogo = Image.FromFile(_LogoNomeFile);
- var LogoColoreTrasparente = Color.White;
- // Dim bmWatermark As Bitmap
-
- // * Create a Bitmap based on the previously modified photograph Bitmap
- // bmWatermark = New Bitmap(imgOutputBig)
- // bmWatermark.SetResolution(imgOutputBig.HorizontalResolution, imgOutputBig.VerticalResolution)
-
- // * Load this Bitmap into a new Graphic Object
- var grWatermark = Graphics.FromImage(imgOutputBig);
-
- // * To achieve a transulcent watermark we will apply (2) color manipulations
- var imageAttributes = new System.Drawing.Imaging.ImageAttributes();
-
- // * The first step replace the background color with one that is trasparent (Alpha=0, R=0, G=0, B=0)
- var colorMap = new System.Drawing.Imaging.ColorMap();
-
- // * background this will be the color we search for and replace with transparency
- colorMap.OldColor = LogoColoreTrasparente;
- colorMap.NewColor = Color.FromArgb(0, 0, 0, 0);
- var remapTable = new[] { colorMap };
- imageAttributes.SetRemapTable(remapTable, System.Drawing.Imaging.ColorAdjustType.Bitmap);
-
- // * The second color manipulation is used to change the opacity by setting the 3rd row and 3rd column to 0.3f
- var colorMatrixElements = new[] { new float[] { 1.0f, 0.0f, 0.0f, 0.0f, 0.0f }, new float[] { 0.0f, 1.0f, 0.0f, 0.0f, 0.0f }, new float[] { 0.0f, 0.0f, 1.0f, 0.0f, 0.0f }, new float[] { 0.0f, 0.0f, 0.0f, Conversions.ToSingle(_LogoTrasparenza) / 100f, 0.0f }, new float[] { 0.0f, 0.0f, 0.0f, 0.0f, 1.0f } };
- var wmColorMatrix = new System.Drawing.Imaging.ColorMatrix(colorMatrixElements);
- imageAttributes.SetColorMatrix(wmColorMatrix, System.Drawing.Imaging.ColorMatrixFlag.Default, System.Drawing.Imaging.ColorAdjustType.Bitmap);
- int FotoLogoH = _LogoAltezza;
- int FotoLogoW = _LogoLarghezza;
- double FattoreAlt = ImmagineLogo.Height / (double)FotoLogoH;
- double FattoreLarg = ImmagineLogo.Width / (double)FotoLogoW;
- Size NuovaSize;
- if (FattoreLarg > FattoreAlt)
- {
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoW, "Larghezza");
- }
- else
- {
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoH, "Altezza");
- }
-
- int MargineUsato;
- int MargineL;
- bool InPercentualeL;
- if (_LogoMargine.EndsWith("%") == true)
- {
- InPercentualeL = true;
- }
- else
- {
- InPercentualeL = false;
- }
-
- MargineL = Conversions.ToInteger(Conversion.Val(_LogoMargine));
- if (InPercentualeL == true)
- {
- MargineUsato = Conversions.ToInteger(imgOutputBig.Height * MargineL / 100d);
- }
- else
- {
- MargineUsato = MargineL;
- }
-
- var xPosOfWm = default(int);
- var yPosOfWm = default(int);
- switch (_LogoPosizioneH.ToUpper() ?? "")
- {
- case "SINISTRA":
- case "NESSUNA":
- {
- xPosOfWm = MargineUsato;
- break;
- }
-
- case "CENTRO":
- {
- xPosOfWm = Conversions.ToInteger((imgOutputBig.Width - NuovaSize.Width) / 2d);
- break;
- }
-
- case "DESTRA":
- {
- xPosOfWm = imgOutputBig.Width - NuovaSize.Width - MargineUsato;
- break;
- }
- }
-
- switch (_LogoPosizioneV.ToUpper() ?? "")
- {
- case "ALTO":
- case "NESSUNA":
- {
- yPosOfWm = MargineUsato;
- break;
- }
-
- case "CENTRO":
- {
- yPosOfWm = Conversions.ToInteger((imgOutputBig.Height - NuovaSize.Height) / 2d);
- break;
- }
-
- case "BASSO":
- {
- yPosOfWm = imgOutputBig.Height - NuovaSize.Height - MargineUsato;
- break;
- }
- }
-
- grWatermark.DrawImage(ImmagineLogo, new Rectangle(xPosOfWm, yPosOfWm, NuovaSize.Width, NuovaSize.Height), 0, 0, ImmagineLogo.Width, ImmagineLogo.Height, GraphicsUnit.Pixel, imageAttributes);
- grWatermark.Dispose();
- }
-
- if (_FotoGrandeDimOrigina == false)
- {
- imgOutputBig.Save(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig), thisFormat);
- var g2 = Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig));
- if (g2.Width > g2.Height)
- {
- thumbSizeBig = NewthumbSize(g2.Width, g2.Height, _LarghezzaBig, "Larghezza");
- }
- else
- {
- thumbSizeBig = NewthumbSize(g2.Width, g2.Height, _AltezzaBig, "Altezza");
- }
-
- var imgOutputBig2 = new Bitmap(g2, thumbSizeBig.Width, thumbSizeBig.Height);
- imgOutputBig2.Save(Path.Combine(_DestDir.FullName, NomeFileBig), thisFormat);
- imgOutputBig2.Dispose();
- imgOutputBig.Dispose();
- g2.Dispose();
- }
- else
- {
- imgOutputBig.Save(Path.Combine(_DestDir.FullName, NomeFileBig), thisFormat);
- imgOutputBig.Dispose();
- }
-
- if (_CreaMiniature == true)
- {
- if (_AggiungiScritteMiniature == true)
- {
- Image g1;
- if (_FotoGrandeDimOrigina == false)
- {
- g1 = Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig));
- }
- else
- {
- g1 = Image.FromFile(Path.Combine(_DestDir.FullName, NomeFileBig));
- }
-
- var imgOutputSmall = new Bitmap(g1, thumbSizeSmall.Width, thumbSizeSmall.Height);
- if ((_DirectorySorgente.ToUpper() ?? "") == (_DirectoryDestinazione.ToUpper() ?? ""))
- {
- NomeFileSmall = NomeFileSmall.Substring(0, NomeFileSmall.Length - 4) + Codice + NomeFileSmall.Substring(NomeFileSmall.Length - 4);
- }
-
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat);
- imgOutputSmall.Dispose();
- g1.Dispose();
- }
- }
-
- if (File.Exists(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig)) == true)
- {
- FileSystem.Kill(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig));
- }
-
- g.Dispose();
- grPhoto.Dispose();
- if ((_DirectorySorgente.ToUpper() ?? "") == (_DirectoryDestinazione.ToUpper() ?? ""))
- {
- FileSystem.Kill(Path.Combine(_SourceDir.FullName, NomeFileBig2));
- }
- }
-
- public Size NewthumbSize(int currentwidth, int currentheight, int MaxPixel, string TipoSize)
- {
- // Calculate the Size of the New image
- // *** Larghezza, Altezza, Auto
-
- double tempMultiplier;
- if ((TipoSize.ToUpper() ?? "") == ("Larghezza".ToUpper() ?? ""))
- {
- tempMultiplier = MaxPixel / (double)currentwidth;
- }
- else if ((TipoSize.ToUpper() ?? "") == ("Altezza".ToUpper() ?? ""))
- {
- tempMultiplier = MaxPixel / (double)currentheight;
- }
- else if (currentheight > currentwidth) // portrait
- {
- tempMultiplier = MaxPixel / (double)currentheight;
- }
- else
- {
- tempMultiplier = MaxPixel / (double)currentwidth;
- }
-
- var NewSize = new Size((int)Math.Round(currentwidth * tempMultiplier), (int)Math.Round(currentheight * tempMultiplier));
- return NewSize;
- }
-
- public string DirectorySorgente
- {
- get
- {
- return _DirectorySorgente;
- }
-
- set
- {
- _DirectorySorgente = value;
- }
- }
-
- public string DirectoryDestinazione
- {
- get
- {
- return _DirectoryDestinazione;
- }
-
- set
- {
- _DirectoryDestinazione = value;
- }
- }
-
- public DirectoryInfo SourceDir
- {
- get
- {
- return _SourceDir;
- }
-
- set
- {
- _SourceDir = value;
- }
- }
-
- public DirectoryInfo DestDirStart
- {
- get
- {
- return _DestDirStart;
- }
-
- set
- {
- _DestDirStart = value;
- }
- }
-
- public string TestoFirmaStart
- {
- get
- {
- return _TestoFirmaStart;
- }
-
- set
- {
- _TestoFirmaStart = value;
- }
- }
-
- public string TestoFirmaStartV
- {
- get
- {
- return _TestoFirmaStartV;
- }
-
- set
- {
- _TestoFirmaStartV = value;
- }
- }
-
- public DateTime DataPartenza
- {
- get
- {
- return _DataPartenza;
- }
-
- set
- {
- _DataPartenza = value;
- }
- }
-
- public string TestoOrario
- {
- get
- {
- return _TestoOrario;
- }
-
- set
- {
- _TestoOrario = value;
- }
- }
-
- public int DimStandard
- {
- get
- {
- return _DimStandard;
- }
-
- set
- {
- _DimStandard = value;
- }
- }
-
- public int DimStandardMiniatura
- {
- get
- {
- return _DimStandardMiniatura;
- }
-
- set
- {
- _DimStandardMiniatura = value;
- }
- }
-
- public bool UsaOrarioMiniatura
- {
- get
- {
- return _UsaOrarioMiniatura;
- }
-
- set
- {
- _UsaOrarioMiniatura = value;
- }
- }
-
- public bool UsaOrarioTestoApplicare
- {
- get
- {
- return _UsaOrarioTestoApplicare;
- }
-
- set
- {
- _UsaOrarioTestoApplicare = value;
- }
- }
-
- public bool UsaTempoGaraTestoApplicare
- {
- get
- {
- return _UsaTempoGaraTestoApplicare;
- }
-
- set
- {
- _UsaTempoGaraTestoApplicare = value;
- }
- }
-
- public bool UsaRotazioneAutomatica
- {
- get
- {
- return _UsaRotazioneAutomatica;
- }
-
- set
- {
- _UsaRotazioneAutomatica = value;
- }
- }
-
- public bool UsaForzaJpg
- {
- get
- {
- return _UsaForzaJpg;
- }
-
- set
- {
- _UsaForzaJpg = value;
- }
- }
-
- public int LarghezzaSmall
- {
- get
- {
- return _LarghezzaSmall;
- }
-
- set
- {
- _LarghezzaSmall = value;
- }
- }
-
- public int AltezzaSmall
- {
- get
- {
- return _AltezzaSmall;
- }
-
- set
- {
- _AltezzaSmall = value;
- }
- }
-
- public bool CreaMiniature
- {
- get
- {
- return _CreaMiniature;
- }
-
- set
- {
- _CreaMiniature = value;
- }
- }
-
- public bool AggiungiScritteMiniature
- {
- get
- {
- return _AggiungiScritteMiniature;
- }
-
- set
- {
- _AggiungiScritteMiniature = value;
- }
- }
-
- public string NomeFileChild
- {
- get
- {
- return _NomeFileChild;
- }
-
- set
- {
- _NomeFileChild = value;
- }
- }
-
- public string Suffisso
- {
- get
- {
- return _Suffisso;
- }
-
- set
- {
- _Suffisso = value;
- }
- }
-
- public string Codice
- {
- get
- {
- return _Codice;
- }
-
- set
- {
- _Codice = value;
- }
- }
-
- public int Trasparenza
- {
- get
- {
- return _Trasparenza;
- }
-
- set
- {
- _Trasparenza = value;
- }
- }
-
- public string IlFont
- {
- get
- {
- return _IlFont;
- }
-
- set
- {
- _IlFont = value;
- }
- }
-
- public bool Grassetto
- {
- get
- {
- return _Grassetto;
- }
-
- set
- {
- _Grassetto = value;
- }
- }
-
- public string Posizione
- {
- get
- {
- return _Posizione;
- }
-
- set
- {
- _Posizione = value;
- }
- }
-
- public string Allineamento
- {
- get
- {
- return _Allineamento;
- }
-
- set
- {
- _Allineamento = value;
- }
- }
-
- public int Margine
- {
- get
- {
- return _Margine;
- }
-
- set
- {
- _Margine = value;
- }
- }
-
- public int LogoAltezza
- {
- get
- {
- return _LogoAltezza;
- }
-
- set
- {
- _LogoAltezza = value;
- }
- }
-
- public int LogoLarghezza
- {
- get
- {
- return _LogoLarghezza;
- }
-
- set
- {
- _LogoLarghezza = value;
- }
- }
-
- public int FontColoreR
- {
- get
- {
- return _FontColoreR;
- }
-
- set
- {
- _FontColoreR = value;
- }
- }
-
- public int FontColoreG
- {
- get
- {
- return _FontColoreG;
- }
-
- set
- {
- _FontColoreG = value;
- }
- }
-
- public int FontColoreB
- {
- get
- {
- return _FontColoreB;
- }
-
- set
- {
- _FontColoreB = value;
- }
- }
-
- public bool LogoAggiungi
- {
- get
- {
- return _LogoAggiungi;
- }
-
- set
- {
- _LogoAggiungi = value;
- }
- }
-
- public string LogoNomeFile
- {
- get
- {
- return _LogoNomeFile;
- }
-
- set
- {
- _LogoNomeFile = value;
- }
- }
-
- public string LogoTrasparenza
- {
- get
- {
- return _LogoTrasparenza;
- }
-
- set
- {
- _LogoTrasparenza = value;
- }
- }
-
- public string LogoMargine
- {
- get
- {
- return _LogoMargine;
- }
-
- set
- {
- _LogoMargine = value;
- }
- }
-
- public string LogoPosizioneH
- {
- get
- {
- return _LogoPosizioneH;
- }
-
- set
- {
- _LogoPosizioneH = value;
- }
- }
-
- public string LogoPosizioneV
- {
- get
- {
- return _LogoPosizioneV;
- }
-
- set
- {
- _LogoPosizioneV = value;
- }
- }
-
- public bool FotoGrandeDimOrigina
- {
- get
- {
- return _FotoGrandeDimOrigina;
- }
-
- set
- {
- _FotoGrandeDimOrigina = value;
- }
- }
-
- public int AltezzaBig
- {
- get
- {
- return _AltezzaBig;
- }
-
- set
- {
- _AltezzaBig = value;
- }
- }
-
- public int LarghezzaBig
- {
- get
- {
- return _LarghezzaBig;
- }
-
- set
- {
- _LarghezzaBig = value;
- }
- }
-
- public DirectoryInfo DestDir
- {
- get
- {
- return _DestDir;
- }
-
- set
- {
- _DestDir = value;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/CreaImmagineSeparateMultiCore.vb b/imagecatalog.backup/CreaImmagineSeparateMultiCore.vb
deleted file mode 100644
index 4b645f8..0000000
--- a/imagecatalog.backup/CreaImmagineSeparateMultiCore.vb
+++ /dev/null
@@ -1,943 +0,0 @@
-Imports System.IO
-'Imports System.Drawing.Drawing2D
-'Imports System.Drawing.Imaging
-'Imports System.Threading
-
-Public Class CreaImmagineSeparateMultiCore
-
- Private _DirectorySorgente As String
- Private _DirectoryDestinazione As String
-
-
- Private _SourceDir As DirectoryInfo
- Private _DestDirStart As DirectoryInfo
- Private _DimStandard As Integer
- Private _DimStandardMiniatura As Integer
-
-
- Private _UsaOrarioMiniatura As Boolean
- Private _UsaOrarioTestoApplicare As Boolean
- Private _UsaTempoGaraTestoApplicare As Boolean
- Private _TestoFirmaStart As String
- Private _TestoFirmaStartV As String
- Private _DataPartenza As DateTime
- Private _TestoOrario As String
-
- Private _UsaRotazioneAutomatica As Boolean
- Private _UsaForzaJpg As Boolean
-
- Private _LarghezzaSmall As Integer
- Private _AltezzaSmall As Integer
-
- Private _CreaMiniature As Boolean
- Private _AggiungiScritteMiniature As Boolean
-
- Private _NomeFileChild As String
- Private _Suffisso As String
- Private _Codice As String
-
- Private _Trasparenza As Integer
- Private _IlFont As String
- Private _Grassetto As Boolean
-
- Private _Posizione As String
- Private _Allineamento As String
- Private _Margine As Integer
-
- Private _LogoAltezza As Integer
- Private _LogoLarghezza As Integer
-
- Private _FontColoreR As Integer
- Private _FontColoreG As Integer
- Private _FontColoreB As Integer
-
- Private _LogoAggiungi As Boolean
- Private _LogoNomeFile As String
- Private _LogoTrasparenza As String
- Private _LogoMargine As String
- Private _LogoPosizioneH As String
- Private _LogoPosizioneV As String
-
- Private _FotoGrandeDimOrigina As Boolean
- Private _AltezzaBig As Integer
- Private _LarghezzaBig As Integer
- Private _DestDir As DirectoryInfo
-
- Public Sub CreaImmagine(ByVal InfoImg As PicInfo)
- Dim TestoFirma As String = ""
-
- _DestDir = InfoImg.DirDest
- _SourceDir = InfoImg.DirSource
- _DestDirStart = InfoImg.DirDestStart
- _NomeFileChild = InfoImg.NomeImmagine
-
- Dim AlphaScelta As Integer = CType((255 * (100 - _Trasparenza) / 100), Integer)
-
- Dim DimensioneStandard As Integer
- Dim DimensioneStandardMiniatura As Integer
-
- Dim DataFoto As DateTime
- Dim DataPartenzaI As DateTime = _DataPartenza
- If _TestoOrario.Length > 0 Then
- _TestoOrario &= " "
- End If
- Dim TestoFirmaPiccola As String = ""
-
- Dim FileConta As Integer = 0
- Dim ContaFileXDir As Integer = 0
- Dim ContaDirXDir As Integer = 0
- Dim TestoTemp As String = ""
- Dim ContaTemp As Integer = 0
-
- DimensioneStandard = _DimStandard
- DimensioneStandardMiniatura = _DimStandardMiniatura
-
- Dim g As System.Drawing.Image = System.Drawing.Image.FromFile(Path.Combine(_SourceDir.FullName, _NomeFileChild))
-
- If _UsaOrarioTestoApplicare = True Or _UsaTempoGaraTestoApplicare = True Or _UsaOrarioMiniatura = True Then
- If g.PropertyIdList.Length > 0 Then ' ci sono dati exif
- Dim DatiExif As New ExifReader(CType(g, Bitmap))
- DataFoto = DatiExif.DateTimeOriginal
- TestoFirma = _TestoFirmaStart
- If DataFoto.Year <> 1 Then
- TestoFirmaPiccola = DataFoto.ToShortTimeString
- If _UsaOrarioTestoApplicare = True Then
- TestoFirma &= " - " & DataFoto.ToShortDateString & " " & DataFoto.ToLongTimeString
- End If
- If _UsaTempoGaraTestoApplicare = True Then
- Dim Orario As TimeSpan = New TimeSpan(DateDiff(DateInterval.Second, DataPartenzaI, DataFoto) * 10000000)
- TestoFirma &= " - " & _TestoOrario & Orario.Hours.ToString("00") & ":" & Orario.Minutes.ToString("00") & ":" & Orario.Seconds.ToString("00")
- End If
- End If
- End If
- Else
- TestoFirma = _TestoFirmaStart
- End If
-
- Dim FotoRuotaADestra As Boolean = False
- Dim FotoRuotaASinistra As Boolean = False
-
- If _UsaRotazioneAutomatica = True Then
- If g.PropertyIdList.Length > 0 Then ' ci sono dati exif
- Dim DatiExif As New ExifReader(CType(g, Bitmap))
-
- Select Case DatiExif.Orientation
- Case ExifReader.Orientations.BottomLeft
-
- Case ExifReader.Orientations.BottomRight
-
- Case ExifReader.Orientations.LeftTop
-
- Case ExifReader.Orientations.LftBottom
- FotoRuotaASinistra = True
- Case ExifReader.Orientations.RightBottom
-
- Case ExifReader.Orientations.RightTop
-
- Case ExifReader.Orientations.TopLeft
-
- Case ExifReader.Orientations.TopRight
-
- End Select
- End If
- End If
- 'rotazione
- If FotoRuotaASinistra = True Then
- g.RotateFlip(RotateFlipType.Rotate270FlipNone)
- End If
- If FotoRuotaADestra = True Then
- g.RotateFlip(RotateFlipType.Rotate90FlipNone)
- End If
-
- Dim thisFormat As System.Drawing.Imaging.ImageFormat = g.RawFormat
- If _UsaForzaJpg = True Then
- thisFormat = System.Drawing.Imaging.ImageFormat.Jpeg
- End If
-
- Dim thumbSizeSmall As New Size
- Dim thumbSizeBig As New Size
- Dim NomeFileSmall As String = ""
- Dim NomeFileBig As String = ""
- Dim NomeFileBig2 As String = ""
-
- If g.Width > g.Height Then
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, LarghezzaSmall, "Larghezza")
- Dim SizeOrig As New Size(g.Width, g.Height)
- thumbSizeBig = SizeOrig
- Else
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, AltezzaSmall, "Altezza")
- Dim SizeOrig As New Size(g.Width, g.Height)
- thumbSizeBig = SizeOrig
- End If
-
- NomeFileSmall = Suffisso & _NomeFileChild
- NomeFileBig = _NomeFileChild
-
- Dim imgOutputBig As New Bitmap(g, thumbSizeBig.Width, thumbSizeBig.Height)
- imgOutputBig.SetResolution(g.HorizontalResolution, g.VerticalResolution)
-
- If _CreaMiniature = True Then
- If _AggiungiScritteMiniature = False Then
- If _DirectorySorgente.ToUpper = _DirectoryDestinazione.ToUpper Then
- NomeFileSmall = NomeFileSmall.Substring(0, NomeFileSmall.Length - 4) & Codice & NomeFileSmall.Substring(NomeFileSmall.Length - 4)
- End If
- If _UsaOrarioMiniatura = True Then
- If TestoFirmaPiccola.Length > 0 Then
- Dim imgOutputSmall As Bitmap
- imgOutputSmall = CType(imgOutputBig.Clone, Bitmap)
-
- Dim grPhoto1 As Graphics
- grPhoto1 = Graphics.FromImage(imgOutputSmall)
- grPhoto1.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias
-
- Dim crFont1 As Font = Nothing
- Dim crSize1 As SizeF = New SizeF
- Dim LarghezzaStandard1 As Integer
-
- If _Grassetto = True Then
- crFont1 = New Font(IlFont, DimensioneStandardMiniatura, FontStyle.Bold)
- Else
- crFont1 = New Font(_IlFont, DimensioneStandardMiniatura)
- End If
-
- crSize1 = grPhoto1.MeasureString(TestoFirmaPiccola, crFont1)
- LarghezzaStandard1 = CType(crSize1.Width, Integer)
-
- If crSize1.Width > CType(g.Width, Single) Then
- Dim Conta As Integer = DimensioneStandardMiniatura
- Do
- If Conta > 20 Then
- Conta -= 5
- Else
- Conta -= 1
- End If
- If _Grassetto = True Then
- crFont1 = New Font(_IlFont, Conta, FontStyle.Bold)
- Else
- crFont1 = New Font(_IlFont, Conta)
- End If
- crSize1 = grPhoto1.MeasureString(TestoFirmaPiccola, crFont1)
- If crSize1.Width < CType(g.Width, Single) Then
- LarghezzaStandard1 = CType(crSize1.Width, Integer)
- Exit Do
- End If
- If Conta <= 5 Then Exit Do
- Loop
- DimensioneStandardMiniatura = Conta
- End If
-
- Dim yPosFromBottom1 As Single
- Select Case _Posizione.ToUpper
- Case "ALTO"
- yPosFromBottom1 = (_Margine)
-
- Case "BASSO"
- 'yPosFromBottom = (g.Height - _Margine - DimensioneStandard)
- 'yPosFromBottom1 = CType((g.Height - crFont1.Height - (g.Height * _Margine / 100) - (crFont1.Height * 0.3)), Single)
- yPosFromBottom1 = CType((g.Height - crSize1.Height - (g.Height * _Margine / 100)), Single)
-
- End Select
-
- Dim xCenterOfImg1 As Single
- Dim StrFormat1 As StringFormat = New StringFormat
- Select Case _Allineamento.ToUpper
- Case "SINISTRA"
- xCenterOfImg1 = CType((_Margine + (LarghezzaStandard1 / 2)), Single)
- If (LarghezzaStandard1 / 2) > (g.Width / 2) - _Margine Then
- xCenterOfImg1 = CType((g.Width / 2), Single)
- End If
-
- Case "CENTRO"
- xCenterOfImg1 = CType((g.Width / 2), Single)
-
- Case "DESTRA"
- xCenterOfImg1 = CType((g.Width - _Margine - (LarghezzaStandard1 / 2)), Single)
- If (LarghezzaStandard1 / 2) > (g.Width / 2) - _Margine Then
- xCenterOfImg1 = CType((g.Width / 2), Single)
- End If
-
- End Select
- StrFormat1.Alignment = StringAlignment.Center
-
- Dim semiTransBrush21 As SolidBrush = New SolidBrush(Color.FromArgb(AlphaScelta, 0, 0, 0))
- Dim semiTransBrush1 As SolidBrush = New SolidBrush(Color.FromArgb(AlphaScelta, _FontColoreR, _FontColoreG, _FontColoreB))
-
- If _Grassetto = True Then
- crFont1 = New Font(_IlFont, DimensioneStandardMiniatura, FontStyle.Bold)
- Else
- crFont1 = New Font(_IlFont, DimensioneStandardMiniatura)
- End If
-
- grPhoto1.DrawString(TestoFirmaPiccola, crFont1, semiTransBrush21, New PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1)
- grPhoto1.DrawString(TestoFirmaPiccola, crFont1, semiTransBrush1, New PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1)
-
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileSmall), thisFormat)
- Dim g2 As System.Drawing.Image = System.Drawing.Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileSmall))
- Dim imgOutputSmall2 As New Bitmap(g2, thumbSizeSmall.Width, thumbSizeSmall.Height)
- imgOutputSmall2.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat)
-
- imgOutputSmall2.Dispose()
- imgOutputSmall.Dispose()
- g2.Dispose()
- Kill(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileSmall))
- Else
- Dim imgOutputSmall As New Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height)
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat)
- imgOutputSmall.Dispose()
- End If
- Else
- Dim imgOutputSmall As New Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height)
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat)
- imgOutputSmall.Dispose()
- End If
- End If
- End If
-
- Dim grPhoto As Graphics
- grPhoto = Graphics.FromImage(imgOutputBig)
- grPhoto.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias
-
- Dim crFont As Font = Nothing
- Dim crSize As SizeF = New SizeF
- Dim LarghezzaStandard As Integer
-
- If _Grassetto = True Then
- crFont = New Font(_IlFont, DimensioneStandard, FontStyle.Bold)
- Else
- crFont = New Font(_IlFont, DimensioneStandard)
- End If
- crSize = grPhoto.MeasureString(TestoFirma, crFont)
- LarghezzaStandard = CType(crSize.Width, Integer)
-
- If crSize.Width > CType(g.Width, Single) Then
- Dim Conta As Integer = DimensioneStandard
- Do
- If Conta > 20 Then
- Conta -= 5
- Else
- Conta -= 1
- End If
- If _Grassetto = True Then
- crFont = New Font(_IlFont, Conta, FontStyle.Bold)
- Else
- crFont = New Font(_IlFont, Conta)
- End If
- crSize = grPhoto.MeasureString(TestoFirma, crFont)
- If crSize.Width < CType(g.Width, Single) Then
- LarghezzaStandard = CType(crSize.Width, Integer)
- Exit Do
- End If
- If Conta <= 5 Then Exit Do
- Loop
- DimensioneStandard = Conta
- End If
-
- Dim yPosFromBottom As Single
- Select Case _Posizione.ToUpper
- Case "ALTO"
- yPosFromBottom = (_Margine)
-
- Case "BASSO"
- 'yPosFromBottom = (g.Height - _Margine - DimensioneStandard)
- 'yPosFromBottom = CType((g.Height - DimensioneStandard - (g.Height * _Margine / 100) - (DimensioneStandard * 0.3)), Single)
- yPosFromBottom = CType((g.Height - crSize.Height - (g.Height * _Margine / 100)), Single)
- End Select
-
- Dim xCenterOfImg As Single
- Dim StrFormat As StringFormat = New StringFormat
- Select Case _Allineamento.ToUpper
- Case "SINISTRA"
- xCenterOfImg = CType((_Margine + (LarghezzaStandard / 2)), Single)
- If (LarghezzaStandard / 2) > (g.Width / 2) - _Margine Then
- xCenterOfImg = CType((g.Width / 2), Single)
- End If
-
- Case "CENTRO"
- xCenterOfImg = CType((g.Width / 2), Single)
-
- Case "DESTRA"
- xCenterOfImg = CType((g.Width - _Margine - (LarghezzaStandard / 2)), Single)
- If (LarghezzaStandard / 2) > (g.Width / 2) - _Margine Then
- xCenterOfImg = CType((g.Width / 2), Single)
- End If
-
- End Select
- StrFormat.Alignment = StringAlignment.Center
-
- Dim semiTransBrush2 As SolidBrush = New SolidBrush(Color.FromArgb(AlphaScelta, 0, 0, 0))
- Dim semiTransBrush As SolidBrush = New SolidBrush(Color.FromArgb(AlphaScelta, _FontColoreR, _FontColoreG, _FontColoreB))
-
- If _Grassetto = True Then
- crFont = New Font(_IlFont, DimensioneStandard, FontStyle.Bold)
- Else
- crFont = New Font(_IlFont, DimensioneStandard)
- End If
-
- grPhoto.DrawString(TestoFirma, crFont, semiTransBrush2, New PointF(xCenterOfImg + 1, yPosFromBottom + 1), StrFormat)
- grPhoto.DrawString(TestoFirma, crFont, semiTransBrush, New PointF(xCenterOfImg, yPosFromBottom), StrFormat)
-
- If _DirectorySorgente.ToUpper = _DirectoryDestinazione.ToUpper Then
- NomeFileBig2 = NomeFileBig
- NomeFileBig = NomeFileBig.Substring(0, NomeFileBig.Length - 4) & Codice & NomeFileBig.Substring(NomeFileBig.Length - 4)
- End If
-
-
- 'imgOutputBig
- If _LogoAggiungi = True And File.Exists(_LogoNomeFile) Then
-
- Dim ImmagineLogo As Image = Image.FromFile(_LogoNomeFile)
-
- Dim LogoColoreTrasparente As Color = Color.White
- 'Dim bmWatermark As Bitmap
-
- '* Create a Bitmap based on the previously modified photograph Bitmap
- 'bmWatermark = New Bitmap(imgOutputBig)
- 'bmWatermark.SetResolution(imgOutputBig.HorizontalResolution, imgOutputBig.VerticalResolution)
-
- '* Load this Bitmap into a new Graphic Object
- Dim grWatermark As Graphics = Graphics.FromImage(imgOutputBig)
-
- '* To achieve a transulcent watermark we will apply (2) color manipulations
- Dim imageAttributes As Imaging.ImageAttributes = New Imaging.ImageAttributes
-
- '* The first step replace the background color with one that is trasparent (Alpha=0, R=0, G=0, B=0)
- Dim colorMap As Imaging.ColorMap = New Imaging.ColorMap
-
- '* background this will be the color we search for and replace with transparency
- colorMap.OldColor = LogoColoreTrasparente
- colorMap.NewColor = Color.FromArgb(0, 0, 0, 0)
-
- Dim remapTable As Imaging.ColorMap() = {colorMap}
- imageAttributes.SetRemapTable(remapTable, Imaging.ColorAdjustType.Bitmap)
-
- '* The second color manipulation is used to change the opacity by setting the 3rd row and 3rd column to 0.3f
- Dim colorMatrixElements As Single()() = {New Single() {1.0F, 0.0F, 0.0F, 0.0F, 0.0F}, New Single() {0.0F, 1.0F, 0.0F, 0.0F, 0.0F}, New Single() {0.0F, 0.0F, 1.0F, 0.0F, 0.0F}, New Single() {0.0F, 0.0F, 0.0F, CType(_LogoTrasparenza, Single) / 100, 0.0F}, New Single() {0.0F, 0.0F, 0.0F, 0.0F, 1.0F}}
- Dim wmColorMatrix As Imaging.ColorMatrix = New Imaging.ColorMatrix(colorMatrixElements)
- imageAttributes.SetColorMatrix(wmColorMatrix, Imaging.ColorMatrixFlag.Default, Imaging.ColorAdjustType.Bitmap)
-
- Dim FotoLogoH As Integer = _LogoAltezza
- Dim FotoLogoW As Integer = _LogoLarghezza
- Dim FattoreAlt As Double = ImmagineLogo.Height / FotoLogoH
- Dim FattoreLarg As Double = ImmagineLogo.Width / FotoLogoW
- Dim NuovaSize As Size
- If FattoreLarg > FattoreAlt Then
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoW, "Larghezza")
- Else
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoH, "Altezza")
- End If
-
- Dim MargineUsato As Integer
- Dim MargineL As Integer
- Dim InPercentualeL As Boolean
- If _LogoMargine.EndsWith("%") = True Then
- InPercentualeL = True
- Else
- InPercentualeL = False
- End If
- MargineL = CType(Val(_LogoMargine), Integer)
- If InPercentualeL = True Then
- MargineUsato = CType(imgOutputBig.Height * MargineL / 100, Integer)
- Else
- MargineUsato = MargineL
- End If
-
- Dim xPosOfWm As Integer
- Dim yPosOfWm As Integer
- Select Case _LogoPosizioneH.ToUpper
- Case "SINISTRA", "NESSUNA"
- xPosOfWm = MargineUsato
-
- Case "CENTRO"
- xPosOfWm = CType((imgOutputBig.Width - NuovaSize.Width) / 2, Integer)
-
- Case "DESTRA"
- xPosOfWm = ((imgOutputBig.Width - NuovaSize.Width) - MargineUsato)
- End Select
- Select Case _LogoPosizioneV.ToUpper
- Case "ALTO", "NESSUNA"
- yPosOfWm = MargineUsato
-
- Case "CENTRO"
- yPosOfWm = CType((imgOutputBig.Height - NuovaSize.Height) / 2, Integer)
-
- Case "BASSO"
- yPosOfWm = ((imgOutputBig.Height - NuovaSize.Height) - MargineUsato)
- End Select
-
- grWatermark.DrawImage(ImmagineLogo, New Rectangle(xPosOfWm, yPosOfWm, NuovaSize.Width, NuovaSize.Height), 0, 0, ImmagineLogo.Width, ImmagineLogo.Height, GraphicsUnit.Pixel, imageAttributes)
- grWatermark.Dispose()
- End If
-
- If _FotoGrandeDimOrigina = False Then
- imgOutputBig.Save(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig), thisFormat)
- Dim g2 As System.Drawing.Image = System.Drawing.Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig))
- If g2.Width > g2.Height Then
- thumbSizeBig = NewthumbSize(g2.Width, g2.Height, _LarghezzaBig, "Larghezza")
- Else
- thumbSizeBig = NewthumbSize(g2.Width, g2.Height, _AltezzaBig, "Altezza")
- End If
- Dim imgOutputBig2 As New Bitmap(g2, thumbSizeBig.Width, thumbSizeBig.Height)
- imgOutputBig2.Save(Path.Combine(_DestDir.FullName, NomeFileBig), thisFormat)
- imgOutputBig2.Dispose()
- imgOutputBig.Dispose()
- g2.Dispose()
- Else
- imgOutputBig.Save(Path.Combine(_DestDir.FullName, NomeFileBig), thisFormat)
- imgOutputBig.Dispose()
- End If
-
- If _CreaMiniature = True Then
- If _AggiungiScritteMiniature = True Then
- Dim g1 As System.Drawing.Image
- If _FotoGrandeDimOrigina = False Then
- g1 = System.Drawing.Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig))
- Else
- g1 = System.Drawing.Image.FromFile(Path.Combine(_DestDir.FullName, NomeFileBig))
- End If
- Dim imgOutputSmall As New Bitmap(g1, thumbSizeSmall.Width, thumbSizeSmall.Height)
- If _DirectorySorgente.ToUpper = _DirectoryDestinazione.ToUpper Then
- NomeFileSmall = NomeFileSmall.Substring(0, NomeFileSmall.Length - 4) & Codice & NomeFileSmall.Substring(NomeFileSmall.Length - 4)
- End If
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat)
- imgOutputSmall.Dispose()
- g1.Dispose()
- End If
- End If
-
- If File.Exists(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig)) = True Then
- Kill(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig))
- End If
-
- g.Dispose()
- grPhoto.Dispose()
-
- If _DirectorySorgente.ToUpper = _DirectoryDestinazione.ToUpper Then
- Kill(Path.Combine(_SourceDir.FullName, NomeFileBig2))
- End If
-
- End Sub
-
-
-
- Function NewthumbSize(ByVal currentwidth As Integer, ByVal currentheight As Integer, ByVal MaxPixel As Integer, ByVal TipoSize As String) As Size
- ' Calculate the Size of the New image
- '*** Larghezza, Altezza, Auto
-
- Dim tempMultiplier As Double
-
- If TipoSize.ToUpper = "Larghezza".ToUpper Then
- tempMultiplier = MaxPixel / currentwidth
- ElseIf TipoSize.ToUpper = "Altezza".ToUpper Then
- tempMultiplier = MaxPixel / currentheight
- Else
- If currentheight > currentwidth Then ' portrait
- tempMultiplier = MaxPixel / currentheight
- Else
- tempMultiplier = MaxPixel / currentwidth
- End If
- End If
-
- Dim NewSize As New Size(CInt(currentwidth * tempMultiplier), CInt(currentheight * tempMultiplier))
-
- Return NewSize
- End Function
-
-
-
-
- Public Property DirectorySorgente() As String
- Get
- Return _DirectorySorgente
- End Get
- Set(ByVal value As String)
- _DirectorySorgente = value
- End Set
- End Property
-
- Public Property DirectoryDestinazione() As String
- Get
- Return _DirectoryDestinazione
- End Get
- Set(ByVal value As String)
- _DirectoryDestinazione = value
- End Set
- End Property
-
-
- Public Property SourceDir() As DirectoryInfo
- Get
- Return _SourceDir
- End Get
- Set(ByVal value As DirectoryInfo)
- _SourceDir = value
- End Set
- End Property
-
- Public Property DestDirStart() As DirectoryInfo
- Get
- Return _DestDirStart
- End Get
- Set(ByVal value As DirectoryInfo)
- _DestDirStart = value
- End Set
- End Property
-
-
-
- Public Property TestoFirmaStart() As String
- Get
- Return _TestoFirmaStart
- End Get
- Set(ByVal value As String)
- _TestoFirmaStart = value
- End Set
- End Property
- Public Property TestoFirmaStartV() As String
- Get
- Return _TestoFirmaStartV
- End Get
- Set(ByVal value As String)
- _TestoFirmaStartV = value
- End Set
- End Property
-
- Public Property DataPartenza() As DateTime
- Get
- Return _DataPartenza
- End Get
- Set(ByVal value As DateTime)
- _DataPartenza = value
- End Set
- End Property
-
- Public Property TestoOrario() As String
- Get
- Return _TestoOrario
- End Get
- Set(ByVal value As String)
- _TestoOrario = value
- End Set
- End Property
-
- Public Property DimStandard() As Integer
- Get
- Return _DimStandard
- End Get
- Set(ByVal value As Integer)
- _DimStandard = value
- End Set
- End Property
-
- Public Property DimStandardMiniatura() As Integer
- Get
- Return _DimStandardMiniatura
- End Get
- Set(ByVal value As Integer)
- _DimStandardMiniatura = value
- End Set
- End Property
-
- Public Property UsaOrarioMiniatura() As Boolean
- Get
- Return _UsaOrarioMiniatura
- End Get
- Set(ByVal value As Boolean)
- _UsaOrarioMiniatura = value
- End Set
- End Property
-
- Public Property UsaOrarioTestoApplicare() As Boolean
- Get
- Return _UsaOrarioTestoApplicare
- End Get
- Set(ByVal value As Boolean)
- _UsaOrarioTestoApplicare = value
- End Set
- End Property
-
- Public Property UsaTempoGaraTestoApplicare() As Boolean
- Get
- Return _UsaTempoGaraTestoApplicare
- End Get
- Set(ByVal value As Boolean)
- _UsaTempoGaraTestoApplicare = value
- End Set
- End Property
-
- Public Property UsaRotazioneAutomatica() As Boolean
- Get
- Return _UsaRotazioneAutomatica
- End Get
- Set(ByVal value As Boolean)
- _UsaRotazioneAutomatica = value
- End Set
- End Property
-
- Public Property UsaForzaJpg() As Boolean
- Get
- Return _UsaForzaJpg
- End Get
- Set(ByVal value As Boolean)
- _UsaForzaJpg = value
- End Set
- End Property
-
-
-
- Public Property LarghezzaSmall() As Integer
- Get
- Return _LarghezzaSmall
- End Get
- Set(ByVal value As Integer)
- _LarghezzaSmall = value
- End Set
- End Property
-
- Public Property AltezzaSmall() As Integer
- Get
- Return _AltezzaSmall
- End Get
- Set(ByVal value As Integer)
- _AltezzaSmall = value
- End Set
- End Property
-
-
- Public Property CreaMiniature() As Boolean
- Get
- Return _CreaMiniature
- End Get
- Set(ByVal value As Boolean)
- _CreaMiniature = value
- End Set
- End Property
-
- Public Property AggiungiScritteMiniature() As Boolean
- Get
- Return _AggiungiScritteMiniature
- End Get
- Set(ByVal value As Boolean)
- _AggiungiScritteMiniature = value
- End Set
- End Property
-
- Public Property NomeFileChild() As String
- Get
- Return _NomeFileChild
- End Get
- Set(ByVal value As String)
- _NomeFileChild = value
- End Set
- End Property
-
- Public Property Suffisso() As String
- Get
- Return _Suffisso
- End Get
- Set(ByVal value As String)
- _Suffisso = value
- End Set
- End Property
-
- Public Property Codice() As String
- Get
- Return _Codice
- End Get
- Set(ByVal value As String)
- _Codice = value
- End Set
- End Property
-
-
- Public Property Trasparenza() As Integer
- Get
- Return _Trasparenza
- End Get
- Set(ByVal value As Integer)
- _Trasparenza = value
- End Set
- End Property
-
- Public Property IlFont() As String
- Get
- Return _IlFont
- End Get
- Set(ByVal value As String)
- _IlFont = value
- End Set
- End Property
-
- Public Property Grassetto() As Boolean
- Get
- Return _Grassetto
- End Get
- Set(ByVal value As Boolean)
- _Grassetto = value
- End Set
- End Property
-
- Public Property Posizione() As String
- Get
- Return _Posizione
- End Get
- Set(ByVal value As String)
- _Posizione = value
- End Set
- End Property
-
- Public Property Allineamento() As String
- Get
- Return _Allineamento
- End Get
- Set(ByVal value As String)
- _Allineamento = value
- End Set
- End Property
-
- Public Property Margine() As Integer
- Get
- Return _Margine
- End Get
- Set(ByVal value As Integer)
- _Margine = value
- End Set
- End Property
-
- Public Property LogoAltezza() As Integer
- Get
- Return _LogoAltezza
- End Get
- Set(ByVal value As Integer)
- _LogoAltezza = value
- End Set
- End Property
-
- Public Property LogoLarghezza() As Integer
- Get
- Return _LogoLarghezza
- End Get
- Set(ByVal value As Integer)
- _LogoLarghezza = value
- End Set
- End Property
-
- Public Property FontColoreR() As Integer
- Get
- Return _FontColoreR
- End Get
- Set(ByVal value As Integer)
- _FontColoreR = value
- End Set
- End Property
-
- Public Property FontColoreG() As Integer
- Get
- Return _FontColoreG
- End Get
- Set(ByVal value As Integer)
- _FontColoreG = value
- End Set
- End Property
-
- Public Property FontColoreB() As Integer
- Get
- Return _FontColoreB
- End Get
- Set(ByVal value As Integer)
- _FontColoreB = value
- End Set
- End Property
-
- Public Property LogoAggiungi() As Boolean
- Get
- Return _LogoAggiungi
- End Get
- Set(ByVal value As Boolean)
- _LogoAggiungi = value
- End Set
- End Property
-
- Public Property LogoNomeFile() As String
- Get
- Return _LogoNomeFile
- End Get
- Set(ByVal value As String)
- _LogoNomeFile = value
- End Set
- End Property
-
- Public Property LogoTrasparenza() As String
- Get
- Return _LogoTrasparenza
- End Get
- Set(ByVal value As String)
- _LogoTrasparenza = value
- End Set
- End Property
-
- Public Property LogoMargine() As String
- Get
- Return _LogoMargine
- End Get
- Set(ByVal value As String)
- _LogoMargine = value
- End Set
- End Property
-
- Public Property LogoPosizioneH() As String
- Get
- Return _LogoPosizioneH
- End Get
- Set(ByVal value As String)
- _LogoPosizioneH = value
- End Set
- End Property
-
- Public Property LogoPosizioneV() As String
- Get
- Return _LogoPosizioneV
- End Get
- Set(ByVal value As String)
- _LogoPosizioneV = value
- End Set
- End Property
-
- Public Property FotoGrandeDimOrigina() As Boolean
- Get
- Return _FotoGrandeDimOrigina
- End Get
- Set(ByVal value As Boolean)
- _FotoGrandeDimOrigina = value
- End Set
- End Property
-
- Public Property AltezzaBig() As Integer
- Get
- Return _AltezzaBig
- End Get
- Set(ByVal value As Integer)
- _AltezzaBig = value
- End Set
- End Property
-
- Public Property LarghezzaBig() As Integer
- Get
- Return _LarghezzaBig
- End Get
- Set(ByVal value As Integer)
- _LarghezzaBig = value
- End Set
- End Property
-
- Public Property DestDir() As DirectoryInfo
- Get
- Return _DestDir
- End Get
- Set(ByVal value As DirectoryInfo)
- _DestDir = value
- End Set
- End Property
-
-
-
-End Class
diff --git a/imagecatalog.backup/CreaImmagineSeparateThread.cs b/imagecatalog.backup/CreaImmagineSeparateThread.cs
deleted file mode 100644
index cf80e50..0000000
--- a/imagecatalog.backup/CreaImmagineSeparateThread.cs
+++ /dev/null
@@ -1,1721 +0,0 @@
-using System;
-using System.Drawing;
-using System.Drawing.Drawing2D;
-using System.Drawing.Imaging;
-using System.IO;
-using Microsoft.VisualBasic;
-using Microsoft.VisualBasic.CompilerServices;
-
-namespace ImageCatalog
-{
- // Imports System.Threading
-
- public class CreaImmagineSeparateThread
- {
- /* TODO ERROR: Skipped RegionDirectiveTrivia */
- private string _DirectorySorgente;
- private string _DirectoryDestinazione;
- private int _DimVert;
- private int _MargVert;
- private DirectoryInfo _SourceDir;
- private DirectoryInfo _DestDirStart;
- private int _DimStandard;
- private int _DimStandardMiniatura;
- private bool _NomeData;
- private bool _TestoNome;
- private bool _UsaOrarioMiniatura;
- private bool _UsaOrarioTestoApplicare;
- private bool _UsaTempoGaraTestoApplicare;
- private string _TestoFirmaStart;
- private string _TestoFirmaStartV;
- private DateTime _DataPartenza;
- private string _TestoOrario;
- private bool _UsaRotazioneAutomatica;
- private bool _UsaForzaJpg;
- private int _LarghezzaSmall;
- private int _AltezzaSmall;
- private bool _CreaMiniature;
- private bool _AggiungiScritteMiniature;
- private bool _AggTempoGaraMin;
- private bool _AggNumTempMin;
- private string _NomeFileChild;
- private string _Suffisso;
- private string _Codice;
- private int _Trasparenza;
- private string _IlFont;
- private bool _Grassetto;
- private string _Posizione;
- private string _Allineamento;
- private int _Margine;
- private int _LogoAltezza;
- private int _LogoLarghezza;
- private int _FontColoreR;
- private int _FontColoreG;
- private int _FontColoreB;
- private Color _fontColoreRGB;
- private bool _LogoAggiungi;
- private string _LogoNomeFile;
- private string _LogoTrasparenza;
- private string _LogoMargine;
- private string _LogoPosizioneH;
- private string _LogoPosizioneV;
- private bool _FotoGrandeDimOrigina;
- private int _AltezzaBig;
- private int _LarghezzaBig;
- private DirectoryInfo _DestDir;
- private int _DimMin;
- private bool _TestoMin;
- private bool _SecretDefault;
- private bool _SecretBig;
- private bool _SecretSmall;
- private string _SecretPathSmall;
- private string _SecretPathBig;
- private long _jpegQuality;
- private long _jpegQualityMin;
- private bool FotoRuotaADestra = false;
- private bool FotoRuotaASinistra = false;
- private string TempMinText = "";
- // Private crFont1 As Font
-
-
- /* TODO ERROR: Skipped EndRegionDirectiveTrivia */
- private void ProcA(ref Image g, ref DateTime DataFoto, ref string TestoFirma, ref string TestoFirmaV, ref string TestoFirmaPiccola, ref DateTime DataPartenzaI)
- {
- if (g.PropertyIdList.Length > 0) // ci sono dati exif
- {
- var DatiExif = new ExifReader((Bitmap)g);
- DataFoto = DatiExif.DateTimeOriginal;
- TestoFirma = _TestoFirmaStart;
- TestoFirmaV = _TestoFirmaStartV;
- if (DataFoto.Year != 1)
- {
- TestoFirmaPiccola = DataFoto.ToShortTimeString();
- if (_UsaOrarioTestoApplicare == true)
- {
- TestoFirma += " " + DataFoto.ToShortDateString() + " " + DataFoto.ToLongTimeString();
- TestoFirmaV += " " + DataFoto.ToShortDateString() + " " + DataFoto.ToLongTimeString();
- }
-
- if (_UsaTempoGaraTestoApplicare == true)
- {
- var Orario = new TimeSpan(DateAndTime.DateDiff(DateInterval.Second, DataPartenzaI, DataFoto) * 10000000L);
- TestoFirma += " " + _TestoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
- TestoFirmaV += " " + _TestoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
- }
- }
- }
- }
-
- private void Rotation(ref Image g)
- {
- FotoRuotaADestra = false;
- FotoRuotaASinistra = false;
- if (_UsaRotazioneAutomatica == true)
- {
- if (g.PropertyIdList.Length > 0) // ci sono dati exif
- {
- var DatiExif = new ExifReader((Bitmap)g);
- switch (DatiExif.Orientation)
- {
- case ExifReader.Orientations.BottomLeft:
- {
- break;
- }
-
- case ExifReader.Orientations.BottomRight:
- {
- break;
- }
-
- case ExifReader.Orientations.LeftTop:
- {
- break;
- }
-
- case ExifReader.Orientations.LftBottom:
- {
- FotoRuotaASinistra = true;
- break;
- }
-
- case ExifReader.Orientations.RightBottom:
- {
- break;
- }
-
- case ExifReader.Orientations.RightTop:
- {
- break;
- }
-
- case ExifReader.Orientations.TopLeft:
- {
- break;
- }
-
- case ExifReader.Orientations.TopRight:
- {
- break;
- }
- }
- }
- }
-
- if (FotoRuotaASinistra == true)
- {
- g.RotateFlip(RotateFlipType.Rotate270FlipNone);
- }
-
- if (FotoRuotaADestra == true)
- {
- g.RotateFlip(RotateFlipType.Rotate90FlipNone);
- }
- }
-
- public void CreaImmagineThread(string Info)
- {
- string TestoFirma = "";
- string TestoFirmaV = "";
- int AlphaScelta = Conversions.ToInteger(255 * (100 - _Trasparenza) / 100d);
- int DimensioneStandard;
- int DimensioneStandardMiniatura;
- var DataFoto = default(DateTime);
- var DataPartenzaI = _DataPartenza;
- if (_TestoOrario.Length > 0)
- {
- _TestoOrario += " ";
- }
-
- string TestoFirmaPiccola = "";
- int FileConta = 0;
- int ContaFileXDir = 0;
- int ContaDirXDir = 0;
- string TestoTemp = "";
- int ContaTemp = 0;
- DimensioneStandard = _DimStandard;
- DimensioneStandardMiniatura = _DimStandardMiniatura;
- var g = Image.FromFile(Path.Combine(_SourceDir.FullName, _NomeFileChild));
- // dati extra in fondo
- if (_UsaOrarioTestoApplicare | _UsaTempoGaraTestoApplicare | _UsaOrarioMiniatura | _TestoMin | _AggTempoGaraMin | _AggNumTempMin)
- {
- ProcA(ref g, ref DataFoto, ref TestoFirma, ref TestoFirmaV, ref TestoFirmaPiccola, ref DataPartenzaI);
- }
-
- // If g.PropertyIdList.Length > 0 Then ' ci sono dati exif
- // Dim DatiExif As New ExifReader(CType(g, Bitmap))
- // DataFoto = DatiExif.DateTimeOriginal
- // TestoFirma = _TestoFirmaStart
- // TestoFirmaV = _TestoFirmaStartV
-
- // If DataFoto.Year <> 1 Then
- // TestoFirmaPiccola = DataFoto.ToShortTimeString
- // If _UsaOrarioTestoApplicare = True Then
- // TestoFirma &= " - " & DataFoto.ToShortDateString & " " & DataFoto.ToLongTimeString
- // TestoFirmaV &= " - " & DataFoto.ToShortDateString & " " & DataFoto.ToLongTimeString
- // End If
- // If _UsaTempoGaraTestoApplicare = True Then
- // Dim Orario As TimeSpan = New TimeSpan(DateDiff(DateInterval.Second, DataPartenzaI, DataFoto) * 10000000)
- // TestoFirma &= " - " & _TestoOrario & Orario.Hours.ToString("00") & ":" & Orario.Minutes.ToString("00") & ":" & Orario.Seconds.ToString("00")
- // TestoFirmaV &= " - " & _TestoOrario & Orario.Hours.ToString("00") & ":" & Orario.Minutes.ToString("00") & ":" & Orario.Seconds.ToString("00")
- // End If
- // End If
-
- // End If
-
- else
- {
- TestoFirma = _TestoFirmaStart;
- TestoFirmaV = _TestoFirmaStartV;
- }
-
- Rotation(ref g);
-
- // Dim FotoRuotaADestra As Boolean = False
- // Dim FotoRuotaASinistra As Boolean = False
-
- // If _UsaRotazioneAutomatica = True Then
- // If g.PropertyIdList.Length > 0 Then ' ci sono dati exif
- // Dim DatiExif As New ExifReader(CType(g, Bitmap))
-
- // Select Case DatiExif.Orientation
- // Case ExifReader.Orientations.BottomLeft
-
- // Case ExifReader.Orientations.BottomRight
-
- // Case ExifReader.Orientations.LeftTop
-
- // Case ExifReader.Orientations.LftBottom
- // FotoRuotaASinistra = True
- // Case ExifReader.Orientations.RightBottom
-
- // Case ExifReader.Orientations.RightTop
-
- // Case ExifReader.Orientations.TopLeft
-
- // Case ExifReader.Orientations.TopRight
-
- // End Select
- // End If
- // End If
-
- // If FotoRuotaASinistra = True Then
- // g.RotateFlip(RotateFlipType.Rotate270FlipNone)
- // End If
- // If FotoRuotaADestra = True Then
- // g.RotateFlip(RotateFlipType.Rotate90FlipNone)
- // End If
-
- var thisFormat = g.RawFormat;
- if (_UsaForzaJpg == true)
- {
- thisFormat = ImageFormat.Jpeg;
- }
-
- var thumbSizeSmall = new Size();
- var thumbSizeBig = new Size();
- string NomeFileSmall = "";
- string NomeFileBig2 = "";
- string NomeFileBig = "";
- if (g.Width > g.Height)
- {
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, LarghezzaSmall, "Larghezza");
- var SizeOrig = new Size(g.Width, g.Height);
- thumbSizeBig = SizeOrig;
- }
- else
- {
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, AltezzaSmall, "Altezza");
- var SizeOrig = new Size(g.Width, g.Height);
- thumbSizeBig = SizeOrig;
- }
-
- NomeFileSmall = Suffisso + _NomeFileChild;
- NomeFileBig = _NomeFileChild;
- var imgOutputBig = new Bitmap(g, thumbSizeBig.Width, thumbSizeBig.Height);
- imgOutputBig.SetResolution(g.HorizontalResolution, g.VerticalResolution);
- if (_TestoMin)
- {
- TestoFirmaPiccola = NomeFileBig;
- }
- else if (_AggNumTempMin)
- {
- TestoFirmaPiccola = NomeFileBig + " ";
- }
-
- var yPosFromBottom4 = default(float);
- Font crFont1 = null;
- Font crFont2 = null;
- var crSize1 = new SizeF();
- var crSize2 = new SizeF();
- if (_CreaMiniature == true)
- {
- if (_AggiungiScritteMiniature == false)
- {
- if ((_DirectorySorgente.ToUpper() ?? "") == (_DirectoryDestinazione.ToUpper() ?? ""))
- {
- NomeFileSmall = NomeFileSmall.Substring(0, NomeFileSmall.Length - 4) + Codice + NomeFileSmall.Substring(NomeFileSmall.Length - 4);
- }
-
- if (_UsaOrarioMiniatura | _TestoMin | _AggTempoGaraMin | _AggNumTempMin)
- {
- if (TestoFirmaPiccola.Length > 0)
- {
- Bitmap imgOutputSmall;
- imgOutputSmall = (Bitmap)imgOutputBig.Clone();
- Graphics grPhoto1;
- grPhoto1 = Graphics.FromImage(imgOutputSmall);
- grPhoto1.SmoothingMode = SmoothingMode.AntiAlias;
-
- // erano qui
-
- int LarghezzaStandard1;
- // quick fix
- DimensioneStandardMiniatura = 50;
- if (_Grassetto == true)
- {
- crFont1 = new Font(IlFont, DimensioneStandardMiniatura, FontStyle.Bold);
- crFont2 = new Font(IlFont, DimensioneStandard, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(_IlFont, DimensioneStandardMiniatura);
- crFont2 = new Font(IlFont, DimensioneStandard);
- }
-
- crSize1 = grPhoto1.MeasureString(TestoFirmaPiccola, crFont1);
- crSize2 = grPhoto1.MeasureString(TestoFirma, crFont1);
- LarghezzaStandard1 = Conversions.ToInteger(crSize1.Width);
- if (crSize1.Width > Conversions.ToSingle(g.Width))
- {
- int Conta = DimensioneStandardMiniatura;
- do
- {
- if (Conta > 20)
- {
- Conta -= 5;
- }
- else
- {
- Conta -= 1;
- }
-
- if (_Grassetto == true)
- {
- crFont1 = new Font(_IlFont, Conta, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(_IlFont, Conta);
- }
-
- crSize1 = grPhoto1.MeasureString(TestoFirmaPiccola, crFont1);
- if (crSize1.Width < Conversions.ToSingle(g.Width))
- {
- LarghezzaStandard1 = Conversions.ToInteger(crSize1.Width);
- break;
- }
-
- if (Conta <= 5)
- break;
- }
- while (true);
- DimensioneStandardMiniatura = Conta;
- }
-
- var yPosFromBottom1 = default(float);
- switch (_Posizione.ToUpper() ?? "")
- {
- case "ALTO":
- {
- yPosFromBottom1 = _Margine;
- yPosFromBottom4 = _MargVert;
- break;
- }
-
- case "BASSO":
- {
- // yPosFromBottom = (g.Height - _Margine - DimensioneStandard)
- // yPosFromBottom1 = CType((g.Height - crFont1.Height - (g.Height * _Margine / 100) - (crFont1.Height * 0.3)), Single)
- yPosFromBottom1 = Conversions.ToSingle(g.Height - crSize1.Height - g.Height * _Margine / 100d);
- yPosFromBottom4 = Conversions.ToSingle(g.Height - crSize1.Height - g.Height * _MargVert / 100d);
- break;
- }
- }
-
- var xCenterOfImg1 = default(float);
- var StrFormat1 = new StringFormat();
- switch (_Allineamento.ToUpper() ?? "")
- {
- case "SINISTRA":
- {
- xCenterOfImg1 = Conversions.ToSingle(_Margine + LarghezzaStandard1 / 2d);
- if (LarghezzaStandard1 / 2d > g.Width / 2d - _Margine)
- {
- xCenterOfImg1 = Conversions.ToSingle(g.Width / 2d);
- }
-
- break;
- }
-
- case "CENTRO":
- {
- xCenterOfImg1 = Conversions.ToSingle(g.Width / 2d);
- break;
- }
-
- case "DESTRA":
- {
- xCenterOfImg1 = Conversions.ToSingle(g.Width - _Margine - LarghezzaStandard1 / 2d);
- if (LarghezzaStandard1 / 2d > g.Width / 2d - _Margine)
- {
- xCenterOfImg1 = Conversions.ToSingle(g.Width / 2d);
- }
-
- break;
- }
- }
-
- StrFormat1.Alignment = StringAlignment.Center;
- var semiTransBrush21 = new SolidBrush(Color.FromArgb(AlphaScelta, 0, 0, 0));
- var semiTransBrush1 = new SolidBrush(Color.FromArgb(AlphaScelta, _FontColoreR, _FontColoreG, _FontColoreB));
- // quick fix
- DimensioneStandardMiniatura = _DimMin;
- if (_Grassetto == true)
- {
- crFont1 = new Font(_IlFont, DimensioneStandardMiniatura, FontStyle.Bold);
- }
- else
- {
- crFont1 = new Font(_IlFont, DimensioneStandardMiniatura);
- }
- // asdgadfhdfhjgfsjgfjygfdhsdafa
- if (_TestoMin)
- {
- grPhoto1.DrawString(NomeFileBig, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1f, yPosFromBottom1 + 1f), StrFormat1);
- grPhoto1.DrawString(NomeFileBig, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- }
- else if (_AggTempoGaraMin & _UsaTempoGaraTestoApplicare)
- {
- var Orario = new TimeSpan(DateAndTime.DateDiff(DateInterval.Second, DataPartenzaI, DataFoto) * 10000000L);
- string tempstr = "";
- tempstr += ControlChars.CrLf + _TestoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1f, yPosFromBottom1 + 1f), StrFormat1);
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- }
- else if (_AggNumTempMin)
- {
- var Orario = new TimeSpan(DateAndTime.DateDiff(DateInterval.Second, DataPartenzaI, DataFoto) * 10000000L);
- string tempstr = "";
- tempstr += NomeFileBig;
- tempstr += ControlChars.CrLf + _TestoOrario + Orario.Hours.ToString("00") + ":" + Orario.Minutes.ToString("00") + ":" + Orario.Seconds.ToString("00");
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1f, yPosFromBottom1 + 1f), StrFormat1);
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- }
- else
- {
- grPhoto1.DrawString(TestoFirmaPiccola, crFont1, semiTransBrush21, new PointF(xCenterOfImg1 + 1f, yPosFromBottom1 + 1f), StrFormat1);
- grPhoto1.DrawString(TestoFirmaPiccola, crFont1, semiTransBrush1, new PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1);
- }
-
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileSmall), thisFormat);
- var g2 = Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileSmall));
- var imgOutputSmall2 = new Bitmap(g2, thumbSizeSmall.Width, thumbSizeSmall.Height);
- imgOutputSmall2.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat);
- imgOutputSmall2.Dispose();
- imgOutputSmall.Dispose();
- g2.Dispose();
- FileSystem.Kill(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileSmall));
- }
- else
- {
- var imgOutputSmall = new Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height);
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat);
- imgOutputSmall.Dispose();
- }
- }
- else
- {
- var imgOutputSmall = new Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height);
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat);
- imgOutputSmall.Dispose();
- }
- }
- }
-
- Graphics grPhoto;
- grPhoto = Graphics.FromImage(imgOutputBig);
- grPhoto.SmoothingMode = SmoothingMode.AntiAlias;
- Font crFont = null;
- var crSize = new SizeF();
- int LarghezzaStandard;
- if (_Grassetto == true)
- {
- crFont = new Font(_IlFont, DimensioneStandard, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(_IlFont, DimensioneStandard);
- }
-
- crSize = grPhoto.MeasureString(TestoFirma, crFont);
- LarghezzaStandard = Conversions.ToInteger(crSize.Width);
- if (crSize.Width > Conversions.ToSingle(g.Width))
- {
- int Conta = DimensioneStandard;
- do
- {
- if (Conta > 20)
- {
- Conta -= 5;
- }
- else
- {
- Conta -= 1;
- }
-
- if (_Grassetto == true)
- {
- crFont = new Font(_IlFont, Conta, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(_IlFont, Conta);
- }
-
- crSize = grPhoto.MeasureString(TestoFirma, crFont);
- if (crSize.Width < Conversions.ToSingle(g.Width))
- {
- LarghezzaStandard = Conversions.ToInteger(crSize.Width);
- break;
- }
-
- if (Conta <= 5)
- break;
- }
- while (true);
- DimensioneStandard = Conta;
- }
-
- var yPosFromBottom = default(float);
- var yPosFromBottom3 = default(float);
- switch (_Posizione.ToUpper() ?? "")
- {
- case "ALTO":
- {
- yPosFromBottom = _Margine;
- yPosFromBottom3 = _MargVert;
- break;
- }
-
- case "BASSO":
- {
- // yPosFromBottom = (g.Height - _Margine - DimensioneStandard)
- // yPosFromBottom = CType((g.Height - DimensioneStandard - (g.Height * _Margine / 100) - (DimensioneStandard * 0.3)), Single)
- yPosFromBottom = Conversions.ToSingle(g.Height - crSize.Height - g.Height * _Margine / 100d);
- yPosFromBottom3 = Conversions.ToSingle(g.Height - crSize.Height - g.Height * _MargVert / 100d);
- break;
- }
- }
-
- var xCenterOfImg = default(float);
- float xCenterOfImg3;
- var StrFormat = new StringFormat();
- switch (_Allineamento.ToUpper() ?? "")
- {
- case "SINISTRA":
- {
- xCenterOfImg = Conversions.ToSingle(_Margine + LarghezzaStandard / 2d);
- xCenterOfImg3 = Conversions.ToSingle(_MargVert + LarghezzaStandard / 2d);
- if (LarghezzaStandard / 2d > g.Width / 2d - _Margine)
- {
- xCenterOfImg = Conversions.ToSingle(g.Width / 2d);
- }
-
- if (LarghezzaStandard / 2d > g.Width / 2d - _MargVert)
- {
- xCenterOfImg3 = Conversions.ToSingle(g.Width / 2d);
- }
-
- break;
- }
-
- case "CENTRO":
- {
- xCenterOfImg = Conversions.ToSingle(g.Width / 2d);
- break;
- }
-
- case "DESTRA":
- {
- xCenterOfImg = Conversions.ToSingle(g.Width - _Margine - LarghezzaStandard / 2d);
- xCenterOfImg3 = Conversions.ToSingle(g.Width - _MargVert - LarghezzaStandard / 2d);
- if (LarghezzaStandard / 2d > g.Width / 2d - _Margine)
- {
- xCenterOfImg = Conversions.ToSingle(g.Width / 2d);
- }
-
- if (LarghezzaStandard / 2d > g.Width / 2d - _MargVert)
- {
- xCenterOfImg3 = Conversions.ToSingle(g.Width / 2d);
- }
-
- break;
- }
- }
-
- StrFormat.Alignment = StringAlignment.Center;
- var semiTransBrush2 = new SolidBrush(Color.FromArgb(AlphaScelta, 0, 0, 0));
- var semiTransBrush = new SolidBrush(Color.FromArgb(AlphaScelta, _FontColoreR, _FontColoreG, _FontColoreB));
- if (FotoRuotaADestra | FotoRuotaASinistra)
- {
- if (_Grassetto == true)
- {
- crFont = new Font(_IlFont, DimVert, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(_IlFont, DimVert);
- }
- }
- else if (_Grassetto == true)
- {
- crFont = new Font(_IlFont, DimensioneStandard, FontStyle.Bold);
- }
- else
- {
- crFont = new Font(_IlFont, DimensioneStandard);
- }
-
- aggiungiTesto(g, DataFoto, grPhoto, NomeFileBig, crFont, semiTransBrush, semiTransBrush2, xCenterOfImg, yPosFromBottom, StrFormat, TestoFirmaV, yPosFromBottom3, yPosFromBottom4, TestoFirma, NomeFileBig2);
- aggiungiLogo(imgOutputBig);
- salvaFoto(imgOutputBig, thumbSizeBig, NomeFileBig, NomeFileSmall, thumbSizeSmall);
- g.Dispose();
- grPhoto.Dispose();
- GC.Collect();
- }
-
- private void aggiungiTesto(Image g, DateTime DataFoto, Graphics grPhoto, string NomeFileBig, Font crFont, SolidBrush semiTransBrush, SolidBrush semiTransBrush2, float xCenterOfImg, float yPosFromBottom, StringFormat StrFormat, string TestoFirmav, float yPosFromBottom3, float yPosFromBottom4, string TestoFirma, string NomeFileBig2)
- {
- // qui scrive il testo (nomefilebig)
- if (_TestoNome)
- {
- if (NomeData & g.PropertyIdList.Length > 0)
- {
- var DatiExif = new ExifReader((Bitmap)g);
- DataFoto = DatiExif.DateTimeOriginal;
- grPhoto.DrawString(NomeFileBig + " " + DataFoto.ToShortDateString(), crFont, semiTransBrush2, new PointF(xCenterOfImg + 1f, yPosFromBottom + 1f), StrFormat);
- grPhoto.DrawString(NomeFileBig + " " + DataFoto.ToShortDateString(), crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom), StrFormat);
- }
- else
- {
- grPhoto.DrawString(NomeFileBig, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1f, yPosFromBottom + 1f), StrFormat);
- grPhoto.DrawString(NomeFileBig, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom), StrFormat);
- }
- }
-
- if (_TestoNome == false)
- {
- if (FotoRuotaADestra | FotoRuotaASinistra)
- {
- if (_TestoMin == false)
- {
- grPhoto.DrawString(TestoFirmav, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1f, yPosFromBottom3 + 1f), StrFormat);
- grPhoto.DrawString(TestoFirmav, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom3), StrFormat);
- }
-
- if (_TestoMin == true)
- {
- grPhoto.DrawString(TestoFirmav, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1f, yPosFromBottom4 + 1f), StrFormat);
- grPhoto.DrawString(TestoFirmav, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom4), StrFormat);
- }
- }
- else
- {
- grPhoto.DrawString(TestoFirma, crFont, semiTransBrush2, new PointF(xCenterOfImg + 1f, yPosFromBottom + 1f), StrFormat);
- grPhoto.DrawString(TestoFirma, crFont, semiTransBrush, new PointF(xCenterOfImg, yPosFromBottom), StrFormat);
- }
- }
-
- if ((_DirectorySorgente.ToUpper() ?? "") == (_DirectoryDestinazione.ToUpper() ?? ""))
- {
- NomeFileBig2 = NomeFileBig;
- NomeFileBig = NomeFileBig.Substring(0, NomeFileBig.Length - 4) + Codice + NomeFileBig.Substring(NomeFileBig.Length - 4);
- }
- }
-
- private void aggiungiLogo(Bitmap imgOutputBig)
- {
- // imgOutputBig
- if (_LogoAggiungi == true & File.Exists(_LogoNomeFile))
- {
- var ImmagineLogo = Image.FromFile(_LogoNomeFile);
- var LogoColoreTrasparente = Color.White;
- // Dim bmWatermark As Bitmap
-
- // * Create a Bitmap based on the previously modified photograph Bitmap
- // bmWatermark = New Bitmap(imgOutputBig)
- // bmWatermark.SetResolution(imgOutputBig.HorizontalResolution, imgOutputBig.VerticalResolution)
-
- // * Load this Bitmap into a new Graphic Object
- var grWatermark = Graphics.FromImage(imgOutputBig);
-
- // * To achieve a transulcent watermark we will apply (2) color manipulations
- var imageAttributes = new ImageAttributes();
-
- // * The first step replace the background color with one that is trasparent (Alpha=0, R=0, G=0, B=0)
- var colorMap = new ColorMap();
-
- // * background this will be the color we search for and replace with transparency
- colorMap.OldColor = LogoColoreTrasparente;
- colorMap.NewColor = Color.FromArgb(0, 0, 0, 0);
- var remapTable = new[] { colorMap };
- imageAttributes.SetRemapTable(remapTable, ColorAdjustType.Bitmap);
-
- // * The second color manipulation is used to change the opacity by setting the 3rd row and 3rd column to 0.3f
- var colorMatrixElements = new[] { new float[] { 1.0f, 0.0f, 0.0f, 0.0f, 0.0f }, new float[] { 0.0f, 1.0f, 0.0f, 0.0f, 0.0f }, new float[] { 0.0f, 0.0f, 1.0f, 0.0f, 0.0f }, new float[] { 0.0f, 0.0f, 0.0f, Conversions.ToSingle(_LogoTrasparenza) / 100f, 0.0f }, new float[] { 0.0f, 0.0f, 0.0f, 0.0f, 1.0f } };
- var wmColorMatrix = new ColorMatrix(colorMatrixElements);
- imageAttributes.SetColorMatrix(wmColorMatrix, ColorMatrixFlag.Default, ColorAdjustType.Bitmap);
- int FotoLogoH = _LogoAltezza;
- int FotoLogoW = _LogoLarghezza;
- double FattoreAlt = ImmagineLogo.Height / (double)FotoLogoH;
- double FattoreLarg = ImmagineLogo.Width / (double)FotoLogoW;
- Size NuovaSize;
- if (FattoreLarg > FattoreAlt)
- {
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoW, "Larghezza");
- }
- else
- {
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoH, "Altezza");
- }
-
- int MargineUsato;
- int MargineL;
- bool InPercentualeL;
- if (_LogoMargine.EndsWith("%") == true)
- {
- InPercentualeL = true;
- }
- else
- {
- InPercentualeL = false;
- }
-
- MargineL = Conversions.ToInteger(Conversion.Val(_LogoMargine));
- if (InPercentualeL == true)
- {
- MargineUsato = Conversions.ToInteger(imgOutputBig.Height * MargineL / 100d);
- }
- else
- {
- MargineUsato = MargineL;
- }
-
- var xPosOfWm = default(int);
- var yPosOfWm = default(int);
- switch (_LogoPosizioneH.ToUpper() ?? "")
- {
- case "SINISTRA":
- case "NESSUNA":
- {
- xPosOfWm = MargineUsato;
- break;
- }
-
- case "CENTRO":
- {
- xPosOfWm = Conversions.ToInteger((imgOutputBig.Width - NuovaSize.Width) / 2d);
- break;
- }
-
- case "DESTRA":
- {
- xPosOfWm = imgOutputBig.Width - NuovaSize.Width - MargineUsato;
- break;
- }
- }
-
- switch (_LogoPosizioneV.ToUpper() ?? "")
- {
- case "ALTO":
- case "NESSUNA":
- {
- yPosOfWm = MargineUsato;
- break;
- }
-
- case "CENTRO":
- {
- yPosOfWm = Conversions.ToInteger((imgOutputBig.Height - NuovaSize.Height) / 2d);
- break;
- }
-
- case "BASSO":
- {
- yPosOfWm = imgOutputBig.Height - NuovaSize.Height - MargineUsato;
- break;
- }
- }
-
- grWatermark.DrawImage(ImmagineLogo, new Rectangle(xPosOfWm, yPosOfWm, NuovaSize.Width, NuovaSize.Height), 0, 0, ImmagineLogo.Width, ImmagineLogo.Height, GraphicsUnit.Pixel, imageAttributes);
- grWatermark.Dispose();
- }
- }
-
- private void salvaFoto(Bitmap imgOutputBig, Size thumbSizeBig, string NomeFileBig, string NomeFileSmall, Size thumbSizeSmall)
- {
- if (_FotoGrandeDimOrigina == false)
- {
- // attenzione non controlla se è png
- // imgOutputBig.Save(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig), thisFormat)
- salvaImmagineCustomQuality(imgOutputBig, Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig), jpegQuality);
- var g2 = Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig));
- if (g2.Width > g2.Height)
- {
- thumbSizeBig = NewthumbSize(g2.Width, g2.Height, _LarghezzaBig, "Larghezza");
- }
- else
- {
- thumbSizeBig = NewthumbSize(g2.Width, g2.Height, _AltezzaBig, "Altezza");
- }
-
- var imgOutputBig2 = new Bitmap(g2, thumbSizeBig.Width, thumbSizeBig.Height);
- // imgOutputBig2.Save(Path.Combine(_DestDir.FullName, NomeFileBig), thisFormat)
- salvaImmagineCustomQuality(imgOutputBig2, Path.Combine(_DestDir.FullName, NomeFileBig), jpegQuality);
- // imgOutputBig2.Dispose()
- // imgOutputBig.Dispose()
- g2.Dispose();
- }
- else
- {
- // imgOutputBig.Save(Path.Combine(_DestDir.FullName, NomeFileBig), thisFormat)
- salvaImmagineCustomQuality(imgOutputBig, Path.Combine(_DestDir.FullName, NomeFileBig), jpegQuality);
- imgOutputBig.Dispose();
- }
-
- if (_CreaMiniature)
- {
- if (_AggiungiScritteMiniature == true)
- {
- Image g1;
- if (_FotoGrandeDimOrigina == false)
- {
- g1 = Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig));
- }
- else
- {
- g1 = Image.FromFile(Path.Combine(_DestDir.FullName, NomeFileBig));
- }
-
- var imgOutputSmall = new Bitmap(g1, thumbSizeSmall.Width, thumbSizeSmall.Height);
- if ((_DirectorySorgente.ToUpper() ?? "") == (_DirectoryDestinazione.ToUpper() ?? ""))
- {
- NomeFileSmall = NomeFileSmall.Substring(0, NomeFileSmall.Length - 4) + Codice + NomeFileSmall.Substring(NomeFileSmall.Length - 4);
- }
- // imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat)
- salvaImmagineCustomQuality(imgOutputSmall, Path.Combine(_DestDir.FullName, NomeFileSmall), jpegQualityMin);
- // imgOutputSmall.Dispose()
- g1.Dispose();
- }
- }
-
- if (File.Exists(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig)) == true)
- {
- FileSystem.Kill(Path.Combine(_DestDir.FullName, "Temp_" + NomeFileBig));
- }
- }
-
- private void salvaImmagineCustomQuality(Bitmap imageToSave, string nomeFileFinale, long quality)
- {
- var JgpEncoder = GetEncoder(ImageFormat.Jpeg);
- var MyEncoder = Encoder.Quality;
- var MyEncoderParameters = new EncoderParameters(1);
- var MyEncoderParameter = new EncoderParameter(MyEncoder, jpegQuality);
- MyEncoderParameters.Param[0] = MyEncoderParameter;
- imageToSave.Save(nomeFileFinale, JgpEncoder, MyEncoderParameters);
- imageToSave.Dispose();
- }
-
- private ImageCodecInfo GetEncoder(ImageFormat format)
- {
- var codecs = ImageCodecInfo.GetImageDecoders();
- foreach (var codec in codecs)
- {
- if (codec.FormatID == format.Guid)
- {
- return codec;
- }
- }
-
- return null;
- }
-
-
-
-
-
-
- ///
- /// Calculate the Size of the New image
- ///
- /// Larghezza
- /// Altezza
- ///
- ///
- ///
- ///
- public Size NewthumbSize(int currentwidth, int currentheight, int MaxPixel, string TipoSize)
- {
- // e
- // *** Larghezza, Altezza, Auto
-
- double tempMultiplier;
- if ((TipoSize.ToUpper() ?? "") == ("Larghezza".ToUpper() ?? ""))
- {
- tempMultiplier = MaxPixel / (double)currentwidth;
- }
- else if ((TipoSize.ToUpper() ?? "") == ("Altezza".ToUpper() ?? ""))
- {
- tempMultiplier = MaxPixel / (double)currentheight;
- }
- else if (currentheight > currentwidth) // portrait
- {
- tempMultiplier = MaxPixel / (double)currentheight;
- }
- else
- {
- tempMultiplier = MaxPixel / (double)currentwidth;
- }
-
- var NewSize = new Size((int)Math.Round(currentwidth * tempMultiplier), (int)Math.Round(currentheight * tempMultiplier));
- return NewSize;
- }
-
- public string DirectorySorgente
- {
- get
- {
- return _DirectorySorgente;
- }
-
- set
- {
- _DirectorySorgente = value;
- }
- }
-
- public string DirectoryDestinazione
- {
- get
- {
- return _DirectoryDestinazione;
- }
-
- set
- {
- _DirectoryDestinazione = value;
- }
- }
-
- public DirectoryInfo SourceDir
- {
- get
- {
- return _SourceDir;
- }
-
- set
- {
- _SourceDir = value;
- }
- }
-
- public DirectoryInfo DestDirStart
- {
- get
- {
- return _DestDirStart;
- }
-
- set
- {
- _DestDirStart = value;
- }
- }
-
- public string TestoFirmaStart
- {
- get
- {
- return _TestoFirmaStart;
- }
-
- set
- {
- _TestoFirmaStart = value;
- }
- }
-
- public string TestoFirmaStartV
- {
- get
- {
- return _TestoFirmaStartV;
- }
-
- set
- {
- _TestoFirmaStartV = value;
- }
- }
-
- public DateTime DataPartenza
- {
- get
- {
- return _DataPartenza;
- }
-
- set
- {
- _DataPartenza = value;
- }
- }
-
- public string TestoOrario
- {
- get
- {
- return _TestoOrario;
- }
-
- set
- {
- _TestoOrario = value;
- }
- }
-
- public int DimStandard
- {
- get
- {
- return _DimStandard;
- }
-
- set
- {
- _DimStandard = value;
- }
- }
-
- public int DimStandardMiniatura
- {
- get
- {
- return _DimStandardMiniatura;
- }
-
- set
- {
- _DimStandardMiniatura = value;
- }
- }
-
- public bool NomeData
- {
- get
- {
- return _NomeData;
- }
-
- set
- {
- _NomeData = value;
- }
- }
-
- public bool TestoNome
- {
- get
- {
- return _TestoNome;
- }
-
- set
- {
- _TestoNome = value;
- }
- }
-
- public bool UsaOrarioMiniatura
- {
- get
- {
- return _UsaOrarioMiniatura;
- }
-
- set
- {
- _UsaOrarioMiniatura = value;
- }
- }
-
- public bool UsaOrarioTestoApplicare
- {
- get
- {
- return _UsaOrarioTestoApplicare;
- }
-
- set
- {
- _UsaOrarioTestoApplicare = value;
- }
- }
-
- public bool UsaTempoGaraTestoApplicare
- {
- get
- {
- return _UsaTempoGaraTestoApplicare;
- }
-
- set
- {
- _UsaTempoGaraTestoApplicare = value;
- }
- }
-
- public bool UsaRotazioneAutomatica
- {
- get
- {
- return _UsaRotazioneAutomatica;
- }
-
- set
- {
- _UsaRotazioneAutomatica = value;
- }
- }
-
- public bool UsaForzaJpg
- {
- get
- {
- return _UsaForzaJpg;
- }
-
- set
- {
- _UsaForzaJpg = value;
- }
- }
-
- public int LarghezzaSmall
- {
- get
- {
- return _LarghezzaSmall;
- }
-
- set
- {
- _LarghezzaSmall = value;
- }
- }
-
- public int AltezzaSmall
- {
- get
- {
- return _AltezzaSmall;
- }
-
- set
- {
- _AltezzaSmall = value;
- }
- }
-
- public bool CreaMiniature
- {
- get
- {
- return _CreaMiniature;
- }
-
- set
- {
- _CreaMiniature = value;
- }
- }
-
- public bool AggiungiScritteMiniature
- {
- get
- {
- return _AggiungiScritteMiniature;
- }
-
- set
- {
- _AggiungiScritteMiniature = value;
- }
- }
-
- public string NomeFileChild
- {
- get
- {
- return _NomeFileChild;
- }
-
- set
- {
- _NomeFileChild = value;
- }
- }
-
- public string Suffisso
- {
- get
- {
- return _Suffisso;
- }
-
- set
- {
- _Suffisso = value;
- }
- }
-
- public string Codice
- {
- get
- {
- return _Codice;
- }
-
- set
- {
- _Codice = value;
- }
- }
-
- public int Trasparenza
- {
- get
- {
- return _Trasparenza;
- }
-
- set
- {
- _Trasparenza = value;
- }
- }
-
- public string IlFont
- {
- get
- {
- return _IlFont;
- }
-
- set
- {
- _IlFont = value;
- }
- }
-
- public bool Grassetto
- {
- get
- {
- return _Grassetto;
- }
-
- set
- {
- _Grassetto = value;
- }
- }
-
- public string Posizione
- {
- get
- {
- return _Posizione;
- }
-
- set
- {
- _Posizione = value;
- }
- }
-
- public string Allineamento
- {
- get
- {
- return _Allineamento;
- }
-
- set
- {
- _Allineamento = value;
- }
- }
-
- public int Margine
- {
- get
- {
- return _Margine;
- }
-
- set
- {
- _Margine = value;
- }
- }
-
- public int LogoAltezza
- {
- get
- {
- return _LogoAltezza;
- }
-
- set
- {
- _LogoAltezza = value;
- }
- }
-
- public int LogoLarghezza
- {
- get
- {
- return _LogoLarghezza;
- }
-
- set
- {
- _LogoLarghezza = value;
- }
- }
-
- public int FontColoreR
- {
- get
- {
- return _FontColoreR;
- }
-
- set
- {
- _FontColoreR = value;
- }
- }
-
- public int FontColoreG
- {
- get
- {
- return _FontColoreG;
- }
-
- set
- {
- _FontColoreG = value;
- }
- }
-
- public int FontColoreB
- {
- get
- {
- return _FontColoreB;
- }
-
- set
- {
- _FontColoreB = value;
- }
- }
-
- public Color fontColoreRGB
- {
- get
- {
- return _fontColoreRGB;
- }
-
- set
- {
- _fontColoreRGB = value;
- }
- }
-
- public bool LogoAggiungi
- {
- get
- {
- return _LogoAggiungi;
- }
-
- set
- {
- _LogoAggiungi = value;
- }
- }
-
- public string LogoNomeFile
- {
- get
- {
- return _LogoNomeFile;
- }
-
- set
- {
- _LogoNomeFile = value;
- }
- }
-
- public string LogoTrasparenza
- {
- get
- {
- return _LogoTrasparenza;
- }
-
- set
- {
- _LogoTrasparenza = value;
- }
- }
-
- public string LogoMargine
- {
- get
- {
- return _LogoMargine;
- }
-
- set
- {
- _LogoMargine = value;
- }
- }
-
- public string LogoPosizioneH
- {
- get
- {
- return _LogoPosizioneH;
- }
-
- set
- {
- _LogoPosizioneH = value;
- }
- }
-
- public string LogoPosizioneV
- {
- get
- {
- return _LogoPosizioneV;
- }
-
- set
- {
- _LogoPosizioneV = value;
- }
- }
-
- public bool FotoGrandeDimOrigina
- {
- get
- {
- return _FotoGrandeDimOrigina;
- }
-
- set
- {
- _FotoGrandeDimOrigina = value;
- }
- }
-
- public int AltezzaBig
- {
- get
- {
- return _AltezzaBig;
- }
-
- set
- {
- _AltezzaBig = value;
- }
- }
-
- public int LarghezzaBig
- {
- get
- {
- return _LarghezzaBig;
- }
-
- set
- {
- _LarghezzaBig = value;
- }
- }
-
- public DirectoryInfo DestDir
- {
- get
- {
- return _DestDir;
- }
-
- set
- {
- _DestDir = value;
- }
- }
-
- public int DimVert
- {
- get
- {
- return _DimVert;
- }
-
- set
- {
- _DimVert = value;
- }
- }
-
- public int MargVert
- {
- get
- {
- return _MargVert;
- }
-
- set
- {
- _MargVert = value;
- }
- }
-
- public bool TestoMin
- {
- get
- {
- return _TestoMin;
- }
-
- set
- {
- _TestoMin = value;
- }
- }
-
- public int DimMin
- {
- get
- {
- return _DimMin;
- }
-
- set
- {
- _DimMin = value;
- }
- }
-
- public bool SecretDefault
- {
- get
- {
- return _SecretDefault;
- }
-
- set
- {
- _SecretDefault = value;
- }
- }
-
- public bool SecretBig
- {
- get
- {
- return _SecretBig;
- }
-
- set
- {
- _SecretBig = value;
- }
- }
-
- public bool SecretSmall
- {
- get
- {
- return _SecretSmall;
- }
-
- set
- {
- _SecretSmall = value;
- }
- }
-
- public string SecretPathSmall
- {
- get
- {
- return _SecretPathSmall;
- }
-
- set
- {
- _SecretPathSmall = value;
- }
- }
-
- public string SecretPathBig
- {
- get
- {
- return _SecretPathBig;
- }
-
- set
- {
- _SecretPathBig = value;
- }
- }
-
- public bool AggTempoGaraMin
- {
- get
- {
- return _AggTempoGaraMin;
- }
-
- set
- {
- _AggTempoGaraMin = value;
- }
- }
-
- public bool AggNumTempMin
- {
- get
- {
- return _AggNumTempMin;
- }
-
- set
- {
- _AggNumTempMin = value;
- }
- }
-
- public long jpegQuality
- {
- get
- {
- return _jpegQuality;
- }
-
- set
- {
- _jpegQuality = value;
- }
- }
-
- public long jpegQualityMin
- {
- get
- {
- return _jpegQualityMin;
- }
-
- set
- {
- _jpegQualityMin = value;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/CreaImmagineSeparateThread.vb b/imagecatalog.backup/CreaImmagineSeparateThread.vb
deleted file mode 100644
index 59767e6..0000000
--- a/imagecatalog.backup/CreaImmagineSeparateThread.vb
+++ /dev/null
@@ -1,1409 +0,0 @@
-Imports System.IO
-Imports System.Drawing.Drawing2D
-Imports System.Drawing.Imaging
-'Imports System.Threading
-
-Public Class CreaImmagineSeparateThread
-#Region "dichiarazioni"
- Private _DirectorySorgente As String
- Private _DirectoryDestinazione As String
-
- Private _DimVert As Integer
- Private _MargVert As Integer
-
- Private _SourceDir As DirectoryInfo
- Private _DestDirStart As DirectoryInfo
- Private _DimStandard As Integer
- Private _DimStandardMiniatura As Integer
-
- Private _NomeData As Boolean
- Private _TestoNome As Boolean
- Private _UsaOrarioMiniatura As Boolean
- Private _UsaOrarioTestoApplicare As Boolean
- Private _UsaTempoGaraTestoApplicare As Boolean
- Private _TestoFirmaStart As String
- Private _TestoFirmaStartV As String
- Private _DataPartenza As DateTime
- Private _TestoOrario As String
-
- Private _UsaRotazioneAutomatica As Boolean
- Private _UsaForzaJpg As Boolean
-
- Private _LarghezzaSmall As Integer
- Private _AltezzaSmall As Integer
-
- Private _CreaMiniature As Boolean
- Private _AggiungiScritteMiniature As Boolean
- Private _AggTempoGaraMin As Boolean
- Private _AggNumTempMin As Boolean
-
-
- Private _NomeFileChild As String
- Private _Suffisso As String
- Private _Codice As String
-
- Private _Trasparenza As Integer
- Private _IlFont As String
- Private _Grassetto As Boolean
-
- Private _Posizione As String
- Private _Allineamento As String
- Private _Margine As Integer
-
- Private _LogoAltezza As Integer
- Private _LogoLarghezza As Integer
-
- Private _FontColoreR As Integer
- Private _FontColoreG As Integer
- Private _FontColoreB As Integer
- Private _fontColoreRGB As Color
-
- Private _LogoAggiungi As Boolean
- Private _LogoNomeFile As String
- Private _LogoTrasparenza As String
- Private _LogoMargine As String
- Private _LogoPosizioneH As String
- Private _LogoPosizioneV As String
-
- Private _FotoGrandeDimOrigina As Boolean
- Private _AltezzaBig As Integer
- Private _LarghezzaBig As Integer
- Private _DestDir As DirectoryInfo
- Private _DimMin As Integer
-
- Private _TestoMin As Boolean
-
- Private _SecretDefault As Boolean
- Private _SecretBig As Boolean
- Private _SecretSmall As Boolean
-
- Private _SecretPathSmall As String
- Private _SecretPathBig As String
-
- Private _jpegQuality As Long
- Private _jpegQualityMin As Long
-
- Private FotoRuotaADestra As Boolean = False
- Private FotoRuotaASinistra As Boolean = False
-
- Private TempMinText As String = ""
- 'Private crFont1 As Font
-
-
-#End Region
-
- Private Sub ProcA(ByRef g As System.Drawing.Image, ByRef DataFoto As DateTime, ByRef TestoFirma As String, ByRef TestoFirmaV As String, ByRef TestoFirmaPiccola As String, ByRef DataPartenzaI As DateTime)
- If g.PropertyIdList.Length > 0 Then ' ci sono dati exif
- Dim DatiExif As New ExifReader(CType(g, Bitmap))
- DataFoto = DatiExif.DateTimeOriginal
- TestoFirma = _TestoFirmaStart
- TestoFirmaV = _TestoFirmaStartV
-
- If DataFoto.Year <> 1 Then
- TestoFirmaPiccola = DataFoto.ToShortTimeString
- If _UsaOrarioTestoApplicare = True Then
- TestoFirma &= " " & DataFoto.ToShortDateString & " " & DataFoto.ToLongTimeString
- TestoFirmaV &= " " & DataFoto.ToShortDateString & " " & DataFoto.ToLongTimeString
- End If
- If _UsaTempoGaraTestoApplicare = True Then
- Dim Orario As TimeSpan = New TimeSpan(DateDiff(DateInterval.Second, DataPartenzaI, DataFoto) * 10000000)
- TestoFirma &= " " & _TestoOrario & Orario.Hours.ToString("00") & ":" & Orario.Minutes.ToString("00") & ":" & Orario.Seconds.ToString("00")
- TestoFirmaV &= " " & _TestoOrario & Orario.Hours.ToString("00") & ":" & Orario.Minutes.ToString("00") & ":" & Orario.Seconds.ToString("00")
- End If
- End If
-
- End If
- End Sub
-
- Private Sub Rotation(ByRef g As System.Drawing.Image)
-
- FotoRuotaADestra = False
- FotoRuotaASinistra = False
-
- If _UsaRotazioneAutomatica = True Then
- If g.PropertyIdList.Length > 0 Then ' ci sono dati exif
- Dim DatiExif As New ExifReader(CType(g, Bitmap))
-
- Select Case DatiExif.Orientation
- Case ExifReader.Orientations.BottomLeft
-
- Case ExifReader.Orientations.BottomRight
-
- Case ExifReader.Orientations.LeftTop
-
- Case ExifReader.Orientations.LftBottom
- FotoRuotaASinistra = True
- Case ExifReader.Orientations.RightBottom
-
- Case ExifReader.Orientations.RightTop
-
- Case ExifReader.Orientations.TopLeft
-
- Case ExifReader.Orientations.TopRight
-
- End Select
- End If
- End If
-
- If FotoRuotaASinistra = True Then
- g.RotateFlip(RotateFlipType.Rotate270FlipNone)
- End If
- If FotoRuotaADestra = True Then
- g.RotateFlip(RotateFlipType.Rotate90FlipNone)
- End If
-
-
-
- End Sub
-
-
- Public Sub CreaImmagineThread(ByVal Info As String)
- Dim TestoFirma As String = ""
- Dim TestoFirmaV As String = ""
-
- Dim AlphaScelta As Integer = CType((255 * (100 - _Trasparenza) / 100), Integer)
-
- Dim DimensioneStandard As Integer
- Dim DimensioneStandardMiniatura As Integer
-
- Dim DataFoto As DateTime
- Dim DataPartenzaI As DateTime = _DataPartenza
- If _TestoOrario.Length > 0 Then
- _TestoOrario &= " "
- End If
- Dim TestoFirmaPiccola As String = ""
-
- Dim FileConta As Integer = 0
- Dim ContaFileXDir As Integer = 0
- Dim ContaDirXDir As Integer = 0
- Dim TestoTemp As String = ""
- Dim ContaTemp As Integer = 0
-
- DimensioneStandard = _DimStandard
- DimensioneStandardMiniatura = _DimStandardMiniatura
-
- Dim g As System.Drawing.Image = System.Drawing.Image.FromFile(Path.Combine(_SourceDir.FullName, _NomeFileChild))
- 'dati extra in fondo
- If _UsaOrarioTestoApplicare Or
- _UsaTempoGaraTestoApplicare Or
- _UsaOrarioMiniatura Or
- _TestoMin Or
- _AggTempoGaraMin Or
- _AggNumTempMin Then
-
- ProcA(g, DataFoto, TestoFirma, TestoFirmaV, TestoFirmaPiccola, DataPartenzaI)
-
- 'If g.PropertyIdList.Length > 0 Then ' ci sono dati exif
- ' Dim DatiExif As New ExifReader(CType(g, Bitmap))
- ' DataFoto = DatiExif.DateTimeOriginal
- ' TestoFirma = _TestoFirmaStart
- ' TestoFirmaV = _TestoFirmaStartV
-
- ' If DataFoto.Year <> 1 Then
- ' TestoFirmaPiccola = DataFoto.ToShortTimeString
- ' If _UsaOrarioTestoApplicare = True Then
- ' TestoFirma &= " - " & DataFoto.ToShortDateString & " " & DataFoto.ToLongTimeString
- ' TestoFirmaV &= " - " & DataFoto.ToShortDateString & " " & DataFoto.ToLongTimeString
- ' End If
- ' If _UsaTempoGaraTestoApplicare = True Then
- ' Dim Orario As TimeSpan = New TimeSpan(DateDiff(DateInterval.Second, DataPartenzaI, DataFoto) * 10000000)
- ' TestoFirma &= " - " & _TestoOrario & Orario.Hours.ToString("00") & ":" & Orario.Minutes.ToString("00") & ":" & Orario.Seconds.ToString("00")
- ' TestoFirmaV &= " - " & _TestoOrario & Orario.Hours.ToString("00") & ":" & Orario.Minutes.ToString("00") & ":" & Orario.Seconds.ToString("00")
- ' End If
- ' End If
-
- 'End If
-
- Else
- TestoFirma = _TestoFirmaStart
- TestoFirmaV = _TestoFirmaStartV
-
- End If
-
-
- Rotation(g)
-
- 'Dim FotoRuotaADestra As Boolean = False
- 'Dim FotoRuotaASinistra As Boolean = False
-
- 'If _UsaRotazioneAutomatica = True Then
- ' If g.PropertyIdList.Length > 0 Then ' ci sono dati exif
- ' Dim DatiExif As New ExifReader(CType(g, Bitmap))
-
- ' Select Case DatiExif.Orientation
- ' Case ExifReader.Orientations.BottomLeft
-
- ' Case ExifReader.Orientations.BottomRight
-
- ' Case ExifReader.Orientations.LeftTop
-
- ' Case ExifReader.Orientations.LftBottom
- ' FotoRuotaASinistra = True
- ' Case ExifReader.Orientations.RightBottom
-
- ' Case ExifReader.Orientations.RightTop
-
- ' Case ExifReader.Orientations.TopLeft
-
- ' Case ExifReader.Orientations.TopRight
-
- ' End Select
- ' End If
- 'End If
-
- 'If FotoRuotaASinistra = True Then
- ' g.RotateFlip(RotateFlipType.Rotate270FlipNone)
- 'End If
- 'If FotoRuotaADestra = True Then
- ' g.RotateFlip(RotateFlipType.Rotate90FlipNone)
- 'End If
-
- Dim thisFormat As System.Drawing.Imaging.ImageFormat = g.RawFormat
- If _UsaForzaJpg = True Then
- thisFormat = System.Drawing.Imaging.ImageFormat.Jpeg
- End If
-
- Dim thumbSizeSmall As New Size
- Dim thumbSizeBig As New Size
- Dim NomeFileSmall As String = ""
-
- Dim NomeFileBig2 As String = ""
- Dim NomeFileBig As String = ""
-
-
- If g.Width > g.Height Then
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, LarghezzaSmall, "Larghezza")
- Dim SizeOrig As New Size(g.Width, g.Height)
- thumbSizeBig = SizeOrig
- Else
- thumbSizeSmall = NewthumbSize(g.Width, g.Height, AltezzaSmall, "Altezza")
- Dim SizeOrig As New Size(g.Width, g.Height)
- thumbSizeBig = SizeOrig
- End If
-
- NomeFileSmall = Suffisso & _NomeFileChild
- NomeFileBig = _NomeFileChild
-
- Dim imgOutputBig As New Bitmap(g, thumbSizeBig.Width, thumbSizeBig.Height)
- imgOutputBig.SetResolution(g.HorizontalResolution, g.VerticalResolution)
-
- If _TestoMin Then
- TestoFirmaPiccola = NomeFileBig
- ElseIf _AggNumTempMin Then
- TestoFirmaPiccola = NomeFileBig + " "
- End If
- Dim yPosFromBottom4 As Single
-
- Dim crFont1 As Font = Nothing
- Dim crFont2 As Font = Nothing
- Dim crSize1 As SizeF = New SizeF
- Dim crSize2 As SizeF = New SizeF
-
- If _CreaMiniature = True Then
- If _AggiungiScritteMiniature = False Then
- If _DirectorySorgente.ToUpper = _DirectoryDestinazione.ToUpper Then
- NomeFileSmall = NomeFileSmall.Substring(0, NomeFileSmall.Length - 4) & Codice & NomeFileSmall.Substring(NomeFileSmall.Length - 4)
- End If
- If _UsaOrarioMiniatura Or
- _TestoMin Or
- _AggTempoGaraMin Or
- _AggNumTempMin Then
-
- If TestoFirmaPiccola.Length > 0 Then
- Dim imgOutputSmall As Bitmap
- imgOutputSmall = CType(imgOutputBig.Clone, Bitmap)
-
- Dim grPhoto1 As Graphics
- grPhoto1 = Graphics.FromImage(imgOutputSmall)
- grPhoto1.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias
-
- 'erano qui
-
- Dim LarghezzaStandard1 As Integer
- 'quick fix
- DimensioneStandardMiniatura = 50
- If _Grassetto = True Then
- crFont1 = New Font(IlFont, DimensioneStandardMiniatura, FontStyle.Bold)
- crFont2 = New Font(IlFont, DimensioneStandard, FontStyle.Bold)
- Else
- crFont1 = New Font(_IlFont, DimensioneStandardMiniatura)
- crFont2 = New Font(IlFont, DimensioneStandard)
- End If
-
- crSize1 = grPhoto1.MeasureString(TestoFirmaPiccola, crFont1)
- crSize2 = grPhoto1.MeasureString(TestoFirma, crFont1)
- LarghezzaStandard1 = CType(crSize1.Width, Integer)
-
- If crSize1.Width > CType(g.Width, Single) Then
- Dim Conta As Integer = DimensioneStandardMiniatura
- Do
- If Conta > 20 Then
- Conta -= 5
- Else
- Conta -= 1
- End If
- If _Grassetto = True Then
- crFont1 = New Font(_IlFont, Conta, FontStyle.Bold)
- Else
- crFont1 = New Font(_IlFont, Conta)
- End If
- crSize1 = grPhoto1.MeasureString(TestoFirmaPiccola, crFont1)
- If crSize1.Width < CType(g.Width, Single) Then
- LarghezzaStandard1 = CType(crSize1.Width, Integer)
- Exit Do
- End If
- If Conta <= 5 Then Exit Do
- Loop
- DimensioneStandardMiniatura = Conta
- End If
-
- Dim yPosFromBottom1 As Single
-
-
-
- Select Case _Posizione.ToUpper
- Case "ALTO"
-
- yPosFromBottom1 = (_Margine)
- yPosFromBottom4 = (_MargVert)
-
- Case "BASSO"
- 'yPosFromBottom = (g.Height - _Margine - DimensioneStandard)
- 'yPosFromBottom1 = CType((g.Height - crFont1.Height - (g.Height * _Margine / 100) - (crFont1.Height * 0.3)), Single)
- yPosFromBottom1 = CType((g.Height - crSize1.Height - (g.Height * _Margine / 100)), Single)
- yPosFromBottom4 = CType((g.Height - crSize1.Height - (g.Height * _MargVert / 100)), Single)
-
- End Select
-
- Dim xCenterOfImg1 As Single
-
- Dim StrFormat1 As StringFormat = New StringFormat
- Select Case _Allineamento.ToUpper
- Case "SINISTRA"
- xCenterOfImg1 = CType((_Margine + (LarghezzaStandard1 / 2)), Single)
-
- If (LarghezzaStandard1 / 2) > (g.Width / 2) - _Margine Then
- xCenterOfImg1 = CType((g.Width / 2), Single)
- End If
-
-
- Case "CENTRO"
- xCenterOfImg1 = CType((g.Width / 2), Single)
-
-
- Case "DESTRA"
- xCenterOfImg1 = CType((g.Width - _Margine - (LarghezzaStandard1 / 2)), Single)
-
- If (LarghezzaStandard1 / 2) > (g.Width / 2) - _Margine Then
- xCenterOfImg1 = CType((g.Width / 2), Single)
- End If
-
-
- End Select
- StrFormat1.Alignment = StringAlignment.Center
-
- Dim semiTransBrush21 As SolidBrush = New SolidBrush(Color.FromArgb(AlphaScelta, 0, 0, 0))
- Dim semiTransBrush1 As SolidBrush = New SolidBrush(Color.FromArgb(AlphaScelta, _FontColoreR, _FontColoreG, _FontColoreB))
- 'quick fix
- DimensioneStandardMiniatura = _DimMin
-
- If _Grassetto = True Then
- crFont1 = New Font(_IlFont, DimensioneStandardMiniatura, FontStyle.Bold)
- Else
- crFont1 = New Font(_IlFont, DimensioneStandardMiniatura)
- End If
- 'asdgadfhdfhjgfsjgfjygfdhsdafa
- If _TestoMin Then
- grPhoto1.DrawString(NomeFileBig, crFont1, semiTransBrush21, New PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1)
- grPhoto1.DrawString(NomeFileBig, crFont1, semiTransBrush1, New PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1)
- ElseIf _AggTempoGaraMin And _UsaTempoGaraTestoApplicare Then
- Dim Orario As TimeSpan = New TimeSpan(DateDiff(DateInterval.Second, DataPartenzaI, DataFoto) * 10000000)
- Dim tempstr As String = ""
-
-
- tempstr &= ControlChars.CrLf & _TestoOrario & Orario.Hours.ToString("00") & ":" & Orario.Minutes.ToString("00") & ":" & Orario.Seconds.ToString("00")
-
-
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush21, New PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1)
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush1, New PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1)
-
- ElseIf _AggNumTempMin Then
- Dim Orario As TimeSpan = New TimeSpan(DateDiff(DateInterval.Second, DataPartenzaI, DataFoto) * 10000000)
- Dim tempstr As String = ""
- tempstr &= NomeFileBig
-
- tempstr &= ControlChars.CrLf & _TestoOrario & Orario.Hours.ToString("00") & ":" & Orario.Minutes.ToString("00") & ":" & Orario.Seconds.ToString("00")
-
-
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush21, New PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1)
- grPhoto1.DrawString(tempstr, crFont1, semiTransBrush1, New PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1)
-
-
- Else
- grPhoto1.DrawString(TestoFirmaPiccola, crFont1, semiTransBrush21, New PointF(xCenterOfImg1 + 1, yPosFromBottom1 + 1), StrFormat1)
- grPhoto1.DrawString(TestoFirmaPiccola, crFont1, semiTransBrush1, New PointF(xCenterOfImg1, yPosFromBottom1), StrFormat1)
- End If
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileSmall), thisFormat)
- Dim g2 As System.Drawing.Image = System.Drawing.Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileSmall))
- Dim imgOutputSmall2 As New Bitmap(g2, thumbSizeSmall.Width, thumbSizeSmall.Height)
- imgOutputSmall2.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat)
-
- imgOutputSmall2.Dispose()
- imgOutputSmall.Dispose()
- g2.Dispose()
- Kill(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileSmall))
- Else
- Dim imgOutputSmall As New Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height)
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat)
- imgOutputSmall.Dispose()
- End If
- Else
- Dim imgOutputSmall As New Bitmap(g, thumbSizeSmall.Width, thumbSizeSmall.Height)
- imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat)
- imgOutputSmall.Dispose()
- End If
- End If
- End If
-
- Dim grPhoto As Graphics
- grPhoto = Graphics.FromImage(imgOutputBig)
- grPhoto.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias
-
- Dim crFont As Font = Nothing
- Dim crSize As SizeF = New SizeF
- Dim LarghezzaStandard As Integer
-
- If _Grassetto = True Then
- crFont = New Font(_IlFont, DimensioneStandard, FontStyle.Bold)
- Else
- crFont = New Font(_IlFont, DimensioneStandard)
- End If
- crSize = grPhoto.MeasureString(TestoFirma, crFont)
- LarghezzaStandard = CType(crSize.Width, Integer)
-
- If crSize.Width > CType(g.Width, Single) Then
- Dim Conta As Integer = DimensioneStandard
- Do
- If Conta > 20 Then
- Conta -= 5
- Else
- Conta -= 1
- End If
- If _Grassetto = True Then
- crFont = New Font(_IlFont, Conta, FontStyle.Bold)
- Else
- crFont = New Font(_IlFont, Conta)
- End If
- crSize = grPhoto.MeasureString(TestoFirma, crFont)
- If crSize.Width < CType(g.Width, Single) Then
- LarghezzaStandard = CType(crSize.Width, Integer)
- Exit Do
- End If
- If Conta <= 5 Then Exit Do
- Loop
- DimensioneStandard = Conta
- End If
-
- Dim yPosFromBottom As Single
- Dim yPosFromBottom3 As Single
- Select Case _Posizione.ToUpper
- Case "ALTO"
- yPosFromBottom = (_Margine)
- yPosFromBottom3 = (_MargVert)
-
- Case "BASSO"
- 'yPosFromBottom = (g.Height - _Margine - DimensioneStandard)
- 'yPosFromBottom = CType((g.Height - DimensioneStandard - (g.Height * _Margine / 100) - (DimensioneStandard * 0.3)), Single)
- yPosFromBottom = CType((g.Height - crSize.Height - (g.Height * _Margine / 100)), Single)
- yPosFromBottom3 = CType((g.Height - crSize.Height - (g.Height * _MargVert / 100)), Single)
- End Select
-
- Dim xCenterOfImg As Single
- Dim xCenterOfImg3 As Single
- Dim StrFormat As StringFormat = New StringFormat
- Select Case _Allineamento.ToUpper
- Case "SINISTRA"
- xCenterOfImg = CType((_Margine + (LarghezzaStandard / 2)), Single)
- xCenterOfImg3 = CType((_MargVert + (LarghezzaStandard / 2)), Single)
- If (LarghezzaStandard / 2) > (g.Width / 2) - _Margine Then
- xCenterOfImg = CType((g.Width / 2), Single)
- End If
- If (LarghezzaStandard / 2) > (g.Width / 2) - _MargVert Then
- xCenterOfImg3 = CType((g.Width / 2), Single)
- End If
-
- Case "CENTRO"
- xCenterOfImg = CType((g.Width / 2), Single)
-
- Case "DESTRA"
- xCenterOfImg = CType((g.Width - _Margine - (LarghezzaStandard / 2)), Single)
- xCenterOfImg3 = CType((g.Width - _MargVert - (LarghezzaStandard / 2)), Single)
- If (LarghezzaStandard / 2) > (g.Width / 2) - _Margine Then
- xCenterOfImg = CType((g.Width / 2), Single)
- End If
- If (LarghezzaStandard / 2) > (g.Width / 2) - _MargVert Then
- xCenterOfImg3 = CType((g.Width / 2), Single)
- End If
-
- End Select
- StrFormat.Alignment = StringAlignment.Center
-
- Dim semiTransBrush2 As SolidBrush = New SolidBrush(Color.FromArgb(AlphaScelta, 0, 0, 0))
- Dim semiTransBrush As SolidBrush = New SolidBrush(Color.FromArgb(AlphaScelta, _FontColoreR, _FontColoreG, _FontColoreB))
-
- If FotoRuotaADestra Or FotoRuotaASinistra Then
-
- If _Grassetto = True Then
- crFont = New Font(_IlFont, DimVert, FontStyle.Bold)
- Else
- crFont = New Font(_IlFont, DimVert)
- End If
-
- Else
-
- If _Grassetto = True Then
- crFont = New Font(_IlFont, DimensioneStandard, FontStyle.Bold)
- Else
- crFont = New Font(_IlFont, DimensioneStandard)
- End If
- End If
-
- aggiungiTesto(g, DataFoto, grPhoto, NomeFileBig, crFont, semiTransBrush,
- semiTransBrush2, xCenterOfImg, yPosFromBottom, StrFormat,
- TestoFirmaV, yPosFromBottom3, yPosFromBottom4, TestoFirma, NomeFileBig2)
-
- aggiungiLogo(imgOutputBig)
- salvaFoto(imgOutputBig, thumbSizeBig, NomeFileBig, NomeFileSmall, thumbSizeSmall)
-
- g.Dispose()
- grPhoto.Dispose()
- GC.Collect()
-
- End Sub
-
- Private Sub aggiungiTesto(g As Image, DataFoto As Date, grPhoto As Graphics, NomeFileBig As String, crFont As Font, semiTransBrush As SolidBrush,
- semiTransBrush2 As SolidBrush, xCenterOfImg As Single, yPosFromBottom As Single, StrFormat As StringFormat,
- TestoFirmav As String, yPosFromBottom3 As Single, yPosFromBottom4 As Single, TestoFirma As String, NomeFileBig2 As String)
- 'qui scrive il testo (nomefilebig)
- If _TestoNome Then
- If NomeData And g.PropertyIdList.Length > 0 Then
- Dim DatiExif As New ExifReader(CType(g, Bitmap))
- DataFoto = DatiExif.DateTimeOriginal
-
-
- grPhoto.DrawString((NomeFileBig & " " & DataFoto.ToShortDateString), crFont, semiTransBrush2, New PointF(xCenterOfImg + 1, yPosFromBottom + 1), StrFormat)
- grPhoto.DrawString((NomeFileBig & " " & DataFoto.ToShortDateString), crFont, semiTransBrush, New PointF(xCenterOfImg, yPosFromBottom), StrFormat)
-
-
- Else
-
- grPhoto.DrawString(NomeFileBig, crFont, semiTransBrush2, New PointF(xCenterOfImg + 1, yPosFromBottom + 1), StrFormat)
- grPhoto.DrawString(NomeFileBig, crFont, semiTransBrush, New PointF(xCenterOfImg, yPosFromBottom), StrFormat)
-
- End If
- End If
-
- If _TestoNome = False Then
- If FotoRuotaADestra Or FotoRuotaASinistra Then
- If _TestoMin = False Then
-
-
- grPhoto.DrawString(TestoFirmav, crFont, semiTransBrush2, New PointF(xCenterOfImg + 1, yPosFromBottom3 + 1), StrFormat)
- grPhoto.DrawString(TestoFirmav, crFont, semiTransBrush, New PointF(xCenterOfImg, yPosFromBottom3), StrFormat)
- End If
- If _TestoMin = True Then
-
- grPhoto.DrawString(TestoFirmav, crFont, semiTransBrush2, New PointF(xCenterOfImg + 1, yPosFromBottom4 + 1), StrFormat)
- grPhoto.DrawString(TestoFirmav, crFont, semiTransBrush, New PointF(xCenterOfImg, yPosFromBottom4), StrFormat)
-
- End If
- Else
- grPhoto.DrawString(TestoFirma, crFont, semiTransBrush2, New PointF(xCenterOfImg + 1, yPosFromBottom + 1), StrFormat)
- grPhoto.DrawString(TestoFirma, crFont, semiTransBrush, New PointF(xCenterOfImg, yPosFromBottom), StrFormat)
-
-
- End If
- End If
-
- If _DirectorySorgente.ToUpper = _DirectoryDestinazione.ToUpper Then
- NomeFileBig2 = NomeFileBig
- NomeFileBig = NomeFileBig.Substring(0, NomeFileBig.Length - 4) & Codice & NomeFileBig.Substring(NomeFileBig.Length - 4)
- End If
- End Sub
-
- Private Sub aggiungiLogo(imgOutputBig As Bitmap)
- 'imgOutputBig
- If _LogoAggiungi = True And File.Exists(_LogoNomeFile) Then
-
- Dim ImmagineLogo As Image = Image.FromFile(_LogoNomeFile)
-
- Dim LogoColoreTrasparente As Color = Color.White
- 'Dim bmWatermark As Bitmap
-
- '* Create a Bitmap based on the previously modified photograph Bitmap
- 'bmWatermark = New Bitmap(imgOutputBig)
- 'bmWatermark.SetResolution(imgOutputBig.HorizontalResolution, imgOutputBig.VerticalResolution)
-
- '* Load this Bitmap into a new Graphic Object
- Dim grWatermark As Graphics = Graphics.FromImage(imgOutputBig)
-
- '* To achieve a transulcent watermark we will apply (2) color manipulations
- Dim imageAttributes As Imaging.ImageAttributes = New Imaging.ImageAttributes
-
- '* The first step replace the background color with one that is trasparent (Alpha=0, R=0, G=0, B=0)
- Dim colorMap As Imaging.ColorMap = New Imaging.ColorMap
-
- '* background this will be the color we search for and replace with transparency
- colorMap.OldColor = LogoColoreTrasparente
- colorMap.NewColor = Color.FromArgb(0, 0, 0, 0)
-
- Dim remapTable As Imaging.ColorMap() = {colorMap}
- imageAttributes.SetRemapTable(remapTable, Imaging.ColorAdjustType.Bitmap)
-
- '* The second color manipulation is used to change the opacity by setting the 3rd row and 3rd column to 0.3f
- Dim colorMatrixElements As Single()() = {New Single() {1.0F, 0.0F, 0.0F, 0.0F, 0.0F}, New Single() {0.0F, 1.0F, 0.0F, 0.0F, 0.0F}, New Single() {0.0F, 0.0F, 1.0F, 0.0F, 0.0F}, New Single() {0.0F, 0.0F, 0.0F, CType(_LogoTrasparenza, Single) / 100, 0.0F}, New Single() {0.0F, 0.0F, 0.0F, 0.0F, 1.0F}}
- Dim wmColorMatrix As Imaging.ColorMatrix = New Imaging.ColorMatrix(colorMatrixElements)
- imageAttributes.SetColorMatrix(wmColorMatrix, Imaging.ColorMatrixFlag.Default, Imaging.ColorAdjustType.Bitmap)
-
- Dim FotoLogoH As Integer = _LogoAltezza
- Dim FotoLogoW As Integer = _LogoLarghezza
- Dim FattoreAlt As Double = ImmagineLogo.Height / FotoLogoH
- Dim FattoreLarg As Double = ImmagineLogo.Width / FotoLogoW
- Dim NuovaSize As Size
- If FattoreLarg > FattoreAlt Then
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoW, "Larghezza")
- Else
- NuovaSize = NewthumbSize(ImmagineLogo.Width, ImmagineLogo.Height, FotoLogoH, "Altezza")
- End If
-
- Dim MargineUsato As Integer
- Dim MargineL As Integer
- Dim InPercentualeL As Boolean
- If _LogoMargine.EndsWith("%") = True Then
- InPercentualeL = True
- Else
- InPercentualeL = False
- End If
- MargineL = CType(Val(_LogoMargine), Integer)
- If InPercentualeL = True Then
- MargineUsato = CType(imgOutputBig.Height * MargineL / 100, Integer)
- Else
- MargineUsato = MargineL
- End If
-
- Dim xPosOfWm As Integer
- Dim yPosOfWm As Integer
- Select Case _LogoPosizioneH.ToUpper
- Case "SINISTRA", "NESSUNA"
- xPosOfWm = MargineUsato
-
- Case "CENTRO"
- xPosOfWm = CType((imgOutputBig.Width - NuovaSize.Width) / 2, Integer)
-
- Case "DESTRA"
- xPosOfWm = ((imgOutputBig.Width - NuovaSize.Width) - MargineUsato)
- End Select
- Select Case _LogoPosizioneV.ToUpper
- Case "ALTO", "NESSUNA"
- yPosOfWm = MargineUsato
-
- Case "CENTRO"
- yPosOfWm = CType((imgOutputBig.Height - NuovaSize.Height) / 2, Integer)
-
- Case "BASSO"
- yPosOfWm = ((imgOutputBig.Height - NuovaSize.Height) - MargineUsato)
- End Select
-
- grWatermark.DrawImage(ImmagineLogo, New Rectangle(xPosOfWm, yPosOfWm, NuovaSize.Width, NuovaSize.Height), 0, 0, ImmagineLogo.Width, ImmagineLogo.Height, GraphicsUnit.Pixel, imageAttributes)
- grWatermark.Dispose()
- End If
- End Sub
-
-
- Private Sub salvaFoto(imgOutputBig As Bitmap, thumbSizeBig As Size, NomeFileBig As String, NomeFileSmall As String, thumbSizeSmall As Size)
-
- If _FotoGrandeDimOrigina = False Then
- 'attenzione non controlla se è png
- 'imgOutputBig.Save(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig), thisFormat)
- salvaImmagineCustomQuality(imgOutputBig, Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig), jpegQuality)
-
- Dim g2 As System.Drawing.Image = System.Drawing.Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig))
- If g2.Width > g2.Height Then
- thumbSizeBig = NewthumbSize(g2.Width, g2.Height, _LarghezzaBig, "Larghezza")
- Else
- thumbSizeBig = NewthumbSize(g2.Width, g2.Height, _AltezzaBig, "Altezza")
- End If
- Dim imgOutputBig2 As New Bitmap(g2, thumbSizeBig.Width, thumbSizeBig.Height)
- 'imgOutputBig2.Save(Path.Combine(_DestDir.FullName, NomeFileBig), thisFormat)
- salvaImmagineCustomQuality(imgOutputBig2, Path.Combine(_DestDir.FullName, NomeFileBig), jpegQuality)
- 'imgOutputBig2.Dispose()
- 'imgOutputBig.Dispose()
- g2.Dispose()
- Else
- 'imgOutputBig.Save(Path.Combine(_DestDir.FullName, NomeFileBig), thisFormat)
- salvaImmagineCustomQuality(imgOutputBig, Path.Combine(_DestDir.FullName, NomeFileBig), jpegQuality)
- imgOutputBig.Dispose()
- End If
-
-
- If _CreaMiniature Then
- If _AggiungiScritteMiniature = True Then
- Dim g1 As System.Drawing.Image
- If _FotoGrandeDimOrigina = False Then
- g1 = System.Drawing.Image.FromFile(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig))
- Else
- g1 = System.Drawing.Image.FromFile(Path.Combine(_DestDir.FullName, NomeFileBig))
- End If
- Dim imgOutputSmall As New Bitmap(g1, thumbSizeSmall.Width, thumbSizeSmall.Height)
- If _DirectorySorgente.ToUpper = _DirectoryDestinazione.ToUpper Then
- NomeFileSmall = NomeFileSmall.Substring(0, NomeFileSmall.Length - 4) & Codice & NomeFileSmall.Substring(NomeFileSmall.Length - 4)
- End If
- 'imgOutputSmall.Save(Path.Combine(_DestDir.FullName, NomeFileSmall), thisFormat)
- salvaImmagineCustomQuality(imgOutputSmall, Path.Combine(_DestDir.FullName, NomeFileSmall), jpegQualityMin)
- 'imgOutputSmall.Dispose()
- g1.Dispose()
- End If
-
-
-
- End If
-
- If File.Exists(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig)) = True Then
- Kill(Path.Combine(_DestDir.FullName, "Temp_" & NomeFileBig))
- End If
-
-
- End Sub
-
- Private Sub salvaImmagineCustomQuality(imageToSave As Bitmap, nomeFileFinale As String, quality As Long)
-
- Dim JgpEncoder As ImageCodecInfo = GetEncoder(ImageFormat.Jpeg)
- Dim MyEncoder As Encoder = Encoder.Quality
-
- Dim MyEncoderParameters As New EncoderParameters(1)
-
- Dim MyEncoderParameter As New EncoderParameter(MyEncoder, jpegQuality)
- MyEncoderParameters.Param(0) = MyEncoderParameter
- imageToSave.Save(nomeFileFinale, JgpEncoder, MyEncoderParameters)
- imageToSave.Dispose()
- End Sub
-
-
-
- Private Function GetEncoder(ByVal format As ImageFormat) As ImageCodecInfo
-
- Dim codecs As ImageCodecInfo() = ImageCodecInfo.GetImageDecoders()
-
- Dim codec As ImageCodecInfo
- For Each codec In codecs
- If codec.FormatID = format.Guid Then
- Return codec
- End If
- Next codec
- Return Nothing
-
- End Function
-
-
-
-
-
-
- '''
- ''' Calculate the Size of the New image
- '''
- ''' Larghezza
- ''' Altezza
- '''
- '''
- '''
- '''
- Function NewthumbSize(ByVal currentwidth As Integer, ByVal currentheight As Integer, ByVal MaxPixel As Integer, ByVal TipoSize As String) As Size
- ' e
- '*** Larghezza, Altezza, Auto
-
- Dim tempMultiplier As Double
-
- If TipoSize.ToUpper = "Larghezza".ToUpper Then
- tempMultiplier = MaxPixel / currentwidth
- ElseIf TipoSize.ToUpper = "Altezza".ToUpper Then
- tempMultiplier = MaxPixel / currentheight
- Else
- If currentheight > currentwidth Then ' portrait
- tempMultiplier = MaxPixel / currentheight
- Else
- tempMultiplier = MaxPixel / currentwidth
- End If
- End If
-
- Dim NewSize As New Size(CInt(currentwidth * tempMultiplier), CInt(currentheight * tempMultiplier))
-
- Return NewSize
- End Function
-
-
-
-
- Public Property DirectorySorgente() As String
- Get
- Return _DirectorySorgente
- End Get
- Set(ByVal value As String)
- _DirectorySorgente = value
- End Set
- End Property
-
- Public Property DirectoryDestinazione() As String
- Get
- Return _DirectoryDestinazione
- End Get
- Set(ByVal value As String)
- _DirectoryDestinazione = value
- End Set
- End Property
-
-
- Public Property SourceDir() As DirectoryInfo
- Get
- Return _SourceDir
- End Get
- Set(ByVal value As DirectoryInfo)
- _SourceDir = value
- End Set
- End Property
-
- Public Property DestDirStart() As DirectoryInfo
- Get
- Return _DestDirStart
- End Get
- Set(ByVal value As DirectoryInfo)
- _DestDirStart = value
- End Set
- End Property
-
-
-
- Public Property TestoFirmaStart() As String
- Get
- Return _TestoFirmaStart
- End Get
- Set(ByVal value As String)
- _TestoFirmaStart = value
- End Set
- End Property
-
- Public Property TestoFirmaStartV() As String
- Get
- Return _TestoFirmaStartV
- End Get
-
- Set(ByVal value As String)
- _TestoFirmaStartV = value
- End Set
- End Property
-
- Public Property DataPartenza() As DateTime
- Get
- Return _DataPartenza
- End Get
- Set(ByVal value As DateTime)
- _DataPartenza = value
- End Set
- End Property
-
- Public Property TestoOrario() As String
- Get
- Return _TestoOrario
- End Get
- Set(ByVal value As String)
- _TestoOrario = value
- End Set
- End Property
-
- Public Property DimStandard() As Integer
- Get
- Return _DimStandard
- End Get
- Set(ByVal value As Integer)
- _DimStandard = value
- End Set
- End Property
-
- Public Property DimStandardMiniatura() As Integer
- Get
- Return _DimStandardMiniatura
- End Get
- Set(ByVal value As Integer)
- _DimStandardMiniatura = value
- End Set
- End Property
-
- Public Property NomeData() As Boolean
- Get
- Return _NomeData
- End Get
- Set(ByVal value As Boolean)
- _NomeData = value
- End Set
- End Property
-
- Public Property TestoNome() As Boolean
- Get
- Return _TestoNome
- End Get
- Set(ByVal value As Boolean)
- _TestoNome = value
- End Set
- End Property
-
- Public Property UsaOrarioMiniatura() As Boolean
- Get
- Return _UsaOrarioMiniatura
- End Get
- Set(ByVal value As Boolean)
- _UsaOrarioMiniatura = value
- End Set
- End Property
-
- Public Property UsaOrarioTestoApplicare() As Boolean
- Get
- Return _UsaOrarioTestoApplicare
- End Get
- Set(ByVal value As Boolean)
- _UsaOrarioTestoApplicare = value
- End Set
- End Property
-
- Public Property UsaTempoGaraTestoApplicare() As Boolean
- Get
- Return _UsaTempoGaraTestoApplicare
- End Get
- Set(ByVal value As Boolean)
- _UsaTempoGaraTestoApplicare = value
- End Set
- End Property
-
- Public Property UsaRotazioneAutomatica() As Boolean
- Get
- Return _UsaRotazioneAutomatica
- End Get
- Set(ByVal value As Boolean)
- _UsaRotazioneAutomatica = value
- End Set
- End Property
-
- Public Property UsaForzaJpg() As Boolean
- Get
- Return _UsaForzaJpg
- End Get
- Set(ByVal value As Boolean)
- _UsaForzaJpg = value
- End Set
- End Property
-
-
-
- Public Property LarghezzaSmall() As Integer
- Get
- Return _LarghezzaSmall
- End Get
- Set(ByVal value As Integer)
- _LarghezzaSmall = value
- End Set
- End Property
-
- Public Property AltezzaSmall() As Integer
- Get
- Return _AltezzaSmall
- End Get
- Set(ByVal value As Integer)
- _AltezzaSmall = value
- End Set
- End Property
-
-
- Public Property CreaMiniature() As Boolean
- Get
- Return _CreaMiniature
- End Get
- Set(ByVal value As Boolean)
- _CreaMiniature = value
- End Set
- End Property
-
- Public Property AggiungiScritteMiniature() As Boolean
- Get
- Return _AggiungiScritteMiniature
- End Get
- Set(ByVal value As Boolean)
- _AggiungiScritteMiniature = value
- End Set
- End Property
-
- Public Property NomeFileChild() As String
- Get
- Return _NomeFileChild
- End Get
- Set(ByVal value As String)
- _NomeFileChild = value
- End Set
- End Property
-
- Public Property Suffisso() As String
- Get
- Return _Suffisso
- End Get
- Set(ByVal value As String)
- _Suffisso = value
- End Set
- End Property
-
- Public Property Codice() As String
- Get
- Return _Codice
- End Get
- Set(ByVal value As String)
- _Codice = value
- End Set
- End Property
-
-
- Public Property Trasparenza() As Integer
- Get
- Return _Trasparenza
- End Get
- Set(ByVal value As Integer)
- _Trasparenza = value
- End Set
- End Property
-
- Public Property IlFont() As String
- Get
- Return _IlFont
- End Get
- Set(ByVal value As String)
- _IlFont = value
- End Set
- End Property
-
- Public Property Grassetto() As Boolean
- Get
- Return _Grassetto
- End Get
- Set(ByVal value As Boolean)
- _Grassetto = value
- End Set
- End Property
-
- Public Property Posizione() As String
- Get
- Return _Posizione
- End Get
- Set(ByVal value As String)
- _Posizione = value
- End Set
- End Property
-
- Public Property Allineamento() As String
- Get
- Return _Allineamento
- End Get
- Set(ByVal value As String)
- _Allineamento = value
- End Set
- End Property
-
- Public Property Margine() As Integer
- Get
- Return _Margine
- End Get
- Set(ByVal value As Integer)
- _Margine = value
- End Set
- End Property
-
- Public Property LogoAltezza() As Integer
- Get
- Return _LogoAltezza
- End Get
- Set(ByVal value As Integer)
- _LogoAltezza = value
- End Set
- End Property
-
- Public Property LogoLarghezza() As Integer
- Get
- Return _LogoLarghezza
- End Get
- Set(ByVal value As Integer)
- _LogoLarghezza = value
- End Set
- End Property
-
- Public Property FontColoreR() As Integer
- Get
- Return _FontColoreR
- End Get
- Set(ByVal value As Integer)
- _FontColoreR = value
- End Set
- End Property
-
- Public Property FontColoreG() As Integer
- Get
- Return _FontColoreG
- End Get
- Set(ByVal value As Integer)
- _FontColoreG = value
- End Set
- End Property
-
- Public Property FontColoreB() As Integer
- Get
- Return _FontColoreB
- End Get
- Set(ByVal value As Integer)
- _FontColoreB = value
- End Set
- End Property
-
- Public Property fontColoreRGB() As Color
- Get
- Return _fontColoreRGB
- End Get
- Set(ByVal value As Color)
- _fontColoreRGB = value
- End Set
- End Property
-
- Public Property LogoAggiungi() As Boolean
- Get
- Return _LogoAggiungi
- End Get
- Set(ByVal value As Boolean)
- _LogoAggiungi = value
- End Set
- End Property
-
- Public Property LogoNomeFile() As String
- Get
- Return _LogoNomeFile
- End Get
- Set(ByVal value As String)
- _LogoNomeFile = value
- End Set
- End Property
-
- Public Property LogoTrasparenza() As String
- Get
- Return _LogoTrasparenza
- End Get
- Set(ByVal value As String)
- _LogoTrasparenza = value
- End Set
- End Property
-
- Public Property LogoMargine() As String
- Get
- Return _LogoMargine
- End Get
- Set(ByVal value As String)
- _LogoMargine = value
- End Set
- End Property
-
- Public Property LogoPosizioneH() As String
- Get
- Return _LogoPosizioneH
- End Get
- Set(ByVal value As String)
- _LogoPosizioneH = value
- End Set
- End Property
-
- Public Property LogoPosizioneV() As String
- Get
- Return _LogoPosizioneV
- End Get
- Set(ByVal value As String)
- _LogoPosizioneV = value
- End Set
- End Property
-
- Public Property FotoGrandeDimOrigina() As Boolean
- Get
- Return _FotoGrandeDimOrigina
- End Get
- Set(ByVal value As Boolean)
- _FotoGrandeDimOrigina = value
- End Set
- End Property
-
- Public Property AltezzaBig() As Integer
- Get
- Return _AltezzaBig
- End Get
- Set(ByVal value As Integer)
- _AltezzaBig = value
- End Set
- End Property
-
- Public Property LarghezzaBig() As Integer
- Get
- Return _LarghezzaBig
- End Get
- Set(ByVal value As Integer)
- _LarghezzaBig = value
- End Set
- End Property
-
- Public Property DestDir() As DirectoryInfo
- Get
- Return _DestDir
- End Get
- Set(ByVal value As DirectoryInfo)
- _DestDir = value
- End Set
- End Property
-
- Public Property DimVert() As Integer
- Get
- Return _DimVert
-
- End Get
- Set(ByVal value As Integer)
- _DimVert = value
-
- End Set
- End Property
-
- Public Property MargVert() As Integer
- Get
- Return _MargVert
-
- End Get
- Set(ByVal value As Integer)
- _MargVert = value
- End Set
- End Property
-
- Public Property TestoMin() As Boolean
- Get
- Return _TestoMin
-
- End Get
- Set(ByVal value As Boolean)
- _TestoMin = value
-
- End Set
- End Property
-
- Public Property DimMin() As Integer
- Get
- Return _DimMin
-
- End Get
- Set(ByVal value As Integer)
- _DimMin = value
-
- End Set
- End Property
-
- Public Property SecretDefault() As Boolean
- Get
- Return _SecretDefault
-
- End Get
- Set(ByVal value As Boolean)
- _SecretDefault = value
-
- End Set
- End Property
-
- Public Property SecretBig() As Boolean
- Get
- Return _SecretBig
-
- End Get
- Set(ByVal value As Boolean)
- _SecretBig = value
-
- End Set
- End Property
-
- Public Property SecretSmall() As Boolean
- Get
- Return _SecretSmall
-
- End Get
- Set(ByVal value As Boolean)
- _SecretSmall = value
-
- End Set
- End Property
-
- Public Property SecretPathSmall() As String
- Get
- Return _SecretPathSmall
-
- End Get
- Set(ByVal value As String)
- _SecretPathSmall = value
-
- End Set
- End Property
-
- Public Property SecretPathBig() As String
- Get
- Return _SecretPathBig
-
- End Get
- Set(ByVal value As String)
- _SecretPathBig = value
-
- End Set
- End Property
-
- Public Property AggTempoGaraMin() As Boolean
- Get
- Return _AggTempoGaraMin
-
- End Get
- Set(ByVal value As Boolean)
- _AggTempoGaraMin = value
-
- End Set
- End Property
-
- Public Property AggNumTempMin() As Boolean
- Get
- Return _AggNumTempMin
-
- End Get
- Set(ByVal value As Boolean)
- _AggNumTempMin = value
-
- End Set
- End Property
-
- Public Property jpegQuality() As Long
- Get
- Return _jpegQuality
- End Get
- Set(ByVal value As Long)
- _jpegQuality = value
- End Set
-
- End Property
-
- Public Property jpegQualityMin() As Long
- Get
- Return _jpegQualityMin
- End Get
- Set(ByVal value As Long)
- _jpegQualityMin = value
- End Set
-
- End Property
-
-End Class
diff --git a/imagecatalog.backup/ExifReader.cs b/imagecatalog.backup/ExifReader.cs
deleted file mode 100644
index 97005ca..0000000
--- a/imagecatalog.backup/ExifReader.cs
+++ /dev/null
@@ -1,1190 +0,0 @@
-/// -----------------------------------------------------------------------------
-///
-/// Utility class for reading EXIF data from images. Provides abstraction
-/// for most common data and generic utilities for work with all other.
-///
-///
-/// Copyright (c) Michal A. Valášek - Altair Communications, 2003
-/// Copmany: http://software.altaircom.net * support@altaircom.net
-/// Private: http://www.rider.cz * developer@rider.cz
-/// This is free software licensed under GNU Lesser General Public License
-///
-///
-/// [altair] 10.9.2003 Created
-///
-/// -----------------------------------------------------------------------------
-using System;
-using System.Drawing;
-using Microsoft.VisualBasic;
-using Microsoft.VisualBasic.CompilerServices;
-
-namespace ImageCatalog
-{
- public class ExifReader : IDisposable
- {
- private Bitmap Image;
-
- /// -----------------------------------------------------------------------------
- ///
- /// Contains possible values of EXIF tag names (ID)
- ///
- /// See GdiPlusImaging.h
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public enum TagNames
- {
- ExifIFD = 0x8769,
- GpsIFD = 0x8825,
- NewSubfileType = 0xFE,
- SubfileType = 0xFF,
- ImageWidth = 0x100,
- ImageHeight = 0x101,
- BitsPerSample = 0x102,
- Compression = 0x103,
- PhotometricInterp = 0x106,
- ThreshHolding = 0x107,
- CellWidth = 0x108,
- CellHeight = 0x109,
- FillOrder = 0x10A,
- DocumentName = 0x10D,
- ImageDescription = 0x10E,
- EquipMake = 0x10F,
- EquipModel = 0x110,
- StripOffsets = 0x111,
- Orientation = 0x112,
- SamplesPerPixel = 0x115,
- RowsPerStrip = 0x116,
- StripBytesCount = 0x117,
- MinSampleValue = 0x118,
- MaxSampleValue = 0x119,
- XResolution = 0x11A,
- YResolution = 0x11B,
- PlanarConfig = 0x11C,
- PageName = 0x11D,
- XPosition = 0x11E,
- YPosition = 0x11F,
- FreeOffset = 0x120,
- FreeByteCounts = 0x121,
- GrayResponseUnit = 0x122,
- GrayResponseCurve = 0x123,
- T4Option = 0x124,
- T6Option = 0x125,
- ResolutionUnit = 0x128,
- PageNumber = 0x129,
- TransferFuncition = 0x12D,
- SoftwareUsed = 0x131,
- DateTime = 0x132,
- Artist = 0x13B,
- HostComputer = 0x13C,
- Predictor = 0x13D,
- WhitePoint = 0x13E,
- PrimaryChromaticities = 0x13F,
- ColorMap = 0x140,
- HalftoneHints = 0x141,
- TileWidth = 0x142,
- TileLength = 0x143,
- TileOffset = 0x144,
- TileByteCounts = 0x145,
- InkSet = 0x14C,
- InkNames = 0x14D,
- NumberOfInks = 0x14E,
- DotRange = 0x150,
- TargetPrinter = 0x151,
- ExtraSamples = 0x152,
- SampleFormat = 0x153,
- SMinSampleValue = 0x154,
- SMaxSampleValue = 0x155,
- TransferRange = 0x156,
- JPEGProc = 0x200,
- JPEGInterFormat = 0x201,
- JPEGInterLength = 0x202,
- JPEGRestartInterval = 0x203,
- JPEGLosslessPredictors = 0x205,
- JPEGPointTransforms = 0x206,
- JPEGQTables = 0x207,
- JPEGDCTables = 0x208,
- JPEGACTables = 0x209,
- YCbCrCoefficients = 0x211,
- YCbCrSubsampling = 0x212,
- YCbCrPositioning = 0x213,
- REFBlackWhite = 0x214,
- ICCProfile = 0x8773,
- Gamma = 0x301,
- ICCProfileDescriptor = 0x302,
- SRGBRenderingIntent = 0x303,
- ImageTitle = 0x320,
- Copyright = 0x8298,
- ResolutionXUnit = 0x5001,
- ResolutionYUnit = 0x5002,
- ResolutionXLengthUnit = 0x5003,
- ResolutionYLengthUnit = 0x5004,
- PrintFlags = 0x5005,
- PrintFlagsVersion = 0x5006,
- PrintFlagsCrop = 0x5007,
- PrintFlagsBleedWidth = 0x5008,
- PrintFlagsBleedWidthScale = 0x5009,
- HalftoneLPI = 0x500A,
- HalftoneLPIUnit = 0x500B,
- HalftoneDegree = 0x500C,
- HalftoneShape = 0x500D,
- HalftoneMisc = 0x500E,
- HalftoneScreen = 0x500F,
- JPEGQuality = 0x5010,
- GridSize = 0x5011,
- ThumbnailFormat = 0x5012,
- ThumbnailWidth = 0x5013,
- ThumbnailHeight = 0x5014,
- ThumbnailColorDepth = 0x5015,
- ThumbnailPlanes = 0x5016,
- ThumbnailRawBytes = 0x5017,
- ThumbnailSize = 0x5018,
- ThumbnailCompressedSize = 0x5019,
- ColorTransferFunction = 0x501A,
- ThumbnailData = 0x501B,
- ThumbnailImageWidth = 0x5020,
- ThumbnailImageHeight = 0x502,
- ThumbnailBitsPerSample = 0x5022,
- ThumbnailCompression = 0x5023,
- ThumbnailPhotometricInterp = 0x5024,
- ThumbnailImageDescription = 0x5025,
- ThumbnailEquipMake = 0x5026,
- ThumbnailEquipModel = 0x5027,
- ThumbnailStripOffsets = 0x5028,
- ThumbnailOrientation = 0x5029,
- ThumbnailSamplesPerPixel = 0x502A,
- ThumbnailRowsPerStrip = 0x502B,
- ThumbnailStripBytesCount = 0x502C,
- ThumbnailResolutionX = 0x502D,
- ThumbnailResolutionY = 0x502E,
- ThumbnailPlanarConfig = 0x502F,
- ThumbnailResolutionUnit = 0x5030,
- ThumbnailTransferFunction = 0x5031,
- ThumbnailSoftwareUsed = 0x5032,
- ThumbnailDateTime = 0x5033,
- ThumbnailArtist = 0x5034,
- ThumbnailWhitePoint = 0x5035,
- ThumbnailPrimaryChromaticities = 0x5036,
- ThumbnailYCbCrCoefficients = 0x5037,
- ThumbnailYCbCrSubsampling = 0x5038,
- ThumbnailYCbCrPositioning = 0x5039,
- ThumbnailRefBlackWhite = 0x503A,
- ThumbnailCopyRight = 0x503B,
- LuminanceTable = 0x5090,
- ChrominanceTable = 0x5091,
- FrameDelay = 0x5100,
- LoopCount = 0x5101,
- PixelUnit = 0x5110,
- PixelPerUnitX = 0x5111,
- PixelPerUnitY = 0x5112,
- PaletteHistogram = 0x5113,
- ExifExposureTime = 0x829A,
- ExifFNumber = 0x829D,
- ExifExposureProg = 0x8822,
- ExifSpectralSense = 0x8824,
- ExifISOSpeed = 0x8827,
- ExifOECF = 0x8828,
- ExifVer = 0x9000,
- ExifDTOrig = 0x9003,
- ExifDTDigitized = 0x9004,
- ExifCompConfig = 0x9101,
- ExifCompBPP = 0x9102,
- ExifShutterSpeed = 0x9201,
- ExifAperture = 0x9202,
- ExifBrightness = 0x9203,
- ExifExposureBias = 0x9204,
- ExifMaxAperture = 0x9205,
- ExifSubjectDist = 0x9206,
- ExifMeteringMode = 0x9207,
- ExifLightSource = 0x9208,
- ExifFlash = 0x9209,
- ExifFocalLength = 0x920A,
- ExifMakerNote = 0x927C,
- ExifUserComment = 0x9286,
- ExifDTSubsec = 0x9290,
- ExifDTOrigSS = 0x9291,
- ExifDTDigSS = 0x9292,
- ExifFPXVer = 0xA000,
- ExifColorSpace = 0xA001,
- ExifPixXDim = 0xA002,
- ExifPixYDim = 0xA003,
- ExifRelatedWav = 0xA004,
- ExifInterop = 0xA005,
- ExifFlashEnergy = 0xA20B,
- ExifSpatialFR = 0xA20C,
- ExifFocalXRes = 0xA20E,
- ExifFocalYRes = 0xA20F,
- ExifFocalResUnit = 0xA210,
- ExifSubjectLoc = 0xA214,
- ExifExposureIndex = 0xA215,
- ExifSensingMethod = 0xA217,
- ExifFileSource = 0xA300,
- ExifSceneType = 0xA301,
- ExifCfaPattern = 0xA302,
- GpsVer = 0x0,
- GpsLatitudeRef = 0x1,
- GpsLatitude = 0x2,
- GpsLongitudeRef = 0x3,
- GpsLongitude = 0x4,
- GpsAltitudeRef = 0x5,
- GpsAltitude = 0x6,
- GpsGpsTime = 0x7,
- GpsGpsSatellites = 0x8,
- GpsGpsStatus = 0x9,
- GpsGpsMeasureMode = 0xA,
- GpsGpsDop = 0xB,
- GpsSpeedRef = 0xC,
- GpsSpeed = 0xD,
- GpsTrackRef = 0xE,
- GpsTrack = 0xF,
- GpsImgDirRef = 0x10,
- GpsImgDir = 0x11,
- GpsMapDatum = 0x12,
- GpsDestLatRef = 0x13,
- GpsDestLat = 0x14,
- GpsDestLongRef = 0x15,
- GpsDestLong = 0x16,
- GpsDestBearRef = 0x17,
- GpsDestBear = 0x18,
- GpsDestDistRef = 0x19,
- GpsDestDist = 0x1A
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Real position of 0th row and column of picture
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public enum Orientations
- {
- TopLeft = 1,
- TopRight = 2,
- BottomRight = 3,
- BottomLeft = 4,
- LeftTop = 5,
- RightTop = 6,
- RightBottom = 7,
- LftBottom = 8
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Exposure programs
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public enum ExposurePrograms
- {
- Manual = 1,
- Normal = 2,
- AperturePriority = 3,
- ShutterPriority = 4,
- Creative = 5,
- Action = 6,
- Portrait = 7,
- Landscape = 8
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Exposure metering modes
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public enum ExposureMeteringModes
- {
- Unknown = 0,
- Average = 1,
- CenterWeightedAverage = 2,
- Spot = 3,
- MultiSpot = 4,
- MultiSegment = 5,
- Partial = 6,
- Other = 255
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Flash activity modes
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public enum FlashModes
- {
- NotFired = 0,
- Fired = 1,
- FiredButNoStrobeReturned = 5,
- FiredAndStrobeReturned = 7
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Possible light sources (white balance)
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public enum LightSources
- {
- Unknown = 0,
- Daylight = 1,
- Fluorescent = 2,
- Tungsten = 3,
- Flash = 10,
- StandardLightA = 17,
- StandardLightB = 18,
- StandardLightC = 19,
- D55 = 20,
- D65 = 21,
- D75 = 22,
- Other = 255
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Represents rational which is type of some Exif properties
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public struct Rational
- {
- public int Numerator;
- public int Denominator;
-
- /// -----------------------------------------------------------------------------
- ///
- /// Converts rational to string representation
- ///
- /// Optional, default "/". String to be used as delimiter of components.
- /// String representation of the rational.
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public new string ToString(string Delimiter = "/")
- {
- return Numerator + Delimiter + Denominator;
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Converts rational to double precision real number
- ///
- /// The rational as double precision real number.
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public double ToDouble()
- {
- return Numerator / (double)Denominator;
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Initializes new instance of this class.
- ///
- /// Bitmap to read exif information from
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public ExifReader(Bitmap Bitmap)
- {
- if (Bitmap is null)
- throw new ArgumentNullException("Bitmap");
- Image = Bitmap;
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Returns all available data in formatted string form
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public override string ToString()
- {
- var SB = new System.Text.StringBuilder();
- SB.Append("Image:");
- SB.Append(@"\n\tDimensions: " + Width + " x " + Height + " px");
- SB.Append(@"\n\tResolution: " + ResolutionX + " x " + ResolutionY + " dpi");
- SB.Append(@"\n\tOrientation: " + Enum.GetName(typeof(Orientations), Orientation));
- SB.Append(@"\n\tTitle: " + Title);
- SB.Append(@"\n\tDescription: " + Description);
- SB.Append(@"\n\tCopyright: " + Copyright);
- SB.Append(@"\nEquipment:");
- SB.Append(@"\n\tMaker: " + EquipmentMaker);
- SB.Append(@"\n\tModel: " + EquipmentModel);
- SB.Append(@"\n\tSoftware: " + Software);
- SB.Append(@"\nDate and time:");
- SB.Append(@"\n\tGeneral: " + DateTimeLastModified.ToString());
- SB.Append(@"\n\tOriginal: " + DateTimeOriginal.ToString());
- SB.Append(@"\n\tDigitized: " + DateTimeDigitized.ToString());
- SB.Append(@"\nShooting conditions:");
- SB.Append(@"\n\tExposure time: " + ExposureTime.ToString("N4") + " s");
- SB.Append(@"\n\tExposure program: " + Enum.GetName(typeof(ExposurePrograms), ExposureProgram));
- SB.Append(@"\n\tExposure mode: " + Enum.GetName(typeof(ExposureMeteringModes), ExposureMeteringMode));
- SB.Append(@"\n\tAperture: F" + Aperture.ToString("N2"));
- SB.Append(@"\n\tISO sensitivity: " + ISO);
- SB.Append(@"\n\tSubject distance: " + SubjectDistance.ToString("N2") + " m");
- SB.Append(@"\n\tFocal length: " + FocalLength);
- SB.Append(@"\n\tFlash: " + Enum.GetName(typeof(FlashModes), FlashMode));
- SB.Append(@"\n\tLight source (WB): " + Enum.GetName(typeof(LightSources), LightSource));
- SB.Append(@"\n\nCopyright (c) Michal A. Valasek - Altair Communications, 2003");
- SB.Append(@"\nhttp://software.altaircom.net * support@altaircom.net");
- SB.Replace(@"\n", Constants.vbCrLf);
- SB.Replace(@"\t", Constants.vbTab);
- return SB.ToString();
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Brand of equipment (EXIF EquipMake)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public string EquipmentMaker
- {
- get
- {
- return GetPropertyString((int)TagNames.EquipMake);
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Model of equipment (EXIF EquipModel)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public string EquipmentModel
- {
- get
- {
- return GetPropertyString((int)TagNames.EquipModel);
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Software used for processing (EXIF Software)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public string Software
- {
- get
- {
- return GetPropertyString((int)TagNames.SoftwareUsed);
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Orientation of image (position of row 0, column 0) (EXIF Orientation)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public Orientations Orientation
- {
- get
- {
- int X = GetPropertyInt16((int)TagNames.Orientation);
- if (!Enum.IsDefined(typeof(Orientations), X))
- {
- return Orientations.TopLeft;
- }
- else
- {
- return (Orientations)Conversions.ToInteger(Enum.Parse(typeof(Orientations), Enum.GetName(typeof(Orientations), X)));
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Time when image was last modified (EXIF DateTime).
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public DateTime DateTimeLastModified
- {
- get
- {
- try
- {
- return DateTime.ParseExact(GetPropertyString((int)TagNames.DateTime), @"yyyy\:MM\:dd HH\:mm\:ss", null);
- }
- catch (Exception ex)
- {
- return DateTime.MinValue;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Time when image was taken (EXIF DateTimeOriginal).
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public DateTime DateTimeOriginal
- {
- get
- {
- try
- {
- return DateTime.ParseExact(GetPropertyString((int)TagNames.ExifDTOrig), @"yyyy\:MM\:dd HH\:mm\:ss", null);
- }
- catch (Exception ex)
- {
- return DateTime.MinValue;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Time when image was digitized (EXIF DateTimeDigitized).
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public DateTime DateTimeDigitized
- {
- get
- {
- try
- {
- return DateTime.ParseExact(GetPropertyString((int)TagNames.ExifDTDigitized), @"yyyy\:MM\:dd HH\:mm\:ss", null);
- }
- catch (Exception ex)
- {
- return DateTime.MinValue;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Image width
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public short Width
- {
- get
- {
- return GetPropertyInt16((int)TagNames.ImageWidth);
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Image height
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public short Height
- {
- get
- {
- return GetPropertyInt16((int)TagNames.ImageHeight);
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// X resolution in dpi (EXIF XResolution/ResolutionUnit)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public double ResolutionX
- {
- get
- {
- double R = GetPropertyRational((int)TagNames.XResolution).ToDouble();
- if (GetPropertyInt16((int)TagNames.ResolutionUnit) == 3)
- {
- // -- resolution is in points/cm
- return R * 2.54d;
- }
- else
- {
- // -- resolution is in points/inch
- return R;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Y resolution in dpi (EXIF YResolution/ResolutionUnit)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public double ResolutionY
- {
- get
- {
- double R = GetPropertyRational((int)TagNames.YResolution).ToDouble();
- if (GetPropertyInt16((int)TagNames.ResolutionUnit) == 3)
- {
- // -- resolution is in points/cm
- return R * 2.54d;
- }
- else
- {
- // -- resolution is in points/inch
- return R;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Image title (EXIF ImageTitle)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public string Title
- {
- get
- {
- return GetPropertyString((int)TagNames.ImageTitle);
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Image description (EXIF ImageDescription)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public string Description
- {
- get
- {
- return GetPropertyString((int)TagNames.ImageDescription);
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Image copyright (EXIF Copyright)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public string Copyright
- {
- get
- {
- return GetPropertyString((int)TagNames.Copyright);
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Exposure time in seconds (EXIF ExifExposureTime/ExifShutterSpeed)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public double ExposureTime
- {
- get
- {
- if (IsPropertyDefined((int)TagNames.ExifExposureTime))
- {
- // -- Exposure time is explicitly specified
- return GetPropertyRational((int)TagNames.ExifExposureTime).ToDouble();
- }
- else if (IsPropertyDefined((int)TagNames.ExifShutterSpeed))
- {
- // -- Compute exposure time from shutter speed
- return 1d / Math.Pow(2d, GetPropertyRational((int)TagNames.ExifShutterSpeed).ToDouble());
- }
- else
- {
- // -- Can't figure out
- return 0d;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Aperture value as F number (EXIF ExifFNumber/ExifApertureValue)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public double Aperture
- {
- get
- {
- if (IsPropertyDefined((int)TagNames.ExifFNumber))
- {
- return GetPropertyRational((int)TagNames.ExifFNumber).ToDouble();
- }
- else if (IsPropertyDefined((int)TagNames.ExifAperture))
- {
- return Math.Pow(Math.Sqrt(2d), GetPropertyRational((int)TagNames.ExifAperture).ToDouble());
- }
- else
- {
- return 0d;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Exposure program used (EXIF ExifExposureProg)
- ///
- ///
- /// If not specified, returns Normal (2)
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public ExposurePrograms ExposureProgram
- {
- get
- {
- int X = GetPropertyInt16((int)TagNames.ExifExposureProg);
- if (Enum.IsDefined(typeof(ExposurePrograms), X))
- {
- return (ExposurePrograms)Conversions.ToInteger(Enum.Parse(typeof(ExposurePrograms), Enum.GetName(typeof(ExposurePrograms), X)));
- }
- else
- {
- return ExposurePrograms.Normal;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// ISO sensitivity
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public short ISO
- {
- get
- {
- return GetPropertyInt16((int)TagNames.ExifISOSpeed);
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Subject distance in meters (EXIF SubjectDistance)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public double SubjectDistance
- {
- get
- {
- return GetPropertyRational((int)TagNames.ExifSubjectDist).ToDouble();
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Exposure method metering mode used (EXIF MeteringMode)
- ///
- ///
- /// If not specified, returns Unknown (0)
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public ExposureMeteringModes ExposureMeteringMode
- {
- get
- {
- int X = GetPropertyInt16((int)TagNames.ExifMeteringMode);
- if (Enum.IsDefined(typeof(ExposureMeteringModes), X))
- {
- return (ExposureMeteringModes)Conversions.ToInteger(Enum.Parse(typeof(ExposureMeteringModes), Enum.GetName(typeof(ExposureMeteringModes), X)));
- }
- else
- {
- return ExposureMeteringModes.Unknown;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Focal length of lenses in mm (EXIF FocalLength)
- ///
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public double FocalLength
- {
- get
- {
- return GetPropertyRational((int)TagNames.ExifFocalLength).ToDouble();
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Flash mode (EXIF Flash)
- ///
- ///
- /// If not present, value NotFired (0) is returned
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public FlashModes FlashMode
- {
- get
- {
- int X = GetPropertyInt16((int)TagNames.ExifFlash);
- if (Enum.IsDefined(typeof(FlashModes), X))
- {
- return (FlashModes)Conversions.ToInteger(Enum.Parse(typeof(FlashModes), Enum.GetName(typeof(FlashModes), X)));
- }
- else
- {
- return FlashModes.NotFired;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Light source / white balance (EXIF LightSource)
- ///
- ///
- /// If not specified, returns Unknown (0).
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public LightSources LightSource
- {
- get
- {
- int X = GetPropertyInt16((int)TagNames.ExifLightSource);
- if (Enum.IsDefined(typeof(LightSources), X))
- {
- return (LightSources)Conversions.ToInteger(Enum.Parse(typeof(LightSources), Enum.GetName(typeof(LightSources), X)));
- }
- else
- {
- return LightSources.Unknown;
- }
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Checks if current image has specified certain property
- ///
- ///
- /// True if image has specified property, False otherwise.
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public bool IsPropertyDefined(int PID)
- {
- return Array.IndexOf(Image.PropertyIdList, PID) > -1;
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Gets specified Int32 property
- ///
- /// Property ID
- /// Optional, default 0. Default value returned if property is not present.
- /// Value of property or DefaultValue if property is not present.
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public int GetPropertyInt32(int PID, int DefaultValue = 0)
- {
- if (IsPropertyDefined(PID))
- {
- return GetInt32(Image.GetPropertyItem(PID).Value);
- }
- else
- {
- return DefaultValue;
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Gets specified Int16 property
- ///
- /// Property ID
- /// Optional, default 0. Default value returned if property is not present.
- /// Value of property or DefaultValue if property is not present.
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public short GetPropertyInt16(int PID, short DefaultValue = 0)
- {
- if (IsPropertyDefined(PID))
- {
- return GetInt16(Image.GetPropertyItem(PID).Value);
- }
- else
- {
- return DefaultValue;
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Gets specified string property
- ///
- /// Property ID
- /// Optional, default String.Empty. Default value returned if property is not present.
- ///
- /// Value of property or DefaultValue if property is not present.
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public string GetPropertyString(int PID, string DefaultValue = "")
- {
- if (IsPropertyDefined(PID))
- {
- return GetString(Image.GetPropertyItem(PID).Value);
- }
- else
- {
- return DefaultValue;
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Gets specified rational property
- ///
- /// Property ID
- ///
- /// Value of property or 0/1 if not present.
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public Rational GetPropertyRational(int PID)
- {
- if (IsPropertyDefined(PID))
- {
- return GetRational(Image.GetPropertyItem(PID).Value);
- }
- else
- {
- Rational R;
- R.Numerator = 0;
- R.Denominator = 1;
- return R;
- }
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Reads Int32 from EXIF bytearray.
- ///
- /// EXIF bytearray to process
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public static int GetInt32(byte[] B)
- {
- if (B.Length < 4)
- throw new ArgumentException("Data too short (4 bytes expected)", "B");
- return B[3] << 24 | B[2] << 16 | B[1] << 8 | B[0];
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Reads Int16 from EXIF bytearray.
- ///
- /// EXIF bytearray to process
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public static short GetInt16(byte[] B)
- {
- if (B.Length < 2)
- throw new ArgumentException("Data too short (2 bytes expected)", "B");
- return (short)(B[1] << 8 | B[0]);
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Reads string from EXIF bytearray.
- ///
- /// EXIF bytearray to process
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public static string GetString(byte[] B)
- {
- string R = System.Text.Encoding.ASCII.GetString(B);
- if (R.EndsWith(Constants.vbNullChar))
- R = R.Substring(0, R.Length - 1);
- return R;
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Reads rational from EXIF bytearray.
- ///
- /// EXIF bytearray to process
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public static Rational GetRational(byte[] B)
- {
- var R = new Rational();
- byte[] N = new byte[4], D = new byte[4];
- Array.Copy(B, 0, N, 0, 4);
- Array.Copy(B, 4, D, 0, 4);
- R.Denominator = GetInt32(D);
- R.Numerator = GetInt32(N);
- return R;
- }
-
- /// -----------------------------------------------------------------------------
- ///
- /// Disposes unmanaged resources of this class
- ///
- ///
- ///
- /// [altair] 10.9.2003 Created
- ///
- /// -----------------------------------------------------------------------------
- public void Dispose()
- {
- Image.Dispose();
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/ExifReader.vb b/imagecatalog.backup/ExifReader.vb
deleted file mode 100644
index 15a19bd..0000000
--- a/imagecatalog.backup/ExifReader.vb
+++ /dev/null
@@ -1,1068 +0,0 @@
-'''-----------------------------------------------------------------------------
-'''
-''' Utility class for reading EXIF data from images. Provides abstraction
-''' for most common data and generic utilities for work with all other.
-'''
-'''
-''' Copyright (c) Michal A. Valášek - Altair Communications, 2003
-''' Copmany: http://software.altaircom.net * support@altaircom.net
-''' Private: http://www.rider.cz * developer@rider.cz
-''' This is free software licensed under GNU Lesser General Public License
-'''
-'''
-''' [altair] 10.9.2003 Created
-'''
-'''-----------------------------------------------------------------------------
-Public Class ExifReader
- Implements IDisposable
-
- Private Image As System.Drawing.Bitmap
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Contains possible values of EXIF tag names (ID)
- '''
- ''' See GdiPlusImaging.h
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum TagNames
- ExifIFD = &H8769
- GpsIFD = &H8825
- NewSubfileType = &HFE
- SubfileType = &HFF
- ImageWidth = &H100
- ImageHeight = &H101
- BitsPerSample = &H102
- Compression = &H103
- PhotometricInterp = &H106
- ThreshHolding = &H107
- CellWidth = &H108
- CellHeight = &H109
- FillOrder = &H10A
- DocumentName = &H10D
- ImageDescription = &H10E
- EquipMake = &H10F
- EquipModel = &H110
- StripOffsets = &H111
- Orientation = &H112
- SamplesPerPixel = &H115
- RowsPerStrip = &H116
- StripBytesCount = &H117
- MinSampleValue = &H118
- MaxSampleValue = &H119
- XResolution = &H11A
- YResolution = &H11B
- PlanarConfig = &H11C
- PageName = &H11D
- XPosition = &H11E
- YPosition = &H11F
- FreeOffset = &H120
- FreeByteCounts = &H121
- GrayResponseUnit = &H122
- GrayResponseCurve = &H123
- T4Option = &H124
- T6Option = &H125
- ResolutionUnit = &H128
- PageNumber = &H129
- TransferFuncition = &H12D
- SoftwareUsed = &H131
- DateTime = &H132
- Artist = &H13B
- HostComputer = &H13C
- Predictor = &H13D
- WhitePoint = &H13E
- PrimaryChromaticities = &H13F
- ColorMap = &H140
- HalftoneHints = &H141
- TileWidth = &H142
- TileLength = &H143
- TileOffset = &H144
- TileByteCounts = &H145
- InkSet = &H14C
- InkNames = &H14D
- NumberOfInks = &H14E
- DotRange = &H150
- TargetPrinter = &H151
- ExtraSamples = &H152
- SampleFormat = &H153
- SMinSampleValue = &H154
- SMaxSampleValue = &H155
- TransferRange = &H156
- JPEGProc = &H200
- JPEGInterFormat = &H201
- JPEGInterLength = &H202
- JPEGRestartInterval = &H203
- JPEGLosslessPredictors = &H205
- JPEGPointTransforms = &H206
- JPEGQTables = &H207
- JPEGDCTables = &H208
- JPEGACTables = &H209
- YCbCrCoefficients = &H211
- YCbCrSubsampling = &H212
- YCbCrPositioning = &H213
- REFBlackWhite = &H214
- ICCProfile = &H8773
- Gamma = &H301
- ICCProfileDescriptor = &H302
- SRGBRenderingIntent = &H303
- ImageTitle = &H320
- Copyright = &H8298
- ResolutionXUnit = &H5001
- ResolutionYUnit = &H5002
- ResolutionXLengthUnit = &H5003
- ResolutionYLengthUnit = &H5004
- PrintFlags = &H5005
- PrintFlagsVersion = &H5006
- PrintFlagsCrop = &H5007
- PrintFlagsBleedWidth = &H5008
- PrintFlagsBleedWidthScale = &H5009
- HalftoneLPI = &H500A
- HalftoneLPIUnit = &H500B
- HalftoneDegree = &H500C
- HalftoneShape = &H500D
- HalftoneMisc = &H500E
- HalftoneScreen = &H500F
- JPEGQuality = &H5010
- GridSize = &H5011
- ThumbnailFormat = &H5012
- ThumbnailWidth = &H5013
- ThumbnailHeight = &H5014
- ThumbnailColorDepth = &H5015
- ThumbnailPlanes = &H5016
- ThumbnailRawBytes = &H5017
- ThumbnailSize = &H5018
- ThumbnailCompressedSize = &H5019
- ColorTransferFunction = &H501A
- ThumbnailData = &H501B
- ThumbnailImageWidth = &H5020
- ThumbnailImageHeight = &H502
- ThumbnailBitsPerSample = &H5022
- ThumbnailCompression = &H5023
- ThumbnailPhotometricInterp = &H5024
- ThumbnailImageDescription = &H5025
- ThumbnailEquipMake = &H5026
- ThumbnailEquipModel = &H5027
- ThumbnailStripOffsets = &H5028
- ThumbnailOrientation = &H5029
- ThumbnailSamplesPerPixel = &H502A
- ThumbnailRowsPerStrip = &H502B
- ThumbnailStripBytesCount = &H502C
- ThumbnailResolutionX = &H502D
- ThumbnailResolutionY = &H502E
- ThumbnailPlanarConfig = &H502F
- ThumbnailResolutionUnit = &H5030
- ThumbnailTransferFunction = &H5031
- ThumbnailSoftwareUsed = &H5032
- ThumbnailDateTime = &H5033
- ThumbnailArtist = &H5034
- ThumbnailWhitePoint = &H5035
- ThumbnailPrimaryChromaticities = &H5036
- ThumbnailYCbCrCoefficients = &H5037
- ThumbnailYCbCrSubsampling = &H5038
- ThumbnailYCbCrPositioning = &H5039
- ThumbnailRefBlackWhite = &H503A
- ThumbnailCopyRight = &H503B
- LuminanceTable = &H5090
- ChrominanceTable = &H5091
- FrameDelay = &H5100
- LoopCount = &H5101
- PixelUnit = &H5110
- PixelPerUnitX = &H5111
- PixelPerUnitY = &H5112
- PaletteHistogram = &H5113
- ExifExposureTime = &H829A
- ExifFNumber = &H829D
- ExifExposureProg = &H8822
- ExifSpectralSense = &H8824
- ExifISOSpeed = &H8827
- ExifOECF = &H8828
- ExifVer = &H9000
- ExifDTOrig = &H9003
- ExifDTDigitized = &H9004
- ExifCompConfig = &H9101
- ExifCompBPP = &H9102
- ExifShutterSpeed = &H9201
- ExifAperture = &H9202
- ExifBrightness = &H9203
- ExifExposureBias = &H9204
- ExifMaxAperture = &H9205
- ExifSubjectDist = &H9206
- ExifMeteringMode = &H9207
- ExifLightSource = &H9208
- ExifFlash = &H9209
- ExifFocalLength = &H920A
- ExifMakerNote = &H927C
- ExifUserComment = &H9286
- ExifDTSubsec = &H9290
- ExifDTOrigSS = &H9291
- ExifDTDigSS = &H9292
- ExifFPXVer = &HA000
- ExifColorSpace = &HA001
- ExifPixXDim = &HA002
- ExifPixYDim = &HA003
- ExifRelatedWav = &HA004
- ExifInterop = &HA005
- ExifFlashEnergy = &HA20B
- ExifSpatialFR = &HA20C
- ExifFocalXRes = &HA20E
- ExifFocalYRes = &HA20F
- ExifFocalResUnit = &HA210
- ExifSubjectLoc = &HA214
- ExifExposureIndex = &HA215
- ExifSensingMethod = &HA217
- ExifFileSource = &HA300
- ExifSceneType = &HA301
- ExifCfaPattern = &HA302
- GpsVer = &H0
- GpsLatitudeRef = &H1
- GpsLatitude = &H2
- GpsLongitudeRef = &H3
- GpsLongitude = &H4
- GpsAltitudeRef = &H5
- GpsAltitude = &H6
- GpsGpsTime = &H7
- GpsGpsSatellites = &H8
- GpsGpsStatus = &H9
- GpsGpsMeasureMode = &HA
- GpsGpsDop = &HB
- GpsSpeedRef = &HC
- GpsSpeed = &HD
- GpsTrackRef = &HE
- GpsTrack = &HF
- GpsImgDirRef = &H10
- GpsImgDir = &H11
- GpsMapDatum = &H12
- GpsDestLatRef = &H13
- GpsDestLat = &H14
- GpsDestLongRef = &H15
- GpsDestLong = &H16
- GpsDestBearRef = &H17
- GpsDestBear = &H18
- GpsDestDistRef = &H19
- GpsDestDist = &H1A
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Real position of 0th row and column of picture
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum Orientations
- TopLeft = 1
- TopRight = 2
- BottomRight = 3
- BottomLeft = 4
- LeftTop = 5
- RightTop = 6
- RightBottom = 7
- LftBottom = 8
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Exposure programs
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum ExposurePrograms
- Manual = 1
- Normal = 2
- AperturePriority = 3
- ShutterPriority = 4
- Creative = 5
- Action = 6
- Portrait = 7
- Landscape = 8
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Exposure metering modes
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum ExposureMeteringModes
- Unknown = 0
- Average = 1
- CenterWeightedAverage = 2
- Spot = 3
- MultiSpot = 4
- MultiSegment = 5
- [Partial] = 6
- Other = 255
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Flash activity modes
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum FlashModes
- NotFired = 0
- Fired = 1
- FiredButNoStrobeReturned = 5
- FiredAndStrobeReturned = 7
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Possible light sources (white balance)
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Enum LightSources
- Unknown = 0
- Daylight = 1
- Fluorescent = 2
- Tungsten = 3
- Flash = 10
- StandardLightA = 17
- StandardLightB = 18
- StandardLightC = 19
- D55 = 20
- D65 = 21
- D75 = 22
- Other = 255
- End Enum
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Represents rational which is type of some Exif properties
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Structure Rational
- Dim Numerator As Int32
- Dim Denominator As Int32
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Converts rational to string representation
- '''
- ''' Optional, default "/". String to be used as delimiter of components.
- ''' String representation of the rational.
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Shadows Function ToString(Optional ByVal Delimiter As String = "/") As String
- Return Numerator & Delimiter & Denominator
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Converts rational to double precision real number
- '''
- ''' The rational as double precision real number.
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Function ToDouble() As Double
- Return Numerator / Denominator
- End Function
- End Structure
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Initializes new instance of this class.
- '''
- ''' Bitmap to read exif information from
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Sub New(ByVal Bitmap As System.Drawing.Bitmap)
- If Bitmap Is Nothing Then Throw New ArgumentNullException("Bitmap")
- Me.Image = Bitmap
- End Sub
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Returns all available data in formatted string form
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Overrides Function ToString() As String
- Dim SB As New System.Text.StringBuilder
-
- SB.Append("Image:")
- SB.Append("\n\tDimensions: " & Me.Width & " x " & Me.Height & " px")
- SB.Append("\n\tResolution: " & Me.ResolutionX & " x " & Me.ResolutionY & " dpi")
- SB.Append("\n\tOrientation: " & [Enum].GetName(GetType(Orientations), Me.Orientation))
- SB.Append("\n\tTitle: " & Me.Title)
- SB.Append("\n\tDescription: " & Me.Description)
- SB.Append("\n\tCopyright: " & Me.Copyright)
- SB.Append("\nEquipment:")
- SB.Append("\n\tMaker: " & Me.EquipmentMaker)
- SB.Append("\n\tModel: " & Me.EquipmentModel)
- SB.Append("\n\tSoftware: " & Me.Software)
- SB.Append("\nDate and time:")
- SB.Append("\n\tGeneral: " & Me.DateTimeLastModified.ToString())
- SB.Append("\n\tOriginal: " & Me.DateTimeOriginal.ToString())
- SB.Append("\n\tDigitized: " & Me.DateTimeDigitized.ToString())
- SB.Append("\nShooting conditions:")
- SB.Append("\n\tExposure time: " & Me.ExposureTime.ToString("N4") & " s")
- SB.Append("\n\tExposure program: " & [Enum].GetName(GetType(ExposurePrograms), Me.ExposureProgram))
- SB.Append("\n\tExposure mode: " & [Enum].GetName(GetType(ExposureMeteringModes), Me.ExposureMeteringMode))
- SB.Append("\n\tAperture: F" & Me.Aperture.ToString("N2"))
- SB.Append("\n\tISO sensitivity: " & Me.ISO)
- SB.Append("\n\tSubject distance: " & Me.SubjectDistance.ToString("N2") & " m")
- SB.Append("\n\tFocal length: " & Me.FocalLength)
- SB.Append("\n\tFlash: " & [Enum].GetName(GetType(FlashModes), Me.FlashMode))
- SB.Append("\n\tLight source (WB): " & [Enum].GetName(GetType(LightSources), Me.LightSource))
- SB.Append("\n\nCopyright (c) Michal A. Valasek - Altair Communications, 2003")
- SB.Append("\nhttp://software.altaircom.net * support@altaircom.net")
-
- SB.Replace("\n", vbCrLf)
- SB.Replace("\t", vbTab)
- Return SB.ToString()
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Brand of equipment (EXIF EquipMake)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property EquipmentMaker() As String
- Get
- Return Me.GetPropertyString(TagNames.EquipMake)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Model of equipment (EXIF EquipModel)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property EquipmentModel() As String
- Get
- Return Me.GetPropertyString(TagNames.EquipModel)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Software used for processing (EXIF Software)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Software() As String
- Get
- Return Me.GetPropertyString(TagNames.SoftwareUsed)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Orientation of image (position of row 0, column 0) (EXIF Orientation)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Orientation() As Orientations
- Get
- Dim X As Int32 = Me.GetPropertyInt16(TagNames.Orientation)
-
- If Not [Enum].IsDefined(GetType(Orientations), X) Then
- Return Orientations.TopLeft
- Else
- Return CType([Enum].Parse(GetType(Orientations), [Enum].GetName(GetType(Orientations), X)), Orientations)
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Time when image was last modified (EXIF DateTime).
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property DateTimeLastModified() As DateTime
- Get
- Try
- Return DateTime.ParseExact(Me.GetPropertyString(TagNames.DateTime), "yyyy\:MM\:dd HH\:mm\:ss", Nothing)
- Catch ex As Exception
- Return DateTime.MinValue
- End Try
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Time when image was taken (EXIF DateTimeOriginal).
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property DateTimeOriginal() As DateTime
- Get
- Try
- Return DateTime.ParseExact(Me.GetPropertyString(TagNames.ExifDTOrig), "yyyy\:MM\:dd HH\:mm\:ss", Nothing)
- Catch ex As Exception
- Return DateTime.MinValue
- End Try
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Time when image was digitized (EXIF DateTimeDigitized).
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property DateTimeDigitized() As DateTime
- Get
- Try
- Return DateTime.ParseExact(Me.GetPropertyString(TagNames.ExifDTDigitized), "yyyy\:MM\:dd HH\:mm\:ss", Nothing)
- Catch ex As Exception
- Return DateTime.MinValue
- End Try
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Image width
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Width() As Int16
- Get
- Return Me.GetPropertyInt16(TagNames.ImageWidth)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Image height
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Height() As Int16
- Get
- Return Me.GetPropertyInt16(TagNames.ImageHeight)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' X resolution in dpi (EXIF XResolution/ResolutionUnit)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ResolutionX() As Double
- Get
- Dim R As Double = Me.GetPropertyRational(TagNames.XResolution).ToDouble()
-
- If Me.GetPropertyInt16(TagNames.ResolutionUnit) = 3 Then
- '-- resolution is in points/cm
- Return R * 2.54
- Else
- '-- resolution is in points/inch
- Return R
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Y resolution in dpi (EXIF YResolution/ResolutionUnit)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ResolutionY() As Double
- Get
- Dim R As Double = Me.GetPropertyRational(TagNames.YResolution).ToDouble()
-
- If Me.GetPropertyInt16(TagNames.ResolutionUnit) = 3 Then
- '-- resolution is in points/cm
- Return R * 2.54
- Else
- '-- resolution is in points/inch
- Return R
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Image title (EXIF ImageTitle)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Title() As String
- Get
- Return Me.GetPropertyString(TagNames.ImageTitle)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Image description (EXIF ImageDescription)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Description() As String
- Get
- Return Me.GetPropertyString(TagNames.ImageDescription)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Image copyright (EXIF Copyright)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Copyright() As String
- Get
- Return Me.GetPropertyString(TagNames.Copyright)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Exposure time in seconds (EXIF ExifExposureTime/ExifShutterSpeed)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ExposureTime() As Double
- Get
- If Me.IsPropertyDefined(TagNames.ExifExposureTime) Then
- '-- Exposure time is explicitly specified
- Return Me.GetPropertyRational(TagNames.ExifExposureTime).ToDouble
- ElseIf Me.IsPropertyDefined(TagNames.ExifShutterSpeed) Then
- '-- Compute exposure time from shutter speed
- Return 1 / (2 ^ Me.GetPropertyRational(TagNames.ExifShutterSpeed).ToDouble)
- Else
- '-- Can't figure out
- Return 0
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Aperture value as F number (EXIF ExifFNumber/ExifApertureValue)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property Aperture() As Double
- Get
- If Me.IsPropertyDefined(TagNames.ExifFNumber) Then
- Return Me.GetPropertyRational(TagNames.ExifFNumber).ToDouble()
- ElseIf Me.IsPropertyDefined(TagNames.ExifAperture) Then
- Return System.Math.Sqrt(2) ^ Me.GetPropertyRational(TagNames.ExifAperture).ToDouble()
- Else
- Return 0
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Exposure program used (EXIF ExifExposureProg)
- '''
- '''
- ''' If not specified, returns Normal (2)
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ExposureProgram() As ExposurePrograms
- Get
- Dim X As Int32 = Me.GetPropertyInt16(TagNames.ExifExposureProg)
-
- If [Enum].IsDefined(GetType(ExposurePrograms), X) Then
- Return CType([Enum].Parse(GetType(ExposurePrograms), [Enum].GetName(GetType(ExposurePrograms), X)), ExposurePrograms)
- Else
- Return ExposurePrograms.Normal
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' ISO sensitivity
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ISO() As Int16
- Get
- Return Me.GetPropertyInt16(TagNames.ExifISOSpeed)
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Subject distance in meters (EXIF SubjectDistance)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property SubjectDistance() As Double
- Get
- Return Me.GetPropertyRational(TagNames.ExifSubjectDist).ToDouble()
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Exposure method metering mode used (EXIF MeteringMode)
- '''
- '''
- ''' If not specified, returns Unknown (0)
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property ExposureMeteringMode() As ExposureMeteringModes
- Get
- Dim X As Int32 = Me.GetPropertyInt16(TagNames.ExifMeteringMode)
-
- If [Enum].IsDefined(GetType(ExposureMeteringModes), X) Then
- Return CType([Enum].Parse(GetType(ExposureMeteringModes), [Enum].GetName(GetType(ExposureMeteringModes), X)), ExposureMeteringModes)
- Else
- Return ExposureMeteringModes.Unknown
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Focal length of lenses in mm (EXIF FocalLength)
- '''
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property FocalLength() As Double
- Get
- Return Me.GetPropertyRational(TagNames.ExifFocalLength).ToDouble
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Flash mode (EXIF Flash)
- '''
- '''
- ''' If not present, value NotFired (0) is returned
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property FlashMode() As FlashModes
- Get
- Dim X As Int32 = Me.GetPropertyInt16(TagNames.ExifFlash)
-
- If [Enum].IsDefined(GetType(FlashModes), X) Then
- Return CType([Enum].Parse(GetType(FlashModes), [Enum].GetName(GetType(FlashModes), X)), FlashModes)
- Else
- Return FlashModes.NotFired
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Light source / white balance (EXIF LightSource)
- '''
- '''
- ''' If not specified, returns Unknown (0).
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public ReadOnly Property LightSource() As LightSources
- Get
- Dim X As Int32 = Me.GetPropertyInt16(TagNames.ExifLightSource)
-
- If [Enum].IsDefined(GetType(LightSources), X) Then
- Return CType([Enum].Parse(GetType(LightSources), [Enum].GetName(GetType(LightSources), X)), LightSources)
- Else
- Return LightSources.Unknown
- End If
- End Get
- End Property
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Checks if current image has specified certain property
- '''
- '''
- ''' True if image has specified property, False otherwise.
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Function IsPropertyDefined(ByVal PID As Int32) As Boolean
- Return CBool([Array].IndexOf(Me.Image.PropertyIdList, PID) > -1)
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Gets specified Int32 property
- '''
- ''' Property ID
- ''' Optional, default 0. Default value returned if property is not present.
- ''' Value of property or DefaultValue if property is not present.
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Function GetPropertyInt32(ByVal PID As Int32, Optional ByVal DefaultValue As Int32 = 0) As Int32
- If Me.IsPropertyDefined(PID) Then
- Return GetInt32(Me.Image.GetPropertyItem(PID).Value)
- Else
- Return DefaultValue
- End If
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Gets specified Int16 property
- '''
- ''' Property ID
- ''' Optional, default 0. Default value returned if property is not present.
- ''' Value of property or DefaultValue if property is not present.
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Function GetPropertyInt16(ByVal PID As Int32, Optional ByVal DefaultValue As Int16 = 0) As Int16
- If Me.IsPropertyDefined(PID) Then
- Return GetInt16(Me.Image.GetPropertyItem(PID).Value)
- Else
- Return DefaultValue
- End If
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Gets specified string property
- '''
- ''' Property ID
- ''' Optional, default String.Empty. Default value returned if property is not present.
- '''
- ''' Value of property or DefaultValue if property is not present.
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Function GetPropertyString(ByVal PID As Int32, Optional ByVal DefaultValue As String = "") As String
- If Me.IsPropertyDefined(PID) Then
- Return GetString(Me.Image.GetPropertyItem(PID).Value)
- Else
- Return DefaultValue
- End If
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Gets specified rational property
- '''
- ''' Property ID
- '''
- ''' Value of property or 0/1 if not present.
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Function GetPropertyRational(ByVal PID As Int32) As Rational
- If Me.IsPropertyDefined(PID) Then
- Return GetRational(Me.Image.GetPropertyItem(PID).Value)
- Else
- Dim R As Rational
- R.Numerator = 0
- R.Denominator = 1
- Return R
- End If
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Reads Int32 from EXIF bytearray.
- '''
- ''' EXIF bytearray to process
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Shared Function GetInt32(ByVal B As Byte()) As Int32
- If B.Length < 4 Then Throw New ArgumentException("Data too short (4 bytes expected)", "B")
- Return B(3) << 24 Or B(2) << 16 Or B(1) << 8 Or B(0)
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Reads Int16 from EXIF bytearray.
- '''
- ''' EXIF bytearray to process
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Shared Function GetInt16(ByVal B As Byte()) As Int16
- If B.Length < 2 Then Throw New ArgumentException("Data too short (2 bytes expected)", "B")
- Return B(1) << 8 Or B(0)
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Reads string from EXIF bytearray.
- '''
- ''' EXIF bytearray to process
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Shared Function GetString(ByVal B As Byte()) As String
- Dim R As String = System.Text.Encoding.ASCII.GetString(B)
- If R.EndsWith(vbNullChar) Then R = R.Substring(0, R.Length - 1)
- Return R
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Reads rational from EXIF bytearray.
- '''
- ''' EXIF bytearray to process
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Shared Function GetRational(ByVal B As Byte()) As Rational
- Dim R As New Rational, N(3), D(3) As Byte
- Array.Copy(B, 0, N, 0, 4)
- Array.Copy(B, 4, D, 0, 4)
- R.Denominator = GetInt32(D)
- R.Numerator = GetInt32(N)
- Return R
- End Function
-
- '''-----------------------------------------------------------------------------
- '''
- ''' Disposes unmanaged resources of this class
- '''
- '''
- '''
- ''' [altair] 10.9.2003 Created
- '''
- '''-----------------------------------------------------------------------------
- Public Sub Dispose() Implements System.IDisposable.Dispose
- Me.Image.Dispose()
- End Sub
-End Class
diff --git a/imagecatalog.backup/FileHelper.cs b/imagecatalog.backup/FileHelper.cs
deleted file mode 100644
index f0da2d6..0000000
--- a/imagecatalog.backup/FileHelper.cs
+++ /dev/null
@@ -1,261 +0,0 @@
-using System;
-using System.Collections.Concurrent;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.IO;
-using System.Linq;
-
-namespace ImageCatalog
-{
- public class FileHelper
- {
- // Private dirSourceDest As Dictionary(Of FileInfo, DirectoryInfo)
- private int filesPerFolder;
- private string suffix;
- private int counterSize;
- private int numerationType;
- private string filter;
- private bool separateFiles;
- private string extensions = "*.jpg,*.png,*.gif";
-
- public enum numerazione
- {
- Progressiva,
- Files
- }
- ///
- /// Preparazione per la separazione
- ///
- ///
- ///
- ///
- ///
- ///
- public FileHelper(int filesPerFolder, string suffix, int counterSize, int numerationType)
- {
- this.filesPerFolder = filesPerFolder;
- this.suffix = suffix;
- this.counterSize = counterSize;
- this.numerationType = numerationType;
- separateFiles = true;
- }
-
- ///
- /// nessuna separazione
- ///
- ///
- public FileHelper()
- {
- separateFiles = false;
- }
-
- public Dictionary GetFilesRecursive(DirectoryInfo root, DirectoryInfo destRoot, string filter)
- {
- var dirSourceDest = new Dictionary();
- var result = new List();
-
- // Dim stack As New Stack(Of DirectoryInfo)
- var stack = new Stack>();
- this.filter = filter;
- var pair = new KeyValuePair();
-
-
- // stack.Push(root)
- stack.Push(new KeyValuePair(root, destRoot));
- while (stack.Count > 0)
- {
- var curDirKV = stack.Pop();
- // curDirKP = stack.Pop()
- var dir = curDirKV.Key;
- var dDir = curDirKV.Value;
- try
- {
- // result.AddRange(dir.GetFiles(filter, SearchOption.TopDirectoryOnly))
- // dividere file qui
- if (filesPerFolder > 0 & separateFiles)
- {
- appendDictionary(dirSourceDest, dividiFilesInDir(dir, dDir));
- }
- else
- {
- appendDictionary(dirSourceDest, getAllFilesInDir(dir, dDir));
- }
-
- foreach (DirectoryInfo subDirectory in dir.GetDirectories())
- stack.Push(new KeyValuePair(subDirectory, new DirectoryInfo(Path.Combine(dDir.FullName, subDirectory.Name))));
- }
- catch (Exception ex)
- {
- var e = ex.Demystify();
- Console.WriteLine(e);
- Console.WriteLine(e.Message);
- Console.WriteLine(e.StackTrace);
- }
- }
-
- return dirSourceDest;
- }
-
- // Public Class FileData
- // Public File As FileInfo
- // Public Directory As DirectoryInfo
- // Public Sub New(newFile As FileInfo, newDirectory As DirectoryInfo)
- // File = newFile
- // Directory = newDirectory
- // End Sub
- // End Class
-
- // Public Function GetFilesRecursiveParallel(ByVal root As DirectoryInfo, ByVal destRoot As DirectoryInfo, ByVal filter As String) As List(Of FileData)
-
-
- // Dim dirSourceDest As New ConcurrentDictionary(Of FileInfo, DirectoryInfo)
- // Dim result As New List(Of FileInfo)
-
- // 'Dim stack As New Stack(Of DirectoryInfo)
- // Dim stack As New Stack(Of KeyValuePair(Of DirectoryInfo, DirectoryInfo))
-
-
- // Me.filter = filter
- // Dim pair As New KeyValuePair(Of DirectoryInfo, DirectoryInfo)
-
-
- // 'stack.Push(root)
- // stack.Push(New KeyValuePair(Of DirectoryInfo, DirectoryInfo)(root, destRoot))
-
- // Do While (stack.Count > 0)
- // Dim curDirKV As KeyValuePair(Of DirectoryInfo, DirectoryInfo) = stack.Pop
- // 'curDirKP = stack.Pop()
- // Dim dir As DirectoryInfo = curDirKV.Key
- // Dim dDir As DirectoryInfo = curDirKV.Value
- // Try
- // 'result.AddRange(dir.GetFiles(filter, SearchOption.TopDirectoryOnly))
- // ' dividere file qui
- // If filesPerFolder > 0 And separateFiles Then
- // AppendDictionaryConcurrent(dirSourceDest, DividiFilesInDirConcurrent(dir, dDir))
- // Else
- // AppendDictionaryConcurrent(dirSourceDest, DividiFilesInDirConcurrent(dir, dDir))
- // End If
-
- // For Each subDirectory As DirectoryInfo In dir.GetDirectories
- // stack.Push(New KeyValuePair(Of DirectoryInfo, DirectoryInfo)(subDirectory, New DirectoryInfo(Path.Combine(dDir.FullName, subDirectory.Name))))
-
- // Next
- // Catch ex As Exception
- // ' TODO: FARE QUALCOSA
- // End Try
- // Loop
-
- // Dim resultData As New List(Of FileData)
- // resultData.AddRange(From p In dirSourceDest Select New FileData(p.Key, p.Value))
- // Return resultData
- // 'Return dirSourceDest
- // End Function
-
- public Dictionary appendDictionary(Dictionary dictA, Dictionary dictB)
- {
- foreach (KeyValuePair pair in dictB)
- dictA.Add(pair.Key, pair.Value);
- return dictA;
- }
-
- // Public Function AppendDictionaryConcurrent(ByVal dictA As ConcurrentDictionary(Of FileInfo, DirectoryInfo), ByVal dictB As ConcurrentDictionary(Of FileInfo, DirectoryInfo)) As ConcurrentDictionary(Of FileInfo, DirectoryInfo)
- // For Each pair As KeyValuePair(Of FileInfo, DirectoryInfo) In dictB
- // dictA.TryAdd(pair.Key, pair.Value)
- // 'dictA.Add(pair.Key, pair.Value)
- // Next
- // Return dictA
- // End Function
-
- public Dictionary getAllFilesInDir(DirectoryInfo dir, DirectoryInfo dirDest)
- {
- var dict = new Dictionary();
- foreach (FileInfo File in dir.GetFiles(filter))
- dict.Add(File, new DirectoryInfo(Path.Combine(dirDest.FullName, File.Name)));
- return dict;
- }
-
- private Dictionary dividiFilesInDir(DirectoryInfo dir, DirectoryInfo dirDest)
- {
- int filesCount = dir.GetFiles(filter).Count();
- int contaFilePerDir = 0;
- int contaDirPerDir = 0;
- string tempText = string.Empty;
- var foldersDict = new Dictionary();
- DirectoryInfo destDir;
- destDir = new DirectoryInfo(Path.Combine(dirDest.FullName));
- foreach (FileInfo file in dir.GetFiles(filter))
- {
- contaFilePerDir += 1;
- if (contaFilePerDir == contaDirPerDir * filesPerFolder + 1)
- {
- contaDirPerDir += 1;
- if (numerationType == (int)numerazione.Progressiva)
- {
- tempText = contaDirPerDir.ToString();
- }
- else
- {
- tempText = (contaDirPerDir * filesPerFolder).ToString();
- }
-
- int i;
- var loopTo = counterSize - tempText.Length;
- for (i = 1; i <= loopTo; i++)
- tempText = "0" + tempText;
- destDir = new DirectoryInfo(Path.Combine(dirDest.FullName, suffix + tempText));
- }
-
- if (!destDir.Exists)
- {
- destDir.Create();
- }
-
- foldersDict.Add(file, destDir);
- }
-
- return foldersDict;
- }
-
- private ConcurrentDictionary DividiFilesInDirConcurrent(DirectoryInfo dir, DirectoryInfo dirDest)
- {
- int filesCount = dir.GetFiles(filter).Count();
- int contaFilePerDir = 0;
- int contaDirPerDir = 0;
- string tempText = string.Empty;
- var foldersDict = new ConcurrentDictionary();
- DirectoryInfo destDir;
- destDir = new DirectoryInfo(Path.Combine(dirDest.FullName));
- foreach (FileInfo file in dir.GetFiles(filter))
- {
- contaFilePerDir += 1;
- if (contaFilePerDir == contaDirPerDir * filesPerFolder + 1)
- {
- contaDirPerDir += 1;
- if (numerationType == (int)numerazione.Progressiva)
- {
- tempText = contaDirPerDir.ToString();
- }
- else
- {
- tempText = (contaDirPerDir * filesPerFolder).ToString();
- }
-
- int i;
- var loopTo = counterSize - tempText.Length;
- for (i = 1; i <= loopTo; i++)
- tempText = "0" + tempText;
- destDir = new DirectoryInfo(Path.Combine(dirDest.FullName, suffix + tempText));
- }
-
- if (!destDir.Exists)
- {
- destDir.Create();
- }
-
- foldersDict.TryAdd(file, destDir);
- }
-
- return foldersDict;
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/FileHelper.vb b/imagecatalog.backup/FileHelper.vb
deleted file mode 100644
index d8b9f3d..0000000
--- a/imagecatalog.backup/FileHelper.vb
+++ /dev/null
@@ -1,252 +0,0 @@
-Imports System.Collections.Concurrent
-Imports System.IO
-Imports System.Collections.Generic
-Imports MaddoShared
-
-Public Class FileHelper
- 'Private dirSourceDest As Dictionary(Of FileInfo, DirectoryInfo)
- Private filesPerFolder As Integer
- Private suffix As String
- Private counterSize As Integer
- Private numerationType As Integer
- Private filter As String
- Private separateFiles As Boolean
- Private extensions As String = "*.jpg,*.png,*.gif"
-
-
- Public Enum numerazione
- Progressiva
- Files
- End Enum
- '''
- ''' Preparazione per la separazione
- '''
- '''
- '''
- '''
- '''
- '''
- Public Sub New(ByVal filesPerFolder As Integer, ByVal suffix As String, ByVal counterSize As Integer, ByVal numerationType As Integer)
- Me.filesPerFolder = filesPerFolder
- Me.suffix = suffix
- Me.counterSize = counterSize
- Me.numerationType = numerationType
- Me.separateFiles = True
- End Sub
-
- '''
- ''' nessuna separazione
- '''
- '''
- Public Sub New()
- Me.separateFiles = False
- End Sub
-
-
- Public Function GetFilesRecursive(ByVal root As DirectoryInfo, ByVal destRoot As DirectoryInfo, ByVal filter As String) As Dictionary(Of FileInfo, DirectoryInfo)
- Dim dirSourceDest As New Dictionary(Of FileInfo, DirectoryInfo)
- Dim result As New List(Of FileInfo)
-
- 'Dim stack As New Stack(Of DirectoryInfo)
- Dim stack As New Stack(Of KeyValuePair(Of DirectoryInfo, DirectoryInfo))
-
-
- Me.filter = filter
- Dim pair As New KeyValuePair(Of DirectoryInfo, DirectoryInfo)
-
-
- 'stack.Push(root)
- stack.Push(New KeyValuePair(Of DirectoryInfo, DirectoryInfo)(root, destRoot))
-
- Do While (stack.Count > 0)
- Dim curDirKV As KeyValuePair(Of DirectoryInfo, DirectoryInfo) = stack.Pop
- 'curDirKP = stack.Pop()
- Dim dir As DirectoryInfo = curDirKV.Key
- Dim dDir As DirectoryInfo = curDirKV.Value
- Try
- 'result.AddRange(dir.GetFiles(filter, SearchOption.TopDirectoryOnly))
- ' dividere file qui
- If filesPerFolder > 0 And separateFiles Then
- appendDictionary(dirSourceDest, dividiFilesInDir(dir, dDir))
- Else
- appendDictionary(dirSourceDest, getAllFilesInDir(dir, dDir))
- End If
-
-
-
- For Each subDirectory As DirectoryInfo In dir.GetDirectories
- stack.Push(New KeyValuePair(Of DirectoryInfo, DirectoryInfo)(subDirectory, New DirectoryInfo(Path.Combine(dDir.FullName, subDirectory.Name))))
-
- Next
- Catch ex As Exception
- Dim e As Exception = ex.Demystify()
- Console.WriteLine(e)
- Console.WriteLine(e.Message)
- Console.WriteLine(e.StackTrace)
- End Try
- Loop
-
- Return dirSourceDest
- End Function
-
- 'Public Class FileData
- ' Public File As FileInfo
- ' Public Directory As DirectoryInfo
- ' Public Sub New(newFile As FileInfo, newDirectory As DirectoryInfo)
- ' File = newFile
- ' Directory = newDirectory
- ' End Sub
- 'End Class
-
- 'Public Function GetFilesRecursiveParallel(ByVal root As DirectoryInfo, ByVal destRoot As DirectoryInfo, ByVal filter As String) As List(Of FileData)
-
-
- ' Dim dirSourceDest As New ConcurrentDictionary(Of FileInfo, DirectoryInfo)
- ' Dim result As New List(Of FileInfo)
-
- ' 'Dim stack As New Stack(Of DirectoryInfo)
- ' Dim stack As New Stack(Of KeyValuePair(Of DirectoryInfo, DirectoryInfo))
-
-
- ' Me.filter = filter
- ' Dim pair As New KeyValuePair(Of DirectoryInfo, DirectoryInfo)
-
-
- ' 'stack.Push(root)
- ' stack.Push(New KeyValuePair(Of DirectoryInfo, DirectoryInfo)(root, destRoot))
-
- ' Do While (stack.Count > 0)
- ' Dim curDirKV As KeyValuePair(Of DirectoryInfo, DirectoryInfo) = stack.Pop
- ' 'curDirKP = stack.Pop()
- ' Dim dir As DirectoryInfo = curDirKV.Key
- ' Dim dDir As DirectoryInfo = curDirKV.Value
- ' Try
- ' 'result.AddRange(dir.GetFiles(filter, SearchOption.TopDirectoryOnly))
- ' ' dividere file qui
- ' If filesPerFolder > 0 And separateFiles Then
- ' AppendDictionaryConcurrent(dirSourceDest, DividiFilesInDirConcurrent(dir, dDir))
- ' Else
- ' AppendDictionaryConcurrent(dirSourceDest, DividiFilesInDirConcurrent(dir, dDir))
- ' End If
-
- ' For Each subDirectory As DirectoryInfo In dir.GetDirectories
- ' stack.Push(New KeyValuePair(Of DirectoryInfo, DirectoryInfo)(subDirectory, New DirectoryInfo(Path.Combine(dDir.FullName, subDirectory.Name))))
-
- ' Next
- ' Catch ex As Exception
- ' ' TODO: FARE QUALCOSA
- ' End Try
- ' Loop
-
- ' Dim resultData As New List(Of FileData)
- ' resultData.AddRange(From p In dirSourceDest Select New FileData(p.Key, p.Value))
- ' Return resultData
- ' 'Return dirSourceDest
- 'End Function
-
- Public Function appendDictionary(ByVal dictA As Dictionary(Of FileInfo, DirectoryInfo), ByVal dictB As Dictionary(Of FileInfo, DirectoryInfo)) As Dictionary(Of FileInfo, DirectoryInfo)
- For Each pair As KeyValuePair(Of FileInfo, DirectoryInfo) In dictB
- dictA.Add(pair.Key, pair.Value)
- Next
- Return dictA
- End Function
-
- 'Public Function AppendDictionaryConcurrent(ByVal dictA As ConcurrentDictionary(Of FileInfo, DirectoryInfo), ByVal dictB As ConcurrentDictionary(Of FileInfo, DirectoryInfo)) As ConcurrentDictionary(Of FileInfo, DirectoryInfo)
- ' For Each pair As KeyValuePair(Of FileInfo, DirectoryInfo) In dictB
- ' dictA.TryAdd(pair.Key, pair.Value)
- ' 'dictA.Add(pair.Key, pair.Value)
- ' Next
- ' Return dictA
- 'End Function
-
- Public Function getAllFilesInDir(dir As DirectoryInfo, dirDest As DirectoryInfo) As Dictionary(Of FileInfo, DirectoryInfo)
- Dim dict As New Dictionary(Of FileInfo, DirectoryInfo)
- For Each File As FileInfo In dir.GetFiles(filter)
- dict.Add(File, New DirectoryInfo(Path.Combine(dirDest.FullName, File.Name)))
-
- Next
- Return dict
- End Function
-
- Private Function dividiFilesInDir(dir As DirectoryInfo, dirDest As DirectoryInfo) As Dictionary(Of FileInfo, DirectoryInfo)
- Dim filesCount As Integer = dir.GetFiles(filter).Count
- Dim contaFilePerDir As Integer = 0
- Dim contaDirPerDir As Integer = 0
- Dim tempText As String = String.Empty
- Dim foldersDict As New Dictionary(Of FileInfo, DirectoryInfo)
-
- Dim destDir As DirectoryInfo
- destDir = New DirectoryInfo(Path.Combine(dirDest.FullName))
- For Each file As FileInfo In dir.GetFiles(filter)
-
- contaFilePerDir += 1
-
- If contaFilePerDir = (contaDirPerDir * filesPerFolder) + 1 Then
- contaDirPerDir += 1
-
- If numerationType = numerazione.Progressiva Then
- tempText = contaDirPerDir.ToString
- Else
- tempText = (contaDirPerDir * filesPerFolder).ToString
- End If
- Dim i As Integer
- For i = 1 To (counterSize - tempText.Length)
- tempText = "0" & tempText
- Next
- destDir = New DirectoryInfo(Path.Combine(dirDest.FullName, suffix + tempText))
-
-
-
- End If
-
- If Not destDir.Exists Then
- destDir.Create()
- End If
-
- foldersDict.Add(file, destDir)
- Next
-
- Return foldersDict
- End Function
-
- Private Function DividiFilesInDirConcurrent(dir As DirectoryInfo, dirDest As DirectoryInfo) As ConcurrentDictionary(Of FileInfo, DirectoryInfo)
- Dim filesCount As Integer = dir.GetFiles(filter).Count
- Dim contaFilePerDir As Integer = 0
- Dim contaDirPerDir As Integer = 0
- Dim tempText As String = String.Empty
- Dim foldersDict As New ConcurrentDictionary(Of FileInfo, DirectoryInfo)
-
- Dim destDir As DirectoryInfo
- destDir = New DirectoryInfo(Path.Combine(dirDest.FullName))
- For Each file As FileInfo In dir.GetFiles(filter)
-
- contaFilePerDir += 1
-
- If contaFilePerDir = (contaDirPerDir * filesPerFolder) + 1 Then
- contaDirPerDir += 1
-
- If numerationType = numerazione.Progressiva Then
- tempText = contaDirPerDir.ToString
- Else
- tempText = (contaDirPerDir * filesPerFolder).ToString
- End If
- Dim i As Integer
- For i = 1 To (counterSize - tempText.Length)
- tempText = "0" & tempText
- Next
- destDir = New DirectoryInfo(Path.Combine(dirDest.FullName, suffix + tempText))
-
-
-
- End If
-
- If Not destDir.Exists Then
- destDir.Create()
- End If
-
- foldersDict.TryAdd(file, destDir)
- Next
-
- Return foldersDict
- End Function
-End Class
diff --git a/imagecatalog.backup/FodyWeavers.xml b/imagecatalog.backup/FodyWeavers.xml
deleted file mode 100644
index a5dcf04..0000000
--- a/imagecatalog.backup/FodyWeavers.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/imagecatalog.backup/FodyWeavers.xsd b/imagecatalog.backup/FodyWeavers.xsd
deleted file mode 100644
index 44a5374..0000000
--- a/imagecatalog.backup/FodyWeavers.xsd
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks
-
-
-
-
- A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.
-
-
-
-
- A list of unmanaged 32 bit assembly names to include, delimited with line breaks.
-
-
-
-
- A list of unmanaged 64 bit assembly names to include, delimited with line breaks.
-
-
-
-
- The order of preloaded assemblies, delimited with line breaks.
-
-
-
-
-
- This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file.
-
-
-
-
- Controls if .pdbs for reference assemblies are also embedded.
-
-
-
-
- Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option.
-
-
-
-
- As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off.
-
-
-
-
- Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code.
-
-
-
-
- Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior.
-
-
-
-
- A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with |
-
-
-
-
- A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |.
-
-
-
-
- A list of unmanaged 32 bit assembly names to include, delimited with |.
-
-
-
-
- A list of unmanaged 64 bit assembly names to include, delimited with |.
-
-
-
-
- The order of preloaded assemblies, delimited with |.
-
-
-
-
-
-
-
- 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.
-
-
-
-
- A comma-separated list of error codes that can be safely ignored in assembly verification.
-
-
-
-
- 'false' to turn off automatic generation of the XML Schema file.
-
-
-
-
-
\ No newline at end of file
diff --git a/imagecatalog.backup/Form1.cs b/imagecatalog.backup/Form1.cs
deleted file mode 100644
index 1f86a2d..0000000
--- a/imagecatalog.backup/Form1.cs
+++ /dev/null
@@ -1,3281 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Drawing;
-using System.IO;
-using System.Runtime.CompilerServices;
-using System.Threading;
-using System.Windows.Forms;
-using CatalogVbLib;
-using Microsoft.VisualBasic;
-using Microsoft.VisualBasic.CompilerServices;
-
-namespace ImageCatalog
-{
- public delegate void XyThreadAddold(string Info);
-
- public class Form1 : Form
- {
-
- /* TODO ERROR: Skipped RegionDirectiveTrivia */
- public Form1() : base()
- {
- base.Load += Form1_Load;
-
- // This call is required by the Windows Form Designer.
- InitializeComponent();
-
- // Add any initialization after the InitializeComponent() call
-
- }
-
- // Form overrides dispose to clean up the component list.
- protected override void Dispose(bool disposing)
- {
- if (disposing)
- {
- if (components is object)
- {
- components.Dispose();
- }
- }
-
- base.Dispose(disposing);
- }
-
- // Required by the Windows Form Designer
- private System.ComponentModel.IContainer components;
-
- // NOTE: The following procedure is required by the Windows Form Designer
- // It can be modified using the Windows Form Designer.
- // Do not modify it using the code editor.
- private Button _Button1;
-
- internal Button Button1
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button1;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button1 != null)
- {
- _Button1.Click -= btnCreaCatalogo_Click;
- }
-
- _Button1 = value;
- if (_Button1 != null)
- {
- _Button1.Click += btnCreaCatalogo_Click;
- }
- }
- }
-
- internal Label Label10;
- internal Label Label17;
- internal Label Label18;
- internal Label Label19;
- internal Label Label20;
- private Button _Button6;
-
- internal Button Button6
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button6;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button6 != null)
- {
- _Button6.Click -= Button6_Click;
- }
-
- _Button6 = value;
- if (_Button6 != null)
- {
- _Button6.Click += Button6_Click;
- }
- }
- }
-
- private Button _Button5;
-
- internal Button Button5
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button5;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button5 != null)
- {
- _Button5.Click -= Button5_Click;
- }
-
- _Button5 = value;
- if (_Button5 != null)
- {
- _Button5.Click += Button5_Click;
- }
- }
- }
-
- private Button _Button7;
-
- internal Button Button7
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button7;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button7 != null)
- {
- _Button7.Click -= Button7_Click;
- }
-
- _Button7 = value;
- if (_Button7 != null)
- {
- _Button7.Click += Button7_Click;
- }
- }
- }
-
- internal Label Label27;
- internal TextBox TextBox13;
- internal Label Label16;
- internal Label Label7;
- internal TextBox TextBox7;
- internal Label Label8;
- internal TextBox TextBox8;
- internal CheckBox CheckBox2;
- internal Label Label43;
- internal CheckBox CheckBox22;
- internal TabPage TabPage4;
- internal GroupBox GroupBox6;
- internal PictureBox PictureBox2;
- private PictureBox _PictureBox1;
-
- internal PictureBox PictureBox1
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _PictureBox1;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_PictureBox1 != null)
- {
- _PictureBox1.MouseMove -= PictureBox1_MouseMove;
- _PictureBox1.MouseUp -= PictureBox1_MouseUp;
- }
-
- _PictureBox1 = value;
- if (_PictureBox1 != null)
- {
- _PictureBox1.MouseMove += PictureBox1_MouseMove;
- _PictureBox1.MouseUp += PictureBox1_MouseUp;
- }
- }
- }
-
- internal ComboBox ComboBox5;
- internal ComboBox ComboBox4;
- internal TextBox TextBox19;
- internal Label Label28;
- internal CheckBox CheckBox5;
- internal TextBox TextBox15;
- internal TextBox TextBox14;
- internal Label Label25;
- internal TextBox TextBox16;
- internal Label Label24;
- internal Label Label22;
- internal Label Label23;
- private Button _Button4;
-
- internal Button Button4
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button4;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button4 != null)
- {
- _Button4.Click -= Button4_Click;
- }
-
- _Button4 = value;
- if (_Button4 != null)
- {
- _Button4.Click += Button4_Click;
- }
- }
- }
-
- internal TextBox TextBox10;
- internal Label Label29;
- internal Label Label30;
- internal PictureBox PictureBox3;
- internal TabPage TabPage1;
- internal GroupBox GroupBox1;
- internal Panel Panel2;
- internal RadioButton RadioButton3;
- internal RadioButton RadioButton7;
- internal RadioButton RadioButton4;
- internal RadioButton RadioButton6;
- internal RadioButton RadioButton5;
- internal Label Label5;
- internal TextBox TextBox5;
- internal Label Label6;
- internal TextBox TextBox6;
- internal Label Label3;
- internal TextBox TextBox3;
- internal CheckBox CheckBox1;
- internal TabPage TabPage2;
- internal GroupBox GroupBox2;
- internal TextBox TextBox26;
- internal Label Label37;
- internal Label Label38;
- internal TextBox TextBox27;
- internal Label Label39;
- internal TextBox TextBox28;
- internal CheckBox CheckBox15;
- internal TabPage TabPage3;
- internal GroupBox GroupBox10;
- internal Label Label42;
- internal Label Label41;
- internal TextBox TextBox31;
- internal TextBox TextBox30;
- internal GroupBox GroupBox9;
- internal CheckBox CheckBox17;
- internal CheckBox CheckBox16;
- internal GroupBox GroupBox5;
- private Button _Button8;
-
- internal Button Button8
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button8;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button8 != null)
- {
- _Button8.Click -= Button8_Click;
- }
-
- _Button8 = value;
- if (_Button8 != null)
- {
- _Button8.Click += Button8_Click;
- }
- }
- }
-
- internal Label Label36;
- internal TextBox TextBox25;
- internal Label Label35;
- internal ComboBox ComboBox3;
- internal TextBox TextBox11;
- internal Label Label12;
- internal Label Label11;
- internal CheckBox CheckBox3;
- internal GroupBox GroupBox4;
- internal Label Label40;
- internal TextBox TextBox29;
- internal TextBox TextBox18;
- internal Label Label26;
- internal DateTimePicker DateTimePicker1;
- internal CheckBox CheckBox8;
- internal TextBox TextBox9;
- internal CheckBox CheckBox7;
- internal Label Label4;
- internal TextBox TextBox4;
- internal Label Label9;
- internal Label Label13;
- internal ComboBox ComboBox1;
- internal ComboBox ComboBox2;
- internal Label Label14;
- internal TextBox TextBox12;
- internal Label Label15;
- internal TabPage TabPage5;
- internal GroupBox GroupBox3;
- internal CheckBox CheckBox6;
- private Button _Button3;
-
- internal Button Button3
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button3;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button3 != null)
- {
- _Button3.Click -= Button3_Click;
- }
-
- _Button3 = value;
- if (_Button3 != null)
- {
- _Button3.Click += Button3_Click;
- }
- }
- }
-
- private Button _Button2;
-
- internal Button Button2
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button2;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button2 != null)
- {
- _Button2.Click -= Button2_Click;
- }
-
- _Button2 = value;
- if (_Button2 != null)
- {
- _Button2.Click += Button2_Click;
- }
- }
- }
-
- internal Label Label1;
- internal Label Label2;
- internal TextBox TextBox1;
- internal TextBox TextBox2;
- internal GroupBox GroupBox8;
- internal RadioButton RadioButton2;
- internal RadioButton RadioButton1;
- internal TextBox TextBox21;
- internal Label Label34;
- internal TextBox TextBox20;
- internal Label Label33;
- internal Label Label31;
- internal CheckBox CheckBox11;
- internal TextBox TextBox17;
- internal Label Label32;
- internal GroupBox GroupBox7;
- internal CheckBox CheckBox10;
- internal CheckBox CheckBox9;
- internal TabControl TabControl1;
- internal Label Label45;
- internal TextBox TextBox32;
- internal TextBox TextBox33;
- internal TextBox TextBox34;
- internal Label Label46;
- internal ProgressBar ProgressBar1;
- internal Panel Panel1;
- private CheckBox _CheckBox18;
-
- internal CheckBox CheckBox18
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _CheckBox18;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_CheckBox18 != null)
- {
- _CheckBox18.CheckedChanged -= CheckBox18_CheckedChanged;
- }
-
- _CheckBox18 = value;
- if (_CheckBox18 != null)
- {
- _CheckBox18.CheckedChanged += CheckBox18_CheckedChanged;
- }
- }
- }
-
- private CheckBox _CheckBox4;
-
- internal CheckBox CheckBox4
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _CheckBox4;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_CheckBox4 != null)
- {
- _CheckBox4.CheckedChanged -= CheckBox4_CheckedChanged;
- }
-
- _CheckBox4 = value;
- if (_CheckBox4 != null)
- {
- _CheckBox4.CheckedChanged += CheckBox4_CheckedChanged;
- }
- }
- }
-
- private CheckBox _CheckBox12;
-
- internal CheckBox CheckBox12
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _CheckBox12;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_CheckBox12 != null)
- {
- _CheckBox12.CheckedChanged -= CheckBox12_CheckedChanged;
- }
-
- _CheckBox12 = value;
- if (_CheckBox12 != null)
- {
- _CheckBox12.CheckedChanged += CheckBox12_CheckedChanged;
- }
- }
- }
-
- internal Label Label44;
-
- [DebuggerStepThrough()]
- private void InitializeComponent()
- {
- _Button1 = new Button();
- _Button1.Click += new EventHandler(btnCreaCatalogo_Click);
- Label10 = new Label();
- Label17 = new Label();
- Label18 = new Label();
- Label19 = new Label();
- Label20 = new Label();
- _Button6 = new Button();
- _Button6.Click += new EventHandler(Button6_Click);
- _Button5 = new Button();
- _Button5.Click += new EventHandler(Button5_Click);
- _Button7 = new Button();
- _Button7.Click += new EventHandler(Button7_Click);
- Label27 = new Label();
- TextBox13 = new TextBox();
- Label16 = new Label();
- Label7 = new Label();
- TextBox7 = new TextBox();
- Label8 = new Label();
- TextBox8 = new TextBox();
- CheckBox2 = new CheckBox();
- Label43 = new Label();
- CheckBox22 = new CheckBox();
- Label44 = new Label();
- TabPage4 = new TabPage();
- GroupBox6 = new GroupBox();
- PictureBox2 = new PictureBox();
- _PictureBox1 = new PictureBox();
- _PictureBox1.MouseMove += new MouseEventHandler(PictureBox1_MouseMove);
- _PictureBox1.MouseUp += new MouseEventHandler(PictureBox1_MouseUp);
- ComboBox5 = new ComboBox();
- ComboBox4 = new ComboBox();
- TextBox19 = new TextBox();
- Label28 = new Label();
- CheckBox5 = new CheckBox();
- TextBox15 = new TextBox();
- TextBox14 = new TextBox();
- Label25 = new Label();
- TextBox16 = new TextBox();
- Label24 = new Label();
- Label22 = new Label();
- Label23 = new Label();
- _Button4 = new Button();
- _Button4.Click += new EventHandler(Button4_Click);
- TextBox10 = new TextBox();
- Label29 = new Label();
- Label30 = new Label();
- PictureBox3 = new PictureBox();
- TabPage1 = new TabPage();
- GroupBox1 = new GroupBox();
- Label46 = new Label();
- TextBox33 = new TextBox();
- Panel2 = new Panel();
- RadioButton3 = new RadioButton();
- RadioButton7 = new RadioButton();
- RadioButton4 = new RadioButton();
- RadioButton6 = new RadioButton();
- RadioButton5 = new RadioButton();
- Label5 = new Label();
- TextBox5 = new TextBox();
- Label6 = new Label();
- TextBox6 = new TextBox();
- Label3 = new Label();
- TextBox3 = new TextBox();
- CheckBox1 = new CheckBox();
- TabPage2 = new TabPage();
- GroupBox2 = new GroupBox();
- Label45 = new Label();
- TextBox32 = new TextBox();
- TextBox26 = new TextBox();
- Label37 = new Label();
- Label38 = new Label();
- TextBox27 = new TextBox();
- Label39 = new Label();
- TextBox28 = new TextBox();
- CheckBox15 = new CheckBox();
- TabPage3 = new TabPage();
- GroupBox10 = new GroupBox();
- Label42 = new Label();
- Label41 = new Label();
- TextBox31 = new TextBox();
- TextBox30 = new TextBox();
- GroupBox9 = new GroupBox();
- CheckBox17 = new CheckBox();
- CheckBox16 = new CheckBox();
- GroupBox5 = new GroupBox();
- TextBox34 = new TextBox();
- _Button8 = new Button();
- _Button8.Click += new EventHandler(Button8_Click);
- Label36 = new Label();
- TextBox25 = new TextBox();
- Label35 = new Label();
- ComboBox3 = new ComboBox();
- TextBox11 = new TextBox();
- Label12 = new Label();
- Label11 = new Label();
- CheckBox3 = new CheckBox();
- GroupBox4 = new GroupBox();
- Label40 = new Label();
- TextBox29 = new TextBox();
- TextBox18 = new TextBox();
- Label26 = new Label();
- DateTimePicker1 = new DateTimePicker();
- CheckBox8 = new CheckBox();
- TextBox9 = new TextBox();
- CheckBox7 = new CheckBox();
- Label4 = new Label();
- TextBox4 = new TextBox();
- Label9 = new Label();
- Label13 = new Label();
- ComboBox1 = new ComboBox();
- ComboBox2 = new ComboBox();
- Label14 = new Label();
- TextBox12 = new TextBox();
- Label15 = new Label();
- TabPage5 = new TabPage();
- GroupBox3 = new GroupBox();
- CheckBox6 = new CheckBox();
- _Button3 = new Button();
- _Button3.Click += new EventHandler(Button3_Click);
- _Button2 = new Button();
- _Button2.Click += new EventHandler(Button2_Click);
- Label1 = new Label();
- Label2 = new Label();
- TextBox1 = new TextBox();
- TextBox2 = new TextBox();
- GroupBox8 = new GroupBox();
- RadioButton2 = new RadioButton();
- RadioButton1 = new RadioButton();
- TextBox21 = new TextBox();
- Label34 = new Label();
- TextBox20 = new TextBox();
- Label33 = new Label();
- Label31 = new Label();
- CheckBox11 = new CheckBox();
- TextBox17 = new TextBox();
- Label32 = new Label();
- GroupBox7 = new GroupBox();
- CheckBox10 = new CheckBox();
- CheckBox9 = new CheckBox();
- TabControl1 = new TabControl();
- ProgressBar1 = new ProgressBar();
- _CheckBox12 = new CheckBox();
- _CheckBox12.CheckedChanged += new EventHandler(CheckBox12_CheckedChanged);
- _CheckBox4 = new CheckBox();
- _CheckBox4.CheckedChanged += new EventHandler(CheckBox4_CheckedChanged);
- _CheckBox18 = new CheckBox();
- _CheckBox18.CheckedChanged += new EventHandler(CheckBox18_CheckedChanged);
- Panel1 = new Panel();
- TabPage4.SuspendLayout();
- GroupBox6.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)PictureBox2).BeginInit();
- ((System.ComponentModel.ISupportInitialize)_PictureBox1).BeginInit();
- ((System.ComponentModel.ISupportInitialize)PictureBox3).BeginInit();
- TabPage1.SuspendLayout();
- GroupBox1.SuspendLayout();
- Panel2.SuspendLayout();
- TabPage2.SuspendLayout();
- GroupBox2.SuspendLayout();
- TabPage3.SuspendLayout();
- GroupBox10.SuspendLayout();
- GroupBox9.SuspendLayout();
- GroupBox5.SuspendLayout();
- GroupBox4.SuspendLayout();
- TabPage5.SuspendLayout();
- GroupBox3.SuspendLayout();
- GroupBox8.SuspendLayout();
- GroupBox7.SuspendLayout();
- TabControl1.SuspendLayout();
- Panel1.SuspendLayout();
- SuspendLayout();
- //
- // Button1
- //
- _Button1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
- _Button1.Location = new Point(539, 77);
- _Button1.Name = "_Button1";
- _Button1.Size = new Size(192, 39);
- _Button1.TabIndex = 2;
- _Button1.Text = "crea catalogo";
- //
- // Label10
- //
- Label10.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
- Label10.Location = new Point(539, 163);
- Label10.Name = "Label10";
- Label10.Size = new Size(192, 72);
- Label10.TabIndex = 21;
- Label10.Text = "file";
- //
- // Label17
- //
- Label17.AutoSize = true;
- Label17.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
- Label17.Location = new Point(643, 243);
- Label17.Name = "Label17";
- Label17.Size = new Size(19, 20);
- Label17.TabIndex = 38;
- Label17.Text = "0";
- //
- // Label18
- //
- Label18.AutoSize = true;
- Label18.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
- Label18.Location = new Point(643, 262);
- Label18.Name = "Label18";
- Label18.Size = new Size(19, 20);
- Label18.TabIndex = 39;
- Label18.Text = "0";
- //
- // Label19
- //
- Label19.AutoSize = true;
- Label19.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
- Label19.Location = new Point(539, 243);
- Label19.Name = "Label19";
- Label19.Size = new Size(80, 16);
- Label19.TabIndex = 40;
- Label19.Text = "foto totali: ";
- //
- // Label20
- //
- Label20.AutoSize = true;
- Label20.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
- Label20.Location = new Point(539, 262);
- Label20.Name = "Label20";
- Label20.Size = new Size(104, 16);
- Label20.TabIndex = 41;
- Label20.Text = "foto generate:";
- //
- // Button6
- //
- _Button6.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
- _Button6.Location = new Point(539, 12);
- _Button6.Name = "_Button6";
- _Button6.Size = new Size(192, 32);
- _Button6.TabIndex = 12;
- _Button6.Text = "Carica impostazioni";
- //
- // Button5
- //
- _Button5.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
- _Button5.Location = new Point(539, 43);
- _Button5.Name = "_Button5";
- _Button5.Size = new Size(192, 32);
- _Button5.TabIndex = 43;
- _Button5.Text = "Salva impostazioni";
- //
- // Button7
- //
- _Button7.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
- _Button7.Location = new Point(539, 120);
- _Button7.Name = "_Button7";
- _Button7.Size = new Size(192, 40);
- _Button7.TabIndex = 44;
- _Button7.Text = "stop creazione";
- //
- // Label27
- //
- Label27.Location = new Point(591, 346);
- Label27.Name = "Label27";
- Label27.Size = new Size(140, 20);
- Label27.TabIndex = 46;
- Label27.Text = "Versione 2.0 BETA 1";
- Label27.TextAlign = ContentAlignment.MiddleRight;
- //
- // TextBox13
- //
- TextBox13.Location = new Point(224, 48);
- TextBox13.Name = "TextBox13";
- TextBox13.Size = new Size(56, 20);
- TextBox13.TabIndex = 20;
- TextBox13.Text = "TextBox13";
- //
- // Label16
- //
- Label16.ForeColor = Color.Black;
- Label16.Location = new Point(168, 48);
- Label16.Name = "Label16";
- Label16.Size = new Size(48, 16);
- Label16.TabIndex = 19;
- Label16.Text = "Suffisso";
- Label16.TextAlign = ContentAlignment.MiddleRight;
- //
- // Label7
- //
- Label7.AutoSize = true;
- Label7.ForeColor = Color.Black;
- Label7.Location = new Point(24, 24);
- Label7.Name = "Label7";
- Label7.Size = new Size(41, 13);
- Label7.TabIndex = 16;
- Label7.Text = "Altezza";
- //
- // TextBox7
- //
- TextBox7.Location = new Point(72, 24);
- TextBox7.Name = "TextBox7";
- TextBox7.Size = new Size(72, 20);
- TextBox7.TabIndex = 14;
- TextBox7.Text = "TextBox7";
- //
- // Label8
- //
- Label8.AutoSize = true;
- Label8.ForeColor = Color.Black;
- Label8.Location = new Point(8, 48);
- Label8.Name = "Label8";
- Label8.Size = new Size(56, 13);
- Label8.TabIndex = 17;
- Label8.Text = "Larghezza";
- //
- // TextBox8
- //
- TextBox8.Location = new Point(72, 48);
- TextBox8.Name = "TextBox8";
- TextBox8.Size = new Size(72, 20);
- TextBox8.TabIndex = 15;
- TextBox8.Text = "TextBox8";
- //
- // CheckBox2
- //
- CheckBox2.Checked = true;
- CheckBox2.CheckState = CheckState.Checked;
- CheckBox2.ForeColor = Color.Black;
- CheckBox2.Location = new Point(168, 16);
- CheckBox2.Name = "CheckBox2";
- CheckBox2.Size = new Size(120, 32);
- CheckBox2.TabIndex = 18;
- CheckBox2.Text = "Mantieni dimensioni originali";
- //
- // Label43
- //
- Label43.AutoSize = true;
- Label43.Location = new Point(651, 303);
- Label43.Name = "Label43";
- Label43.Size = new Size(25, 13);
- Label43.TabIndex = 49;
- Label43.Text = "000";
- //
- // CheckBox22
- //
- CheckBox22.AutoSize = true;
- CheckBox22.Location = new Point(539, 326);
- CheckBox22.Name = "CheckBox22";
- CheckBox22.Size = new Size(104, 17);
- CheckBox22.TabIndex = 50;
- CheckBox22.Text = "Arresta il sistema";
- CheckBox22.UseVisualStyleBackColor = true;
- //
- // Label44
- //
- Label44.AutoSize = true;
- Label44.Location = new Point(539, 303);
- Label44.Name = "Label44";
- Label44.Size = new Size(106, 13);
- Label44.TabIndex = 51;
- Label44.Text = "Tempo elaborazione:";
- //
- // TabPage4
- //
- TabPage4.Controls.Add(GroupBox6);
- TabPage4.Location = new Point(4, 22);
- TabPage4.Name = "TabPage4";
- TabPage4.Padding = new Padding(3);
- TabPage4.Size = new Size(513, 326);
- TabPage4.TabIndex = 3;
- TabPage4.Text = "Logo";
- TabPage4.UseVisualStyleBackColor = true;
- //
- // GroupBox6
- //
- GroupBox6.Controls.Add(PictureBox2);
- GroupBox6.Controls.Add(_PictureBox1);
- GroupBox6.Controls.Add(ComboBox5);
- GroupBox6.Controls.Add(ComboBox4);
- GroupBox6.Controls.Add(TextBox19);
- GroupBox6.Controls.Add(Label28);
- GroupBox6.Controls.Add(CheckBox5);
- GroupBox6.Controls.Add(TextBox15);
- GroupBox6.Controls.Add(TextBox14);
- GroupBox6.Controls.Add(Label25);
- GroupBox6.Controls.Add(TextBox16);
- GroupBox6.Controls.Add(Label24);
- GroupBox6.Controls.Add(Label22);
- GroupBox6.Controls.Add(Label23);
- GroupBox6.Controls.Add(_Button4);
- GroupBox6.Controls.Add(TextBox10);
- GroupBox6.Controls.Add(Label29);
- GroupBox6.Controls.Add(Label30);
- GroupBox6.Controls.Add(PictureBox3);
- GroupBox6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(192)));
- GroupBox6.Location = new Point(6, 6);
- GroupBox6.Name = "GroupBox6";
- GroupBox6.Size = new Size(496, 224);
- GroupBox6.TabIndex = 42;
- GroupBox6.TabStop = false;
- GroupBox6.Text = "Logo";
- //
- // PictureBox2
- //
- PictureBox2.BorderStyle = BorderStyle.FixedSingle;
- PictureBox2.Location = new Point(144, 192);
- PictureBox2.Name = "PictureBox2";
- PictureBox2.Size = new Size(24, 24);
- PictureBox2.TabIndex = 44;
- PictureBox2.TabStop = false;
- PictureBox2.Visible = false;
- //
- // PictureBox1
- //
- _PictureBox1.Cursor = Cursors.Cross;
- _PictureBox1.Location = new Point(256, 56);
- _PictureBox1.Name = "_PictureBox1";
- _PictureBox1.Size = new Size(224, 160);
- _PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
- _PictureBox1.TabIndex = 43;
- _PictureBox1.TabStop = false;
- //
- // ComboBox5
- //
- ComboBox5.Location = new Point(144, 168);
- ComboBox5.Name = "ComboBox5";
- ComboBox5.Size = new Size(96, 21);
- ComboBox5.TabIndex = 42;
- ComboBox5.Text = "ComboBox5";
- //
- // ComboBox4
- //
- ComboBox4.Location = new Point(144, 144);
- ComboBox4.Name = "ComboBox4";
- ComboBox4.Size = new Size(96, 21);
- ComboBox4.TabIndex = 41;
- ComboBox4.Text = "ComboBox4";
- //
- // TextBox19
- //
- TextBox19.Location = new Point(144, 96);
- TextBox19.Name = "TextBox19";
- TextBox19.Size = new Size(96, 20);
- TextBox19.TabIndex = 40;
- TextBox19.Text = "TextBox19";
- //
- // Label28
- //
- Label28.ForeColor = Color.Black;
- Label28.Location = new Point(17, 97);
- Label28.Name = "Label28";
- Label28.Size = new Size(120, 16);
- Label28.TabIndex = 39;
- Label28.Text = "Trasparenza (0-100%)";
- Label28.TextAlign = ContentAlignment.MiddleLeft;
- //
- // CheckBox5
- //
- CheckBox5.ForeColor = Color.Black;
- CheckBox5.Location = new Point(0, 26);
- CheckBox5.Name = "CheckBox5";
- CheckBox5.Size = new Size(72, 20);
- CheckBox5.TabIndex = 38;
- CheckBox5.Text = "Aggiungi";
- //
- // TextBox15
- //
- TextBox15.Location = new Point(144, 72);
- TextBox15.Name = "TextBox15";
- TextBox15.Size = new Size(96, 20);
- TextBox15.TabIndex = 19;
- TextBox15.Text = "TextBox15";
- //
- // TextBox14
- //
- TextBox14.Location = new Point(144, 48);
- TextBox14.Name = "TextBox14";
- TextBox14.Size = new Size(96, 20);
- TextBox14.TabIndex = 18;
- TextBox14.Text = "TextBox14";
- //
- // Label25
- //
- Label25.AutoSize = true;
- Label25.ForeColor = Color.Black;
- Label25.Location = new Point(17, 168);
- Label25.Name = "Label25";
- Label25.Size = new Size(95, 13);
- Label25.TabIndex = 36;
- Label25.Text = "Posizione verticale";
- Label25.TextAlign = ContentAlignment.MiddleLeft;
- //
- // TextBox16
- //
- TextBox16.Location = new Point(144, 120);
- TextBox16.Name = "TextBox16";
- TextBox16.Size = new Size(96, 20);
- TextBox16.TabIndex = 35;
- TextBox16.Text = "TextBox16";
- //
- // Label24
- //
- Label24.AutoSize = true;
- Label24.ForeColor = Color.Black;
- Label24.Location = new Point(19, 123);
- Label24.Name = "Label24";
- Label24.Size = new Size(88, 13);
- Label24.TabIndex = 34;
- Label24.Text = "Margine (pixel/%)";
- Label24.TextAlign = ContentAlignment.MiddleLeft;
- //
- // Label22
- //
- Label22.AutoSize = true;
- Label22.ForeColor = Color.Black;
- Label22.Location = new Point(19, 51);
- Label22.Name = "Label22";
- Label22.Size = new Size(41, 13);
- Label22.TabIndex = 20;
- Label22.Text = "Altezza";
- Label22.TextAlign = ContentAlignment.MiddleLeft;
- //
- // Label23
- //
- Label23.AutoSize = true;
- Label23.ForeColor = Color.Black;
- Label23.Location = new Point(19, 75);
- Label23.Name = "Label23";
- Label23.Size = new Size(56, 13);
- Label23.TabIndex = 21;
- Label23.Text = "Larghezza";
- Label23.TextAlign = ContentAlignment.MiddleLeft;
- //
- // Button4
- //
- _Button4.Location = new Point(464, 24);
- _Button4.Name = "_Button4";
- _Button4.Size = new Size(24, 20);
- _Button4.TabIndex = 8;
- _Button4.Text = "...";
- //
- // TextBox10
- //
- TextBox10.Location = new Point(144, 24);
- TextBox10.Name = "TextBox10";
- TextBox10.Size = new Size(312, 20);
- TextBox10.TabIndex = 6;
- TextBox10.Text = "TextBox10";
- //
- // Label29
- //
- Label29.AutoSize = true;
- Label29.ForeColor = Color.Black;
- Label29.Location = new Point(17, 147);
- Label29.Name = "Label29";
- Label29.Size = new Size(105, 13);
- Label29.TabIndex = 36;
- Label29.Text = "Posizione orizzontale";
- Label29.TextAlign = ContentAlignment.MiddleLeft;
- //
- // Label30
- //
- Label30.AutoSize = true;
- Label30.ForeColor = Color.Black;
- Label30.Location = new Point(19, 203);
- Label30.Name = "Label30";
- Label30.Size = new Size(93, 13);
- Label30.TabIndex = 36;
- Label30.Text = "Colore trasparente";
- Label30.TextAlign = ContentAlignment.MiddleLeft;
- Label30.Visible = false;
- //
- // PictureBox3
- //
- PictureBox3.BorderStyle = BorderStyle.FixedSingle;
- PictureBox3.Location = new Point(216, 192);
- PictureBox3.Name = "PictureBox3";
- PictureBox3.Size = new Size(24, 24);
- PictureBox3.TabIndex = 44;
- PictureBox3.TabStop = false;
- PictureBox3.Visible = false;
- //
- // TabPage1
- //
- TabPage1.Controls.Add(Panel1);
- TabPage1.Controls.Add(GroupBox1);
- TabPage1.Location = new Point(4, 22);
- TabPage1.Name = "TabPage1";
- TabPage1.Padding = new Padding(3);
- TabPage1.Size = new Size(513, 326);
- TabPage1.TabIndex = 0;
- TabPage1.Text = "Miniature";
- TabPage1.UseVisualStyleBackColor = true;
- //
- // GroupBox1
- //
- GroupBox1.Controls.Add(Label46);
- GroupBox1.Controls.Add(TextBox33);
- GroupBox1.Controls.Add(Panel2);
- GroupBox1.Controls.Add(Label5);
- GroupBox1.Controls.Add(TextBox5);
- GroupBox1.Controls.Add(Label6);
- GroupBox1.Controls.Add(TextBox6);
- GroupBox1.Controls.Add(Label3);
- GroupBox1.Controls.Add(TextBox3);
- GroupBox1.Controls.Add(CheckBox1);
- GroupBox1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(192)));
- GroupBox1.Location = new Point(6, 5);
- GroupBox1.Name = "GroupBox1";
- GroupBox1.Size = new Size(350, 210);
- GroupBox1.TabIndex = 25;
- GroupBox1.TabStop = false;
- GroupBox1.Text = "Miniature";
- //
- // Label46
- //
- Label46.AutoSize = true;
- Label46.Location = new Point(198, 43);
- Label46.Name = "Label46";
- Label46.Size = new Size(40, 13);
- Label46.TabIndex = 21;
- Label46.Text = "Qualità ";
- //
- // TextBox33
- //
- TextBox33.Location = new Point(244, 40);
- TextBox33.Name = "TextBox33";
- TextBox33.Size = new Size(100, 20);
- TextBox33.TabIndex = 20;
- //
- // Panel2
- //
- Panel2.Controls.Add(RadioButton3);
- Panel2.Controls.Add(RadioButton7);
- Panel2.Controls.Add(RadioButton4);
- Panel2.Controls.Add(RadioButton6);
- Panel2.Controls.Add(RadioButton5);
- Panel2.Location = new Point(56, 114);
- Panel2.Name = "Panel2";
- Panel2.Size = new Size(235, 90);
- Panel2.TabIndex = 19;
- //
- // RadioButton3
- //
- RadioButton3.AutoSize = true;
- RadioButton3.Location = new Point(15, 16);
- RadioButton3.Name = "RadioButton3";
- RadioButton3.Size = new Size(99, 17);
- RadioButton3.TabIndex = 14;
- RadioButton3.TabStop = true;
- RadioButton3.Text = "Aggiungi Scritta";
- RadioButton3.UseVisualStyleBackColor = true;
- //
- // RadioButton7
- //
- RadioButton7.AutoSize = true;
- RadioButton7.Location = new Point(129, 40);
- RadioButton7.Name = "RadioButton7";
- RadioButton7.Size = new Size(95, 17);
- RadioButton7.TabIndex = 18;
- RadioButton7.TabStop = true;
- RadioButton7.Text = "numero+tempo";
- RadioButton7.UseVisualStyleBackColor = true;
- //
- // RadioButton4
- //
- RadioButton4.AutoSize = true;
- RadioButton4.Location = new Point(15, 40);
- RadioButton4.Name = "RadioButton4";
- RadioButton4.Size = new Size(95, 17);
- RadioButton4.TabIndex = 15;
- RadioButton4.TabStop = true;
- RadioButton4.Text = "Aggiungi orario";
- RadioButton4.UseVisualStyleBackColor = true;
- //
- // RadioButton6
- //
- RadioButton6.AutoSize = true;
- RadioButton6.Location = new Point(129, 16);
- RadioButton6.Name = "RadioButton6";
- RadioButton6.Size = new Size(83, 17);
- RadioButton6.TabIndex = 17;
- RadioButton6.TabStop = true;
- RadioButton6.Text = "Numero foto";
- RadioButton6.UseVisualStyleBackColor = true;
- //
- // RadioButton5
- //
- RadioButton5.AutoSize = true;
- RadioButton5.Location = new Point(15, 65);
- RadioButton5.Name = "RadioButton5";
- RadioButton5.Size = new Size(84, 17);
- RadioButton5.TabIndex = 16;
- RadioButton5.TabStop = true;
- RadioButton5.Text = "Tempo Gara";
- RadioButton5.UseVisualStyleBackColor = true;
- //
- // Label5
- //
- Label5.AutoSize = true;
- Label5.ForeColor = Color.Black;
- Label5.Location = new Point(24, 88);
- Label5.Name = "Label5";
- Label5.Size = new Size(41, 13);
- Label5.TabIndex = 12;
- Label5.Text = "Altezza";
- //
- // TextBox5
- //
- TextBox5.Location = new Point(72, 64);
- TextBox5.Name = "TextBox5";
- TextBox5.Size = new Size(88, 20);
- TextBox5.TabIndex = 10;
- TextBox5.Text = "TextBox5";
- //
- // Label6
- //
- Label6.AutoSize = true;
- Label6.ForeColor = Color.Black;
- Label6.Location = new Point(8, 64);
- Label6.Name = "Label6";
- Label6.Size = new Size(56, 13);
- Label6.TabIndex = 13;
- Label6.Text = "Larghezza";
- //
- // TextBox6
- //
- TextBox6.Location = new Point(72, 88);
- TextBox6.Name = "TextBox6";
- TextBox6.Size = new Size(88, 20);
- TextBox6.TabIndex = 11;
- TextBox6.Text = "TextBox6";
- //
- // Label3
- //
- Label3.AutoSize = true;
- Label3.ForeColor = Color.Black;
- Label3.Location = new Point(24, 40);
- Label3.Name = "Label3";
- Label3.Size = new Size(44, 13);
- Label3.TabIndex = 7;
- Label3.Text = "Suffisso";
- //
- // TextBox3
- //
- TextBox3.Location = new Point(72, 40);
- TextBox3.Name = "TextBox3";
- TextBox3.Size = new Size(88, 20);
- TextBox3.TabIndex = 6;
- TextBox3.Text = "TextBox3";
- //
- // CheckBox1
- //
- CheckBox1.ForeColor = Color.Black;
- CheckBox1.Location = new Point(72, 16);
- CheckBox1.Name = "CheckBox1";
- CheckBox1.Size = new Size(104, 24);
- CheckBox1.TabIndex = 5;
- CheckBox1.Text = "Crea miniature";
- //
- // TabPage2
- //
- TabPage2.Controls.Add(GroupBox2);
- TabPage2.Location = new Point(4, 22);
- TabPage2.Name = "TabPage2";
- TabPage2.Padding = new Padding(3);
- TabPage2.Size = new Size(513, 326);
- TabPage2.TabIndex = 5;
- TabPage2.Text = "Foto";
- TabPage2.UseVisualStyleBackColor = true;
- //
- // GroupBox2
- //
- GroupBox2.Controls.Add(Label45);
- GroupBox2.Controls.Add(TextBox32);
- GroupBox2.Controls.Add(TextBox26);
- GroupBox2.Controls.Add(Label37);
- GroupBox2.Controls.Add(Label38);
- GroupBox2.Controls.Add(TextBox27);
- GroupBox2.Controls.Add(Label39);
- GroupBox2.Controls.Add(TextBox28);
- GroupBox2.Controls.Add(CheckBox15);
- GroupBox2.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(192)));
- GroupBox2.Location = new Point(3, 6);
- GroupBox2.Name = "GroupBox2";
- GroupBox2.Size = new Size(304, 156);
- GroupBox2.TabIndex = 36;
- GroupBox2.TabStop = false;
- GroupBox2.Text = "Foto grande";
- //
- // Label45
- //
- Label45.AutoSize = true;
- Label45.Location = new Point(11, 86);
- Label45.Name = "Label45";
- Label45.Size = new Size(40, 13);
- Label45.TabIndex = 22;
- Label45.Text = "Qualità ";
- //
- // TextBox32
- //
- TextBox32.Location = new Point(72, 80);
- TextBox32.Name = "TextBox32";
- TextBox32.Size = new Size(72, 20);
- TextBox32.TabIndex = 21;
- TextBox32.Text = "100";
- //
- // TextBox26
- //
- TextBox26.Location = new Point(224, 48);
- TextBox26.Name = "TextBox26";
- TextBox26.Size = new Size(56, 20);
- TextBox26.TabIndex = 20;
- TextBox26.Text = "TextBox26";
- //
- // Label37
- //
- Label37.ForeColor = Color.Black;
- Label37.Location = new Point(168, 48);
- Label37.Name = "Label37";
- Label37.Size = new Size(48, 16);
- Label37.TabIndex = 19;
- Label37.Text = "Suffisso";
- Label37.TextAlign = ContentAlignment.MiddleRight;
- //
- // Label38
- //
- Label38.AutoSize = true;
- Label38.ForeColor = Color.Black;
- Label38.Location = new Point(24, 24);
- Label38.Name = "Label38";
- Label38.Size = new Size(41, 13);
- Label38.TabIndex = 16;
- Label38.Text = "Altezza";
- //
- // TextBox27
- //
- TextBox27.Location = new Point(72, 24);
- TextBox27.Name = "TextBox27";
- TextBox27.Size = new Size(72, 20);
- TextBox27.TabIndex = 14;
- TextBox27.Text = "TextBox27";
- //
- // Label39
- //
- Label39.AutoSize = true;
- Label39.ForeColor = Color.Black;
- Label39.Location = new Point(8, 48);
- Label39.Name = "Label39";
- Label39.Size = new Size(56, 13);
- Label39.TabIndex = 17;
- Label39.Text = "Larghezza";
- //
- // TextBox28
- //
- TextBox28.Location = new Point(72, 48);
- TextBox28.Name = "TextBox28";
- TextBox28.Size = new Size(72, 20);
- TextBox28.TabIndex = 15;
- TextBox28.Text = "TextBox28";
- //
- // CheckBox15
- //
- CheckBox15.Checked = true;
- CheckBox15.CheckState = CheckState.Checked;
- CheckBox15.ForeColor = Color.Black;
- CheckBox15.Location = new Point(168, 16);
- CheckBox15.Name = "CheckBox15";
- CheckBox15.Size = new Size(120, 32);
- CheckBox15.TabIndex = 18;
- CheckBox15.Text = "Mantieni dimensioni originali";
- //
- // TabPage3
- //
- TabPage3.Controls.Add(GroupBox10);
- TabPage3.Controls.Add(GroupBox9);
- TabPage3.Controls.Add(GroupBox5);
- TabPage3.Controls.Add(GroupBox4);
- TabPage3.Location = new Point(4, 22);
- TabPage3.Name = "TabPage3";
- TabPage3.Padding = new Padding(3);
- TabPage3.Size = new Size(513, 326);
- TabPage3.TabIndex = 2;
- TabPage3.Text = "Testo";
- TabPage3.UseVisualStyleBackColor = true;
- //
- // GroupBox10
- //
- GroupBox10.Controls.Add(Label42);
- GroupBox10.Controls.Add(Label41);
- GroupBox10.Controls.Add(TextBox31);
- GroupBox10.Controls.Add(TextBox30);
- GroupBox10.Location = new Point(316, 53);
- GroupBox10.Name = "GroupBox10";
- GroupBox10.Size = new Size(186, 73);
- GroupBox10.TabIndex = 39;
- GroupBox10.TabStop = false;
- GroupBox10.Text = "Testo foto verticali";
- //
- // Label42
- //
- Label42.AutoSize = true;
- Label42.Location = new Point(7, 46);
- Label42.Name = "Label42";
- Label42.Size = new Size(45, 13);
- Label42.TabIndex = 3;
- Label42.Text = "Margine";
- //
- // Label41
- //
- Label41.AutoSize = true;
- Label41.Location = new Point(7, 25);
- Label41.Name = "Label41";
- Label41.Size = new Size(108, 13);
- Label41.TabIndex = 2;
- Label41.Text = "Dimensione Carattere";
- //
- // TextBox31
- //
- TextBox31.Location = new Point(131, 46);
- TextBox31.Name = "TextBox31";
- TextBox31.Size = new Size(39, 20);
- TextBox31.TabIndex = 1;
- //
- // TextBox30
- //
- TextBox30.Location = new Point(131, 22);
- TextBox30.Name = "TextBox30";
- TextBox30.Size = new Size(39, 20);
- TextBox30.TabIndex = 0;
- //
- // GroupBox9
- //
- GroupBox9.Controls.Add(CheckBox17);
- GroupBox9.Controls.Add(CheckBox16);
- GroupBox9.Location = new Point(316, 6);
- GroupBox9.Name = "GroupBox9";
- GroupBox9.Size = new Size(186, 45);
- GroupBox9.TabIndex = 38;
- GroupBox9.TabStop = false;
- GroupBox9.Text = "Slide show";
- //
- // CheckBox17
- //
- CheckBox17.AutoSize = true;
- CheckBox17.Location = new Point(96, 18);
- CheckBox17.Name = "CheckBox17";
- CheckBox17.Size = new Size(84, 17);
- CheckBox17.TabIndex = 1;
- CheckBox17.Text = "Numero foto";
- CheckBox17.UseVisualStyleBackColor = true;
- //
- // CheckBox16
- //
- CheckBox16.AutoSize = true;
- CheckBox16.Location = new Point(6, 19);
- CheckBox16.Name = "CheckBox16";
- CheckBox16.Size = new Size(49, 17);
- CheckBox16.TabIndex = 0;
- CheckBox16.Text = "Data";
- CheckBox16.UseVisualStyleBackColor = true;
- //
- // GroupBox5
- //
- GroupBox5.Controls.Add(TextBox34);
- GroupBox5.Controls.Add(_Button8);
- GroupBox5.Controls.Add(Label36);
- GroupBox5.Controls.Add(TextBox25);
- GroupBox5.Controls.Add(Label35);
- GroupBox5.Controls.Add(ComboBox3);
- GroupBox5.Controls.Add(TextBox11);
- GroupBox5.Controls.Add(Label12);
- GroupBox5.Controls.Add(Label11);
- GroupBox5.Controls.Add(CheckBox3);
- GroupBox5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(192)));
- GroupBox5.Location = new Point(6, 6);
- GroupBox5.Name = "GroupBox5";
- GroupBox5.Size = new Size(304, 120);
- GroupBox5.TabIndex = 37;
- GroupBox5.TabStop = false;
- GroupBox5.Text = "Carattere";
- //
- // TextBox34
- //
- TextBox34.Location = new Point(160, 91);
- TextBox34.Name = "TextBox34";
- TextBox34.Size = new Size(56, 20);
- TextBox34.TabIndex = 36;
- TextBox34.TextAlign = HorizontalAlignment.Right;
- //
- // Button8
- //
- _Button8.ForeColor = Color.Black;
- _Button8.Location = new Point(222, 89);
- _Button8.Name = "_Button8";
- _Button8.Size = new Size(74, 24);
- _Button8.TabIndex = 35;
- _Button8.Text = "Scegli...";
- //
- // Label36
- //
- Label36.ForeColor = Color.Black;
- Label36.Location = new Point(8, 60);
- Label36.Name = "Label36";
- Label36.Size = new Size(120, 19);
- Label36.TabIndex = 34;
- Label36.Text = "Dimensione miniatura";
- Label36.TextAlign = ContentAlignment.MiddleLeft;
- //
- // TextBox25
- //
- TextBox25.Location = new Point(160, 59);
- TextBox25.Name = "TextBox25";
- TextBox25.Size = new Size(56, 20);
- TextBox25.TabIndex = 33;
- TextBox25.Text = "TextBox25";
- //
- // Label35
- //
- Label35.ForeColor = Color.Black;
- Label35.Location = new Point(8, 93);
- Label35.Name = "Label35";
- Label35.Size = new Size(72, 16);
- Label35.TabIndex = 32;
- Label35.Text = "Colore RGB";
- Label35.TextAlign = ContentAlignment.MiddleLeft;
- //
- // ComboBox3
- //
- ComboBox3.Location = new Point(96, 8);
- ComboBox3.Name = "ComboBox3";
- ComboBox3.Size = new Size(120, 21);
- ComboBox3.TabIndex = 28;
- ComboBox3.Text = "ComboBox3";
- //
- // TextBox11
- //
- TextBox11.Location = new Point(160, 35);
- TextBox11.Name = "TextBox11";
- TextBox11.Size = new Size(56, 20);
- TextBox11.TabIndex = 27;
- TextBox11.Text = "TextBox11";
- //
- // Label12
- //
- Label12.AutoSize = true;
- Label12.ForeColor = Color.Black;
- Label12.Location = new Point(8, 38);
- Label12.Name = "Label12";
- Label12.Size = new Size(62, 13);
- Label12.TabIndex = 26;
- Label12.Text = "Dimensione";
- Label12.TextAlign = ContentAlignment.MiddleLeft;
- //
- // Label11
- //
- Label11.AutoSize = true;
- Label11.ForeColor = Color.Black;
- Label11.Location = new Point(56, 8);
- Label11.Name = "Label11";
- Label11.Size = new Size(28, 13);
- Label11.TabIndex = 22;
- Label11.Text = "Font";
- //
- // CheckBox3
- //
- CheckBox3.ForeColor = Color.Black;
- CheckBox3.Location = new Point(224, 8);
- CheckBox3.Name = "CheckBox3";
- CheckBox3.Size = new Size(72, 24);
- CheckBox3.TabIndex = 24;
- CheckBox3.Text = "Grassetto";
- //
- // GroupBox4
- //
- GroupBox4.Controls.Add(Label40);
- GroupBox4.Controls.Add(TextBox29);
- GroupBox4.Controls.Add(TextBox18);
- GroupBox4.Controls.Add(Label26);
- GroupBox4.Controls.Add(DateTimePicker1);
- GroupBox4.Controls.Add(CheckBox8);
- GroupBox4.Controls.Add(TextBox9);
- GroupBox4.Controls.Add(CheckBox7);
- GroupBox4.Controls.Add(Label4);
- GroupBox4.Controls.Add(TextBox4);
- GroupBox4.Controls.Add(Label9);
- GroupBox4.Controls.Add(Label13);
- GroupBox4.Controls.Add(ComboBox1);
- GroupBox4.Controls.Add(ComboBox2);
- GroupBox4.Controls.Add(Label14);
- GroupBox4.Controls.Add(TextBox12);
- GroupBox4.Controls.Add(Label15);
- GroupBox4.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(192)));
- GroupBox4.Location = new Point(6, 132);
- GroupBox4.Name = "GroupBox4";
- GroupBox4.Size = new Size(496, 186);
- GroupBox4.TabIndex = 36;
- GroupBox4.TabStop = false;
- GroupBox4.Text = "Testo da applicare";
- //
- // Label40
- //
- Label40.AutoSize = true;
- Label40.Location = new Point(8, 52);
- Label40.Name = "Label40";
- Label40.Size = new Size(48, 13);
- Label40.TabIndex = 40;
- Label40.Text = "Verticale";
- //
- // TextBox29
- //
- TextBox29.Location = new Point(72, 49);
- TextBox29.Multiline = true;
- TextBox29.Name = "TextBox29";
- TextBox29.Size = new Size(408, 44);
- TextBox29.TabIndex = 39;
- //
- // TextBox18
- //
- TextBox18.Location = new Point(232, 156);
- TextBox18.Name = "TextBox18";
- TextBox18.Size = new Size(100, 20);
- TextBox18.TabIndex = 38;
- //
- // Label26
- //
- Label26.AutoSize = true;
- Label26.ForeColor = Color.Black;
- Label26.Location = new Point(344, 156);
- Label26.Name = "Label26";
- Label26.Size = new Size(48, 13);
- Label26.TabIndex = 37;
- Label26.Text = "partenza";
- //
- // DateTimePicker1
- //
- DateTimePicker1.Format = DateTimePickerFormat.Time;
- DateTimePicker1.Location = new Point(392, 156);
- DateTimePicker1.Name = "DateTimePicker1";
- DateTimePicker1.Size = new Size(88, 20);
- DateTimePicker1.TabIndex = 36;
- //
- // CheckBox8
- //
- CheckBox8.ForeColor = Color.Black;
- CheckBox8.Location = new Point(72, 156);
- CheckBox8.Name = "CheckBox8";
- CheckBox8.Size = new Size(56, 16);
- CheckBox8.TabIndex = 35;
- CheckBox8.Text = "Orario";
- //
- // TextBox9
- //
- TextBox9.Location = new Point(120, 108);
- TextBox9.Name = "TextBox9";
- TextBox9.Size = new Size(56, 20);
- TextBox9.TabIndex = 20;
- TextBox9.Text = "TextBox9";
- //
- // CheckBox7
- //
- CheckBox7.ForeColor = Color.Black;
- CheckBox7.Location = new Point(136, 156);
- CheckBox7.Name = "CheckBox7";
- CheckBox7.Size = new Size(88, 16);
- CheckBox7.TabIndex = 34;
- CheckBox7.Text = "Tempo gara";
- //
- // Label4
- //
- Label4.AutoSize = true;
- Label4.ForeColor = Color.Black;
- Label4.Location = new Point(8, 24);
- Label4.Name = "Label4";
- Label4.Size = new Size(59, 13);
- Label4.TabIndex = 9;
- Label4.Text = "Orizzontale";
- //
- // TextBox4
- //
- TextBox4.Location = new Point(72, 24);
- TextBox4.Name = "TextBox4";
- TextBox4.Size = new Size(408, 20);
- TextBox4.TabIndex = 8;
- TextBox4.Text = "TextBox4";
- //
- // Label9
- //
- Label9.AutoSize = true;
- Label9.ForeColor = Color.Black;
- Label9.Location = new Point(8, 108);
- Label9.Name = "Label9";
- Label9.Size = new Size(110, 13);
- Label9.TabIndex = 19;
- Label9.Text = "Trasparenza (0-100%)";
- //
- // Label13
- //
- Label13.AutoSize = true;
- Label13.ForeColor = Color.Black;
- Label13.Location = new Point(16, 132);
- Label13.Name = "Label13";
- Label13.Size = new Size(52, 13);
- Label13.TabIndex = 29;
- Label13.Text = "Posizione";
- //
- // ComboBox1
- //
- ComboBox1.Location = new Point(72, 132);
- ComboBox1.Name = "ComboBox1";
- ComboBox1.Size = new Size(104, 21);
- ComboBox1.TabIndex = 28;
- ComboBox1.Text = "ComboBox1";
- //
- // ComboBox2
- //
- ComboBox2.Location = new Point(376, 132);
- ComboBox2.Name = "ComboBox2";
- ComboBox2.Size = new Size(104, 21);
- ComboBox2.TabIndex = 31;
- ComboBox2.Text = "ComboBox2";
- //
- // Label14
- //
- Label14.AutoSize = true;
- Label14.ForeColor = Color.Black;
- Label14.Location = new Point(304, 132);
- Label14.Name = "Label14";
- Label14.Size = new Size(67, 13);
- Label14.TabIndex = 30;
- Label14.Text = "Allineamento";
- //
- // TextBox12
- //
- TextBox12.Location = new Point(376, 108);
- TextBox12.Name = "TextBox12";
- TextBox12.Size = new Size(104, 20);
- TextBox12.TabIndex = 33;
- TextBox12.Text = "TextBox12";
- //
- // Label15
- //
- Label15.AutoSize = true;
- Label15.ForeColor = Color.Black;
- Label15.Location = new Point(296, 108);
- Label15.Name = "Label15";
- Label15.Size = new Size(75, 13);
- Label15.TabIndex = 32;
- Label15.Text = "Margine (pixel)";
- //
- // TabPage5
- //
- TabPage5.Controls.Add(GroupBox3);
- TabPage5.Controls.Add(GroupBox8);
- TabPage5.Controls.Add(GroupBox7);
- TabPage5.Location = new Point(4, 22);
- TabPage5.Name = "TabPage5";
- TabPage5.Padding = new Padding(3);
- TabPage5.Size = new Size(513, 326);
- TabPage5.TabIndex = 4;
- TabPage5.Text = "Generale";
- TabPage5.UseVisualStyleBackColor = true;
- //
- // GroupBox3
- //
- GroupBox3.Controls.Add(CheckBox6);
- GroupBox3.Controls.Add(_Button3);
- GroupBox3.Controls.Add(_Button2);
- GroupBox3.Controls.Add(Label1);
- GroupBox3.Controls.Add(Label2);
- GroupBox3.Controls.Add(TextBox1);
- GroupBox3.Controls.Add(TextBox2);
- GroupBox3.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(192)));
- GroupBox3.Location = new Point(6, 6);
- GroupBox3.Name = "GroupBox3";
- GroupBox3.Size = new Size(496, 101);
- GroupBox3.TabIndex = 35;
- GroupBox3.TabStop = false;
- GroupBox3.Text = "Directory";
- //
- // CheckBox6
- //
- CheckBox6.ForeColor = Color.Black;
- CheckBox6.Location = new Point(80, 64);
- CheckBox6.Name = "CheckBox6";
- CheckBox6.Size = new Size(152, 24);
- CheckBox6.TabIndex = 25;
- CheckBox6.Text = "aggiorna le sottodirectory";
- //
- // Button3
- //
- _Button3.Location = new Point(462, 40);
- _Button3.Name = "_Button3";
- _Button3.Size = new Size(24, 20);
- _Button3.TabIndex = 6;
- _Button3.Text = "...";
- //
- // Button2
- //
- _Button2.Location = new Point(462, 16);
- _Button2.Name = "_Button2";
- _Button2.Size = new Size(24, 20);
- _Button2.TabIndex = 5;
- _Button2.Text = "...";
- //
- // Label1
- //
- Label1.AutoSize = true;
- Label1.ForeColor = Color.Black;
- Label1.Location = new Point(6, 19);
- Label1.Name = "Label1";
- Label1.Size = new Size(50, 13);
- Label1.TabIndex = 3;
- Label1.Text = "Sorgente";
- //
- // Label2
- //
- Label2.AutoSize = true;
- Label2.ForeColor = Color.Black;
- Label2.Location = new Point(6, 43);
- Label2.Name = "Label2";
- Label2.Size = new Size(68, 13);
- Label2.TabIndex = 4;
- Label2.Text = "Destinazione";
- //
- // TextBox1
- //
- TextBox1.Location = new Point(80, 16);
- TextBox1.Name = "TextBox1";
- TextBox1.Size = new Size(376, 20);
- TextBox1.TabIndex = 0;
- TextBox1.Text = "TextBox1";
- //
- // TextBox2
- //
- TextBox2.Location = new Point(80, 40);
- TextBox2.Name = "TextBox2";
- TextBox2.Size = new Size(376, 20);
- TextBox2.TabIndex = 1;
- TextBox2.Text = "TextBox2";
- //
- // GroupBox8
- //
- GroupBox8.Controls.Add(RadioButton2);
- GroupBox8.Controls.Add(RadioButton1);
- GroupBox8.Controls.Add(TextBox21);
- GroupBox8.Controls.Add(Label34);
- GroupBox8.Controls.Add(TextBox20);
- GroupBox8.Controls.Add(Label33);
- GroupBox8.Controls.Add(Label31);
- GroupBox8.Controls.Add(CheckBox11);
- GroupBox8.Controls.Add(TextBox17);
- GroupBox8.Controls.Add(Label32);
- GroupBox8.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(192)));
- GroupBox8.Location = new Point(204, 113);
- GroupBox8.Name = "GroupBox8";
- GroupBox8.Size = new Size(192, 152);
- GroupBox8.TabIndex = 47;
- GroupBox8.TabStop = false;
- GroupBox8.Text = "Sottocartelle";
- //
- // RadioButton2
- //
- RadioButton2.ForeColor = Color.Black;
- RadioButton2.Location = new Point(32, 128);
- RadioButton2.Name = "RadioButton2";
- RadioButton2.Size = new Size(136, 16);
- RadioButton2.TabIndex = 38;
- RadioButton2.Text = "Numerazione files";
- //
- // RadioButton1
- //
- RadioButton1.Checked = true;
- RadioButton1.ForeColor = Color.Black;
- RadioButton1.Location = new Point(32, 112);
- RadioButton1.Name = "RadioButton1";
- RadioButton1.Size = new Size(152, 16);
- RadioButton1.TabIndex = 37;
- RadioButton1.TabStop = true;
- RadioButton1.Text = "Numerazione progressiva";
- //
- // TextBox21
- //
- TextBox21.Location = new Point(128, 88);
- TextBox21.Name = "TextBox21";
- TextBox21.Size = new Size(56, 20);
- TextBox21.TabIndex = 34;
- TextBox21.Text = "4";
- //
- // Label34
- //
- Label34.ForeColor = Color.Black;
- Label34.Location = new Point(8, 88);
- Label34.Name = "Label34";
- Label34.Size = new Size(112, 16);
- Label34.TabIndex = 33;
- Label34.Text = "Num. cifre contatore";
- Label34.TextAlign = ContentAlignment.MiddleRight;
- //
- // TextBox20
- //
- TextBox20.Location = new Point(56, 64);
- TextBox20.Name = "TextBox20";
- TextBox20.Size = new Size(128, 20);
- TextBox20.TabIndex = 32;
- TextBox20.Text = "TextBox20";
- //
- // Label33
- //
- Label33.ForeColor = Color.Black;
- Label33.Location = new Point(6, 67);
- Label33.Name = "Label33";
- Label33.Size = new Size(48, 16);
- Label33.TabIndex = 31;
- Label33.Text = "Suffisso";
- //
- // Label31
- //
- Label31.ForeColor = Color.Black;
- Label31.Location = new Point(24, 40);
- Label31.Name = "Label31";
- Label31.Size = new Size(32, 16);
- Label31.TabIndex = 30;
- Label31.Text = "ogni";
- //
- // CheckBox11
- //
- CheckBox11.ForeColor = Color.Black;
- CheckBox11.Location = new Point(56, 16);
- CheckBox11.Name = "CheckBox11";
- CheckBox11.Size = new Size(112, 16);
- CheckBox11.TabIndex = 29;
- CheckBox11.Text = "crea sottocartelle";
- //
- // TextBox17
- //
- TextBox17.Location = new Point(56, 40);
- TextBox17.Name = "TextBox17";
- TextBox17.Size = new Size(64, 20);
- TextBox17.TabIndex = 27;
- TextBox17.Text = "99";
- //
- // Label32
- //
- Label32.ForeColor = Color.Black;
- Label32.Location = new Point(128, 40);
- Label32.Name = "Label32";
- Label32.Size = new Size(24, 16);
- Label32.TabIndex = 28;
- Label32.Text = "file";
- //
- // GroupBox7
- //
- GroupBox7.Controls.Add(CheckBox10);
- GroupBox7.Controls.Add(CheckBox9);
- GroupBox7.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(192)));
- GroupBox7.Location = new Point(6, 113);
- GroupBox7.Name = "GroupBox7";
- GroupBox7.Size = new Size(192, 88);
- GroupBox7.TabIndex = 45;
- GroupBox7.TabStop = false;
- GroupBox7.Text = "Generale";
- //
- // CheckBox10
- //
- CheckBox10.ForeColor = Color.Black;
- CheckBox10.Location = new Point(16, 37);
- CheckBox10.Name = "CheckBox10";
- CheckBox10.Size = new Size(136, 16);
- CheckBox10.TabIndex = 1;
- CheckBox10.Text = "Rotazione automatica";
- //
- // CheckBox9
- //
- CheckBox9.Checked = true;
- CheckBox9.CheckState = CheckState.Checked;
- CheckBox9.ForeColor = Color.Black;
- CheckBox9.Location = new Point(16, 18);
- CheckBox9.Name = "CheckBox9";
- CheckBox9.Size = new Size(80, 16);
- CheckBox9.TabIndex = 0;
- CheckBox9.Text = "Forza Jpg";
- //
- // TabControl1
- //
- TabControl1.Controls.Add(TabPage5);
- TabControl1.Controls.Add(TabPage3);
- TabControl1.Controls.Add(TabPage2);
- TabControl1.Controls.Add(TabPage1);
- TabControl1.Controls.Add(TabPage4);
- TabControl1.Location = new Point(12, 12);
- TabControl1.Name = "TabControl1";
- TabControl1.SelectedIndex = 0;
- TabControl1.Size = new Size(521, 352);
- TabControl1.TabIndex = 48;
- //
- // ProgressBar1
- //
- ProgressBar1.Location = new Point(539, 211);
- ProgressBar1.Name = "ProgressBar1";
- ProgressBar1.Size = new Size(192, 23);
- ProgressBar1.TabIndex = 52;
- //
- // CheckBox12
- //
- _CheckBox12.ForeColor = Color.Black;
- _CheckBox12.Location = new Point(10, 19);
- _CheckBox12.Name = "_CheckBox12";
- _CheckBox12.Size = new Size(104, 21);
- _CheckBox12.TabIndex = 35;
- _CheckBox12.Text = "Aggiungi orario";
- //
- // CheckBox4
- //
- _CheckBox4.ForeColor = Color.Black;
- _CheckBox4.Location = new Point(10, 3);
- _CheckBox4.Name = "_CheckBox4";
- _CheckBox4.Size = new Size(104, 17);
- _CheckBox4.TabIndex = 34;
- _CheckBox4.Text = "Aggiungi scritta";
- //
- // CheckBox18
- //
- _CheckBox18.AutoSize = true;
- _CheckBox18.Location = new Point(140, 3);
- _CheckBox18.Name = "_CheckBox18";
- _CheckBox18.Size = new Size(84, 17);
- _CheckBox18.TabIndex = 36;
- _CheckBox18.Text = "Numero foto";
- _CheckBox18.UseVisualStyleBackColor = true;
- //
- // Panel1
- //
- Panel1.Controls.Add(_CheckBox18);
- Panel1.Controls.Add(_CheckBox4);
- Panel1.Controls.Add(_CheckBox12);
- Panel1.Location = new Point(52, 236);
- Panel1.Name = "Panel1";
- Panel1.Size = new Size(304, 73);
- Panel1.TabIndex = 26;
- Panel1.Visible = false;
- //
- // Form1
- //
- AutoScaleBaseSize = new Size(5, 13);
- ClientSize = new Size(740, 375);
- Controls.Add(ProgressBar1);
- Controls.Add(Label44);
- Controls.Add(CheckBox22);
- Controls.Add(Label43);
- Controls.Add(TabControl1);
- Controls.Add(Label27);
- Controls.Add(_Button7);
- Controls.Add(_Button5);
- Controls.Add(Label20);
- Controls.Add(Label19);
- Controls.Add(Label18);
- Controls.Add(Label17);
- Controls.Add(Label10);
- Controls.Add(_Button1);
- Controls.Add(_Button6);
- MaximizeBox = false;
- MaximumSize = new Size(756, 414);
- MinimumSize = new Size(756, 414);
- Name = "Form1";
- Text = "Image Catalog";
- TabPage4.ResumeLayout(false);
- GroupBox6.ResumeLayout(false);
- GroupBox6.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)PictureBox2).EndInit();
- ((System.ComponentModel.ISupportInitialize)_PictureBox1).EndInit();
- ((System.ComponentModel.ISupportInitialize)PictureBox3).EndInit();
- TabPage1.ResumeLayout(false);
- GroupBox1.ResumeLayout(false);
- GroupBox1.PerformLayout();
- Panel2.ResumeLayout(false);
- Panel2.PerformLayout();
- TabPage2.ResumeLayout(false);
- GroupBox2.ResumeLayout(false);
- GroupBox2.PerformLayout();
- TabPage3.ResumeLayout(false);
- GroupBox10.ResumeLayout(false);
- GroupBox10.PerformLayout();
- GroupBox9.ResumeLayout(false);
- GroupBox9.PerformLayout();
- GroupBox5.ResumeLayout(false);
- GroupBox5.PerformLayout();
- GroupBox4.ResumeLayout(false);
- GroupBox4.PerformLayout();
- TabPage5.ResumeLayout(false);
- GroupBox3.ResumeLayout(false);
- GroupBox3.PerformLayout();
- GroupBox8.ResumeLayout(false);
- GroupBox8.PerformLayout();
- GroupBox7.ResumeLayout(false);
- TabControl1.ResumeLayout(false);
- Panel1.ResumeLayout(false);
- Panel1.PerformLayout();
- ResumeLayout(false);
- PerformLayout();
- }
-
- /* TODO ERROR: Skipped EndRegionDirectiveTrivia */
- /* TODO ERROR: Skipped DefineDirectiveTrivia */
- private bool StopAttivo;
- private bool WaterSelectColor = false;
- private int ContaFotoCuori;
- private PicInfo[] TaskCuori;
- private XYThreadPool MyPool = new XYThreadPool();
- private int ContaImmaginiThread;
- private const int maxThreads = 15;
-
- private void setDefaults()
- {
- TextBox1.Text = "";
- TextBox2.Text = "";
- TextBox3.Text = "";
- TextBox4.Text = "";
- TextBox5.Text = "";
- TextBox6.Text = "";
- TextBox27.Text = "";
- TextBox28.Text = "";
- TextBox9.Text = "";
- TextBox11.Text = "";
- TextBox12.Text = "";
- TextBox13.Text = "";
- TextBox10.Text = "";
- TextBox14.Text = "";
- TextBox15.Text = "";
- TextBox16.Text = "";
- TextBox17.Text = "";
- TextBox19.Text = "";
- TextBox20.Text = "";
- TextBox21.Text = "";
- TextBox25.Text = "";
- TextBox26.Text = "";
- ComboBox1.Items.Add("Alto");
- ComboBox1.Items.Add("Basso");
- ComboBox1.SelectedIndex = 1;
- ComboBox2.Items.Add("Sinistra");
- ComboBox2.Items.Add("Centro");
- ComboBox2.Items.Add("Destra");
- ComboBox2.SelectedIndex = 1;
- ComboBox3.Items.Add("Arial");
- ComboBox3.Items.Add("Arial Black");
- ComboBox3.Items.Add("Arial Narrow");
- ComboBox3.Items.Add("Comic Sans MS");
- ComboBox3.Items.Add("Courier New");
- ComboBox3.Items.Add("System");
- ComboBox3.Items.Add("Times New Roman");
- ComboBox3.Items.Add("Verdana");
- ComboBox3.Items.Add("Wingdings");
- ComboBox3.SelectedIndex = 7;
- ComboBox4.Items.Add("Sinistra");
- ComboBox4.Items.Add("Centro");
- ComboBox4.Items.Add("Destra");
- ComboBox4.SelectedIndex = 2;
- ComboBox5.Items.Add("Alto");
- ComboBox5.Items.Add("Centro");
- ComboBox5.Items.Add("Basso");
- ComboBox5.SelectedIndex = 2;
- }
-
- private void Form1_Load(object sender, EventArgs e)
- {
- Application.EnableVisualStyles();
- setDefaults();
- }
-
- private void FixPaths()
- {
- if (TextBox1.Text.EndsWith(@"\") == false)
- {
- TextBox1.Text += @"\";
- }
-
- if (TextBox2.Text.EndsWith(@"\") == false)
- {
- TextBox2.Text += @"\";
- }
- }
-
- private void lockUI()
- {
- TabControl1.Enabled = false;
- Button5.Enabled = false;
- Button6.Enabled = false;
- Button1.Enabled = false;
- }
-
- private void unlockUI()
- {
- TabControl1.Enabled = true;
- Button5.Enabled = true;
- Button6.Enabled = true;
- Button1.Enabled = true;
- }
-
- private void btnCreaCatalogo_Click(object sender, EventArgs e)
- {
- lockUI();
- DateTime timeStart;
- DateTime timeStop;
- timeStart = DateAndTime.TimeOfDay;
- FixPaths();
- Label10.Text = "";
- Label17.Text = "0";
- Label18.Text = "0";
- setPicSettings(TextBox1.Text, TextBox2.Text);
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- ProgressBar1.Minimum = 0;
- ProgressBar1.Step = 1;
- ProgressBar1.Value = 0;
- var t1 = new Thread(creaCatalogoThread);
- t1.IsBackground = true;
- t1.Start();
-
- /* TODO ERROR: Skipped ElseDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
-
-
-
- }
-
- private void creaCatalogoThread()
- {
- var timeStart = DateAndTime.TimeOfDay;
- MyPool.StopThreadPool();
- MyPool.StartThreadPool(0, maxThreads);
- ContaImmaginiThread = 0;
- creaImmaginiWithThreadMod(TextBox1.Text, TextBox2.Text);
- ThreadPoolWorkItem ThAttivo = null;
- int i = 0;
- while (i != ContaImmaginiThread)
- {
- Thread.Sleep(100);
- ThAttivo = MyPool.ExtractWorkItem();
- if (ThAttivo is object)
- {
- i += 1;
- // stepProgressBar()
- setLabel10Text("File: " + ThAttivo.m_sName);
-
- // setLabel18Text(ContaImmaginiThread.ToString)
- // setLabel18Text(i.ToString)
-
-
- // Label10.Text = "File: " & ThAttivo.m_sName
- // Label18.Text = ContaImmaginiThread.ToString
- }
- }
-
- MyPool.StopThreadPool();
- var timeStop = DateAndTime.TimeOfDay;
- setLabel10Text("Finito");
- setLabel43Text(CalcTime(timeStart, timeStop));
- }
-
- private void creaCatalogo(DateTime timeStart, DateTime timeStop)
- {
- // asdfg
- MyPool.StopThreadPool();
- MyPool.StartThreadPool(0, maxThreads);
- ContaImmaginiThread = 0;
- creaImmaginiWithThreadMod(TextBox1.Text, TextBox2.Text);
- ThreadPoolWorkItem ThAttivo = null;
- int i = 0;
- while (i != ContaImmaginiThread)
- {
- Thread.Sleep(100);
- ThAttivo = MyPool.ExtractWorkItem();
- if (ThAttivo is object)
- {
- i += 1;
- Label10.Text = "File: " + ThAttivo.m_sName;
- Label18.Text = ContaImmaginiThread.ToString();
- }
- }
-
- MyPool.StopThreadPool();
- timeStop = DateAndTime.TimeOfDay;
- CalcTime(timeStart, timeStop);
- Label10.Text = "Finito";
- if (CheckBox22.Checked == true)
- {
- Interaction.Shell(@"%windir%\System32\shutdown.exe");
- }
- }
-
- private string CalcTime(DateTime timeStart, DateTime timeStop)
- {
- long timediffH, timediffS;
- long timediffM;
- timediffM = DateAndTime.DateDiff(DateInterval.Minute, timeStart, timeStop);
- timediffS = DateAndTime.DateDiff(DateInterval.Second, timeStart, timeStop);
- timediffH = DateAndTime.DateDiff(DateInterval.Hour, timeStart, timeStop);
- // dim s As String = "H:" + timediffH.ToString + " M:" + timediffM.ToString + " S:" + timediffS.ToString
- string s = "S:" + timediffS.ToString();
- // Label43.Text = "H:" + timediffH.ToString + " M:" + timediffM.ToString + " S:" + timediffS.ToString
- return s;
- }
-
- private void Button2_Click(object sender, EventArgs e)
- {
- var DirSearch = new FolderBrowserDialog();
- DirSearch.SelectedPath = TextBox1.Text;
- if (DialogResult.OK == DirSearch.ShowDialog())
- {
- string DirectoryScelta = DirSearch.SelectedPath;
- if (DirectoryScelta.EndsWith(@"\") == false)
- {
- DirectoryScelta += @"\";
- }
-
- TextBox1.Text = DirectoryScelta;
- }
- }
-
- private void Button3_Click(object sender, EventArgs e)
- {
- var DirSearch = new FolderBrowserDialog();
- DirSearch.SelectedPath = TextBox2.Text;
- if (DialogResult.OK == DirSearch.ShowDialog())
- {
- string DirectoryScelta = DirSearch.SelectedPath;
- if (DirectoryScelta.EndsWith(@"\") == false)
- {
- DirectoryScelta += @"\";
- }
-
- TextBox2.Text = DirectoryScelta;
- }
-
- // Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- // Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- // openFileDialog.InitialDirectory = TextBox1.Text
- // openFileDialog.Filter = "Bitmap files (*.bmp)|*.bmp|Jpeg files (*.jpg)|*.jpg|All valid files (*.*)|*.*"
- // openFileDialog.FilterIndex = 2
- // openFileDialog.RestoreDirectory = True
-
- // If DialogResult.OK = openFileDialog.ShowDialog() Then
- // Dim IlNome As String = openFileDialog.FileName
- // Dim NomeFine As String = ""
- // Dim i As Integer
-
- // Dim Elenco As String()
- // Elenco = IlNome.Split(New Char() {"\"c})
- // For i = 0 To Elenco.Length - 1
- // NomeFine &= Elenco(i) & "\"
- // Next
-
- // TextBox1.Text = NomeFine
- // End If
- }
-
- private void Button5_Click(object sender, EventArgs e)
- {
- var SaveFileDlg = new SaveFileDialog();
-
- // SaveFileDlg.InitialDirectory = "c:\"
- SaveFileDlg.Filter = "Setup (*.xml)|*.xml|All valid files (*.*)|*.*";
- SaveFileDlg.FilterIndex = 0;
- SaveFileDlg.RestoreDirectory = true;
- if (DialogResult.OK == SaveFileDlg.ShowDialog())
- {
- string IlNome = SaveFileDlg.FileName;
- Module1.SetupIni.NomeFileSetup = IlNome;
- Module1.SetupIni.AggiornaParametro("DirSorgente", TextBox1.Text);
- Module1.SetupIni.AggiornaParametro("DirDestinazione", TextBox2.Text);
- Module1.SetupIni.AggiornaParametro("DirSottoDirectory", CheckBox6.Checked);
- Module1.SetupIni.AggiornaParametro("DirDividiDestinazione", CheckBox11.Checked);
- Module1.SetupIni.AggiornaParametro("DirDividiNumFile", TextBox17.Text);
- Module1.SetupIni.AggiornaParametro("DirDividiSuffisso", TextBox20.Text);
- Module1.SetupIni.AggiornaParametro("DirDividiNumCifre", TextBox21.Text);
- if (RadioButton1.Checked == true)
- {
- Module1.SetupIni.AggiornaParametro("DirDividiTipoNumerazione", "Progressiva");
- }
- else
- {
- Module1.SetupIni.AggiornaParametro("DirDividiTipoNumerazione", "Files");
- }
-
- Module1.SetupIni.AggiornaParametro("MiniatureCrea", CheckBox1.Checked);
- Module1.SetupIni.AggiornaParametro("MiniatureSuffisso", TextBox3.Text);
- Module1.SetupIni.AggiornaParametro("MiniatureAltezza", TextBox5.Text);
- Module1.SetupIni.AggiornaParametro("MiniatureLarghezza", TextBox6.Text);
- Module1.SetupIni.AggiornaParametro("MiniatureAddScritta", RadioButton3.Checked);
- Module1.SetupIni.AggiornaParametro("MiniatureAddOrario", RadioButton4.Checked);
- Module1.SetupIni.AggiornaParametro("FotoAltezza", TextBox27.Text);
- Module1.SetupIni.AggiornaParametro("FotoLarghezza", TextBox28.Text);
- Module1.SetupIni.AggiornaParametro("FotoCodice", TextBox13.Text);
- Module1.SetupIni.AggiornaParametro("FotoDimOriginali", CheckBox2.Checked);
- Module1.SetupIni.AggiornaParametro("FontDimensione", TextBox11.Text);
- Module1.SetupIni.AggiornaParametro("FontDimensioneMiniatura", TextBox25.Text);
- Module1.SetupIni.AggiornaParametro("FontBold", CheckBox3.Checked);
- Module1.SetupIni.AggiornaParametro("FontNome", ComboBox3.Text);
- Module1.SetupIni.AggiornaParametro("TestoTesto", TextBox4.Text);
- Module1.SetupIni.AggiornaParametro("TestoTrasparente", TextBox9.Text);
- Module1.SetupIni.AggiornaParametro("TestoMargine", TextBox12.Text);
- Module1.SetupIni.AggiornaParametro("TestoPosizione", ComboBox1.Text);
- Module1.SetupIni.AggiornaParametro("TestoAllineamento", ComboBox2.Text);
- Module1.SetupIni.AggiornaParametro("MarchioFile", TextBox10.Text);
- Module1.SetupIni.AggiornaParametro("MarchioAltezza", TextBox14.Text);
- Module1.SetupIni.AggiornaParametro("MarchioLarghezza", TextBox15.Text);
- Module1.SetupIni.AggiornaParametro("MarchioMargine", TextBox16.Text);
- Module1.SetupIni.AggiornaParametro("MarchioAllOrizzontale", ComboBox4.Text);
- Module1.SetupIni.AggiornaParametro("MarchioAllVerticale", ComboBox5.Text);
- Module1.SetupIni.AggiornaParametro("MarchioTrasparenza", TextBox19.Text);
- Module1.SetupIni.AggiornaParametro("MarchioAggiungi", CheckBox5.Checked);
- Module1.SetupIni.AggiornaParametro("TempoGara", CheckBox7.Checked);
- Module1.SetupIni.AggiornaParametro("Orario", CheckBox8.Checked);
- Module1.SetupIni.AggiornaParametro("EtichettaOrario", TextBox18.Text);
- Module1.SetupIni.AggiornaParametro("GeneraleForzaJpg", CheckBox9.Checked);
- Module1.SetupIni.AggiornaParametro("GeneraleRotazioneAutomatica", CheckBox10.Checked);
- Module1.SetupIni.AggiornaParametro("GrandezzaVerticale", TextBox30.Text);
- Module1.SetupIni.AggiornaParametro("MargineVerticale", TextBox31.Text);
- Module1.SetupIni.AggiornaParametro("DimensioniOriginali", CheckBox15.Checked);
- Module1.SetupIni.AggiornaParametro("TestoVerticale", TextBox29.Text);
- Module1.SetupIni.AggiornaParametro("NomeMiniatura", RadioButton6.Checked);
- Module1.SetupIni.AggiornaParametro("DataFoto", CheckBox16.Checked);
- Module1.SetupIni.AggiornaParametro("NumeroFoto", CheckBox17.Checked);
- Module1.SetupIni.AggiornaParametro("ColoreTestoRGB", TextBox34.Text);
- Module1.SetupIni.AggiornaParametro("TempoSmall", RadioButton5.Checked);
- Module1.SetupIni.AggiornaParametro("NumTempoSmall", RadioButton7.Checked);
- Module1.SetupIni.AggiornaParametro("CompressioneJpeg", TextBox32.Text);
- Module1.SetupIni.AggiornaParametro("CompressioneJpegMiniatura", TextBox33.Text);
- Module1.SetupIni.SalvaParametriSetup();
- Text = "Image Catalog - " + LeggiSoloNomeFile(IlNome);
- }
- }
-
- private void Button6_Click(object sender, EventArgs e)
- {
- var openFileDialog = new OpenFileDialog();
-
- // openFileDialog.InitialDirectory = TextBox1.Text
- openFileDialog.Filter = "Setup (*.xml)|*.xml|All valid files (*.*)|*.*";
- openFileDialog.FilterIndex = 0;
- openFileDialog.RestoreDirectory = true;
- if (DialogResult.OK == openFileDialog.ShowDialog())
- {
- string IlNome = openFileDialog.FileName;
- Module1.SetupIni.NomeFileSetup = IlNome;
- Module1.SetupIni.CaricaParametriSetup();
- TextBox1.Text = Module1.SetupIni.LeggiParametroString("DirSorgente");
- TextBox2.Text = Module1.SetupIni.LeggiParametroString("DirDestinazione");
- CheckBox6.Checked = Module1.SetupIni.LeggiParametroBoolean("DirSottoDirectory");
- CheckBox11.Checked = Module1.SetupIni.LeggiParametroBoolean("DirDividiDestinazione");
- TextBox17.Text = Module1.SetupIni.LeggiParametroString("DirDividiNumFile");
- TextBox20.Text = Module1.SetupIni.LeggiParametroString("DirDividiSuffisso");
- TextBox21.Text = Module1.SetupIni.LeggiParametroString("DirDividiNumCifre");
- string TestoTemp = Module1.SetupIni.LeggiParametroString("DirDividiTipoNumerazione");
- if (TestoTemp.ToUpper() == "PROGRESSIVA")
- {
- RadioButton1.Checked = true;
- }
- else
- {
- RadioButton2.Checked = true;
- }
-
- CheckBox1.Checked = Module1.SetupIni.LeggiParametroBoolean("MiniatureCrea");
- TextBox3.Text = Module1.SetupIni.LeggiParametroString("MiniatureSuffisso");
- TextBox5.Text = Module1.SetupIni.LeggiParametroString("MiniatureAltezza");
- TextBox6.Text = Module1.SetupIni.LeggiParametroString("MiniatureLarghezza");
- RadioButton3.Checked = Module1.SetupIni.LeggiParametroBoolean("MiniatureAddScritta");
- RadioButton4.Checked = Module1.SetupIni.LeggiParametroBoolean("MiniatureAddOrario");
- TextBox27.Text = Module1.SetupIni.LeggiParametroString("FotoAltezza");
- TextBox28.Text = Module1.SetupIni.LeggiParametroString("FotoLarghezza");
- TextBox13.Text = Module1.SetupIni.LeggiParametroString("FotoCodice");
- CheckBox2.Checked = Module1.SetupIni.LeggiParametroBoolean("FotoDimOriginali");
- TextBox11.Text = Module1.SetupIni.LeggiParametroString("FontDimensione");
- TextBox25.Text = Module1.SetupIni.LeggiParametroString("FontDimensioneMiniatura");
- CheckBox3.Checked = Module1.SetupIni.LeggiParametroBoolean("FontBold");
- ComboBox3.Text = Module1.SetupIni.LeggiParametroString("FontNome");
- if (string.IsNullOrEmpty(TextBox25.Text))
- {
- TextBox25.Text = "0";
- }
-
- TextBox4.Text = Module1.SetupIni.LeggiParametroString("TestoTesto");
- TextBox9.Text = Module1.SetupIni.LeggiParametroString("TestoTrasparente");
- TextBox12.Text = Module1.SetupIni.LeggiParametroString("TestoMargine");
- ComboBox1.Text = Module1.SetupIni.LeggiParametroString("TestoPosizione");
- ComboBox2.Text = Module1.SetupIni.LeggiParametroString("TestoAllineamento");
- TextBox10.Text = Module1.SetupIni.LeggiParametroString("MarchioFile");
- TextBox14.Text = Module1.SetupIni.LeggiParametroString("MarchioAltezza");
- TextBox15.Text = Module1.SetupIni.LeggiParametroString("MarchioLarghezza");
- TextBox16.Text = Module1.SetupIni.LeggiParametroString("MarchioMargine");
- ComboBox4.Text = Module1.SetupIni.LeggiParametroString("MarchioAllOrizzontale");
- ComboBox5.Text = Module1.SetupIni.LeggiParametroString("MarchioAllVerticale");
- TextBox19.Text = Module1.SetupIni.LeggiParametroString("MarchioTrasparenza");
- CheckBox5.Checked = Module1.SetupIni.LeggiParametroBoolean("MarchioAggiungi");
- CheckBox7.Checked = Module1.SetupIni.LeggiParametroBoolean("TempoGara");
- CheckBox8.Checked = Module1.SetupIni.LeggiParametroBoolean("Orario");
- TextBox18.Text = Module1.SetupIni.LeggiParametroString("EtichettaOrario");
- CheckBox9.Checked = Module1.SetupIni.LeggiParametroBoolean("GeneraleForzaJpg");
- CheckBox10.Checked = Module1.SetupIni.LeggiParametroBoolean("GeneraleRotazioneAutomatica");
- TextBox30.Text = Module1.SetupIni.LeggiParametroString("GrandezzaVerticale");
- TextBox31.Text = Module1.SetupIni.LeggiParametroString("MargineVerticale");
- CheckBox15.Checked = Module1.SetupIni.LeggiParametroBoolean("DimensioniOriginali");
- TextBox29.Text = Module1.SetupIni.LeggiParametroString("TestoVerticale");
- RadioButton6.Checked = Module1.SetupIni.LeggiParametroBoolean("NomeMiniatura");
- CheckBox16.Checked = Module1.SetupIni.LeggiParametroBoolean("DataFoto");
- CheckBox17.Checked = Module1.SetupIni.LeggiParametroBoolean("NumeroFoto");
- RadioButton5.Checked = Module1.SetupIni.LeggiParametroBoolean("TempoSmall");
- RadioButton7.Checked = Module1.SetupIni.LeggiParametroBoolean("NumTempoSmall");
- TextBox32.Text = Module1.SetupIni.LeggiParametroString("CompressioneJpeg");
- TextBox33.Text = Module1.SetupIni.LeggiParametroString("CompressioneJpegMiniatura");
- TextBox34.Text = Module1.SetupIni.LeggiParametroString("ColoreTestoRGB");
- if (File.Exists(TextBox10.Text))
- {
- PictureBox1.Image = Image.FromFile(TextBox10.Text);
- if (PictureBox1.Image.Height >= PictureBox1.Image.Width)
- {
- PictureBox1.Height = 160;
- PictureBox1.Width = Conversions.ToInteger(160 * PictureBox1.Image.Width / (double)PictureBox1.Image.Height);
- }
- else
- {
- PictureBox1.Width = 224;
- PictureBox1.Height = Conversions.ToInteger(224 * PictureBox1.Image.Height / (double)PictureBox1.Image.Width);
- }
- }
-
- Text = "Image Catalog - " + LeggiSoloNomeFile(IlNome);
- }
- }
-
- private void setPicSettings(string SourcePath, string DestPath)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- var DestDirStart = new DirectoryInfo(DestPath);
- DirectoryInfo DestDir = null;
- PicSettings.DirectorySorgente = TextBox1.Text;
- PicSettings.DirectoryDestinazione = TextBox2.Text;
-
- // PicSettings.DestDir = DestDir
- // PicSettings.SourceDir = SourceDir
- // PicSettings.DestDirStart = DestDirStart
-
- PicSettings.DimStandard = Conversions.ToInteger(TextBox11.Text);
- PicSettings.DimStandardMiniatura = Conversions.ToInteger(TextBox25.Text);
- PicSettings.UsaOrarioMiniatura = CheckBox12.Checked;
- PicSettings.UsaOrarioTestoApplicare = CheckBox8.Checked;
- PicSettings.UsaTempoGaraTestoApplicare = CheckBox7.Checked;
- PicSettings.UsaRotazioneAutomatica = CheckBox10.Checked;
- PicSettings.UsaForzaJpg = CheckBox9.Checked;
- if (CheckBox17.Checked)
- {
- PicSettings.TestoNome = true;
- }
- else
- {
- PicSettings.TestoNome = false;
- }
-
- if (CheckBox16.Checked)
- {
- PicSettings.NomeData = true;
- }
- else
- {
- PicSettings.NomeData = false;
- }
-
- PicSettings.TestoFirmaStart = TextBox4.Text;
- PicSettings.TestoFirmaStartV = TextBox29.Text;
- PicSettings.DataPartenza = DateTimePicker1.Value;
- PicSettings.TestoOrario = TextBox18.Text;
- PicSettings.AltezzaSmall = Conversions.ToInteger(TextBox5.Text);
- PicSettings.LarghezzaSmall = Conversions.ToInteger(TextBox5.Text);
- PicSettings.CreaMiniature = CheckBox1.Checked;
- PicSettings.AggiungiScritteMiniature = RadioButton3.Checked;
- PicSettings.AggTempoGaraMin = RadioButton5.Checked;
- PicSettings.AggNumTempMin = RadioButton7.Checked;
- PicSettings.DimVert = Conversions.ToInteger(TextBox30.Text);
- PicSettings.MargVert = Conversions.ToInteger(TextBox31.Text);
-
- // PicSettings.NomeFileChild = childFile.Name
- PicSettings.Suffisso = TextBox3.Text;
- PicSettings.Codice = TextBox13.Text;
- PicSettings.Trasparenza = Conversions.ToInteger(TextBox9.Text);
- PicSettings.IlFont = ComboBox3.SelectedItem.ToString();
- PicSettings.Grassetto = CheckBox3.Checked;
- PicSettings.Posizione = ComboBox1.SelectedItem.ToString();
- PicSettings.Allineamento = ComboBox2.SelectedItem.ToString();
- PicSettings.Margine = Conversions.ToInteger(TextBox12.Text);
- PicSettings.LogoAltezza = Conversions.ToInteger(TextBox14.Text);
- PicSettings.LogoLarghezza = Conversions.ToInteger(TextBox15.Text);
- PicSettings.fontColoreRGB = ColorTranslator.FromHtml(TextBox34.Text);
- PicSettings.LogoAggiungi = CheckBox5.Checked;
- PicSettings.LogoNomeFile = TextBox10.Text;
- PicSettings.LogoTrasparenza = TextBox19.Text;
- PicSettings.LogoMargine = TextBox16.Text;
- PicSettings.LogoPosizioneH = ComboBox4.Text;
- PicSettings.LogoPosizioneV = ComboBox5.Text;
- PicSettings.FotoGrandeDimOrigina = CheckBox15.Checked;
- PicSettings.AltezzaBig = Conversions.ToInteger(TextBox27.Text);
- PicSettings.LarghezzaBig = Conversions.ToInteger(TextBox28.Text);
- PicSettings.DimMin = Conversions.ToInteger(TextBox25.Text);
- PicSettings.TestoMin = RadioButton6.Checked;
- PicSettings.jpegQuality = Conversions.ToLong(TextBox32.Text);
- PicSettings.jpegQualityMin = Conversions.ToLong(TextBox33.Text);
-
- // PicSettings.mainForm = Me
-
-
- }
-
- private List> makeFilesList(string SourcePath)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- DirectoryInfo DestDir = null;
- int NumFileXDir = Conversions.ToInteger(TextBox17.Text);
- string SuffixDir = TextBox20.Text;
- int NumCifreDir = Conversions.ToInteger(TextBox21.Text);
- bool DividiFile = false;
- StopAttivo = false;
- int FileConta = 0;
- int ContaFileXDir = 0;
- int ContaDirXDir = 0;
- string TestoTemp = "";
- int ContaTemp = 0;
- var picList = new List();
- var dirList = new List>();
-
-
- // controlla directory principale
- // Dim childFile As FileInfo
- // For Each childFile In SourceDir.GetFiles("*.jpg")
- // picList.Add(childFile)
- // Next
-
- picList = getFiles(SourceDir);
- dirList.Add(picList);
-
- // controlla sottodirectory
- if (CheckBox6.Checked == true)
- {
- foreach (var subDir in SourceDir.GetDirectories())
- {
- var filesList = new List();
- filesList = getFiles(subDir);
- dirList.Add(filesList);
- }
- }
-
- return dirList;
- }
-
- private List getFiles(DirectoryInfo sourceDir)
- {
- var picList = new List();
- foreach (var childFile in sourceDir.GetFiles("*.jpg"))
- picList.Add(childFile);
- return picList;
- }
-
- private List> dividiLista(string SourcePath, List> lista)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- int NumFileXDir = Conversions.ToInteger(TextBox17.Text);
- string SuffixDir = TextBox20.Text;
- int NumCifreDir = Conversions.ToInteger(TextBox21.Text);
- bool DividiFile = false;
- int FileConta = 0;
- int ContaFileXDir = 0;
- int ContaDirXDir = 0;
- string TestoTemp = "";
- int ContaTemp = 0;
- if (NumFileXDir > 0 & CheckBox11.Checked == true)
- {
- if (FileConta > NumFileXDir)
- {
- DividiFile = true;
- }
- else
- {
- }
- }
-
- return default;
- }
-
- private void setLabel17Text(string text)
- {
- if (Label17.InvokeRequired)
- {
- Label17.Invoke(new Action(setLabel17Text), text);
- }
- else
- {
- Label17.Text = text;
- }
- }
-
- public void stepProgressBar()
- {
- if (ProgressBar1.InvokeRequired)
- {
- ProgressBar1.Invoke(new MethodInvoker(ProgressBar1.PerformStep));
- }
- else
- {
- ProgressBar1.PerformStep();
- }
-
- setLabel18Text(ProgressBar1.Value.ToString());
- }
-
- private void setLabel10Text(string text)
- {
- if (Label10.InvokeRequired)
- {
- Label10.Invoke(new Action(setLabel10Text), text);
- }
- else
- {
- Label10.Text = text;
- }
- }
-
- private void setProgressBarMaximum(int value)
- {
- if (ProgressBar1.InvokeRequired)
- {
- ProgressBar1.Invoke(new Action(setProgressBarMaximum), (object)value);
- }
- else
- {
- ProgressBar1.Maximum = value;
- }
- }
-
- private void setProgressBarValue(int value)
- {
- if (ProgressBar1.InvokeRequired)
- {
- ProgressBar1.Invoke(new Action(setProgressBarValue), (object)value);
- }
- else
- {
- ProgressBar1.Value = value;
- }
- }
-
- private void setLabel18Text(string text)
- {
- if (Label18.InvokeRequired)
- {
- Label18.Invoke(new Action(setLabel18Text), text);
- }
- else
- {
- Label18.Text = text;
- }
- }
-
- private void setLabel43Text(string text)
- {
- if (Label43.InvokeRequired)
- {
- Label43.Invoke(new Action(setLabel43Text), text);
- }
- else
- {
- Label43.Text = text;
- }
- }
-
- private void creaImmaginiWithThreadMod(string SourcePath, string DestPath)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- var DestDirStart = new DirectoryInfo(DestPath);
- DirectoryInfo DestDir = null;
- int NumFileXDir = Conversions.ToInteger(TextBox17.Text);
- string SuffixDir = TextBox20.Text;
- int NumCifreDir = Conversions.ToInteger(TextBox21.Text);
- bool DividiFile = false;
- StopAttivo = false;
- int FileConta = 0;
- int ContaFileXDir = 0;
- int ContaDirXDir = 0;
- string TestoTemp = "";
- int ContaTemp = 0;
- if (SourceDir.Exists)
- {
- FileConta = SourceDir.GetFiles("*.jpg").GetLength(0);
- // Label17.Text = (CType(Label17.Text, Integer) + FileConta).ToString
- string a = (Conversions.ToInteger(Label17.Text) + FileConta).ToString();
- setLabel17Text(a);
- setProgressBarMaximum(Conversions.ToInteger(a));
- if (NumFileXDir > 0 & CheckBox11.Checked == true)
- {
- if (FileConta > NumFileXDir)
- {
- DividiFile = true;
- }
- else
- {
- DestDir = DestDirStart;
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
-
- DividiFile = false;
- }
- }
- else
- {
- DestDir = DestDirStart;
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
-
- DividiFile = false;
- }
-
- foreach (var childFile in SourceDir.GetFiles("*.jpg"))
- {
- if (StopAttivo == true)
- {
- break;
- }
-
- setLabel10Text("File: " + childFile.Name);
- string b = (Conversions.ToInteger(Label18.Text) + 1).ToString();
- // setLabel18Text(b)
- // setProgressBarValue(CInt(b))
- // Label10.Text = "File: " & childFile.Name
- // Label18.Text = (CType(Label18.Text, Integer) + 1).ToString
- // Application.DoEvents()
-
- ContaFileXDir += 1;
- if (DividiFile == true)
- {
- if (ContaFileXDir == ContaDirXDir * NumFileXDir + 1)
- {
- ContaDirXDir += 1;
- if (RadioButton1.Checked == true)
- {
- TestoTemp = ContaDirXDir.ToString();
- }
- else
- {
- TestoTemp = (ContaDirXDir * NumFileXDir).ToString();
- }
-
- var loopTo = NumCifreDir - TestoTemp.Length;
- for (ContaTemp = 1; ContaTemp <= loopTo; ContaTemp++)
- TestoTemp = "0" + TestoTemp;
- if (DestDirStart.FullName.EndsWith(@"\"))
- {
- DestDir = new DirectoryInfo(DestDirStart.FullName + SuffixDir + TestoTemp);
- }
- else
- {
- DestDir = new DirectoryInfo(DestDirStart.FullName + @"\" + SuffixDir + TestoTemp);
- }
-
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
- }
- }
-
- // Application.DoEvents()
-
-
-
- var ClsCreaImmagine = new ImageCreator();
- ClsCreaImmagine.NomeFileChild = childFile.Name;
- ClsCreaImmagine.DestDir = DestDir;
- ClsCreaImmagine.SourceDir = SourceDir;
- ClsCreaImmagine.DestDirStart = DestDirStart;
- ContaImmaginiThread += 1;
- MyPool.InsertWorkItem(childFile.Name, new XyThreadAdd(ClsCreaImmagine.CreaImmagineThread), new object[1] { childFile.Name }, true);
- }
- // copy all the sub-directories by recursively calling this same routine
- if (CheckBox6.Checked == true)
- {
- foreach (var subDir in SourceDir.GetDirectories())
- creaImmaginiWithThreadMod(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name));
- }
- }
- }
-
- // il posto giusto dove fare modifiche
- private void CreaImmaginiWithThread(string SourcePath, string DestPath)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- var DestDirStart = new DirectoryInfo(DestPath);
- DirectoryInfo DestDir = null;
- int NumFileXDir = Conversions.ToInteger(TextBox17.Text);
- string SuffixDir = TextBox20.Text;
- int NumCifreDir = Conversions.ToInteger(TextBox21.Text);
- bool DividiFile = false;
- StopAttivo = false;
- int FileConta = 0;
- int ContaFileXDir = 0;
- int ContaDirXDir = 0;
- string TestoTemp = "";
- int ContaTemp = 0;
- if (SourceDir.Exists)
- {
- FileConta = SourceDir.GetFiles("*.jpg").GetLength(0);
- Label17.Text = (Conversions.ToInteger(Label17.Text) + FileConta).ToString();
- if (NumFileXDir > 0 & CheckBox11.Checked == true)
- {
- if (FileConta > NumFileXDir)
- {
- DividiFile = true;
- }
- else
- {
- DestDir = DestDirStart;
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
-
- DividiFile = false;
- }
- }
- else
- {
- DestDir = DestDirStart;
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
-
- DividiFile = false;
- }
-
- foreach (var childFile in SourceDir.GetFiles("*.jpg"))
- {
- if (StopAttivo == true)
- {
- break;
- }
- // Label10.Text = "File: " & childFile.Name
- // Label18.Text = (CType(Label18.Text, Integer) + 1).ToString
- // Application.DoEvents()
-
- ContaFileXDir += 1;
- if (DividiFile == true)
- {
- if (ContaFileXDir == ContaDirXDir * NumFileXDir + 1)
- {
- ContaDirXDir += 1;
- if (RadioButton1.Checked == true)
- {
- TestoTemp = ContaDirXDir.ToString();
- }
- else
- {
- TestoTemp = (ContaDirXDir * NumFileXDir).ToString();
- }
-
- var loopTo = NumCifreDir - TestoTemp.Length;
- for (ContaTemp = 1; ContaTemp <= loopTo; ContaTemp++)
- TestoTemp = "0" + TestoTemp;
- if (DestDirStart.FullName.EndsWith(@"\"))
- {
- DestDir = new DirectoryInfo(DestDirStart.FullName + SuffixDir + TestoTemp);
- }
- else
- {
- DestDir = new DirectoryInfo(DestDirStart.FullName + @"\" + SuffixDir + TestoTemp);
- }
-
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
- }
- }
-
- Application.DoEvents();
- var ClsCreaImmagine = new CreaImmagineSeparateThread();
- ClsCreaImmagine.DirectorySorgente = TextBox1.Text;
- ClsCreaImmagine.DirectoryDestinazione = TextBox2.Text;
- ClsCreaImmagine.DestDir = DestDir;
- ClsCreaImmagine.SourceDir = SourceDir;
- ClsCreaImmagine.DestDirStart = DestDirStart;
- ClsCreaImmagine.DimStandard = Conversions.ToInteger(TextBox11.Text);
- ClsCreaImmagine.DimStandardMiniatura = Conversions.ToInteger(TextBox25.Text);
- ClsCreaImmagine.UsaOrarioMiniatura = CheckBox12.Checked;
- ClsCreaImmagine.UsaOrarioTestoApplicare = CheckBox8.Checked;
- ClsCreaImmagine.UsaTempoGaraTestoApplicare = CheckBox7.Checked;
- ClsCreaImmagine.UsaRotazioneAutomatica = CheckBox10.Checked;
- ClsCreaImmagine.UsaForzaJpg = CheckBox9.Checked;
- if (CheckBox17.Checked)
- {
- ClsCreaImmagine.TestoNome = true;
- }
- else
- {
- ClsCreaImmagine.TestoNome = false;
- }
-
- if (CheckBox16.Checked)
- {
- ClsCreaImmagine.NomeData = true;
- }
- else
- {
- ClsCreaImmagine.NomeData = false;
- }
-
- ClsCreaImmagine.TestoFirmaStart = TextBox4.Text;
- ClsCreaImmagine.TestoFirmaStartV = TextBox29.Text;
- ClsCreaImmagine.DataPartenza = DateTimePicker1.Value;
- ClsCreaImmagine.TestoOrario = TextBox18.Text;
- ClsCreaImmagine.AltezzaSmall = Conversions.ToInteger(TextBox5.Text);
- ClsCreaImmagine.LarghezzaSmall = Conversions.ToInteger(TextBox5.Text);
- ClsCreaImmagine.CreaMiniature = CheckBox1.Checked;
- ClsCreaImmagine.AggiungiScritteMiniature = RadioButton3.Checked;
- ClsCreaImmagine.AggTempoGaraMin = RadioButton5.Checked;
- ClsCreaImmagine.AggNumTempMin = RadioButton7.Checked;
- ClsCreaImmagine.DimVert = Conversions.ToInteger(TextBox30.Text);
- ClsCreaImmagine.MargVert = Conversions.ToInteger(TextBox31.Text);
- ClsCreaImmagine.NomeFileChild = childFile.Name;
- ClsCreaImmagine.Suffisso = TextBox3.Text;
- ClsCreaImmagine.Codice = TextBox13.Text;
- ClsCreaImmagine.Trasparenza = Conversions.ToInteger(TextBox9.Text);
- ClsCreaImmagine.IlFont = ComboBox3.SelectedItem.ToString();
- ClsCreaImmagine.Grassetto = CheckBox3.Checked;
- ClsCreaImmagine.Posizione = ComboBox1.SelectedItem.ToString();
- ClsCreaImmagine.Allineamento = ComboBox2.SelectedItem.ToString();
- ClsCreaImmagine.Margine = Conversions.ToInteger(TextBox12.Text);
- ClsCreaImmagine.LogoAltezza = Conversions.ToInteger(TextBox14.Text);
- ClsCreaImmagine.LogoLarghezza = Conversions.ToInteger(TextBox15.Text);
-
- // ClsCreaImmagine.FontColoreR = CType(TextBox22.Text, Integer)
- // ClsCreaImmagine.FontColoreG = CType(TextBox23.Text, Integer)
- // ClsCreaImmagine.FontColoreB = CType(TextBox24.Text, Integer)
- ClsCreaImmagine.fontColoreRGB = ColorTranslator.FromHtml(TextBox34.Text);
- ClsCreaImmagine.LogoAggiungi = CheckBox5.Checked;
- ClsCreaImmagine.LogoNomeFile = TextBox10.Text;
- ClsCreaImmagine.LogoTrasparenza = TextBox19.Text;
- ClsCreaImmagine.LogoMargine = TextBox16.Text;
- ClsCreaImmagine.LogoPosizioneH = ComboBox4.Text;
- ClsCreaImmagine.LogoPosizioneV = ComboBox5.Text;
- ClsCreaImmagine.FotoGrandeDimOrigina = CheckBox15.Checked;
- ClsCreaImmagine.AltezzaBig = Conversions.ToInteger(TextBox27.Text);
- ClsCreaImmagine.LarghezzaBig = Conversions.ToInteger(TextBox28.Text);
- ClsCreaImmagine.DimMin = Conversions.ToInteger(TextBox25.Text);
- ClsCreaImmagine.TestoMin = RadioButton6.Checked;
- ClsCreaImmagine.jpegQuality = Conversions.ToLong(TextBox32.Text);
- ClsCreaImmagine.jpegQuality = Conversions.ToLong(TextBox33.Text);
- ContaImmaginiThread += 1;
- MyPool.InsertWorkItem(childFile.Name, new XyThreadAdd(ClsCreaImmagine.CreaImmagineThread), new object[1] { childFile.Name }, true);
- }
- // copy all the sub-directories by recursively calling this same routine
- if (CheckBox6.Checked == true)
- {
- foreach (var subDir in SourceDir.GetDirectories())
- CreaImmaginiWithThread(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name));
- }
- }
- }
-
- private void CopyDirectoryFile(string SourcePath, string DestPath, bool OverWrite = false)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- var DestDir = new DirectoryInfo(DestPath);
- if (SourceDir.Exists)
- {
- if (!DestDir.Exists)
- {
- DestDir.Create();
- // copy all the files of the current directory
- }
-
- foreach (var childFile in SourceDir.GetFiles())
- {
- if (OverWrite)
- {
- childFile.CopyTo(Path.Combine(DestDir.FullName, childFile.Name), true);
- }
- // if overwrite = false, copy the file only if it does not exist
- // this is done to avoid an IOException if a file already exists
- // this way the other files can be copied anyway...
- else if (!File.Exists(Path.Combine(DestDir.FullName, childFile.Name)))
- {
- childFile.CopyTo(Path.Combine(DestDir.FullName, childFile.Name), false);
- }
- // copy all the sub-directories by recursively calling this same routine
- }
-
- foreach (var subDir in SourceDir.GetDirectories())
- CopyDirectoryFile(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name), OverWrite);
- }
- }
-
- public Size NewthumbSize(int currentwidth, int currentheight, int MaxPixel, string TipoSize)
- {
- // Calculate the Size of the New image
- // *** Larghezza, Altezza, Auto
-
- double tempMultiplier;
- if ((TipoSize.ToUpper() ?? "") == ("Larghezza".ToUpper() ?? ""))
- {
- tempMultiplier = MaxPixel / (double)currentwidth;
- }
- else if ((TipoSize.ToUpper() ?? "") == ("Altezza".ToUpper() ?? ""))
- {
- tempMultiplier = MaxPixel / (double)currentheight;
- }
- else if (currentheight > currentwidth) // portrait
- {
- tempMultiplier = MaxPixel / (double)currentheight;
- }
- else
- {
- tempMultiplier = MaxPixel / (double)currentwidth;
- }
-
- var NewSize = new Size((int)Math.Round(currentwidth * tempMultiplier), (int)Math.Round(currentheight * tempMultiplier));
- return NewSize;
- }
-
- private void Button7_Click(object sender, EventArgs e)
- {
- StopAttivo = true;
- MyPool.StopThreadPool();
- unlockUI();
- }
-
- private void Button4_Click(object sender, EventArgs e)
- {
- var openFileDialog = new OpenFileDialog();
-
- // openFileDialog.InitialDirectory = TextBox1.Text
- openFileDialog.Filter = "Immagini jpg (*.jpg)|*.jpg|Immagini gif (*.gif)|*.gif|Tutti i file (*.*)|*.*";
- if (TextBox10.Text.Length > 0)
- {
- openFileDialog.FileName = TextBox10.Text;
- }
-
- openFileDialog.FilterIndex = 0;
- openFileDialog.RestoreDirectory = true;
- if (DialogResult.OK == openFileDialog.ShowDialog())
- {
- TextBox10.Text = openFileDialog.FileName;
- PictureBox1.Image = Image.FromFile(TextBox10.Text);
- if (PictureBox1.Image.Height >= PictureBox1.Image.Width)
- {
- PictureBox1.Height = 160;
- PictureBox1.Width = Conversions.ToInteger(160 * PictureBox1.Image.Width / (double)PictureBox1.Image.Height);
- }
- else
- {
- PictureBox1.Width = 224;
- PictureBox1.Height = Conversions.ToInteger(224 * PictureBox1.Image.Height / (double)PictureBox1.Image.Width);
- }
- }
- }
-
- private string LeggiSoloNomeFile(string FileName)
- {
- string Testo = FileName;
- string Risposta = "";
- var Nomi = Testo.Split(new char[] { '\\' });
- if (Nomi.Length > 1)
- {
- Risposta = Nomi[Nomi.Length - 1];
- }
-
- return Risposta;
- }
-
- private void PictureBox1_MouseMove(object sender, MouseEventArgs e)
- {
- // GetColor()
- // GetPixelColor(PictureBox1.PointToScreen(e.Location)).ToArgb.ToString("X8")
-
- }
-
- private void PictureBox1_MouseUp(object sender, MouseEventArgs e)
- {
- if (e.Button == MouseButtons.Left)
- {
- WaterSelectColor = true;
- }
- else
- {
- WaterSelectColor = false;
- }
- }
-
-
- // Private Declare Function CreateDC Lib "gdi32.dll" (ByVal strDriver As String, ByVal strDevice As String, ByVal strOutput As String, ByVal pData As IntPtr) As IntPtr
- // Private Declare Function DeleteDC Lib "gdi32.dll" (ByVal hdc As IntPtr) As Boolean
- // Private Declare Function GetPixel Lib "gdi32.dll" (ByVal hdc As IntPtr, ByVal x As Integer, ByVal y As Integer) As Integer
- // Private Declare Function GetCursorPos Lib "user32.dll" (ByRef lpPoint As Point) As Boolean
-
-
- // '''
- // ''' Get the color relative to mouse position
- // '''
- // Private Sub GetColor()
- // Dim hdcScreen As IntPtr = CreateDC("Display", Nothing, Nothing, IntPtr.Zero)
- // Dim pt As Point = New Point
- // GetCursorPos(pt)
- // Dim cr As Integer = GetPixel(hdcScreen, pt.X, pt.Y)
- // DeleteDC(hdcScreen)
- // Dim clr As Color = Color.FromArgb((cr And &HFF), (cr And &HFF00) >> 8, (cr And &HFF0000) >> 16)
- // PictureBox3.BackColor = clr
- // If WaterSelectColor = True Then
- // PictureBox2.BackColor = clr
- // End If
- // WaterSelectColor = False
- // End Sub
-
-
- private Color[] GetPixelColor(Point screenLocation)
- {
- // Dim bm As New Bitmap(1, 1, Imaging.PixelFormat.Format24bppRgb)
- // Dim g As Graphics = Graphics.FromImage(bm)
- // g.CopyFromScreen(screenLocation, New Point(0, 0), New Size(1, 1))
- // Dim result As Color = bm.GetPixel(0, 0)
- // g.Dispose()
- // bm.Dispose()
- // Return result
- return null;
- }
-
- private void Button8_Click(object sender, EventArgs e)
- {
- var MyDialog = new ColorDialog();
- MyDialog.AllowFullOpen = true;
- // If TextBox22.Text.Length > 0 And TextBox23.Text.Length > 0 And TextBox24.Text.Length > 0 Then
- // If CType(TextBox22.Text, Integer) >= 0 And CType(TextBox23.Text, Integer) >= 0 And CType(TextBox24.Text, Integer) >= 0 Then
- // MyDialog.Color = Color.FromArgb(0, CType(TextBox22.Text, Integer), CType(TextBox23.Text, Integer), CType(TextBox24.Text, Integer))
- // End If
- // End If
-
- if (MyDialog.ShowDialog() == DialogResult.OK)
- {
- // TextBox22.Text = MyDialog.Color.R.ToString
- // TextBox23.Text = MyDialog.Color.G.ToString
- // TextBox24.Text = MyDialog.Color.B.ToString
- TextBox34.Text = ColorTranslator.ToHtml(MyDialog.Color);
- TextBox34.BackColor = MyDialog.Color;
- }
- }
-
- private void TextBox27_TextChanged(object sender, EventArgs e)
- {
- }
-
- private void CheckBox18_CheckedChanged(object sender, EventArgs e)
- {
- CheckBox4.Checked = false;
- CheckBox12.Checked = false;
- }
-
- private void CheckBox4_CheckedChanged(object sender, EventArgs e)
- {
- CheckBox18.Checked = false;
- }
-
- private void CheckBox12_CheckedChanged(object sender, EventArgs e)
- {
- CheckBox18.Checked = false;
- }
- }
-
- public class PicInfoold
- {
- public DirectoryInfo DirSource, DirDest, DirDestStart;
- public string NomeImmagine;
-
- public PicInfoold(DirectoryInfo Dir_Source, DirectoryInfo Dir_Dest, DirectoryInfo Dir_DestStart, string Nome_Immagine)
- {
- DirSource = Dir_Source;
- DirDest = Dir_Dest;
- DirDestStart = Dir_DestStart;
- NomeImmagine = Nome_Immagine;
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/Form1.resx b/imagecatalog.backup/Form1.resx
deleted file mode 100644
index d58980a..0000000
--- a/imagecatalog.backup/Form1.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/imagecatalog.backup/Form1.vb b/imagecatalog.backup/Form1.vb
deleted file mode 100644
index 5c4aae6..0000000
--- a/imagecatalog.backup/Form1.vb
+++ /dev/null
@@ -1,2946 +0,0 @@
-Imports System.IO
-Imports System.Drawing.Drawing2D
-Imports System.Drawing.Imaging
-Imports System.Threading
-Imports System.Collections.Generic
-Imports CatalogVbLib
-
-Public Delegate Sub XyThreadAddold(ByVal Info As String)
-
-Public Class Form1
- Inherits System.Windows.Forms.Form
-
-#Region " Windows Form Designer generated code "
-
- Public Sub New()
- MyBase.New()
-
- 'This call is required by the Windows Form Designer.
- InitializeComponent()
-
- 'Add any initialization after the InitializeComponent() call
-
- End Sub
-
- 'Form overrides dispose to clean up the component list.
- Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing Then
- If Not (components Is Nothing) Then
- components.Dispose()
- End If
- End If
- MyBase.Dispose(disposing)
- End Sub
-
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
-
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- Friend WithEvents Button1 As System.Windows.Forms.Button
- Friend WithEvents Label10 As System.Windows.Forms.Label
- Friend WithEvents Label17 As System.Windows.Forms.Label
- Friend WithEvents Label18 As System.Windows.Forms.Label
- Friend WithEvents Label19 As System.Windows.Forms.Label
- Friend WithEvents Label20 As System.Windows.Forms.Label
- Friend WithEvents Button6 As System.Windows.Forms.Button
- Friend WithEvents Button5 As System.Windows.Forms.Button
- Friend WithEvents Button7 As System.Windows.Forms.Button
- Friend WithEvents Label27 As System.Windows.Forms.Label
- Friend WithEvents TextBox13 As System.Windows.Forms.TextBox
- Friend WithEvents Label16 As System.Windows.Forms.Label
- Friend WithEvents Label7 As System.Windows.Forms.Label
- Friend WithEvents TextBox7 As System.Windows.Forms.TextBox
- Friend WithEvents Label8 As System.Windows.Forms.Label
- Friend WithEvents TextBox8 As System.Windows.Forms.TextBox
- Friend WithEvents CheckBox2 As System.Windows.Forms.CheckBox
- Friend WithEvents Label43 As System.Windows.Forms.Label
- Friend WithEvents CheckBox22 As System.Windows.Forms.CheckBox
- Friend WithEvents TabPage4 As System.Windows.Forms.TabPage
- Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox
- Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox
- Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
- Friend WithEvents ComboBox5 As System.Windows.Forms.ComboBox
- Friend WithEvents ComboBox4 As System.Windows.Forms.ComboBox
- Friend WithEvents TextBox19 As System.Windows.Forms.TextBox
- Friend WithEvents Label28 As System.Windows.Forms.Label
- Friend WithEvents CheckBox5 As System.Windows.Forms.CheckBox
- Friend WithEvents TextBox15 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox14 As System.Windows.Forms.TextBox
- Friend WithEvents Label25 As System.Windows.Forms.Label
- Friend WithEvents TextBox16 As System.Windows.Forms.TextBox
- Friend WithEvents Label24 As System.Windows.Forms.Label
- Friend WithEvents Label22 As System.Windows.Forms.Label
- Friend WithEvents Label23 As System.Windows.Forms.Label
- Friend WithEvents Button4 As System.Windows.Forms.Button
- Friend WithEvents TextBox10 As System.Windows.Forms.TextBox
- Friend WithEvents Label29 As System.Windows.Forms.Label
- Friend WithEvents Label30 As System.Windows.Forms.Label
- Friend WithEvents PictureBox3 As System.Windows.Forms.PictureBox
- Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
- Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
- Friend WithEvents Panel2 As System.Windows.Forms.Panel
- Friend WithEvents RadioButton3 As System.Windows.Forms.RadioButton
- Friend WithEvents RadioButton7 As System.Windows.Forms.RadioButton
- Friend WithEvents RadioButton4 As System.Windows.Forms.RadioButton
- Friend WithEvents RadioButton6 As System.Windows.Forms.RadioButton
- Friend WithEvents RadioButton5 As System.Windows.Forms.RadioButton
- Friend WithEvents Label5 As System.Windows.Forms.Label
- Friend WithEvents TextBox5 As System.Windows.Forms.TextBox
- Friend WithEvents Label6 As System.Windows.Forms.Label
- Friend WithEvents TextBox6 As System.Windows.Forms.TextBox
- Friend WithEvents Label3 As System.Windows.Forms.Label
- Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
- Friend WithEvents CheckBox1 As System.Windows.Forms.CheckBox
- Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
- Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
- Friend WithEvents TextBox26 As System.Windows.Forms.TextBox
- Friend WithEvents Label37 As System.Windows.Forms.Label
- Friend WithEvents Label38 As System.Windows.Forms.Label
- Friend WithEvents TextBox27 As System.Windows.Forms.TextBox
- Friend WithEvents Label39 As System.Windows.Forms.Label
- Friend WithEvents TextBox28 As System.Windows.Forms.TextBox
- Friend WithEvents CheckBox15 As System.Windows.Forms.CheckBox
- Friend WithEvents TabPage3 As System.Windows.Forms.TabPage
- Friend WithEvents GroupBox10 As System.Windows.Forms.GroupBox
- Friend WithEvents Label42 As System.Windows.Forms.Label
- Friend WithEvents Label41 As System.Windows.Forms.Label
- Friend WithEvents TextBox31 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox30 As System.Windows.Forms.TextBox
- Friend WithEvents GroupBox9 As System.Windows.Forms.GroupBox
- Friend WithEvents CheckBox17 As System.Windows.Forms.CheckBox
- Friend WithEvents CheckBox16 As System.Windows.Forms.CheckBox
- Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
- Friend WithEvents Button8 As System.Windows.Forms.Button
- Friend WithEvents Label36 As System.Windows.Forms.Label
- Friend WithEvents TextBox25 As System.Windows.Forms.TextBox
- Friend WithEvents Label35 As System.Windows.Forms.Label
- Friend WithEvents ComboBox3 As System.Windows.Forms.ComboBox
- Friend WithEvents TextBox11 As System.Windows.Forms.TextBox
- Friend WithEvents Label12 As System.Windows.Forms.Label
- Friend WithEvents Label11 As System.Windows.Forms.Label
- Friend WithEvents CheckBox3 As System.Windows.Forms.CheckBox
- Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
- Friend WithEvents Label40 As System.Windows.Forms.Label
- Friend WithEvents TextBox29 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox18 As System.Windows.Forms.TextBox
- Friend WithEvents Label26 As System.Windows.Forms.Label
- Friend WithEvents DateTimePicker1 As System.Windows.Forms.DateTimePicker
- Friend WithEvents CheckBox8 As System.Windows.Forms.CheckBox
- Friend WithEvents TextBox9 As System.Windows.Forms.TextBox
- Friend WithEvents CheckBox7 As System.Windows.Forms.CheckBox
- Friend WithEvents Label4 As System.Windows.Forms.Label
- Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
- Friend WithEvents Label9 As System.Windows.Forms.Label
- Friend WithEvents Label13 As System.Windows.Forms.Label
- Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
- Friend WithEvents ComboBox2 As System.Windows.Forms.ComboBox
- Friend WithEvents Label14 As System.Windows.Forms.Label
- Friend WithEvents TextBox12 As System.Windows.Forms.TextBox
- Friend WithEvents Label15 As System.Windows.Forms.Label
- Friend WithEvents TabPage5 As System.Windows.Forms.TabPage
- Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
- Friend WithEvents CheckBox6 As System.Windows.Forms.CheckBox
- Friend WithEvents Button3 As System.Windows.Forms.Button
- Friend WithEvents Button2 As System.Windows.Forms.Button
- Friend WithEvents Label1 As System.Windows.Forms.Label
- Friend WithEvents Label2 As System.Windows.Forms.Label
- Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
- Friend WithEvents GroupBox8 As System.Windows.Forms.GroupBox
- Friend WithEvents RadioButton2 As System.Windows.Forms.RadioButton
- Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton
- Friend WithEvents TextBox21 As System.Windows.Forms.TextBox
- Friend WithEvents Label34 As System.Windows.Forms.Label
- Friend WithEvents TextBox20 As System.Windows.Forms.TextBox
- Friend WithEvents Label33 As System.Windows.Forms.Label
- Friend WithEvents Label31 As System.Windows.Forms.Label
- Friend WithEvents CheckBox11 As System.Windows.Forms.CheckBox
- Friend WithEvents TextBox17 As System.Windows.Forms.TextBox
- Friend WithEvents Label32 As System.Windows.Forms.Label
- Friend WithEvents GroupBox7 As System.Windows.Forms.GroupBox
- Friend WithEvents CheckBox10 As System.Windows.Forms.CheckBox
- Friend WithEvents CheckBox9 As System.Windows.Forms.CheckBox
- Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
- Friend WithEvents Label45 As System.Windows.Forms.Label
- Friend WithEvents TextBox32 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox33 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox34 As System.Windows.Forms.TextBox
- Friend WithEvents Label46 As System.Windows.Forms.Label
- Friend WithEvents ProgressBar1 As System.Windows.Forms.ProgressBar
- Friend WithEvents Panel1 As System.Windows.Forms.Panel
- Friend WithEvents CheckBox18 As System.Windows.Forms.CheckBox
- Friend WithEvents CheckBox4 As System.Windows.Forms.CheckBox
- Friend WithEvents CheckBox12 As System.Windows.Forms.CheckBox
- Friend WithEvents Label44 As System.Windows.Forms.Label
- Private Sub InitializeComponent()
- Me.Button1 = New System.Windows.Forms.Button()
- Me.Label10 = New System.Windows.Forms.Label()
- Me.Label17 = New System.Windows.Forms.Label()
- Me.Label18 = New System.Windows.Forms.Label()
- Me.Label19 = New System.Windows.Forms.Label()
- Me.Label20 = New System.Windows.Forms.Label()
- Me.Button6 = New System.Windows.Forms.Button()
- Me.Button5 = New System.Windows.Forms.Button()
- Me.Button7 = New System.Windows.Forms.Button()
- Me.Label27 = New System.Windows.Forms.Label()
- Me.TextBox13 = New System.Windows.Forms.TextBox()
- Me.Label16 = New System.Windows.Forms.Label()
- Me.Label7 = New System.Windows.Forms.Label()
- Me.TextBox7 = New System.Windows.Forms.TextBox()
- Me.Label8 = New System.Windows.Forms.Label()
- Me.TextBox8 = New System.Windows.Forms.TextBox()
- Me.CheckBox2 = New System.Windows.Forms.CheckBox()
- Me.Label43 = New System.Windows.Forms.Label()
- Me.CheckBox22 = New System.Windows.Forms.CheckBox()
- Me.Label44 = New System.Windows.Forms.Label()
- Me.TabPage4 = New System.Windows.Forms.TabPage()
- Me.GroupBox6 = New System.Windows.Forms.GroupBox()
- Me.PictureBox2 = New System.Windows.Forms.PictureBox()
- Me.PictureBox1 = New System.Windows.Forms.PictureBox()
- Me.ComboBox5 = New System.Windows.Forms.ComboBox()
- Me.ComboBox4 = New System.Windows.Forms.ComboBox()
- Me.TextBox19 = New System.Windows.Forms.TextBox()
- Me.Label28 = New System.Windows.Forms.Label()
- Me.CheckBox5 = New System.Windows.Forms.CheckBox()
- Me.TextBox15 = New System.Windows.Forms.TextBox()
- Me.TextBox14 = New System.Windows.Forms.TextBox()
- Me.Label25 = New System.Windows.Forms.Label()
- Me.TextBox16 = New System.Windows.Forms.TextBox()
- Me.Label24 = New System.Windows.Forms.Label()
- Me.Label22 = New System.Windows.Forms.Label()
- Me.Label23 = New System.Windows.Forms.Label()
- Me.Button4 = New System.Windows.Forms.Button()
- Me.TextBox10 = New System.Windows.Forms.TextBox()
- Me.Label29 = New System.Windows.Forms.Label()
- Me.Label30 = New System.Windows.Forms.Label()
- Me.PictureBox3 = New System.Windows.Forms.PictureBox()
- Me.TabPage1 = New System.Windows.Forms.TabPage()
- Me.GroupBox1 = New System.Windows.Forms.GroupBox()
- Me.Label46 = New System.Windows.Forms.Label()
- Me.TextBox33 = New System.Windows.Forms.TextBox()
- Me.Panel2 = New System.Windows.Forms.Panel()
- Me.RadioButton3 = New System.Windows.Forms.RadioButton()
- Me.RadioButton7 = New System.Windows.Forms.RadioButton()
- Me.RadioButton4 = New System.Windows.Forms.RadioButton()
- Me.RadioButton6 = New System.Windows.Forms.RadioButton()
- Me.RadioButton5 = New System.Windows.Forms.RadioButton()
- Me.Label5 = New System.Windows.Forms.Label()
- Me.TextBox5 = New System.Windows.Forms.TextBox()
- Me.Label6 = New System.Windows.Forms.Label()
- Me.TextBox6 = New System.Windows.Forms.TextBox()
- Me.Label3 = New System.Windows.Forms.Label()
- Me.TextBox3 = New System.Windows.Forms.TextBox()
- Me.CheckBox1 = New System.Windows.Forms.CheckBox()
- Me.TabPage2 = New System.Windows.Forms.TabPage()
- Me.GroupBox2 = New System.Windows.Forms.GroupBox()
- Me.Label45 = New System.Windows.Forms.Label()
- Me.TextBox32 = New System.Windows.Forms.TextBox()
- Me.TextBox26 = New System.Windows.Forms.TextBox()
- Me.Label37 = New System.Windows.Forms.Label()
- Me.Label38 = New System.Windows.Forms.Label()
- Me.TextBox27 = New System.Windows.Forms.TextBox()
- Me.Label39 = New System.Windows.Forms.Label()
- Me.TextBox28 = New System.Windows.Forms.TextBox()
- Me.CheckBox15 = New System.Windows.Forms.CheckBox()
- Me.TabPage3 = New System.Windows.Forms.TabPage()
- Me.GroupBox10 = New System.Windows.Forms.GroupBox()
- Me.Label42 = New System.Windows.Forms.Label()
- Me.Label41 = New System.Windows.Forms.Label()
- Me.TextBox31 = New System.Windows.Forms.TextBox()
- Me.TextBox30 = New System.Windows.Forms.TextBox()
- Me.GroupBox9 = New System.Windows.Forms.GroupBox()
- Me.CheckBox17 = New System.Windows.Forms.CheckBox()
- Me.CheckBox16 = New System.Windows.Forms.CheckBox()
- Me.GroupBox5 = New System.Windows.Forms.GroupBox()
- Me.TextBox34 = New System.Windows.Forms.TextBox()
- Me.Button8 = New System.Windows.Forms.Button()
- Me.Label36 = New System.Windows.Forms.Label()
- Me.TextBox25 = New System.Windows.Forms.TextBox()
- Me.Label35 = New System.Windows.Forms.Label()
- Me.ComboBox3 = New System.Windows.Forms.ComboBox()
- Me.TextBox11 = New System.Windows.Forms.TextBox()
- Me.Label12 = New System.Windows.Forms.Label()
- Me.Label11 = New System.Windows.Forms.Label()
- Me.CheckBox3 = New System.Windows.Forms.CheckBox()
- Me.GroupBox4 = New System.Windows.Forms.GroupBox()
- Me.Label40 = New System.Windows.Forms.Label()
- Me.TextBox29 = New System.Windows.Forms.TextBox()
- Me.TextBox18 = New System.Windows.Forms.TextBox()
- Me.Label26 = New System.Windows.Forms.Label()
- Me.DateTimePicker1 = New System.Windows.Forms.DateTimePicker()
- Me.CheckBox8 = New System.Windows.Forms.CheckBox()
- Me.TextBox9 = New System.Windows.Forms.TextBox()
- Me.CheckBox7 = New System.Windows.Forms.CheckBox()
- Me.Label4 = New System.Windows.Forms.Label()
- Me.TextBox4 = New System.Windows.Forms.TextBox()
- Me.Label9 = New System.Windows.Forms.Label()
- Me.Label13 = New System.Windows.Forms.Label()
- Me.ComboBox1 = New System.Windows.Forms.ComboBox()
- Me.ComboBox2 = New System.Windows.Forms.ComboBox()
- Me.Label14 = New System.Windows.Forms.Label()
- Me.TextBox12 = New System.Windows.Forms.TextBox()
- Me.Label15 = New System.Windows.Forms.Label()
- Me.TabPage5 = New System.Windows.Forms.TabPage()
- Me.GroupBox3 = New System.Windows.Forms.GroupBox()
- Me.CheckBox6 = New System.Windows.Forms.CheckBox()
- Me.Button3 = New System.Windows.Forms.Button()
- Me.Button2 = New System.Windows.Forms.Button()
- Me.Label1 = New System.Windows.Forms.Label()
- Me.Label2 = New System.Windows.Forms.Label()
- Me.TextBox1 = New System.Windows.Forms.TextBox()
- Me.TextBox2 = New System.Windows.Forms.TextBox()
- Me.GroupBox8 = New System.Windows.Forms.GroupBox()
- Me.RadioButton2 = New System.Windows.Forms.RadioButton()
- Me.RadioButton1 = New System.Windows.Forms.RadioButton()
- Me.TextBox21 = New System.Windows.Forms.TextBox()
- Me.Label34 = New System.Windows.Forms.Label()
- Me.TextBox20 = New System.Windows.Forms.TextBox()
- Me.Label33 = New System.Windows.Forms.Label()
- Me.Label31 = New System.Windows.Forms.Label()
- Me.CheckBox11 = New System.Windows.Forms.CheckBox()
- Me.TextBox17 = New System.Windows.Forms.TextBox()
- Me.Label32 = New System.Windows.Forms.Label()
- Me.GroupBox7 = New System.Windows.Forms.GroupBox()
- Me.CheckBox10 = New System.Windows.Forms.CheckBox()
- Me.CheckBox9 = New System.Windows.Forms.CheckBox()
- Me.TabControl1 = New System.Windows.Forms.TabControl()
- Me.ProgressBar1 = New System.Windows.Forms.ProgressBar()
- Me.CheckBox12 = New System.Windows.Forms.CheckBox()
- Me.CheckBox4 = New System.Windows.Forms.CheckBox()
- Me.CheckBox18 = New System.Windows.Forms.CheckBox()
- Me.Panel1 = New System.Windows.Forms.Panel()
- Me.TabPage4.SuspendLayout()
- Me.GroupBox6.SuspendLayout()
- CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).BeginInit()
- Me.TabPage1.SuspendLayout()
- Me.GroupBox1.SuspendLayout()
- Me.Panel2.SuspendLayout()
- Me.TabPage2.SuspendLayout()
- Me.GroupBox2.SuspendLayout()
- Me.TabPage3.SuspendLayout()
- Me.GroupBox10.SuspendLayout()
- Me.GroupBox9.SuspendLayout()
- Me.GroupBox5.SuspendLayout()
- Me.GroupBox4.SuspendLayout()
- Me.TabPage5.SuspendLayout()
- Me.GroupBox3.SuspendLayout()
- Me.GroupBox8.SuspendLayout()
- Me.GroupBox7.SuspendLayout()
- Me.TabControl1.SuspendLayout()
- Me.Panel1.SuspendLayout()
- Me.SuspendLayout()
- '
- 'Button1
- '
- Me.Button1.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Button1.Location = New System.Drawing.Point(539, 77)
- Me.Button1.Name = "Button1"
- Me.Button1.Size = New System.Drawing.Size(192, 39)
- Me.Button1.TabIndex = 2
- Me.Button1.Text = "crea catalogo"
- '
- 'Label10
- '
- Me.Label10.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label10.Location = New System.Drawing.Point(539, 163)
- Me.Label10.Name = "Label10"
- Me.Label10.Size = New System.Drawing.Size(192, 72)
- Me.Label10.TabIndex = 21
- Me.Label10.Text = "file"
- '
- 'Label17
- '
- Me.Label17.AutoSize = True
- Me.Label17.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label17.Location = New System.Drawing.Point(643, 243)
- Me.Label17.Name = "Label17"
- Me.Label17.Size = New System.Drawing.Size(19, 20)
- Me.Label17.TabIndex = 38
- Me.Label17.Text = "0"
- '
- 'Label18
- '
- Me.Label18.AutoSize = True
- Me.Label18.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label18.Location = New System.Drawing.Point(643, 262)
- Me.Label18.Name = "Label18"
- Me.Label18.Size = New System.Drawing.Size(19, 20)
- Me.Label18.TabIndex = 39
- Me.Label18.Text = "0"
- '
- 'Label19
- '
- Me.Label19.AutoSize = True
- Me.Label19.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label19.Location = New System.Drawing.Point(539, 243)
- Me.Label19.Name = "Label19"
- Me.Label19.Size = New System.Drawing.Size(80, 16)
- Me.Label19.TabIndex = 40
- Me.Label19.Text = "foto totali: "
- '
- 'Label20
- '
- Me.Label20.AutoSize = True
- Me.Label20.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label20.Location = New System.Drawing.Point(539, 262)
- Me.Label20.Name = "Label20"
- Me.Label20.Size = New System.Drawing.Size(104, 16)
- Me.Label20.TabIndex = 41
- Me.Label20.Text = "foto generate:"
- '
- 'Button6
- '
- Me.Button6.Font = New System.Drawing.Font("Microsoft Sans Serif", 11.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Button6.Location = New System.Drawing.Point(539, 12)
- Me.Button6.Name = "Button6"
- Me.Button6.Size = New System.Drawing.Size(192, 32)
- Me.Button6.TabIndex = 12
- Me.Button6.Text = "Carica impostazioni"
- '
- 'Button5
- '
- Me.Button5.Font = New System.Drawing.Font("Microsoft Sans Serif", 11.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Button5.Location = New System.Drawing.Point(539, 43)
- Me.Button5.Name = "Button5"
- Me.Button5.Size = New System.Drawing.Size(192, 32)
- Me.Button5.TabIndex = 43
- Me.Button5.Text = "Salva impostazioni"
- '
- 'Button7
- '
- Me.Button7.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Button7.Location = New System.Drawing.Point(539, 120)
- Me.Button7.Name = "Button7"
- Me.Button7.Size = New System.Drawing.Size(192, 40)
- Me.Button7.TabIndex = 44
- Me.Button7.Text = "stop creazione"
- '
- 'Label27
- '
- Me.Label27.Location = New System.Drawing.Point(591, 346)
- Me.Label27.Name = "Label27"
- Me.Label27.Size = New System.Drawing.Size(140, 20)
- Me.Label27.TabIndex = 46
- Me.Label27.Text = "Versione 2.0 BETA 1"
- Me.Label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight
- '
- 'TextBox13
- '
- Me.TextBox13.Location = New System.Drawing.Point(224, 48)
- Me.TextBox13.Name = "TextBox13"
- Me.TextBox13.Size = New System.Drawing.Size(56, 20)
- Me.TextBox13.TabIndex = 20
- Me.TextBox13.Text = "TextBox13"
- '
- 'Label16
- '
- Me.Label16.ForeColor = System.Drawing.Color.Black
- Me.Label16.Location = New System.Drawing.Point(168, 48)
- Me.Label16.Name = "Label16"
- Me.Label16.Size = New System.Drawing.Size(48, 16)
- Me.Label16.TabIndex = 19
- Me.Label16.Text = "Suffisso"
- Me.Label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight
- '
- 'Label7
- '
- Me.Label7.AutoSize = True
- Me.Label7.ForeColor = System.Drawing.Color.Black
- Me.Label7.Location = New System.Drawing.Point(24, 24)
- Me.Label7.Name = "Label7"
- Me.Label7.Size = New System.Drawing.Size(41, 13)
- Me.Label7.TabIndex = 16
- Me.Label7.Text = "Altezza"
- '
- 'TextBox7
- '
- Me.TextBox7.Location = New System.Drawing.Point(72, 24)
- Me.TextBox7.Name = "TextBox7"
- Me.TextBox7.Size = New System.Drawing.Size(72, 20)
- Me.TextBox7.TabIndex = 14
- Me.TextBox7.Text = "TextBox7"
- '
- 'Label8
- '
- Me.Label8.AutoSize = True
- Me.Label8.ForeColor = System.Drawing.Color.Black
- Me.Label8.Location = New System.Drawing.Point(8, 48)
- Me.Label8.Name = "Label8"
- Me.Label8.Size = New System.Drawing.Size(56, 13)
- Me.Label8.TabIndex = 17
- Me.Label8.Text = "Larghezza"
- '
- 'TextBox8
- '
- Me.TextBox8.Location = New System.Drawing.Point(72, 48)
- Me.TextBox8.Name = "TextBox8"
- Me.TextBox8.Size = New System.Drawing.Size(72, 20)
- Me.TextBox8.TabIndex = 15
- Me.TextBox8.Text = "TextBox8"
- '
- 'CheckBox2
- '
- Me.CheckBox2.Checked = True
- Me.CheckBox2.CheckState = System.Windows.Forms.CheckState.Checked
- Me.CheckBox2.ForeColor = System.Drawing.Color.Black
- Me.CheckBox2.Location = New System.Drawing.Point(168, 16)
- Me.CheckBox2.Name = "CheckBox2"
- Me.CheckBox2.Size = New System.Drawing.Size(120, 32)
- Me.CheckBox2.TabIndex = 18
- Me.CheckBox2.Text = "Mantieni dimensioni originali"
- '
- 'Label43
- '
- Me.Label43.AutoSize = True
- Me.Label43.Location = New System.Drawing.Point(651, 303)
- Me.Label43.Name = "Label43"
- Me.Label43.Size = New System.Drawing.Size(25, 13)
- Me.Label43.TabIndex = 49
- Me.Label43.Text = "000"
- '
- 'CheckBox22
- '
- Me.CheckBox22.AutoSize = True
- Me.CheckBox22.Location = New System.Drawing.Point(539, 326)
- Me.CheckBox22.Name = "CheckBox22"
- Me.CheckBox22.Size = New System.Drawing.Size(104, 17)
- Me.CheckBox22.TabIndex = 50
- Me.CheckBox22.Text = "Arresta il sistema"
- Me.CheckBox22.UseVisualStyleBackColor = True
- '
- 'Label44
- '
- Me.Label44.AutoSize = True
- Me.Label44.Location = New System.Drawing.Point(539, 303)
- Me.Label44.Name = "Label44"
- Me.Label44.Size = New System.Drawing.Size(106, 13)
- Me.Label44.TabIndex = 51
- Me.Label44.Text = "Tempo elaborazione:"
- '
- 'TabPage4
- '
- Me.TabPage4.Controls.Add(Me.GroupBox6)
- Me.TabPage4.Location = New System.Drawing.Point(4, 22)
- Me.TabPage4.Name = "TabPage4"
- Me.TabPage4.Padding = New System.Windows.Forms.Padding(3)
- Me.TabPage4.Size = New System.Drawing.Size(513, 326)
- Me.TabPage4.TabIndex = 3
- Me.TabPage4.Text = "Logo"
- Me.TabPage4.UseVisualStyleBackColor = True
- '
- 'GroupBox6
- '
- Me.GroupBox6.Controls.Add(Me.PictureBox2)
- Me.GroupBox6.Controls.Add(Me.PictureBox1)
- Me.GroupBox6.Controls.Add(Me.ComboBox5)
- Me.GroupBox6.Controls.Add(Me.ComboBox4)
- Me.GroupBox6.Controls.Add(Me.TextBox19)
- Me.GroupBox6.Controls.Add(Me.Label28)
- Me.GroupBox6.Controls.Add(Me.CheckBox5)
- Me.GroupBox6.Controls.Add(Me.TextBox15)
- Me.GroupBox6.Controls.Add(Me.TextBox14)
- Me.GroupBox6.Controls.Add(Me.Label25)
- Me.GroupBox6.Controls.Add(Me.TextBox16)
- Me.GroupBox6.Controls.Add(Me.Label24)
- Me.GroupBox6.Controls.Add(Me.Label22)
- Me.GroupBox6.Controls.Add(Me.Label23)
- Me.GroupBox6.Controls.Add(Me.Button4)
- Me.GroupBox6.Controls.Add(Me.TextBox10)
- Me.GroupBox6.Controls.Add(Me.Label29)
- Me.GroupBox6.Controls.Add(Me.Label30)
- Me.GroupBox6.Controls.Add(Me.PictureBox3)
- Me.GroupBox6.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox6.Location = New System.Drawing.Point(6, 6)
- Me.GroupBox6.Name = "GroupBox6"
- Me.GroupBox6.Size = New System.Drawing.Size(496, 224)
- Me.GroupBox6.TabIndex = 42
- Me.GroupBox6.TabStop = False
- Me.GroupBox6.Text = "Logo"
- '
- 'PictureBox2
- '
- Me.PictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
- Me.PictureBox2.Location = New System.Drawing.Point(144, 192)
- Me.PictureBox2.Name = "PictureBox2"
- Me.PictureBox2.Size = New System.Drawing.Size(24, 24)
- Me.PictureBox2.TabIndex = 44
- Me.PictureBox2.TabStop = False
- Me.PictureBox2.Visible = False
- '
- 'PictureBox1
- '
- Me.PictureBox1.Cursor = System.Windows.Forms.Cursors.Cross
- Me.PictureBox1.Location = New System.Drawing.Point(256, 56)
- Me.PictureBox1.Name = "PictureBox1"
- Me.PictureBox1.Size = New System.Drawing.Size(224, 160)
- Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
- Me.PictureBox1.TabIndex = 43
- Me.PictureBox1.TabStop = False
- '
- 'ComboBox5
- '
- Me.ComboBox5.Location = New System.Drawing.Point(144, 168)
- Me.ComboBox5.Name = "ComboBox5"
- Me.ComboBox5.Size = New System.Drawing.Size(96, 21)
- Me.ComboBox5.TabIndex = 42
- Me.ComboBox5.Text = "ComboBox5"
- '
- 'ComboBox4
- '
- Me.ComboBox4.Location = New System.Drawing.Point(144, 144)
- Me.ComboBox4.Name = "ComboBox4"
- Me.ComboBox4.Size = New System.Drawing.Size(96, 21)
- Me.ComboBox4.TabIndex = 41
- Me.ComboBox4.Text = "ComboBox4"
- '
- 'TextBox19
- '
- Me.TextBox19.Location = New System.Drawing.Point(144, 96)
- Me.TextBox19.Name = "TextBox19"
- Me.TextBox19.Size = New System.Drawing.Size(96, 20)
- Me.TextBox19.TabIndex = 40
- Me.TextBox19.Text = "TextBox19"
- '
- 'Label28
- '
- Me.Label28.ForeColor = System.Drawing.Color.Black
- Me.Label28.Location = New System.Drawing.Point(17, 97)
- Me.Label28.Name = "Label28"
- Me.Label28.Size = New System.Drawing.Size(120, 16)
- Me.Label28.TabIndex = 39
- Me.Label28.Text = "Trasparenza (0-100%)"
- Me.Label28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'CheckBox5
- '
- Me.CheckBox5.ForeColor = System.Drawing.Color.Black
- Me.CheckBox5.Location = New System.Drawing.Point(0, 26)
- Me.CheckBox5.Name = "CheckBox5"
- Me.CheckBox5.Size = New System.Drawing.Size(72, 20)
- Me.CheckBox5.TabIndex = 38
- Me.CheckBox5.Text = "Aggiungi"
- '
- 'TextBox15
- '
- Me.TextBox15.Location = New System.Drawing.Point(144, 72)
- Me.TextBox15.Name = "TextBox15"
- Me.TextBox15.Size = New System.Drawing.Size(96, 20)
- Me.TextBox15.TabIndex = 19
- Me.TextBox15.Text = "TextBox15"
- '
- 'TextBox14
- '
- Me.TextBox14.Location = New System.Drawing.Point(144, 48)
- Me.TextBox14.Name = "TextBox14"
- Me.TextBox14.Size = New System.Drawing.Size(96, 20)
- Me.TextBox14.TabIndex = 18
- Me.TextBox14.Text = "TextBox14"
- '
- 'Label25
- '
- Me.Label25.AutoSize = True
- Me.Label25.ForeColor = System.Drawing.Color.Black
- Me.Label25.Location = New System.Drawing.Point(17, 168)
- Me.Label25.Name = "Label25"
- Me.Label25.Size = New System.Drawing.Size(95, 13)
- Me.Label25.TabIndex = 36
- Me.Label25.Text = "Posizione verticale"
- Me.Label25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'TextBox16
- '
- Me.TextBox16.Location = New System.Drawing.Point(144, 120)
- Me.TextBox16.Name = "TextBox16"
- Me.TextBox16.Size = New System.Drawing.Size(96, 20)
- Me.TextBox16.TabIndex = 35
- Me.TextBox16.Text = "TextBox16"
- '
- 'Label24
- '
- Me.Label24.AutoSize = True
- Me.Label24.ForeColor = System.Drawing.Color.Black
- Me.Label24.Location = New System.Drawing.Point(19, 123)
- Me.Label24.Name = "Label24"
- Me.Label24.Size = New System.Drawing.Size(88, 13)
- Me.Label24.TabIndex = 34
- Me.Label24.Text = "Margine (pixel/%)"
- Me.Label24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'Label22
- '
- Me.Label22.AutoSize = True
- Me.Label22.ForeColor = System.Drawing.Color.Black
- Me.Label22.Location = New System.Drawing.Point(19, 51)
- Me.Label22.Name = "Label22"
- Me.Label22.Size = New System.Drawing.Size(41, 13)
- Me.Label22.TabIndex = 20
- Me.Label22.Text = "Altezza"
- Me.Label22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'Label23
- '
- Me.Label23.AutoSize = True
- Me.Label23.ForeColor = System.Drawing.Color.Black
- Me.Label23.Location = New System.Drawing.Point(19, 75)
- Me.Label23.Name = "Label23"
- Me.Label23.Size = New System.Drawing.Size(56, 13)
- Me.Label23.TabIndex = 21
- Me.Label23.Text = "Larghezza"
- Me.Label23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'Button4
- '
- Me.Button4.Location = New System.Drawing.Point(464, 24)
- Me.Button4.Name = "Button4"
- Me.Button4.Size = New System.Drawing.Size(24, 20)
- Me.Button4.TabIndex = 8
- Me.Button4.Text = "..."
- '
- 'TextBox10
- '
- Me.TextBox10.Location = New System.Drawing.Point(144, 24)
- Me.TextBox10.Name = "TextBox10"
- Me.TextBox10.Size = New System.Drawing.Size(312, 20)
- Me.TextBox10.TabIndex = 6
- Me.TextBox10.Text = "TextBox10"
- '
- 'Label29
- '
- Me.Label29.AutoSize = True
- Me.Label29.ForeColor = System.Drawing.Color.Black
- Me.Label29.Location = New System.Drawing.Point(17, 147)
- Me.Label29.Name = "Label29"
- Me.Label29.Size = New System.Drawing.Size(105, 13)
- Me.Label29.TabIndex = 36
- Me.Label29.Text = "Posizione orizzontale"
- Me.Label29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'Label30
- '
- Me.Label30.AutoSize = True
- Me.Label30.ForeColor = System.Drawing.Color.Black
- Me.Label30.Location = New System.Drawing.Point(19, 203)
- Me.Label30.Name = "Label30"
- Me.Label30.Size = New System.Drawing.Size(93, 13)
- Me.Label30.TabIndex = 36
- Me.Label30.Text = "Colore trasparente"
- Me.Label30.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- Me.Label30.Visible = False
- '
- 'PictureBox3
- '
- Me.PictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
- Me.PictureBox3.Location = New System.Drawing.Point(216, 192)
- Me.PictureBox3.Name = "PictureBox3"
- Me.PictureBox3.Size = New System.Drawing.Size(24, 24)
- Me.PictureBox3.TabIndex = 44
- Me.PictureBox3.TabStop = False
- Me.PictureBox3.Visible = False
- '
- 'TabPage1
- '
- Me.TabPage1.Controls.Add(Me.Panel1)
- Me.TabPage1.Controls.Add(Me.GroupBox1)
- Me.TabPage1.Location = New System.Drawing.Point(4, 22)
- Me.TabPage1.Name = "TabPage1"
- Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
- Me.TabPage1.Size = New System.Drawing.Size(513, 326)
- Me.TabPage1.TabIndex = 0
- Me.TabPage1.Text = "Miniature"
- Me.TabPage1.UseVisualStyleBackColor = True
- '
- 'GroupBox1
- '
- Me.GroupBox1.Controls.Add(Me.Label46)
- Me.GroupBox1.Controls.Add(Me.TextBox33)
- Me.GroupBox1.Controls.Add(Me.Panel2)
- Me.GroupBox1.Controls.Add(Me.Label5)
- Me.GroupBox1.Controls.Add(Me.TextBox5)
- Me.GroupBox1.Controls.Add(Me.Label6)
- Me.GroupBox1.Controls.Add(Me.TextBox6)
- Me.GroupBox1.Controls.Add(Me.Label3)
- Me.GroupBox1.Controls.Add(Me.TextBox3)
- Me.GroupBox1.Controls.Add(Me.CheckBox1)
- Me.GroupBox1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox1.Location = New System.Drawing.Point(6, 5)
- Me.GroupBox1.Name = "GroupBox1"
- Me.GroupBox1.Size = New System.Drawing.Size(350, 210)
- Me.GroupBox1.TabIndex = 25
- Me.GroupBox1.TabStop = False
- Me.GroupBox1.Text = "Miniature"
- '
- 'Label46
- '
- Me.Label46.AutoSize = True
- Me.Label46.Location = New System.Drawing.Point(198, 43)
- Me.Label46.Name = "Label46"
- Me.Label46.Size = New System.Drawing.Size(40, 13)
- Me.Label46.TabIndex = 21
- Me.Label46.Text = "Qualità"
- '
- 'TextBox33
- '
- Me.TextBox33.Location = New System.Drawing.Point(244, 40)
- Me.TextBox33.Name = "TextBox33"
- Me.TextBox33.Size = New System.Drawing.Size(100, 20)
- Me.TextBox33.TabIndex = 20
- '
- 'Panel2
- '
- Me.Panel2.Controls.Add(Me.RadioButton3)
- Me.Panel2.Controls.Add(Me.RadioButton7)
- Me.Panel2.Controls.Add(Me.RadioButton4)
- Me.Panel2.Controls.Add(Me.RadioButton6)
- Me.Panel2.Controls.Add(Me.RadioButton5)
- Me.Panel2.Location = New System.Drawing.Point(56, 114)
- Me.Panel2.Name = "Panel2"
- Me.Panel2.Size = New System.Drawing.Size(235, 90)
- Me.Panel2.TabIndex = 19
- '
- 'RadioButton3
- '
- Me.RadioButton3.AutoSize = True
- Me.RadioButton3.Location = New System.Drawing.Point(15, 16)
- Me.RadioButton3.Name = "RadioButton3"
- Me.RadioButton3.Size = New System.Drawing.Size(99, 17)
- Me.RadioButton3.TabIndex = 14
- Me.RadioButton3.TabStop = True
- Me.RadioButton3.Text = "Aggiungi Scritta"
- Me.RadioButton3.UseVisualStyleBackColor = True
- '
- 'RadioButton7
- '
- Me.RadioButton7.AutoSize = True
- Me.RadioButton7.Location = New System.Drawing.Point(129, 40)
- Me.RadioButton7.Name = "RadioButton7"
- Me.RadioButton7.Size = New System.Drawing.Size(95, 17)
- Me.RadioButton7.TabIndex = 18
- Me.RadioButton7.TabStop = True
- Me.RadioButton7.Text = "numero+tempo"
- Me.RadioButton7.UseVisualStyleBackColor = True
- '
- 'RadioButton4
- '
- Me.RadioButton4.AutoSize = True
- Me.RadioButton4.Location = New System.Drawing.Point(15, 40)
- Me.RadioButton4.Name = "RadioButton4"
- Me.RadioButton4.Size = New System.Drawing.Size(95, 17)
- Me.RadioButton4.TabIndex = 15
- Me.RadioButton4.TabStop = True
- Me.RadioButton4.Text = "Aggiungi orario"
- Me.RadioButton4.UseVisualStyleBackColor = True
- '
- 'RadioButton6
- '
- Me.RadioButton6.AutoSize = True
- Me.RadioButton6.Location = New System.Drawing.Point(129, 16)
- Me.RadioButton6.Name = "RadioButton6"
- Me.RadioButton6.Size = New System.Drawing.Size(83, 17)
- Me.RadioButton6.TabIndex = 17
- Me.RadioButton6.TabStop = True
- Me.RadioButton6.Text = "Numero foto"
- Me.RadioButton6.UseVisualStyleBackColor = True
- '
- 'RadioButton5
- '
- Me.RadioButton5.AutoSize = True
- Me.RadioButton5.Location = New System.Drawing.Point(15, 65)
- Me.RadioButton5.Name = "RadioButton5"
- Me.RadioButton5.Size = New System.Drawing.Size(84, 17)
- Me.RadioButton5.TabIndex = 16
- Me.RadioButton5.TabStop = True
- Me.RadioButton5.Text = "Tempo Gara"
- Me.RadioButton5.UseVisualStyleBackColor = True
- '
- 'Label5
- '
- Me.Label5.AutoSize = True
- Me.Label5.ForeColor = System.Drawing.Color.Black
- Me.Label5.Location = New System.Drawing.Point(24, 88)
- Me.Label5.Name = "Label5"
- Me.Label5.Size = New System.Drawing.Size(41, 13)
- Me.Label5.TabIndex = 12
- Me.Label5.Text = "Altezza"
- '
- 'TextBox5
- '
- Me.TextBox5.Location = New System.Drawing.Point(72, 64)
- Me.TextBox5.Name = "TextBox5"
- Me.TextBox5.Size = New System.Drawing.Size(88, 20)
- Me.TextBox5.TabIndex = 10
- Me.TextBox5.Text = "TextBox5"
- '
- 'Label6
- '
- Me.Label6.AutoSize = True
- Me.Label6.ForeColor = System.Drawing.Color.Black
- Me.Label6.Location = New System.Drawing.Point(8, 64)
- Me.Label6.Name = "Label6"
- Me.Label6.Size = New System.Drawing.Size(56, 13)
- Me.Label6.TabIndex = 13
- Me.Label6.Text = "Larghezza"
- '
- 'TextBox6
- '
- Me.TextBox6.Location = New System.Drawing.Point(72, 88)
- Me.TextBox6.Name = "TextBox6"
- Me.TextBox6.Size = New System.Drawing.Size(88, 20)
- Me.TextBox6.TabIndex = 11
- Me.TextBox6.Text = "TextBox6"
- '
- 'Label3
- '
- Me.Label3.AutoSize = True
- Me.Label3.ForeColor = System.Drawing.Color.Black
- Me.Label3.Location = New System.Drawing.Point(24, 40)
- Me.Label3.Name = "Label3"
- Me.Label3.Size = New System.Drawing.Size(44, 13)
- Me.Label3.TabIndex = 7
- Me.Label3.Text = "Suffisso"
- '
- 'TextBox3
- '
- Me.TextBox3.Location = New System.Drawing.Point(72, 40)
- Me.TextBox3.Name = "TextBox3"
- Me.TextBox3.Size = New System.Drawing.Size(88, 20)
- Me.TextBox3.TabIndex = 6
- Me.TextBox3.Text = "TextBox3"
- '
- 'CheckBox1
- '
- Me.CheckBox1.ForeColor = System.Drawing.Color.Black
- Me.CheckBox1.Location = New System.Drawing.Point(72, 16)
- Me.CheckBox1.Name = "CheckBox1"
- Me.CheckBox1.Size = New System.Drawing.Size(104, 24)
- Me.CheckBox1.TabIndex = 5
- Me.CheckBox1.Text = "Crea miniature"
- '
- 'TabPage2
- '
- Me.TabPage2.Controls.Add(Me.GroupBox2)
- Me.TabPage2.Location = New System.Drawing.Point(4, 22)
- Me.TabPage2.Name = "TabPage2"
- Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
- Me.TabPage2.Size = New System.Drawing.Size(513, 326)
- Me.TabPage2.TabIndex = 5
- Me.TabPage2.Text = "Foto"
- Me.TabPage2.UseVisualStyleBackColor = True
- '
- 'GroupBox2
- '
- Me.GroupBox2.Controls.Add(Me.Label45)
- Me.GroupBox2.Controls.Add(Me.TextBox32)
- Me.GroupBox2.Controls.Add(Me.TextBox26)
- Me.GroupBox2.Controls.Add(Me.Label37)
- Me.GroupBox2.Controls.Add(Me.Label38)
- Me.GroupBox2.Controls.Add(Me.TextBox27)
- Me.GroupBox2.Controls.Add(Me.Label39)
- Me.GroupBox2.Controls.Add(Me.TextBox28)
- Me.GroupBox2.Controls.Add(Me.CheckBox15)
- Me.GroupBox2.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox2.Location = New System.Drawing.Point(3, 6)
- Me.GroupBox2.Name = "GroupBox2"
- Me.GroupBox2.Size = New System.Drawing.Size(304, 156)
- Me.GroupBox2.TabIndex = 36
- Me.GroupBox2.TabStop = False
- Me.GroupBox2.Text = "Foto grande"
- '
- 'Label45
- '
- Me.Label45.AutoSize = True
- Me.Label45.Location = New System.Drawing.Point(11, 86)
- Me.Label45.Name = "Label45"
- Me.Label45.Size = New System.Drawing.Size(40, 13)
- Me.Label45.TabIndex = 22
- Me.Label45.Text = "Qualità"
- '
- 'TextBox32
- '
- Me.TextBox32.Location = New System.Drawing.Point(72, 80)
- Me.TextBox32.Name = "TextBox32"
- Me.TextBox32.Size = New System.Drawing.Size(72, 20)
- Me.TextBox32.TabIndex = 21
- Me.TextBox32.Text = "100"
- '
- 'TextBox26
- '
- Me.TextBox26.Location = New System.Drawing.Point(224, 48)
- Me.TextBox26.Name = "TextBox26"
- Me.TextBox26.Size = New System.Drawing.Size(56, 20)
- Me.TextBox26.TabIndex = 20
- Me.TextBox26.Text = "TextBox26"
- '
- 'Label37
- '
- Me.Label37.ForeColor = System.Drawing.Color.Black
- Me.Label37.Location = New System.Drawing.Point(168, 48)
- Me.Label37.Name = "Label37"
- Me.Label37.Size = New System.Drawing.Size(48, 16)
- Me.Label37.TabIndex = 19
- Me.Label37.Text = "Suffisso"
- Me.Label37.TextAlign = System.Drawing.ContentAlignment.MiddleRight
- '
- 'Label38
- '
- Me.Label38.AutoSize = True
- Me.Label38.ForeColor = System.Drawing.Color.Black
- Me.Label38.Location = New System.Drawing.Point(24, 24)
- Me.Label38.Name = "Label38"
- Me.Label38.Size = New System.Drawing.Size(41, 13)
- Me.Label38.TabIndex = 16
- Me.Label38.Text = "Altezza"
- '
- 'TextBox27
- '
- Me.TextBox27.Location = New System.Drawing.Point(72, 24)
- Me.TextBox27.Name = "TextBox27"
- Me.TextBox27.Size = New System.Drawing.Size(72, 20)
- Me.TextBox27.TabIndex = 14
- Me.TextBox27.Text = "TextBox27"
- '
- 'Label39
- '
- Me.Label39.AutoSize = True
- Me.Label39.ForeColor = System.Drawing.Color.Black
- Me.Label39.Location = New System.Drawing.Point(8, 48)
- Me.Label39.Name = "Label39"
- Me.Label39.Size = New System.Drawing.Size(56, 13)
- Me.Label39.TabIndex = 17
- Me.Label39.Text = "Larghezza"
- '
- 'TextBox28
- '
- Me.TextBox28.Location = New System.Drawing.Point(72, 48)
- Me.TextBox28.Name = "TextBox28"
- Me.TextBox28.Size = New System.Drawing.Size(72, 20)
- Me.TextBox28.TabIndex = 15
- Me.TextBox28.Text = "TextBox28"
- '
- 'CheckBox15
- '
- Me.CheckBox15.Checked = True
- Me.CheckBox15.CheckState = System.Windows.Forms.CheckState.Checked
- Me.CheckBox15.ForeColor = System.Drawing.Color.Black
- Me.CheckBox15.Location = New System.Drawing.Point(168, 16)
- Me.CheckBox15.Name = "CheckBox15"
- Me.CheckBox15.Size = New System.Drawing.Size(120, 32)
- Me.CheckBox15.TabIndex = 18
- Me.CheckBox15.Text = "Mantieni dimensioni originali"
- '
- 'TabPage3
- '
- Me.TabPage3.Controls.Add(Me.GroupBox10)
- Me.TabPage3.Controls.Add(Me.GroupBox9)
- Me.TabPage3.Controls.Add(Me.GroupBox5)
- Me.TabPage3.Controls.Add(Me.GroupBox4)
- Me.TabPage3.Location = New System.Drawing.Point(4, 22)
- Me.TabPage3.Name = "TabPage3"
- Me.TabPage3.Padding = New System.Windows.Forms.Padding(3)
- Me.TabPage3.Size = New System.Drawing.Size(513, 326)
- Me.TabPage3.TabIndex = 2
- Me.TabPage3.Text = "Testo"
- Me.TabPage3.UseVisualStyleBackColor = True
- '
- 'GroupBox10
- '
- Me.GroupBox10.Controls.Add(Me.Label42)
- Me.GroupBox10.Controls.Add(Me.Label41)
- Me.GroupBox10.Controls.Add(Me.TextBox31)
- Me.GroupBox10.Controls.Add(Me.TextBox30)
- Me.GroupBox10.Location = New System.Drawing.Point(316, 53)
- Me.GroupBox10.Name = "GroupBox10"
- Me.GroupBox10.Size = New System.Drawing.Size(186, 73)
- Me.GroupBox10.TabIndex = 39
- Me.GroupBox10.TabStop = False
- Me.GroupBox10.Text = "Testo foto verticali"
- '
- 'Label42
- '
- Me.Label42.AutoSize = True
- Me.Label42.Location = New System.Drawing.Point(7, 46)
- Me.Label42.Name = "Label42"
- Me.Label42.Size = New System.Drawing.Size(45, 13)
- Me.Label42.TabIndex = 3
- Me.Label42.Text = "Margine"
- '
- 'Label41
- '
- Me.Label41.AutoSize = True
- Me.Label41.Location = New System.Drawing.Point(7, 25)
- Me.Label41.Name = "Label41"
- Me.Label41.Size = New System.Drawing.Size(108, 13)
- Me.Label41.TabIndex = 2
- Me.Label41.Text = "Dimensione Carattere"
- '
- 'TextBox31
- '
- Me.TextBox31.Location = New System.Drawing.Point(131, 46)
- Me.TextBox31.Name = "TextBox31"
- Me.TextBox31.Size = New System.Drawing.Size(39, 20)
- Me.TextBox31.TabIndex = 1
- '
- 'TextBox30
- '
- Me.TextBox30.Location = New System.Drawing.Point(131, 22)
- Me.TextBox30.Name = "TextBox30"
- Me.TextBox30.Size = New System.Drawing.Size(39, 20)
- Me.TextBox30.TabIndex = 0
- '
- 'GroupBox9
- '
- Me.GroupBox9.Controls.Add(Me.CheckBox17)
- Me.GroupBox9.Controls.Add(Me.CheckBox16)
- Me.GroupBox9.Location = New System.Drawing.Point(316, 6)
- Me.GroupBox9.Name = "GroupBox9"
- Me.GroupBox9.Size = New System.Drawing.Size(186, 45)
- Me.GroupBox9.TabIndex = 38
- Me.GroupBox9.TabStop = False
- Me.GroupBox9.Text = "Slide show"
- '
- 'CheckBox17
- '
- Me.CheckBox17.AutoSize = True
- Me.CheckBox17.Location = New System.Drawing.Point(96, 18)
- Me.CheckBox17.Name = "CheckBox17"
- Me.CheckBox17.Size = New System.Drawing.Size(84, 17)
- Me.CheckBox17.TabIndex = 1
- Me.CheckBox17.Text = "Numero foto"
- Me.CheckBox17.UseVisualStyleBackColor = True
- '
- 'CheckBox16
- '
- Me.CheckBox16.AutoSize = True
- Me.CheckBox16.Location = New System.Drawing.Point(6, 19)
- Me.CheckBox16.Name = "CheckBox16"
- Me.CheckBox16.Size = New System.Drawing.Size(49, 17)
- Me.CheckBox16.TabIndex = 0
- Me.CheckBox16.Text = "Data"
- Me.CheckBox16.UseVisualStyleBackColor = True
- '
- 'GroupBox5
- '
- Me.GroupBox5.Controls.Add(Me.TextBox34)
- Me.GroupBox5.Controls.Add(Me.Button8)
- Me.GroupBox5.Controls.Add(Me.Label36)
- Me.GroupBox5.Controls.Add(Me.TextBox25)
- Me.GroupBox5.Controls.Add(Me.Label35)
- Me.GroupBox5.Controls.Add(Me.ComboBox3)
- Me.GroupBox5.Controls.Add(Me.TextBox11)
- Me.GroupBox5.Controls.Add(Me.Label12)
- Me.GroupBox5.Controls.Add(Me.Label11)
- Me.GroupBox5.Controls.Add(Me.CheckBox3)
- Me.GroupBox5.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox5.Location = New System.Drawing.Point(6, 6)
- Me.GroupBox5.Name = "GroupBox5"
- Me.GroupBox5.Size = New System.Drawing.Size(304, 120)
- Me.GroupBox5.TabIndex = 37
- Me.GroupBox5.TabStop = False
- Me.GroupBox5.Text = "Carattere"
- '
- 'TextBox34
- '
- Me.TextBox34.Location = New System.Drawing.Point(160, 91)
- Me.TextBox34.Name = "TextBox34"
- Me.TextBox34.Size = New System.Drawing.Size(56, 20)
- Me.TextBox34.TabIndex = 36
- Me.TextBox34.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
- '
- 'Button8
- '
- Me.Button8.ForeColor = System.Drawing.Color.Black
- Me.Button8.Location = New System.Drawing.Point(222, 89)
- Me.Button8.Name = "Button8"
- Me.Button8.Size = New System.Drawing.Size(74, 24)
- Me.Button8.TabIndex = 35
- Me.Button8.Text = "Scegli..."
- '
- 'Label36
- '
- Me.Label36.ForeColor = System.Drawing.Color.Black
- Me.Label36.Location = New System.Drawing.Point(8, 60)
- Me.Label36.Name = "Label36"
- Me.Label36.Size = New System.Drawing.Size(120, 19)
- Me.Label36.TabIndex = 34
- Me.Label36.Text = "Dimensione miniatura"
- Me.Label36.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'TextBox25
- '
- Me.TextBox25.Location = New System.Drawing.Point(160, 59)
- Me.TextBox25.Name = "TextBox25"
- Me.TextBox25.Size = New System.Drawing.Size(56, 20)
- Me.TextBox25.TabIndex = 33
- Me.TextBox25.Text = "TextBox25"
- '
- 'Label35
- '
- Me.Label35.ForeColor = System.Drawing.Color.Black
- Me.Label35.Location = New System.Drawing.Point(8, 93)
- Me.Label35.Name = "Label35"
- Me.Label35.Size = New System.Drawing.Size(72, 16)
- Me.Label35.TabIndex = 32
- Me.Label35.Text = "Colore RGB"
- Me.Label35.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'ComboBox3
- '
- Me.ComboBox3.Location = New System.Drawing.Point(96, 8)
- Me.ComboBox3.Name = "ComboBox3"
- Me.ComboBox3.Size = New System.Drawing.Size(120, 21)
- Me.ComboBox3.TabIndex = 28
- Me.ComboBox3.Text = "ComboBox3"
- '
- 'TextBox11
- '
- Me.TextBox11.Location = New System.Drawing.Point(160, 35)
- Me.TextBox11.Name = "TextBox11"
- Me.TextBox11.Size = New System.Drawing.Size(56, 20)
- Me.TextBox11.TabIndex = 27
- Me.TextBox11.Text = "TextBox11"
- '
- 'Label12
- '
- Me.Label12.AutoSize = True
- Me.Label12.ForeColor = System.Drawing.Color.Black
- Me.Label12.Location = New System.Drawing.Point(8, 38)
- Me.Label12.Name = "Label12"
- Me.Label12.Size = New System.Drawing.Size(62, 13)
- Me.Label12.TabIndex = 26
- Me.Label12.Text = "Dimensione"
- Me.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'Label11
- '
- Me.Label11.AutoSize = True
- Me.Label11.ForeColor = System.Drawing.Color.Black
- Me.Label11.Location = New System.Drawing.Point(56, 8)
- Me.Label11.Name = "Label11"
- Me.Label11.Size = New System.Drawing.Size(28, 13)
- Me.Label11.TabIndex = 22
- Me.Label11.Text = "Font"
- '
- 'CheckBox3
- '
- Me.CheckBox3.ForeColor = System.Drawing.Color.Black
- Me.CheckBox3.Location = New System.Drawing.Point(224, 8)
- Me.CheckBox3.Name = "CheckBox3"
- Me.CheckBox3.Size = New System.Drawing.Size(72, 24)
- Me.CheckBox3.TabIndex = 24
- Me.CheckBox3.Text = "Grassetto"
- '
- 'GroupBox4
- '
- Me.GroupBox4.Controls.Add(Me.Label40)
- Me.GroupBox4.Controls.Add(Me.TextBox29)
- Me.GroupBox4.Controls.Add(Me.TextBox18)
- Me.GroupBox4.Controls.Add(Me.Label26)
- Me.GroupBox4.Controls.Add(Me.DateTimePicker1)
- Me.GroupBox4.Controls.Add(Me.CheckBox8)
- Me.GroupBox4.Controls.Add(Me.TextBox9)
- Me.GroupBox4.Controls.Add(Me.CheckBox7)
- Me.GroupBox4.Controls.Add(Me.Label4)
- Me.GroupBox4.Controls.Add(Me.TextBox4)
- Me.GroupBox4.Controls.Add(Me.Label9)
- Me.GroupBox4.Controls.Add(Me.Label13)
- Me.GroupBox4.Controls.Add(Me.ComboBox1)
- Me.GroupBox4.Controls.Add(Me.ComboBox2)
- Me.GroupBox4.Controls.Add(Me.Label14)
- Me.GroupBox4.Controls.Add(Me.TextBox12)
- Me.GroupBox4.Controls.Add(Me.Label15)
- Me.GroupBox4.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox4.Location = New System.Drawing.Point(6, 132)
- Me.GroupBox4.Name = "GroupBox4"
- Me.GroupBox4.Size = New System.Drawing.Size(496, 186)
- Me.GroupBox4.TabIndex = 36
- Me.GroupBox4.TabStop = False
- Me.GroupBox4.Text = "Testo da applicare"
- '
- 'Label40
- '
- Me.Label40.AutoSize = True
- Me.Label40.Location = New System.Drawing.Point(8, 52)
- Me.Label40.Name = "Label40"
- Me.Label40.Size = New System.Drawing.Size(48, 13)
- Me.Label40.TabIndex = 40
- Me.Label40.Text = "Verticale"
- '
- 'TextBox29
- '
- Me.TextBox29.Location = New System.Drawing.Point(72, 49)
- Me.TextBox29.Multiline = True
- Me.TextBox29.Name = "TextBox29"
- Me.TextBox29.Size = New System.Drawing.Size(408, 44)
- Me.TextBox29.TabIndex = 39
- '
- 'TextBox18
- '
- Me.TextBox18.Location = New System.Drawing.Point(232, 156)
- Me.TextBox18.Name = "TextBox18"
- Me.TextBox18.Size = New System.Drawing.Size(100, 20)
- Me.TextBox18.TabIndex = 38
- '
- 'Label26
- '
- Me.Label26.AutoSize = True
- Me.Label26.ForeColor = System.Drawing.Color.Black
- Me.Label26.Location = New System.Drawing.Point(344, 156)
- Me.Label26.Name = "Label26"
- Me.Label26.Size = New System.Drawing.Size(48, 13)
- Me.Label26.TabIndex = 37
- Me.Label26.Text = "partenza"
- '
- 'DateTimePicker1
- '
- Me.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Time
- Me.DateTimePicker1.Location = New System.Drawing.Point(392, 156)
- Me.DateTimePicker1.Name = "DateTimePicker1"
- Me.DateTimePicker1.Size = New System.Drawing.Size(88, 20)
- Me.DateTimePicker1.TabIndex = 36
- '
- 'CheckBox8
- '
- Me.CheckBox8.ForeColor = System.Drawing.Color.Black
- Me.CheckBox8.Location = New System.Drawing.Point(72, 156)
- Me.CheckBox8.Name = "CheckBox8"
- Me.CheckBox8.Size = New System.Drawing.Size(56, 16)
- Me.CheckBox8.TabIndex = 35
- Me.CheckBox8.Text = "Orario"
- '
- 'TextBox9
- '
- Me.TextBox9.Location = New System.Drawing.Point(120, 108)
- Me.TextBox9.Name = "TextBox9"
- Me.TextBox9.Size = New System.Drawing.Size(56, 20)
- Me.TextBox9.TabIndex = 20
- Me.TextBox9.Text = "TextBox9"
- '
- 'CheckBox7
- '
- Me.CheckBox7.ForeColor = System.Drawing.Color.Black
- Me.CheckBox7.Location = New System.Drawing.Point(136, 156)
- Me.CheckBox7.Name = "CheckBox7"
- Me.CheckBox7.Size = New System.Drawing.Size(88, 16)
- Me.CheckBox7.TabIndex = 34
- Me.CheckBox7.Text = "Tempo gara"
- '
- 'Label4
- '
- Me.Label4.AutoSize = True
- Me.Label4.ForeColor = System.Drawing.Color.Black
- Me.Label4.Location = New System.Drawing.Point(8, 24)
- Me.Label4.Name = "Label4"
- Me.Label4.Size = New System.Drawing.Size(59, 13)
- Me.Label4.TabIndex = 9
- Me.Label4.Text = "Orizzontale"
- '
- 'TextBox4
- '
- Me.TextBox4.Location = New System.Drawing.Point(72, 24)
- Me.TextBox4.Name = "TextBox4"
- Me.TextBox4.Size = New System.Drawing.Size(408, 20)
- Me.TextBox4.TabIndex = 8
- Me.TextBox4.Text = "TextBox4"
- '
- 'Label9
- '
- Me.Label9.AutoSize = True
- Me.Label9.ForeColor = System.Drawing.Color.Black
- Me.Label9.Location = New System.Drawing.Point(8, 108)
- Me.Label9.Name = "Label9"
- Me.Label9.Size = New System.Drawing.Size(110, 13)
- Me.Label9.TabIndex = 19
- Me.Label9.Text = "Trasparenza (0-100%)"
- '
- 'Label13
- '
- Me.Label13.AutoSize = True
- Me.Label13.ForeColor = System.Drawing.Color.Black
- Me.Label13.Location = New System.Drawing.Point(16, 132)
- Me.Label13.Name = "Label13"
- Me.Label13.Size = New System.Drawing.Size(52, 13)
- Me.Label13.TabIndex = 29
- Me.Label13.Text = "Posizione"
- '
- 'ComboBox1
- '
- Me.ComboBox1.Location = New System.Drawing.Point(72, 132)
- Me.ComboBox1.Name = "ComboBox1"
- Me.ComboBox1.Size = New System.Drawing.Size(104, 21)
- Me.ComboBox1.TabIndex = 28
- Me.ComboBox1.Text = "ComboBox1"
- '
- 'ComboBox2
- '
- Me.ComboBox2.Location = New System.Drawing.Point(376, 132)
- Me.ComboBox2.Name = "ComboBox2"
- Me.ComboBox2.Size = New System.Drawing.Size(104, 21)
- Me.ComboBox2.TabIndex = 31
- Me.ComboBox2.Text = "ComboBox2"
- '
- 'Label14
- '
- Me.Label14.AutoSize = True
- Me.Label14.ForeColor = System.Drawing.Color.Black
- Me.Label14.Location = New System.Drawing.Point(304, 132)
- Me.Label14.Name = "Label14"
- Me.Label14.Size = New System.Drawing.Size(67, 13)
- Me.Label14.TabIndex = 30
- Me.Label14.Text = "Allineamento"
- '
- 'TextBox12
- '
- Me.TextBox12.Location = New System.Drawing.Point(376, 108)
- Me.TextBox12.Name = "TextBox12"
- Me.TextBox12.Size = New System.Drawing.Size(104, 20)
- Me.TextBox12.TabIndex = 33
- Me.TextBox12.Text = "TextBox12"
- '
- 'Label15
- '
- Me.Label15.AutoSize = True
- Me.Label15.ForeColor = System.Drawing.Color.Black
- Me.Label15.Location = New System.Drawing.Point(296, 108)
- Me.Label15.Name = "Label15"
- Me.Label15.Size = New System.Drawing.Size(75, 13)
- Me.Label15.TabIndex = 32
- Me.Label15.Text = "Margine (pixel)"
- '
- 'TabPage5
- '
- Me.TabPage5.Controls.Add(Me.GroupBox3)
- Me.TabPage5.Controls.Add(Me.GroupBox8)
- Me.TabPage5.Controls.Add(Me.GroupBox7)
- Me.TabPage5.Location = New System.Drawing.Point(4, 22)
- Me.TabPage5.Name = "TabPage5"
- Me.TabPage5.Padding = New System.Windows.Forms.Padding(3)
- Me.TabPage5.Size = New System.Drawing.Size(513, 326)
- Me.TabPage5.TabIndex = 4
- Me.TabPage5.Text = "Generale"
- Me.TabPage5.UseVisualStyleBackColor = True
- '
- 'GroupBox3
- '
- Me.GroupBox3.Controls.Add(Me.CheckBox6)
- Me.GroupBox3.Controls.Add(Me.Button3)
- Me.GroupBox3.Controls.Add(Me.Button2)
- Me.GroupBox3.Controls.Add(Me.Label1)
- Me.GroupBox3.Controls.Add(Me.Label2)
- Me.GroupBox3.Controls.Add(Me.TextBox1)
- Me.GroupBox3.Controls.Add(Me.TextBox2)
- Me.GroupBox3.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox3.Location = New System.Drawing.Point(6, 6)
- Me.GroupBox3.Name = "GroupBox3"
- Me.GroupBox3.Size = New System.Drawing.Size(496, 101)
- Me.GroupBox3.TabIndex = 35
- Me.GroupBox3.TabStop = False
- Me.GroupBox3.Text = "Directory"
- '
- 'CheckBox6
- '
- Me.CheckBox6.ForeColor = System.Drawing.Color.Black
- Me.CheckBox6.Location = New System.Drawing.Point(80, 64)
- Me.CheckBox6.Name = "CheckBox6"
- Me.CheckBox6.Size = New System.Drawing.Size(152, 24)
- Me.CheckBox6.TabIndex = 25
- Me.CheckBox6.Text = "aggiorna le sottodirectory"
- '
- 'Button3
- '
- Me.Button3.Location = New System.Drawing.Point(462, 40)
- Me.Button3.Name = "Button3"
- Me.Button3.Size = New System.Drawing.Size(24, 20)
- Me.Button3.TabIndex = 6
- Me.Button3.Text = "..."
- '
- 'Button2
- '
- Me.Button2.Location = New System.Drawing.Point(462, 16)
- Me.Button2.Name = "Button2"
- Me.Button2.Size = New System.Drawing.Size(24, 20)
- Me.Button2.TabIndex = 5
- Me.Button2.Text = "..."
- '
- 'Label1
- '
- Me.Label1.AutoSize = True
- Me.Label1.ForeColor = System.Drawing.Color.Black
- Me.Label1.Location = New System.Drawing.Point(6, 19)
- Me.Label1.Name = "Label1"
- Me.Label1.Size = New System.Drawing.Size(50, 13)
- Me.Label1.TabIndex = 3
- Me.Label1.Text = "Sorgente"
- '
- 'Label2
- '
- Me.Label2.AutoSize = True
- Me.Label2.ForeColor = System.Drawing.Color.Black
- Me.Label2.Location = New System.Drawing.Point(6, 43)
- Me.Label2.Name = "Label2"
- Me.Label2.Size = New System.Drawing.Size(68, 13)
- Me.Label2.TabIndex = 4
- Me.Label2.Text = "Destinazione"
- '
- 'TextBox1
- '
- Me.TextBox1.Location = New System.Drawing.Point(80, 16)
- Me.TextBox1.Name = "TextBox1"
- Me.TextBox1.Size = New System.Drawing.Size(376, 20)
- Me.TextBox1.TabIndex = 0
- Me.TextBox1.Text = "TextBox1"
- '
- 'TextBox2
- '
- Me.TextBox2.Location = New System.Drawing.Point(80, 40)
- Me.TextBox2.Name = "TextBox2"
- Me.TextBox2.Size = New System.Drawing.Size(376, 20)
- Me.TextBox2.TabIndex = 1
- Me.TextBox2.Text = "TextBox2"
- '
- 'GroupBox8
- '
- Me.GroupBox8.Controls.Add(Me.RadioButton2)
- Me.GroupBox8.Controls.Add(Me.RadioButton1)
- Me.GroupBox8.Controls.Add(Me.TextBox21)
- Me.GroupBox8.Controls.Add(Me.Label34)
- Me.GroupBox8.Controls.Add(Me.TextBox20)
- Me.GroupBox8.Controls.Add(Me.Label33)
- Me.GroupBox8.Controls.Add(Me.Label31)
- Me.GroupBox8.Controls.Add(Me.CheckBox11)
- Me.GroupBox8.Controls.Add(Me.TextBox17)
- Me.GroupBox8.Controls.Add(Me.Label32)
- Me.GroupBox8.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox8.Location = New System.Drawing.Point(204, 113)
- Me.GroupBox8.Name = "GroupBox8"
- Me.GroupBox8.Size = New System.Drawing.Size(192, 152)
- Me.GroupBox8.TabIndex = 47
- Me.GroupBox8.TabStop = False
- Me.GroupBox8.Text = "Sottocartelle"
- '
- 'RadioButton2
- '
- Me.RadioButton2.ForeColor = System.Drawing.Color.Black
- Me.RadioButton2.Location = New System.Drawing.Point(32, 128)
- Me.RadioButton2.Name = "RadioButton2"
- Me.RadioButton2.Size = New System.Drawing.Size(136, 16)
- Me.RadioButton2.TabIndex = 38
- Me.RadioButton2.Text = "Numerazione files"
- '
- 'RadioButton1
- '
- Me.RadioButton1.Checked = True
- Me.RadioButton1.ForeColor = System.Drawing.Color.Black
- Me.RadioButton1.Location = New System.Drawing.Point(32, 112)
- Me.RadioButton1.Name = "RadioButton1"
- Me.RadioButton1.Size = New System.Drawing.Size(152, 16)
- Me.RadioButton1.TabIndex = 37
- Me.RadioButton1.TabStop = True
- Me.RadioButton1.Text = "Numerazione progressiva"
- '
- 'TextBox21
- '
- Me.TextBox21.Location = New System.Drawing.Point(128, 88)
- Me.TextBox21.Name = "TextBox21"
- Me.TextBox21.Size = New System.Drawing.Size(56, 20)
- Me.TextBox21.TabIndex = 34
- Me.TextBox21.Text = "4"
- '
- 'Label34
- '
- Me.Label34.ForeColor = System.Drawing.Color.Black
- Me.Label34.Location = New System.Drawing.Point(8, 88)
- Me.Label34.Name = "Label34"
- Me.Label34.Size = New System.Drawing.Size(112, 16)
- Me.Label34.TabIndex = 33
- Me.Label34.Text = "Num. cifre contatore"
- Me.Label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight
- '
- 'TextBox20
- '
- Me.TextBox20.Location = New System.Drawing.Point(56, 64)
- Me.TextBox20.Name = "TextBox20"
- Me.TextBox20.Size = New System.Drawing.Size(128, 20)
- Me.TextBox20.TabIndex = 32
- Me.TextBox20.Text = "TextBox20"
- '
- 'Label33
- '
- Me.Label33.ForeColor = System.Drawing.Color.Black
- Me.Label33.Location = New System.Drawing.Point(6, 67)
- Me.Label33.Name = "Label33"
- Me.Label33.Size = New System.Drawing.Size(48, 16)
- Me.Label33.TabIndex = 31
- Me.Label33.Text = "Suffisso"
- '
- 'Label31
- '
- Me.Label31.ForeColor = System.Drawing.Color.Black
- Me.Label31.Location = New System.Drawing.Point(24, 40)
- Me.Label31.Name = "Label31"
- Me.Label31.Size = New System.Drawing.Size(32, 16)
- Me.Label31.TabIndex = 30
- Me.Label31.Text = "ogni"
- '
- 'CheckBox11
- '
- Me.CheckBox11.ForeColor = System.Drawing.Color.Black
- Me.CheckBox11.Location = New System.Drawing.Point(56, 16)
- Me.CheckBox11.Name = "CheckBox11"
- Me.CheckBox11.Size = New System.Drawing.Size(112, 16)
- Me.CheckBox11.TabIndex = 29
- Me.CheckBox11.Text = "crea sottocartelle"
- '
- 'TextBox17
- '
- Me.TextBox17.Location = New System.Drawing.Point(56, 40)
- Me.TextBox17.Name = "TextBox17"
- Me.TextBox17.Size = New System.Drawing.Size(64, 20)
- Me.TextBox17.TabIndex = 27
- Me.TextBox17.Text = "99"
- '
- 'Label32
- '
- Me.Label32.ForeColor = System.Drawing.Color.Black
- Me.Label32.Location = New System.Drawing.Point(128, 40)
- Me.Label32.Name = "Label32"
- Me.Label32.Size = New System.Drawing.Size(24, 16)
- Me.Label32.TabIndex = 28
- Me.Label32.Text = "file"
- '
- 'GroupBox7
- '
- Me.GroupBox7.Controls.Add(Me.CheckBox10)
- Me.GroupBox7.Controls.Add(Me.CheckBox9)
- Me.GroupBox7.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox7.Location = New System.Drawing.Point(6, 113)
- Me.GroupBox7.Name = "GroupBox7"
- Me.GroupBox7.Size = New System.Drawing.Size(192, 88)
- Me.GroupBox7.TabIndex = 45
- Me.GroupBox7.TabStop = False
- Me.GroupBox7.Text = "Generale"
- '
- 'CheckBox10
- '
- Me.CheckBox10.ForeColor = System.Drawing.Color.Black
- Me.CheckBox10.Location = New System.Drawing.Point(16, 37)
- Me.CheckBox10.Name = "CheckBox10"
- Me.CheckBox10.Size = New System.Drawing.Size(136, 16)
- Me.CheckBox10.TabIndex = 1
- Me.CheckBox10.Text = "Rotazione automatica"
- '
- 'CheckBox9
- '
- Me.CheckBox9.Checked = True
- Me.CheckBox9.CheckState = System.Windows.Forms.CheckState.Checked
- Me.CheckBox9.ForeColor = System.Drawing.Color.Black
- Me.CheckBox9.Location = New System.Drawing.Point(16, 18)
- Me.CheckBox9.Name = "CheckBox9"
- Me.CheckBox9.Size = New System.Drawing.Size(80, 16)
- Me.CheckBox9.TabIndex = 0
- Me.CheckBox9.Text = "Forza Jpg"
- '
- 'TabControl1
- '
- Me.TabControl1.Controls.Add(Me.TabPage5)
- Me.TabControl1.Controls.Add(Me.TabPage3)
- Me.TabControl1.Controls.Add(Me.TabPage2)
- Me.TabControl1.Controls.Add(Me.TabPage1)
- Me.TabControl1.Controls.Add(Me.TabPage4)
- Me.TabControl1.Location = New System.Drawing.Point(12, 12)
- Me.TabControl1.Name = "TabControl1"
- Me.TabControl1.SelectedIndex = 0
- Me.TabControl1.Size = New System.Drawing.Size(521, 352)
- Me.TabControl1.TabIndex = 48
- '
- 'ProgressBar1
- '
- Me.ProgressBar1.Location = New System.Drawing.Point(539, 211)
- Me.ProgressBar1.Name = "ProgressBar1"
- Me.ProgressBar1.Size = New System.Drawing.Size(192, 23)
- Me.ProgressBar1.TabIndex = 52
- '
- 'CheckBox12
- '
- Me.CheckBox12.ForeColor = System.Drawing.Color.Black
- Me.CheckBox12.Location = New System.Drawing.Point(10, 19)
- Me.CheckBox12.Name = "CheckBox12"
- Me.CheckBox12.Size = New System.Drawing.Size(104, 21)
- Me.CheckBox12.TabIndex = 35
- Me.CheckBox12.Text = "Aggiungi orario"
- '
- 'CheckBox4
- '
- Me.CheckBox4.ForeColor = System.Drawing.Color.Black
- Me.CheckBox4.Location = New System.Drawing.Point(10, 3)
- Me.CheckBox4.Name = "CheckBox4"
- Me.CheckBox4.Size = New System.Drawing.Size(104, 17)
- Me.CheckBox4.TabIndex = 34
- Me.CheckBox4.Text = "Aggiungi scritta"
- '
- 'CheckBox18
- '
- Me.CheckBox18.AutoSize = True
- Me.CheckBox18.Location = New System.Drawing.Point(140, 3)
- Me.CheckBox18.Name = "CheckBox18"
- Me.CheckBox18.Size = New System.Drawing.Size(84, 17)
- Me.CheckBox18.TabIndex = 36
- Me.CheckBox18.Text = "Numero foto"
- Me.CheckBox18.UseVisualStyleBackColor = True
- '
- 'Panel1
- '
- Me.Panel1.Controls.Add(Me.CheckBox18)
- Me.Panel1.Controls.Add(Me.CheckBox4)
- Me.Panel1.Controls.Add(Me.CheckBox12)
- Me.Panel1.Location = New System.Drawing.Point(52, 236)
- Me.Panel1.Name = "Panel1"
- Me.Panel1.Size = New System.Drawing.Size(304, 73)
- Me.Panel1.TabIndex = 26
- Me.Panel1.Visible = False
- '
- 'Form1
- '
- Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
- Me.ClientSize = New System.Drawing.Size(740, 375)
- Me.Controls.Add(Me.ProgressBar1)
- Me.Controls.Add(Me.Label44)
- Me.Controls.Add(Me.CheckBox22)
- Me.Controls.Add(Me.Label43)
- Me.Controls.Add(Me.TabControl1)
- Me.Controls.Add(Me.Label27)
- Me.Controls.Add(Me.Button7)
- Me.Controls.Add(Me.Button5)
- Me.Controls.Add(Me.Label20)
- Me.Controls.Add(Me.Label19)
- Me.Controls.Add(Me.Label18)
- Me.Controls.Add(Me.Label17)
- Me.Controls.Add(Me.Label10)
- Me.Controls.Add(Me.Button1)
- Me.Controls.Add(Me.Button6)
- Me.MaximizeBox = False
- Me.MaximumSize = New System.Drawing.Size(756, 414)
- Me.MinimumSize = New System.Drawing.Size(756, 414)
- Me.Name = "Form1"
- Me.Text = "Image Catalog"
- Me.TabPage4.ResumeLayout(False)
- Me.GroupBox6.ResumeLayout(False)
- Me.GroupBox6.PerformLayout()
- CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).EndInit()
- Me.TabPage1.ResumeLayout(False)
- Me.GroupBox1.ResumeLayout(False)
- Me.GroupBox1.PerformLayout()
- Me.Panel2.ResumeLayout(False)
- Me.Panel2.PerformLayout()
- Me.TabPage2.ResumeLayout(False)
- Me.GroupBox2.ResumeLayout(False)
- Me.GroupBox2.PerformLayout()
- Me.TabPage3.ResumeLayout(False)
- Me.GroupBox10.ResumeLayout(False)
- Me.GroupBox10.PerformLayout()
- Me.GroupBox9.ResumeLayout(False)
- Me.GroupBox9.PerformLayout()
- Me.GroupBox5.ResumeLayout(False)
- Me.GroupBox5.PerformLayout()
- Me.GroupBox4.ResumeLayout(False)
- Me.GroupBox4.PerformLayout()
- Me.TabPage5.ResumeLayout(False)
- Me.GroupBox3.ResumeLayout(False)
- Me.GroupBox3.PerformLayout()
- Me.GroupBox8.ResumeLayout(False)
- Me.GroupBox8.PerformLayout()
- Me.GroupBox7.ResumeLayout(False)
- Me.TabControl1.ResumeLayout(False)
- Me.Panel1.ResumeLayout(False)
- Me.Panel1.PerformLayout()
- Me.ResumeLayout(False)
- Me.PerformLayout()
-
- End Sub
-
-#End Region
-
-#Const MULTI_THREADED = True
-
- Private StopAttivo As Boolean
- Private WaterSelectColor As Boolean = False
-
- Private ContaFotoCuori As Integer
- Private TaskCuori() As PicInfo
-
- Private MyPool As XYThreadPool = New XYThreadPool
- Private ContaImmaginiThread As Integer
-
- Private Const maxThreads As Integer = 15
-
- Private Sub setDefaults()
- TextBox1.Text = ""
- TextBox2.Text = ""
- TextBox3.Text = ""
- TextBox4.Text = ""
- TextBox5.Text = ""
- TextBox6.Text = ""
- TextBox27.Text = ""
- TextBox28.Text = ""
- TextBox9.Text = ""
- TextBox11.Text = ""
- TextBox12.Text = ""
- TextBox13.Text = ""
- TextBox10.Text = ""
- TextBox14.Text = ""
- TextBox15.Text = ""
- TextBox16.Text = ""
- TextBox17.Text = ""
- TextBox19.Text = ""
- TextBox20.Text = ""
- TextBox21.Text = ""
- TextBox25.Text = ""
- TextBox26.Text = ""
-
- ComboBox1.Items.Add("Alto")
- ComboBox1.Items.Add("Basso")
- ComboBox1.SelectedIndex = 1
-
- ComboBox2.Items.Add("Sinistra")
- ComboBox2.Items.Add("Centro")
- ComboBox2.Items.Add("Destra")
- ComboBox2.SelectedIndex = 1
-
- ComboBox3.Items.Add("Arial")
- ComboBox3.Items.Add("Arial Black")
- ComboBox3.Items.Add("Arial Narrow")
- ComboBox3.Items.Add("Comic Sans MS")
- ComboBox3.Items.Add("Courier New")
- ComboBox3.Items.Add("System")
- ComboBox3.Items.Add("Times New Roman")
- ComboBox3.Items.Add("Verdana")
- ComboBox3.Items.Add("Wingdings")
- ComboBox3.SelectedIndex = 7
-
- ComboBox4.Items.Add("Sinistra")
- ComboBox4.Items.Add("Centro")
- ComboBox4.Items.Add("Destra")
- ComboBox4.SelectedIndex = 2
-
- ComboBox5.Items.Add("Alto")
- ComboBox5.Items.Add("Centro")
- ComboBox5.Items.Add("Basso")
- ComboBox5.SelectedIndex = 2
- End Sub
-
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- Application.EnableVisualStyles()
-
- setDefaults()
-
- End Sub
-
- Private Sub FixPaths()
- If TextBox1.Text.EndsWith("\") = False Then
- TextBox1.Text &= "\"
- End If
- If TextBox2.Text.EndsWith("\") = False Then
- TextBox2.Text &= "\"
- End If
- End Sub
-
- Private Sub lockUI()
- TabControl1.Enabled = False
- Button5.Enabled = False
- Button6.Enabled = False
- Button1.Enabled = False
-
- End Sub
-
- Private Sub unlockUI()
- TabControl1.Enabled = True
- Button5.Enabled = True
- Button6.Enabled = True
- Button1.Enabled = True
- End Sub
-
- Private Sub btnCreaCatalogo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- lockUI()
- Dim timeStart As Date
- Dim timeStop As Date
-
- timeStart = TimeOfDay
- FixPaths()
-
- Label10.Text = ""
- Label17.Text = "0"
- Label18.Text = "0"
- setPicSettings(TextBox1.Text, TextBox2.Text)
-#If MULTI_THREADED Then
- ProgressBar1.Minimum = 0
- ProgressBar1.Step = 1
- ProgressBar1.Value = 0
-
- Dim t1 As New Threading.Thread(AddressOf creaCatalogoThread)
- t1.IsBackground = True
- t1.Start()
-
-#Else
- creaCatalogo(timeStart, timeStop)
- unlockUI()
-#End If
-
-
-
-
- End Sub
-
- Private Sub creaCatalogoThread()
- Dim timeStart As Date = TimeOfDay
- MyPool.StopThreadPool()
- MyPool.StartThreadPool(0, maxThreads)
- ContaImmaginiThread = 0
-
- creaImmaginiWithThreadMod(TextBox1.Text, TextBox2.Text)
-
- Dim ThAttivo As ThreadPoolWorkItem = Nothing
- Dim i As Integer = 0
-
- Do Until i = ContaImmaginiThread
- Thread.Sleep(100)
- ThAttivo = MyPool.ExtractWorkItem()
- If ThAttivo IsNot Nothing Then
- i += 1
- 'stepProgressBar()
- setLabel10Text("File: " & ThAttivo.m_sName)
-
- 'setLabel18Text(ContaImmaginiThread.ToString)
- 'setLabel18Text(i.ToString)
-
-
- 'Label10.Text = "File: " & ThAttivo.m_sName
- 'Label18.Text = ContaImmaginiThread.ToString
- End If
- Loop
- MyPool.StopThreadPool()
- Dim timeStop As Date = TimeOfDay
-
- setLabel10Text("Finito")
- setLabel43Text(CalcTime(timeStart, timeStop))
-
- End Sub
-
- Private Sub creaCatalogo(timeStart As Date, timeStop As Date)
- 'asdfg
- MyPool.StopThreadPool()
- MyPool.StartThreadPool(0, maxThreads)
- ContaImmaginiThread = 0
-
- creaImmaginiWithThreadMod(TextBox1.Text, TextBox2.Text)
-
- Dim ThAttivo As ThreadPoolWorkItem = Nothing
- Dim i As Integer = 0
-
- Do Until i = ContaImmaginiThread
- Thread.Sleep(100)
- ThAttivo = MyPool.ExtractWorkItem()
- If ThAttivo IsNot Nothing Then
- i += 1
- Label10.Text = "File: " & ThAttivo.m_sName
- Label18.Text = ContaImmaginiThread.ToString
-
- End If
- Loop
- MyPool.StopThreadPool()
- timeStop = TimeOfDay
-
- CalcTime(timeStart, timeStop)
- Label10.Text = "Finito"
- If CheckBox22.Checked = True Then
- Shell("%windir%\System32\shutdown.exe")
- End If
- End Sub
-
- Private Function CalcTime(ByVal timeStart As Date, ByVal timeStop As Date) As String
- Dim timediffH, timediffS As Long
- Dim timediffM As Long
- timediffM = DateAndTime.DateDiff(DateInterval.Minute, timeStart, timeStop)
- timediffS = DateAndTime.DateDiff(DateInterval.Second, timeStart, timeStop)
- timediffH = DateAndTime.DateDiff(DateInterval.Hour, timeStart, timeStop)
- 'dim s As String = "H:" + timediffH.ToString + " M:" + timediffM.ToString + " S:" + timediffS.ToString
- Dim s As String = "S:" + timediffS.ToString
- 'Label43.Text = "H:" + timediffH.ToString + " M:" + timediffM.ToString + " S:" + timediffS.ToString
- Return s
- End Function
- Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
- Dim DirSearch As FolderBrowserDialog = New FolderBrowserDialog
- DirSearch.SelectedPath = TextBox1.Text
- If DialogResult.OK = DirSearch.ShowDialog() Then
- Dim DirectoryScelta As String = DirSearch.SelectedPath
- If DirectoryScelta.EndsWith("\") = False Then
- DirectoryScelta &= "\"
- End If
-
- TextBox1.Text = DirectoryScelta
- End If
- End Sub
-
- Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
- Dim DirSearch As FolderBrowserDialog = New FolderBrowserDialog
- DirSearch.SelectedPath = TextBox2.Text
- If DialogResult.OK = DirSearch.ShowDialog() Then
- Dim DirectoryScelta As String = DirSearch.SelectedPath
- If DirectoryScelta.EndsWith("\") = False Then
- DirectoryScelta &= "\"
- End If
-
- TextBox2.Text = DirectoryScelta
- End If
-
- 'Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- 'Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- 'openFileDialog.InitialDirectory = TextBox1.Text
- 'openFileDialog.Filter = "Bitmap files (*.bmp)|*.bmp|Jpeg files (*.jpg)|*.jpg|All valid files (*.*)|*.*"
- 'openFileDialog.FilterIndex = 2
- 'openFileDialog.RestoreDirectory = True
-
- 'If DialogResult.OK = openFileDialog.ShowDialog() Then
- ' Dim IlNome As String = openFileDialog.FileName
- ' Dim NomeFine As String = ""
- ' Dim i As Integer
-
- ' Dim Elenco As String()
- ' Elenco = IlNome.Split(New Char() {"\"c})
- ' For i = 0 To Elenco.Length - 1
- ' NomeFine &= Elenco(i) & "\"
- ' Next
-
- ' TextBox1.Text = NomeFine
- 'End If
- End Sub
-
- Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
- Dim SaveFileDlg As SaveFileDialog = New SaveFileDialog
-
- 'SaveFileDlg.InitialDirectory = "c:\"
- SaveFileDlg.Filter = "Setup (*.xml)|*.xml|All valid files (*.*)|*.*"
- SaveFileDlg.FilterIndex = 0
- SaveFileDlg.RestoreDirectory = True
-
- If DialogResult.OK = SaveFileDlg.ShowDialog Then
- Dim IlNome As String = SaveFileDlg.FileName
-
- SetupIni.NomeFileSetup = IlNome
-
- SetupIni.AggiornaParametro("DirSorgente", TextBox1.Text)
- SetupIni.AggiornaParametro("DirDestinazione", TextBox2.Text)
- SetupIni.AggiornaParametro("DirSottoDirectory", CheckBox6.Checked)
-
- SetupIni.AggiornaParametro("DirDividiDestinazione", CheckBox11.Checked)
- SetupIni.AggiornaParametro("DirDividiNumFile", TextBox17.Text)
- SetupIni.AggiornaParametro("DirDividiSuffisso", TextBox20.Text)
- SetupIni.AggiornaParametro("DirDividiNumCifre", TextBox21.Text)
- If RadioButton1.Checked = True Then
- SetupIni.AggiornaParametro("DirDividiTipoNumerazione", "Progressiva")
- Else
- SetupIni.AggiornaParametro("DirDividiTipoNumerazione", "Files")
- End If
-
- SetupIni.AggiornaParametro("MiniatureCrea", CheckBox1.Checked)
- SetupIni.AggiornaParametro("MiniatureSuffisso", TextBox3.Text)
- SetupIni.AggiornaParametro("MiniatureAltezza", TextBox5.Text)
- SetupIni.AggiornaParametro("MiniatureLarghezza", TextBox6.Text)
- SetupIni.AggiornaParametro("MiniatureAddScritta", RadioButton3.Checked)
- SetupIni.AggiornaParametro("MiniatureAddOrario", RadioButton4.Checked)
-
- SetupIni.AggiornaParametro("FotoAltezza", TextBox27.Text)
- SetupIni.AggiornaParametro("FotoLarghezza", TextBox28.Text)
- SetupIni.AggiornaParametro("FotoCodice", TextBox13.Text)
- SetupIni.AggiornaParametro("FotoDimOriginali", CheckBox2.Checked)
-
- SetupIni.AggiornaParametro("FontDimensione", TextBox11.Text)
- SetupIni.AggiornaParametro("FontDimensioneMiniatura", TextBox25.Text)
- SetupIni.AggiornaParametro("FontBold", CheckBox3.Checked)
- SetupIni.AggiornaParametro("FontNome", ComboBox3.Text)
-
-
- SetupIni.AggiornaParametro("TestoTesto", TextBox4.Text)
- SetupIni.AggiornaParametro("TestoTrasparente", TextBox9.Text)
- SetupIni.AggiornaParametro("TestoMargine", TextBox12.Text)
- SetupIni.AggiornaParametro("TestoPosizione", ComboBox1.Text)
- SetupIni.AggiornaParametro("TestoAllineamento", ComboBox2.Text)
-
- SetupIni.AggiornaParametro("MarchioFile", TextBox10.Text)
- SetupIni.AggiornaParametro("MarchioAltezza", TextBox14.Text)
- SetupIni.AggiornaParametro("MarchioLarghezza", TextBox15.Text)
- SetupIni.AggiornaParametro("MarchioMargine", TextBox16.Text)
- SetupIni.AggiornaParametro("MarchioAllOrizzontale", ComboBox4.Text)
- SetupIni.AggiornaParametro("MarchioAllVerticale", ComboBox5.Text)
- SetupIni.AggiornaParametro("MarchioTrasparenza", TextBox19.Text)
- SetupIni.AggiornaParametro("MarchioAggiungi", CheckBox5.Checked)
-
- SetupIni.AggiornaParametro("TempoGara", CheckBox7.Checked)
- SetupIni.AggiornaParametro("Orario", CheckBox8.Checked)
- SetupIni.AggiornaParametro("EtichettaOrario", TextBox18.Text)
-
- SetupIni.AggiornaParametro("GeneraleForzaJpg", CheckBox9.Checked)
- SetupIni.AggiornaParametro("GeneraleRotazioneAutomatica", CheckBox10.Checked)
- SetupIni.AggiornaParametro("GrandezzaVerticale", TextBox30.Text)
- SetupIni.AggiornaParametro("MargineVerticale", TextBox31.Text)
- SetupIni.AggiornaParametro("DimensioniOriginali", CheckBox15.Checked)
- SetupIni.AggiornaParametro("TestoVerticale", TextBox29.Text)
- SetupIni.AggiornaParametro("NomeMiniatura", RadioButton6.Checked)
- SetupIni.AggiornaParametro("DataFoto", CheckBox16.Checked)
- SetupIni.AggiornaParametro("NumeroFoto", CheckBox17.Checked)
-
- SetupIni.AggiornaParametro("ColoreTestoRGB", TextBox34.Text)
-
- SetupIni.AggiornaParametro("TempoSmall", RadioButton5.Checked)
- SetupIni.AggiornaParametro("NumTempoSmall", RadioButton7.Checked)
-
- SetupIni.AggiornaParametro("CompressioneJpeg", TextBox32.Text)
- SetupIni.AggiornaParametro("CompressioneJpegMiniatura", TextBox33.Text)
- SetupIni.SalvaParametriSetup()
- Me.Text = "Image Catalog - " & LeggiSoloNomeFile(IlNome)
- End If
- End Sub
-
- Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
- Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- 'openFileDialog.InitialDirectory = TextBox1.Text
- openFileDialog.Filter = "Setup (*.xml)|*.xml|All valid files (*.*)|*.*"
- openFileDialog.FilterIndex = 0
- openFileDialog.RestoreDirectory = True
-
- If DialogResult.OK = openFileDialog.ShowDialog() Then
- Dim IlNome As String = openFileDialog.FileName
-
- SetupIni.NomeFileSetup = IlNome
- SetupIni.CaricaParametriSetup()
-
- TextBox1.Text = SetupIni.LeggiParametroString("DirSorgente")
- TextBox2.Text = SetupIni.LeggiParametroString("DirDestinazione")
- CheckBox6.Checked = SetupIni.LeggiParametroBoolean("DirSottoDirectory")
-
- CheckBox11.Checked = SetupIni.LeggiParametroBoolean("DirDividiDestinazione")
- TextBox17.Text = SetupIni.LeggiParametroString("DirDividiNumFile")
- TextBox20.Text = SetupIni.LeggiParametroString("DirDividiSuffisso")
- TextBox21.Text = SetupIni.LeggiParametroString("DirDividiNumCifre")
-
- Dim TestoTemp As String = SetupIni.LeggiParametroString("DirDividiTipoNumerazione")
- If TestoTemp.ToUpper = "PROGRESSIVA" Then
- RadioButton1.Checked = True
- Else
- RadioButton2.Checked = True
- End If
-
- CheckBox1.Checked = SetupIni.LeggiParametroBoolean("MiniatureCrea")
- TextBox3.Text = SetupIni.LeggiParametroString("MiniatureSuffisso")
- TextBox5.Text = SetupIni.LeggiParametroString("MiniatureAltezza")
- TextBox6.Text = SetupIni.LeggiParametroString("MiniatureLarghezza")
- RadioButton3.Checked = SetupIni.LeggiParametroBoolean("MiniatureAddScritta")
- RadioButton4.Checked = SetupIni.LeggiParametroBoolean("MiniatureAddOrario")
-
- TextBox27.Text = SetupIni.LeggiParametroString("FotoAltezza")
- TextBox28.Text = SetupIni.LeggiParametroString("FotoLarghezza")
- TextBox13.Text = SetupIni.LeggiParametroString("FotoCodice")
- CheckBox2.Checked = SetupIni.LeggiParametroBoolean("FotoDimOriginali")
-
- TextBox11.Text = SetupIni.LeggiParametroString("FontDimensione")
- TextBox25.Text = SetupIni.LeggiParametroString("FontDimensioneMiniatura")
- CheckBox3.Checked = SetupIni.LeggiParametroBoolean("FontBold")
- ComboBox3.Text = SetupIni.LeggiParametroString("FontNome")
-
- If TextBox25.Text = "" Then
- TextBox25.Text = "0"
- End If
-
- TextBox4.Text = SetupIni.LeggiParametroString("TestoTesto")
- TextBox9.Text = SetupIni.LeggiParametroString("TestoTrasparente")
- TextBox12.Text = SetupIni.LeggiParametroString("TestoMargine")
- ComboBox1.Text = SetupIni.LeggiParametroString("TestoPosizione")
- ComboBox2.Text = SetupIni.LeggiParametroString("TestoAllineamento")
-
- TextBox10.Text = SetupIni.LeggiParametroString("MarchioFile")
- TextBox14.Text = SetupIni.LeggiParametroString("MarchioAltezza")
- TextBox15.Text = SetupIni.LeggiParametroString("MarchioLarghezza")
- TextBox16.Text = SetupIni.LeggiParametroString("MarchioMargine")
- ComboBox4.Text = SetupIni.LeggiParametroString("MarchioAllOrizzontale")
- ComboBox5.Text = SetupIni.LeggiParametroString("MarchioAllVerticale")
- TextBox19.Text = SetupIni.LeggiParametroString("MarchioTrasparenza")
- CheckBox5.Checked = SetupIni.LeggiParametroBoolean("MarchioAggiungi")
-
- CheckBox7.Checked = SetupIni.LeggiParametroBoolean("TempoGara")
- CheckBox8.Checked = SetupIni.LeggiParametroBoolean("Orario")
- TextBox18.Text = SetupIni.LeggiParametroString("EtichettaOrario")
-
- CheckBox9.Checked = SetupIni.LeggiParametroBoolean("GeneraleForzaJpg")
- CheckBox10.Checked = SetupIni.LeggiParametroBoolean("GeneraleRotazioneAutomatica")
-
- TextBox30.Text = SetupIni.LeggiParametroString("GrandezzaVerticale")
- TextBox31.Text = SetupIni.LeggiParametroString("MargineVerticale")
- CheckBox15.Checked = SetupIni.LeggiParametroBoolean("DimensioniOriginali")
- TextBox29.Text = SetupIni.LeggiParametroString("TestoVerticale")
- RadioButton6.Checked = SetupIni.LeggiParametroBoolean("NomeMiniatura")
- CheckBox16.Checked = SetupIni.LeggiParametroBoolean("DataFoto")
- CheckBox17.Checked = SetupIni.LeggiParametroBoolean("NumeroFoto")
-
-
- RadioButton5.Checked = SetupIni.LeggiParametroBoolean("TempoSmall")
- RadioButton7.Checked = SetupIni.LeggiParametroBoolean("NumTempoSmall")
-
- TextBox32.Text = SetupIni.LeggiParametroString("CompressioneJpeg")
- TextBox33.Text = SetupIni.LeggiParametroString("CompressioneJpegMiniatura")
-
- TextBox34.Text = SetupIni.LeggiParametroString("ColoreTestoRGB")
- If File.Exists(TextBox10.Text) Then
-
-
- PictureBox1.Image = Image.FromFile(TextBox10.Text)
- If PictureBox1.Image.Height >= PictureBox1.Image.Width Then
- PictureBox1.Height = 160
- PictureBox1.Width = CType(160 * PictureBox1.Image.Width / PictureBox1.Image.Height, Integer)
- Else
- PictureBox1.Width = 224
- PictureBox1.Height = CType(224 * PictureBox1.Image.Height / PictureBox1.Image.Width, Integer)
- End If
- End If
- Me.Text = "Image Catalog - " & LeggiSoloNomeFile(IlNome)
- End If
- End Sub
-
- Private Sub setPicSettings(ByVal SourcePath As String, ByVal DestPath As String)
-
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
- Dim DestDirStart As DirectoryInfo = New DirectoryInfo(DestPath)
- Dim DestDir As DirectoryInfo = Nothing
-
-
-
- PicSettings.DirectorySorgente = TextBox1.Text
- PicSettings.DirectoryDestinazione = TextBox2.Text
-
- 'PicSettings.DestDir = DestDir
- 'PicSettings.SourceDir = SourceDir
- 'PicSettings.DestDirStart = DestDirStart
-
- PicSettings.DimStandard = CType(TextBox11.Text, Integer)
- PicSettings.DimStandardMiniatura = CType(TextBox25.Text, Integer)
-
- PicSettings.UsaOrarioMiniatura = CheckBox12.Checked
- PicSettings.UsaOrarioTestoApplicare = CheckBox8.Checked
- PicSettings.UsaTempoGaraTestoApplicare = CheckBox7.Checked
-
- PicSettings.UsaRotazioneAutomatica = CheckBox10.Checked
- PicSettings.UsaForzaJpg = CheckBox9.Checked
-
- If CheckBox17.Checked Then
- PicSettings.TestoNome = True
- Else
- PicSettings.TestoNome = False
-
- End If
-
- If CheckBox16.Checked Then
- PicSettings.NomeData = True
- Else
- PicSettings.NomeData = False
- End If
- PicSettings.TestoFirmaStart = TextBox4.Text
- PicSettings.TestoFirmaStartV = TextBox29.Text
-
- PicSettings.DataPartenza = DateTimePicker1.Value
- PicSettings.TestoOrario = TextBox18.Text
-
- PicSettings.AltezzaSmall = CType(TextBox5.Text, Integer)
- PicSettings.LarghezzaSmall = CType(TextBox5.Text, Integer)
-
- PicSettings.CreaMiniature = CheckBox1.Checked
- PicSettings.AggiungiScritteMiniature = RadioButton3.Checked
- PicSettings.AggTempoGaraMin = RadioButton5.Checked
- PicSettings.AggNumTempMin = RadioButton7.Checked
-
-
- PicSettings.DimVert = CType(TextBox30.Text, Integer)
- PicSettings.MargVert = CType(TextBox31.Text, Integer)
-
- 'PicSettings.NomeFileChild = childFile.Name
- PicSettings.Suffisso = TextBox3.Text
- PicSettings.Codice = TextBox13.Text
-
- PicSettings.Trasparenza = CType(TextBox9.Text, Integer)
- PicSettings.IlFont = ComboBox3.SelectedItem.ToString
- PicSettings.Grassetto = CheckBox3.Checked
-
- PicSettings.Posizione = ComboBox1.SelectedItem.ToString
- PicSettings.Allineamento = ComboBox2.SelectedItem.ToString
- PicSettings.Margine = CType(TextBox12.Text, Integer)
-
- PicSettings.LogoAltezza = CType(TextBox14.Text, Integer)
- PicSettings.LogoLarghezza = CType(TextBox15.Text, Integer)
-
- PicSettings.fontColoreRGB = ColorTranslator.FromHtml(TextBox34.Text)
-
- PicSettings.LogoAggiungi = CheckBox5.Checked
- PicSettings.LogoNomeFile = TextBox10.Text
- PicSettings.LogoTrasparenza = TextBox19.Text
- PicSettings.LogoMargine = TextBox16.Text
- PicSettings.LogoPosizioneH = ComboBox4.Text
- PicSettings.LogoPosizioneV = ComboBox5.Text
-
- PicSettings.FotoGrandeDimOrigina = CheckBox15.Checked
- PicSettings.AltezzaBig = CType(TextBox27.Text, Integer)
- PicSettings.LarghezzaBig = CType(TextBox28.Text, Integer)
- PicSettings.DimMin = CType(TextBox25.Text, Integer)
-
- PicSettings.TestoMin = RadioButton6.Checked
-
- PicSettings.jpegQuality = CLng(TextBox32.Text)
- PicSettings.jpegQualityMin = CLng(TextBox33.Text)
-
- 'PicSettings.mainForm = Me
-
-
- End Sub
-
- Private Function makeFilesList(ByVal SourcePath As String) As List(Of List(Of FileInfo))
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
-
- Dim DestDir As DirectoryInfo = Nothing
- Dim NumFileXDir As Integer = CType(TextBox17.Text, Integer)
- Dim SuffixDir As String = TextBox20.Text
- Dim NumCifreDir As Integer = CType(TextBox21.Text, Integer)
- Dim DividiFile As Boolean = False
-
- StopAttivo = False
-
- Dim FileConta As Integer = 0
- Dim ContaFileXDir As Integer = 0
- Dim ContaDirXDir As Integer = 0
- Dim TestoTemp As String = ""
- Dim ContaTemp As Integer = 0
-
- Dim picList As New List(Of FileInfo)
- Dim dirList As New List(Of List(Of FileInfo))
-
-
- 'controlla directory principale
- 'Dim childFile As FileInfo
- 'For Each childFile In SourceDir.GetFiles("*.jpg")
- ' picList.Add(childFile)
- 'Next
-
- picList = getFiles(SourceDir)
-
- dirList.Add(picList)
-
- 'controlla sottodirectory
- If CheckBox6.Checked = True Then
- Dim subDir As DirectoryInfo
- For Each subDir In SourceDir.GetDirectories()
- Dim filesList As New List(Of FileInfo)
- filesList = getFiles(subDir)
- dirList.Add(filesList)
- Next
- End If
-
- Return dirList
- End Function
-
- Private Function getFiles(sourceDir As DirectoryInfo) As List(Of FileInfo)
- Dim picList As New List(Of FileInfo)
- Dim childFile As FileInfo
- For Each childFile In sourceDir.GetFiles("*.jpg")
- picList.Add(childFile)
- Next
- Return picList
- End Function
-
- Private Function dividiLista(SourcePath As String, lista As List(Of List(Of FileInfo))) As List(Of List(Of FileInfo))
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
-
- Dim NumFileXDir As Integer = CType(TextBox17.Text, Integer)
- Dim SuffixDir As String = TextBox20.Text
- Dim NumCifreDir As Integer = CType(TextBox21.Text, Integer)
- Dim DividiFile As Boolean = False
-
- Dim FileConta As Integer = 0
- Dim ContaFileXDir As Integer = 0
- Dim ContaDirXDir As Integer = 0
- Dim TestoTemp As String = ""
- Dim ContaTemp As Integer = 0
-
- If NumFileXDir > 0 And CheckBox11.Checked = True Then
- If FileConta > NumFileXDir Then
- DividiFile = True
- Else
-
- End If
-
- End If
-
- End Function
-
- Private Sub setLabel17Text(ByVal text As String)
- If Label17.InvokeRequired Then
- Label17.Invoke(New Action(Of String)(AddressOf setLabel17Text), text)
- Else
- Label17.Text = text
-
- End If
- End Sub
- Public Sub stepProgressBar()
- If ProgressBar1.InvokeRequired Then
- ProgressBar1.Invoke(New MethodInvoker(AddressOf ProgressBar1.PerformStep))
- Else
- ProgressBar1.PerformStep()
- End If
- setLabel18Text(ProgressBar1.Value.ToString)
- End Sub
- Private Sub setLabel10Text(ByVal text As String)
- If Label10.InvokeRequired Then
- Label10.Invoke(New Action(Of String)(AddressOf setLabel10Text), text)
- Else
- Label10.Text = text
-
- End If
- End Sub
-
- Private Sub setProgressBarMaximum(ByVal value As Integer)
- If ProgressBar1.InvokeRequired Then
- ProgressBar1.Invoke(New Action(Of Integer)(AddressOf setProgressBarMaximum), value)
- Else
- ProgressBar1.Maximum = value
-
- End If
- End Sub
-
- Private Sub setProgressBarValue(ByVal value As Integer)
- If ProgressBar1.InvokeRequired Then
- ProgressBar1.Invoke(New Action(Of Integer)(AddressOf setProgressBarValue), value)
- Else
- ProgressBar1.Value = value
-
- End If
- End Sub
-
- Private Sub setLabel18Text(ByVal text As String)
- If Label18.InvokeRequired Then
- Label18.Invoke(New Action(Of String)(AddressOf setLabel18Text), text)
- Else
- Label18.Text = text
-
- End If
- End Sub
-
- Private Sub setLabel43Text(ByVal text As String)
- If Label43.InvokeRequired Then
- Label43.Invoke(New Action(Of String)(AddressOf setLabel43Text), text)
- Else
- Label43.Text = text
-
- End If
- End Sub
-
- Private Sub creaImmaginiWithThreadMod(ByVal SourcePath As String, ByVal DestPath As String)
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
- Dim DestDirStart As DirectoryInfo = New DirectoryInfo(DestPath)
- Dim DestDir As DirectoryInfo = Nothing
- Dim NumFileXDir As Integer = CType(TextBox17.Text, Integer)
- Dim SuffixDir As String = TextBox20.Text
- Dim NumCifreDir As Integer = CType(TextBox21.Text, Integer)
- Dim DividiFile As Boolean = False
-
- StopAttivo = False
-
- Dim FileConta As Integer = 0
- Dim ContaFileXDir As Integer = 0
- Dim ContaDirXDir As Integer = 0
- Dim TestoTemp As String = ""
- Dim ContaTemp As Integer = 0
-
-
-
- If SourceDir.Exists Then
- FileConta = SourceDir.GetFiles("*.jpg").GetLength(0)
- 'Label17.Text = (CType(Label17.Text, Integer) + FileConta).ToString
- Dim a As String = (CType(Label17.Text, Integer) + FileConta).ToString
- setLabel17Text(a)
-
- setProgressBarMaximum(CInt(a))
-
- If NumFileXDir > 0 And CheckBox11.Checked = True Then
- If FileConta > NumFileXDir Then
- DividiFile = True
- Else
- DestDir = DestDirStart
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- DividiFile = False
- End If
- Else
- DestDir = DestDirStart
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- DividiFile = False
- End If
-
- Dim childFile As FileInfo
- For Each childFile In SourceDir.GetFiles("*.jpg")
- If StopAttivo = True Then
- Exit For
- End If
- setLabel10Text("File: " & childFile.Name)
- Dim b As String = (CType(Label18.Text, Integer) + 1).ToString
- 'setLabel18Text(b)
- 'setProgressBarValue(CInt(b))
- 'Label10.Text = "File: " & childFile.Name
- 'Label18.Text = (CType(Label18.Text, Integer) + 1).ToString
- 'Application.DoEvents()
-
- ContaFileXDir += 1
-
- If DividiFile = True Then
- If ContaFileXDir = (ContaDirXDir * NumFileXDir) + 1 Then
- ContaDirXDir += 1
-
- If RadioButton1.Checked = True Then
- TestoTemp = ContaDirXDir.ToString
- Else
- TestoTemp = (ContaDirXDir * NumFileXDir).ToString
- End If
- For ContaTemp = 1 To (NumCifreDir - TestoTemp.Length)
- TestoTemp = "0" & TestoTemp
- Next
-
- If DestDirStart.FullName.EndsWith("\") Then
- DestDir = New DirectoryInfo(DestDirStart.FullName & SuffixDir & TestoTemp)
- Else
- DestDir = New DirectoryInfo(DestDirStart.FullName & "\" & SuffixDir & TestoTemp)
- End If
-
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- End If
- End If
-
- 'Application.DoEvents()
-
-
-
- Dim ClsCreaImmagine As New ImageCreator
- ClsCreaImmagine.NomeFileChild = childFile.Name
- ClsCreaImmagine.DestDir = DestDir
- ClsCreaImmagine.SourceDir = SourceDir
- ClsCreaImmagine.DestDirStart = DestDirStart
-
- ContaImmaginiThread += 1
- MyPool.InsertWorkItem(childFile.Name, New XyThreadAdd(AddressOf ClsCreaImmagine.CreaImmagineThread), New Object(0) {childFile.Name}, True)
- Next
- ' copy all the sub-directories by recursively calling this same routine
- If CheckBox6.Checked = True Then
- Dim subDir As DirectoryInfo
- For Each subDir In SourceDir.GetDirectories()
- creaImmaginiWithThreadMod(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name))
- Next
- End If
- End If
- End Sub
-
- 'il posto giusto dove fare modifiche
- Private Sub CreaImmaginiWithThread(ByVal SourcePath As String, ByVal DestPath As String)
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
- Dim DestDirStart As DirectoryInfo = New DirectoryInfo(DestPath)
- Dim DestDir As DirectoryInfo = Nothing
- Dim NumFileXDir As Integer = CType(TextBox17.Text, Integer)
- Dim SuffixDir As String = TextBox20.Text
- Dim NumCifreDir As Integer = CType(TextBox21.Text, Integer)
- Dim DividiFile As Boolean = False
-
- StopAttivo = False
-
- Dim FileConta As Integer = 0
- Dim ContaFileXDir As Integer = 0
- Dim ContaDirXDir As Integer = 0
- Dim TestoTemp As String = ""
- Dim ContaTemp As Integer = 0
-
-
-
- If SourceDir.Exists Then
- FileConta = SourceDir.GetFiles("*.jpg").GetLength(0)
- Label17.Text = (CType(Label17.Text, Integer) + FileConta).ToString
-
- If NumFileXDir > 0 And CheckBox11.Checked = True Then
- If FileConta > NumFileXDir Then
- DividiFile = True
- Else
- DestDir = DestDirStart
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- DividiFile = False
- End If
- Else
- DestDir = DestDirStart
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- DividiFile = False
- End If
-
- Dim childFile As FileInfo
- For Each childFile In SourceDir.GetFiles("*.jpg")
- If StopAttivo = True Then
- Exit For
- End If
- 'Label10.Text = "File: " & childFile.Name
- 'Label18.Text = (CType(Label18.Text, Integer) + 1).ToString
- 'Application.DoEvents()
-
- ContaFileXDir += 1
-
- If DividiFile = True Then
- If ContaFileXDir = (ContaDirXDir * NumFileXDir) + 1 Then
- ContaDirXDir += 1
-
- If RadioButton1.Checked = True Then
- TestoTemp = ContaDirXDir.ToString
- Else
- TestoTemp = (ContaDirXDir * NumFileXDir).ToString
- End If
- For ContaTemp = 1 To (NumCifreDir - TestoTemp.Length)
- TestoTemp = "0" & TestoTemp
- Next
-
- If DestDirStart.FullName.EndsWith("\") Then
- DestDir = New DirectoryInfo(DestDirStart.FullName & SuffixDir & TestoTemp)
- Else
- DestDir = New DirectoryInfo(DestDirStart.FullName & "\" & SuffixDir & TestoTemp)
- End If
-
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- End If
- End If
-
- Application.DoEvents()
- Dim ClsCreaImmagine As New CreaImmagineSeparateThread
-
- ClsCreaImmagine.DirectorySorgente = TextBox1.Text
- ClsCreaImmagine.DirectoryDestinazione = TextBox2.Text
-
- ClsCreaImmagine.DestDir = DestDir
- ClsCreaImmagine.SourceDir = SourceDir
- ClsCreaImmagine.DestDirStart = DestDirStart
-
- ClsCreaImmagine.DimStandard = CType(TextBox11.Text, Integer)
- ClsCreaImmagine.DimStandardMiniatura = CType(TextBox25.Text, Integer)
-
- ClsCreaImmagine.UsaOrarioMiniatura = CheckBox12.Checked
- ClsCreaImmagine.UsaOrarioTestoApplicare = CheckBox8.Checked
- ClsCreaImmagine.UsaTempoGaraTestoApplicare = CheckBox7.Checked
-
- ClsCreaImmagine.UsaRotazioneAutomatica = CheckBox10.Checked
- ClsCreaImmagine.UsaForzaJpg = CheckBox9.Checked
-
- If CheckBox17.Checked Then
- ClsCreaImmagine.TestoNome = True
- Else
- ClsCreaImmagine.TestoNome = False
-
- End If
-
- If CheckBox16.Checked Then
- ClsCreaImmagine.NomeData = True
- Else
- ClsCreaImmagine.NomeData = False
- End If
- ClsCreaImmagine.TestoFirmaStart = TextBox4.Text
- ClsCreaImmagine.TestoFirmaStartV = TextBox29.Text
-
- ClsCreaImmagine.DataPartenza = DateTimePicker1.Value
- ClsCreaImmagine.TestoOrario = TextBox18.Text
-
- ClsCreaImmagine.AltezzaSmall = CType(TextBox5.Text, Integer)
- ClsCreaImmagine.LarghezzaSmall = CType(TextBox5.Text, Integer)
-
- ClsCreaImmagine.CreaMiniature = CheckBox1.Checked
- ClsCreaImmagine.AggiungiScritteMiniature = RadioButton3.Checked
- ClsCreaImmagine.AggTempoGaraMin = RadioButton5.Checked
- ClsCreaImmagine.AggNumTempMin = RadioButton7.Checked
-
-
- ClsCreaImmagine.DimVert = CType(TextBox30.Text, Integer)
- ClsCreaImmagine.MargVert = CType(TextBox31.Text, Integer)
-
- ClsCreaImmagine.NomeFileChild = childFile.Name
- ClsCreaImmagine.Suffisso = TextBox3.Text
- ClsCreaImmagine.Codice = TextBox13.Text
-
- ClsCreaImmagine.Trasparenza = CType(TextBox9.Text, Integer)
- ClsCreaImmagine.IlFont = ComboBox3.SelectedItem.ToString
- ClsCreaImmagine.Grassetto = CheckBox3.Checked
-
- ClsCreaImmagine.Posizione = ComboBox1.SelectedItem.ToString
- ClsCreaImmagine.Allineamento = ComboBox2.SelectedItem.ToString
- ClsCreaImmagine.Margine = CType(TextBox12.Text, Integer)
-
- ClsCreaImmagine.LogoAltezza = CType(TextBox14.Text, Integer)
- ClsCreaImmagine.LogoLarghezza = CType(TextBox15.Text, Integer)
-
- 'ClsCreaImmagine.FontColoreR = CType(TextBox22.Text, Integer)
- 'ClsCreaImmagine.FontColoreG = CType(TextBox23.Text, Integer)
- 'ClsCreaImmagine.FontColoreB = CType(TextBox24.Text, Integer)
- ClsCreaImmagine.fontColoreRGB = ColorTranslator.FromHtml(TextBox34.Text)
-
- ClsCreaImmagine.LogoAggiungi = CheckBox5.Checked
- ClsCreaImmagine.LogoNomeFile = TextBox10.Text
- ClsCreaImmagine.LogoTrasparenza = TextBox19.Text
- ClsCreaImmagine.LogoMargine = TextBox16.Text
- ClsCreaImmagine.LogoPosizioneH = ComboBox4.Text
- ClsCreaImmagine.LogoPosizioneV = ComboBox5.Text
-
- ClsCreaImmagine.FotoGrandeDimOrigina = CheckBox15.Checked
- ClsCreaImmagine.AltezzaBig = CType(TextBox27.Text, Integer)
- ClsCreaImmagine.LarghezzaBig = CType(TextBox28.Text, Integer)
- ClsCreaImmagine.DimMin = CType(TextBox25.Text, Integer)
-
- ClsCreaImmagine.TestoMin = RadioButton6.Checked
-
- ClsCreaImmagine.jpegQuality = CLng(TextBox32.Text)
- ClsCreaImmagine.jpegQuality = CLng(TextBox33.Text)
-
- ContaImmaginiThread += 1
- MyPool.InsertWorkItem(childFile.Name, New XyThreadAdd(AddressOf ClsCreaImmagine.CreaImmagineThread), New Object(0) {childFile.Name}, True)
- Next
- ' copy all the sub-directories by recursively calling this same routine
- If CheckBox6.Checked = True Then
- Dim subDir As DirectoryInfo
- For Each subDir In SourceDir.GetDirectories()
- CreaImmaginiWithThread(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name))
- Next
- End If
- End If
- End Sub
-
- Private Sub CopyDirectoryFile(ByVal SourcePath As String, ByVal DestPath As String, Optional ByVal OverWrite As Boolean = False)
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
- Dim DestDir As DirectoryInfo = New DirectoryInfo(DestPath)
-
- If SourceDir.Exists Then
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- ' copy all the files of the current directory
- Dim childFile As FileInfo
- For Each childFile In SourceDir.GetFiles()
- If OverWrite Then
- childFile.CopyTo(Path.Combine(DestDir.FullName, childFile.Name), True)
- Else
- ' if overwrite = false, copy the file only if it does not exist
- ' this is done to avoid an IOException if a file already exists
- ' this way the other files can be copied anyway...
- If Not File.Exists(Path.Combine(DestDir.FullName, childFile.Name)) Then
- childFile.CopyTo(Path.Combine(DestDir.FullName, childFile.Name), False)
- End If
- End If
- Next
- ' copy all the sub-directories by recursively calling this same routine
- Dim subDir As DirectoryInfo
- For Each subDir In SourceDir.GetDirectories()
- CopyDirectoryFile(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name), OverWrite)
- Next
- End If
- End Sub
-
-
-
-
-
- Function NewthumbSize(ByVal currentwidth As Integer, ByVal currentheight As Integer, ByVal MaxPixel As Integer, ByVal TipoSize As String) As Size
- ' Calculate the Size of the New image
- '*** Larghezza, Altezza, Auto
-
- Dim tempMultiplier As Double
-
- If TipoSize.ToUpper = "Larghezza".ToUpper Then
- tempMultiplier = MaxPixel / currentwidth
- ElseIf TipoSize.ToUpper = "Altezza".ToUpper Then
- tempMultiplier = MaxPixel / currentheight
- Else
- If currentheight > currentwidth Then ' portrait
- tempMultiplier = MaxPixel / currentheight
- Else
- tempMultiplier = MaxPixel / currentwidth
- End If
- End If
-
- Dim NewSize As New Size(CInt(currentwidth * tempMultiplier), CInt(currentheight * tempMultiplier))
-
- Return NewSize
- End Function
-
-
-
- Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
- StopAttivo = True
-
- MyPool.StopThreadPool()
- unlockUI()
-
- End Sub
-
- Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
- Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- 'openFileDialog.InitialDirectory = TextBox1.Text
- openFileDialog.Filter = "Immagini jpg (*.jpg)|*.jpg|Immagini gif (*.gif)|*.gif|Tutti i file (*.*)|*.*"
- If TextBox10.Text.Length > 0 Then
- openFileDialog.FileName = TextBox10.Text
- End If
- openFileDialog.FilterIndex = 0
- openFileDialog.RestoreDirectory = True
-
- If DialogResult.OK = openFileDialog.ShowDialog() Then
- TextBox10.Text = openFileDialog.FileName
- PictureBox1.Image = Image.FromFile(TextBox10.Text)
- If PictureBox1.Image.Height >= PictureBox1.Image.Width Then
- PictureBox1.Height = 160
- PictureBox1.Width = CType(160 * PictureBox1.Image.Width / PictureBox1.Image.Height, Integer)
- Else
- PictureBox1.Width = 224
- PictureBox1.Height = CType(224 * PictureBox1.Image.Height / PictureBox1.Image.Width, Integer)
- End If
- End If
- End Sub
-
- Private Function LeggiSoloNomeFile(ByVal FileName As String) As String
- Dim Testo As String = FileName
- Dim Risposta As String = ""
-
- Dim Nomi() As String = Testo.Split(New Char() {"\"c})
- If Nomi.Length > 1 Then
- Risposta = Nomi(Nomi.Length - 1)
- End If
-
- Return Risposta
- End Function
-
-
- Private Sub PictureBox1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove
- 'GetColor()
- 'GetPixelColor(PictureBox1.PointToScreen(e.Location)).ToArgb.ToString("X8")
-
- End Sub
-
- Private Sub PictureBox1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseUp
- If e.Button = MouseButtons.Left Then
- WaterSelectColor = True
- Else
- WaterSelectColor = False
- End If
- End Sub
-
-
- 'Private Declare Function CreateDC Lib "gdi32.dll" (ByVal strDriver As String, ByVal strDevice As String, ByVal strOutput As String, ByVal pData As IntPtr) As IntPtr
- 'Private Declare Function DeleteDC Lib "gdi32.dll" (ByVal hdc As IntPtr) As Boolean
- 'Private Declare Function GetPixel Lib "gdi32.dll" (ByVal hdc As IntPtr, ByVal x As Integer, ByVal y As Integer) As Integer
- 'Private Declare Function GetCursorPos Lib "user32.dll" (ByRef lpPoint As Point) As Boolean
-
-
- ''''
- '''' Get the color relative to mouse position
- ''''
- 'Private Sub GetColor()
- ' Dim hdcScreen As IntPtr = CreateDC("Display", Nothing, Nothing, IntPtr.Zero)
- ' Dim pt As Point = New Point
- ' GetCursorPos(pt)
- ' Dim cr As Integer = GetPixel(hdcScreen, pt.X, pt.Y)
- ' DeleteDC(hdcScreen)
- ' Dim clr As Color = Color.FromArgb((cr And &HFF), (cr And &HFF00) >> 8, (cr And &HFF0000) >> 16)
- ' PictureBox3.BackColor = clr
- ' If WaterSelectColor = True Then
- ' PictureBox2.BackColor = clr
- ' End If
- ' WaterSelectColor = False
- 'End Sub
-
-
- Private Function GetPixelColor(ByVal screenLocation As Point) As Color()
- 'Dim bm As New Bitmap(1, 1, Imaging.PixelFormat.Format24bppRgb)
- 'Dim g As Graphics = Graphics.FromImage(bm)
- 'g.CopyFromScreen(screenLocation, New Point(0, 0), New Size(1, 1))
- 'Dim result As Color = bm.GetPixel(0, 0)
- 'g.Dispose()
- 'bm.Dispose()
- 'Return result
- Return Nothing
- End Function
-
- Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click
- Dim MyDialog As New ColorDialog
- MyDialog.AllowFullOpen = True
- 'If TextBox22.Text.Length > 0 And TextBox23.Text.Length > 0 And TextBox24.Text.Length > 0 Then
- ' If CType(TextBox22.Text, Integer) >= 0 And CType(TextBox23.Text, Integer) >= 0 And CType(TextBox24.Text, Integer) >= 0 Then
- ' MyDialog.Color = Color.FromArgb(0, CType(TextBox22.Text, Integer), CType(TextBox23.Text, Integer), CType(TextBox24.Text, Integer))
- ' End If
- 'End If
-
- If (MyDialog.ShowDialog() = Windows.Forms.DialogResult.OK) Then
- 'TextBox22.Text = MyDialog.Color.R.ToString
- 'TextBox23.Text = MyDialog.Color.G.ToString
- 'TextBox24.Text = MyDialog.Color.B.ToString
- TextBox34.Text = ColorTranslator.ToHtml(MyDialog.Color)
- TextBox34.BackColor = MyDialog.Color
-
- End If
- End Sub
-
-
-
-
-
-
-
- Private Sub TextBox27_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
-
- End Sub
-
-
-
-
- Private Sub CheckBox18_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox18.CheckedChanged
- CheckBox4.Checked = False
- CheckBox12.Checked = False
-
- End Sub
-
- Private Sub CheckBox4_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox4.CheckedChanged
- CheckBox18.Checked = False
- End Sub
-
- Private Sub CheckBox12_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox12.CheckedChanged
- CheckBox18.Checked = False
- End Sub
-
-
-End Class
-
-Public Class PicInfoold
- Public DirSource, DirDest, DirDestStart As DirectoryInfo
- Public NomeImmagine As String
-
- Public Sub New(ByVal Dir_Source As DirectoryInfo, ByVal Dir_Dest As DirectoryInfo, ByVal Dir_DestStart As DirectoryInfo, ByVal Nome_Immagine As String)
- DirSource = Dir_Source
- DirDest = Dir_Dest
- DirDestStart = Dir_DestStart
- NomeImmagine = Nome_Immagine
- End Sub
-End Class
\ No newline at end of file
diff --git a/imagecatalog.backup/ImageCatalog 2.csproj b/imagecatalog.backup/ImageCatalog 2.csproj
deleted file mode 100644
index 6acc065..0000000
--- a/imagecatalog.backup/ImageCatalog 2.csproj
+++ /dev/null
@@ -1,371 +0,0 @@
-
-
-
- Local
- 9.0.30729
- 2.0
- {3F1E23DB-435E-0590-1EF5-735E898DBA3C}
- Debug
- AnyCPU
-
-
-
-
- ImageCatalog
-
-
- None
- JScript
- Grid
- IE50
- false
- WinExe
- Binary
- On
- On
- ImageCatalog
- ImageCatalog.My.MyApplication
-
-
- WindowsForms
- 3.5
-
-
- v4.8
- false
- My Project\app.manifest
-
-
- SAK
- SAK
- SAK
- SAK
-
-
- $(DefaultItemExcludes);$(ProjectDir)**\*.vb
- latest
- \\casa-storage\Foto\catolg\parallel2.0\
- true
- Unc
- true
- Foreground
- 7
- Days
- false
- false
- true
- true
- publish.htm
- 1
- 1.8.0.%2a
- false
- true
- true
-
-
- bin\
- bin\ImageCatalog.xml
- 285212672
-
-
-
-
- true
- true
- true
- false
- false
- false
- false
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- full
- AnyCPU
- AllRules.ruleset
- false
-
-
- bin\
- bin\ImageCatalog.xml
- 285212672
-
-
-
-
- false
- true
- false
- true
- false
- false
- false
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- none
- AnyCPU
- AllRules.ruleset
- false
-
-
- true
- true
- true
- bin\x64\Debug\
- 285212672
- bin\x64\Debug\ImageCatalog.xml
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- full
- x64
- AllRules.ruleset
- false
-
-
- true
- bin\x64\Release\
- 285212672
- bin\x64\Release\ImageCatalog.xml
- true
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- x64
- AllRules.ruleset
- false
-
-
- true
- true
- true
- bin\x86\Debug\
- 285212672
- bin\x86\Debug\ImageCatalog.xml
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- full
- x86
- bin\ImageCatalog.exe.CodeAnalysisLog.xml
- true
- GlobalSuppressions.cs
- AllRules.ruleset
- ;F:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
- true
- ;F:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
- true
- false
- false
-
-
- true
- bin\x86\Release\
- 285212672
- bin\x86\Release\ImageCatalog.xml
- true
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- x86
- bin\ImageCatalog.exe.CodeAnalysisLog.xml
- true
- GlobalSuppressions.cs
- AllRules.ruleset
- ;F:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
- true
- ;F:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
- true
- false
-
-
- 6BFA075A69837045D051A6F7B6CAD4961D53335E
-
-
- ImageCatalog 2_TemporaryKey.pfx
-
-
- true
-
-
- true
-
-
-
-
- ..\packages\Ben.Demystifier.0.3.0\lib\net45\Ben.Demystifier.dll
-
-
-
- ..\packages\Microsoft.WindowsAPICodePack-Core.1.1.0.2\lib\Microsoft.WindowsAPICodePack.dll
-
-
- ..\packages\Microsoft.WindowsAPICodePack-Shell.1.1.0.0\lib\Microsoft.WindowsAPICodePack.Shell.dll
-
-
- ..\packages\Microsoft.WindowsAPICodePack-Shell.1.1.0.0\lib\Microsoft.WindowsAPICodePack.ShellExtensions.dll
-
-
- System
-
-
- ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll
-
-
- ..\packages\System.Collections.Immutable.5.0.0\lib\net461\System.Collections.Immutable.dll
-
-
- 3.5
- True
-
-
- System.Data
- True
-
-
- System.Drawing
- True
-
-
- ..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll
-
-
-
- ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll
-
-
- ..\packages\System.Reflection.Metadata.5.0.0\lib\net461\System.Reflection.Metadata.dll
-
-
- ..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll
-
-
- ..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll
-
-
- System.Windows.Forms
-
-
- System.XML
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Code
-
-
-
-
-
- Code
-
-
- Form
-
-
-
- MainForm.cs
-
-
- Form
-
-
-
- True
- Application.myapp
-
-
- True
- True
- Settings.settings
-
-
-
-
- Code
-
-
- Code
-
-
- Form1.cs
- Designer
-
-
- MainForm.cs
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.cs
-
-
-
-
-
- ImageCatalog.My
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
-
-
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
-
-
- False
- .NET Framework 2.0 %28x86%29
- false
-
-
- False
- .NET Framework 3.0 %28x86%29
- false
-
-
- False
- .NET Framework 3.5
- true
-
-
- False
- .NET Framework 3.5 SP1
- false
-
-
- False
- Windows Installer 3.1
- true
-
-
-
-
-
-
-
- {44465926-240d-473f-90b8-786ba4384406}
- CatalogVbLib
-
-
- {aebfe9e3-277c-4a7b-8448-145d1b11998b}
- MaddoShared
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/imagecatalog.backup/ImageCatalog 2.vbproj b/imagecatalog.backup/ImageCatalog 2.vbproj
deleted file mode 100644
index d254204..0000000
--- a/imagecatalog.backup/ImageCatalog 2.vbproj
+++ /dev/null
@@ -1,341 +0,0 @@
-
-
-
- Local
- 9.0.30729
- 2.0
- {8D3AA2B0-8F06-4A61-9CAD-B920EB1A8E9C}
- Debug
- AnyCPU
-
-
-
-
- ImageCatalog
-
-
- None
- JScript
- Grid
- IE50
- false
- WinExe
- Binary
- On
- On
- ImageCatalog
- ImageCatalog.My.MyApplication
-
-
- WindowsForms
- 3.5
-
-
- v4.7.2
- true
- My Project\app.manifest
-
-
- SAK
- SAK
- SAK
- SAK
-
-
- http://localhost/ImageCatalog/
- true
- Web
- true
- Foreground
- 7
- Days
- false
- false
- true
- 0
- 1.8.0.%2a
- false
- true
-
-
- bin\
- ImageCatalog.xml
- 285212672
-
-
-
-
- true
- true
- true
- false
- false
- false
- false
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- full
- AnyCPU
- AllRules.ruleset
- false
-
-
- bin\
- ImageCatalog.xml
- 285212672
-
-
-
-
- false
- true
- false
- true
- false
- false
- false
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- none
- AnyCPU
- AllRules.ruleset
- false
-
-
- true
- true
- true
- bin\x64\Debug\
- 285212672
- ImageCatalog.xml
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- full
- x64
- AllRules.ruleset
- false
-
-
- true
- bin\x64\Release\
- 285212672
- ImageCatalog.xml
- true
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- x64
- AllRules.ruleset
- false
-
-
- true
- true
- true
- bin\x86\Debug\
- 285212672
- ImageCatalog.xml
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- full
- x86
- bin\ImageCatalog.exe.CodeAnalysisLog.xml
- true
- GlobalSuppressions.vb
- AllRules.ruleset
- ;F:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
- true
- ;F:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
- true
- false
- false
-
-
- true
- bin\x86\Release\
- 285212672
- ImageCatalog.xml
- true
- 1
- 42016,42017,42018,42019,42032,42353,42354,42355
- x86
- bin\ImageCatalog.exe.CodeAnalysisLog.xml
- true
- GlobalSuppressions.vb
- AllRules.ruleset
- ;F:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets
- true
- ;F:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules
- true
- false
-
-
-
- ..\packages\Ben.Demystifier.0.3.0\lib\net45\Ben.Demystifier.dll
-
-
-
- System
-
-
- ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll
-
-
- ..\packages\System.Collections.Immutable.5.0.0\lib\net461\System.Collections.Immutable.dll
-
-
- 3.5
- True
-
-
- System.Data
- True
-
-
- System.Drawing
- True
-
-
- ..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll
-
-
-
- ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll
-
-
- ..\packages\System.Reflection.Metadata.5.0.0\lib\net461\System.Reflection.Metadata.dll
-
-
- ..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll
-
-
- ..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll
-
-
- System.Windows.Forms
-
-
- System.XML
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Code
-
-
-
-
-
- Code
-
-
- Form
-
-
-
- MainForm.vb
-
-
- Form
-
-
-
- True
- Application.myapp
-
-
- True
- True
- Settings.settings
-
-
-
-
- Code
-
-
- Code
-
-
- Form1.vb
- Designer
-
-
- MainForm.vb
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
-
-
-
- My
- SettingsSingleFileGenerator
- Settings.Designer.vb
-
-
-
-
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
-
-
- False
- .NET Framework 2.0 %28x86%29
- false
-
-
- False
- .NET Framework 3.0 %28x86%29
- false
-
-
- False
- .NET Framework 3.5
- true
-
-
- False
- .NET Framework 3.5 SP1
- false
-
-
- False
- Windows Installer 3.1
- true
-
-
-
-
-
-
-
- {44465926-240d-473f-90b8-786ba4384406}
- CatalogVbLib
-
-
- {aebfe9e3-277c-4a7b-8448-145d1b11998b}
- MaddoShared
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/imagecatalog.backup/LoadBuffer.cs b/imagecatalog.backup/LoadBuffer.cs
deleted file mode 100644
index f116be3..0000000
--- a/imagecatalog.backup/LoadBuffer.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using System.Collections.Generic;
-using System.Drawing;
-using System.IO;
-
-namespace ImageCatalog
-{
- public class LoadBuffer
- {
- public List imageList = new List();
- public List picSourceList = new List();
- public List> dirSourceList = new List>();
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/LoadBuffer.vb b/imagecatalog.backup/LoadBuffer.vb
deleted file mode 100644
index b59cf11..0000000
--- a/imagecatalog.backup/LoadBuffer.vb
+++ /dev/null
@@ -1,9 +0,0 @@
-Imports System.Collections.Generic
-Imports System.IO
-
-Public Class LoadBuffer
- Public imageList As New List(Of System.Drawing.Image)
- Public picSourceList As New List(Of FileInfo)
- Public dirSourceList As New List(Of List(Of FileInfo))
-
-End Class
diff --git a/imagecatalog.backup/MainForm.Designer.cs b/imagecatalog.backup/MainForm.Designer.cs
deleted file mode 100644
index 644be9b..0000000
--- a/imagecatalog.backup/MainForm.Designer.cs
+++ /dev/null
@@ -1,2159 +0,0 @@
-using System;
-using System.Diagnostics;
-using System.Drawing;
-using System.Runtime.CompilerServices;
-using System.Windows.Forms;
-using Microsoft.VisualBasic.CompilerServices;
-
-namespace ImageCatalog
-{
- [DesignerGenerated()]
- public partial class MainForm : Form
- {
-
- // Form overrides dispose to clean up the component list.
- [DebuggerNonUserCode()]
- protected override void Dispose(bool disposing)
- {
- try
- {
- if (disposing && components is object)
- {
- components.Dispose();
- }
- }
- finally
- {
- base.Dispose(disposing);
- }
- }
-
- // Required by the Windows Form Designer
- private System.ComponentModel.IContainer components;
-
- // NOTE: The following procedure is required by the Windows Form Designer
- // It can be modified using the Windows Form Designer.
- // Do not modify it using the code editor.
- [DebuggerStepThrough()]
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.ProgressBar1 = new System.Windows.Forms.ProgressBar();
- this.CheckBox22 = new System.Windows.Forms.CheckBox();
- this.Label43 = new System.Windows.Forms.Label();
- this.TabControl1 = new System.Windows.Forms.TabControl();
- this.TabPage5 = new System.Windows.Forms.TabPage();
- this.GroupBox11 = new System.Windows.Forms.GroupBox();
- this.Panel3 = new System.Windows.Forms.Panel();
- this.rdbNuovoMetodo = new System.Windows.Forms.RadioButton();
- this.rdbVecchioMetodo = new System.Windows.Forms.RadioButton();
- this.Label8 = new System.Windows.Forms.Label();
- this.TextBox8 = new System.Windows.Forms.TextBox();
- this.Label7 = new System.Windows.Forms.Label();
- this.TextBox7 = new System.Windows.Forms.TextBox();
- this.GroupBox3 = new System.Windows.Forms.GroupBox();
- this.chkAggiornaSottodirectory = new System.Windows.Forms.CheckBox();
- this._Button3 = new System.Windows.Forms.Button();
- this._Button2 = new System.Windows.Forms.Button();
- this.Label1 = new System.Windows.Forms.Label();
- this.Label2 = new System.Windows.Forms.Label();
- this.txtSorgente = new System.Windows.Forms.TextBox();
- this.txtDestinazione = new System.Windows.Forms.TextBox();
- this.GroupBox8 = new System.Windows.Forms.GroupBox();
- this.rdbNumFiles = new System.Windows.Forms.RadioButton();
- this.rdbNumProgressiva = new System.Windows.Forms.RadioButton();
- this.txtCifreContatore = new System.Windows.Forms.TextBox();
- this.Label34 = new System.Windows.Forms.Label();
- this.txtSuffissoCartelle = new System.Windows.Forms.TextBox();
- this.Label33 = new System.Windows.Forms.Label();
- this.Label31 = new System.Windows.Forms.Label();
- this.chkCreaSottocartelle = new System.Windows.Forms.CheckBox();
- this.txtFilePerCartella = new System.Windows.Forms.TextBox();
- this.Label32 = new System.Windows.Forms.Label();
- this.GroupBox7 = new System.Windows.Forms.GroupBox();
- this.chkSovrascriviFile = new System.Windows.Forms.CheckBox();
- this.chkRotazioneAutomatica = new System.Windows.Forms.CheckBox();
- this.chkForzaJpg = new System.Windows.Forms.CheckBox();
- this.TabPage3 = new System.Windows.Forms.TabPage();
- this.GroupBox10 = new System.Windows.Forms.GroupBox();
- this.Label42 = new System.Windows.Forms.Label();
- this.Label41 = new System.Windows.Forms.Label();
- this.TextBox31 = new System.Windows.Forms.TextBox();
- this.TextBox30 = new System.Windows.Forms.TextBox();
- this.GroupBox9 = new System.Windows.Forms.GroupBox();
- this.CheckBox17 = new System.Windows.Forms.CheckBox();
- this.CheckBox16 = new System.Windows.Forms.CheckBox();
- this.GroupBox5 = new System.Windows.Forms.GroupBox();
- this.TextBox34 = new System.Windows.Forms.TextBox();
- this._Button8 = new System.Windows.Forms.Button();
- this.Label36 = new System.Windows.Forms.Label();
- this.TextBox25 = new System.Windows.Forms.TextBox();
- this.Label35 = new System.Windows.Forms.Label();
- this.ComboBox3 = new System.Windows.Forms.ComboBox();
- this.TextBox11 = new System.Windows.Forms.TextBox();
- this.Label12 = new System.Windows.Forms.Label();
- this.Label11 = new System.Windows.Forms.Label();
- this.CheckBox3 = new System.Windows.Forms.CheckBox();
- this.GroupBox4 = new System.Windows.Forms.GroupBox();
- this.Label40 = new System.Windows.Forms.Label();
- this.TextBox29 = new System.Windows.Forms.TextBox();
- this.TextBox18 = new System.Windows.Forms.TextBox();
- this.Label26 = new System.Windows.Forms.Label();
- this.DateTimePicker1 = new System.Windows.Forms.DateTimePicker();
- this.CheckBox8 = new System.Windows.Forms.CheckBox();
- this.TextBox9 = new System.Windows.Forms.TextBox();
- this.CheckBox7 = new System.Windows.Forms.CheckBox();
- this.Label4 = new System.Windows.Forms.Label();
- this.TextBox4 = new System.Windows.Forms.TextBox();
- this.Label9 = new System.Windows.Forms.Label();
- this.Label13 = new System.Windows.Forms.Label();
- this.ComboBox1 = new System.Windows.Forms.ComboBox();
- this.ComboBox2 = new System.Windows.Forms.ComboBox();
- this.Label14 = new System.Windows.Forms.Label();
- this.TextBox12 = new System.Windows.Forms.TextBox();
- this.Label15 = new System.Windows.Forms.Label();
- this.TabPage2 = new System.Windows.Forms.TabPage();
- this.GroupBox2 = new System.Windows.Forms.GroupBox();
- this.Label45 = new System.Windows.Forms.Label();
- this.TextBox32 = new System.Windows.Forms.TextBox();
- this.TextBox26 = new System.Windows.Forms.TextBox();
- this.Label37 = new System.Windows.Forms.Label();
- this.Label38 = new System.Windows.Forms.Label();
- this.TextBox27 = new System.Windows.Forms.TextBox();
- this.Label39 = new System.Windows.Forms.Label();
- this.TextBox28 = new System.Windows.Forms.TextBox();
- this.CheckBox15 = new System.Windows.Forms.CheckBox();
- this.TabPage1 = new System.Windows.Forms.TabPage();
- this.Panel1 = new System.Windows.Forms.Panel();
- this._CheckBox18 = new System.Windows.Forms.CheckBox();
- this._CheckBox4 = new System.Windows.Forms.CheckBox();
- this._CheckBox12 = new System.Windows.Forms.CheckBox();
- this.GroupBox1 = new System.Windows.Forms.GroupBox();
- this.Label46 = new System.Windows.Forms.Label();
- this.TextBox33 = new System.Windows.Forms.TextBox();
- this.Panel2 = new System.Windows.Forms.Panel();
- this.RadioButton3 = new System.Windows.Forms.RadioButton();
- this.RadioButton7 = new System.Windows.Forms.RadioButton();
- this.RadioButton4 = new System.Windows.Forms.RadioButton();
- this.RadioButton6 = new System.Windows.Forms.RadioButton();
- this.RadioButton5 = new System.Windows.Forms.RadioButton();
- this.Label5 = new System.Windows.Forms.Label();
- this.TextBox5 = new System.Windows.Forms.TextBox();
- this.Label6 = new System.Windows.Forms.Label();
- this.TextBox6 = new System.Windows.Forms.TextBox();
- this.Label3 = new System.Windows.Forms.Label();
- this.TextBox3 = new System.Windows.Forms.TextBox();
- this.CheckBox1 = new System.Windows.Forms.CheckBox();
- this.TabPage4 = new System.Windows.Forms.TabPage();
- this.GroupBox6 = new System.Windows.Forms.GroupBox();
- this.PictureBox2 = new System.Windows.Forms.PictureBox();
- this._PictureBox1 = new System.Windows.Forms.PictureBox();
- this.ComboBox5 = new System.Windows.Forms.ComboBox();
- this.ComboBox4 = new System.Windows.Forms.ComboBox();
- this.TextBox19 = new System.Windows.Forms.TextBox();
- this.Label28 = new System.Windows.Forms.Label();
- this.CheckBox5 = new System.Windows.Forms.CheckBox();
- this.TextBox15 = new System.Windows.Forms.TextBox();
- this.TextBox14 = new System.Windows.Forms.TextBox();
- this.Label25 = new System.Windows.Forms.Label();
- this.TextBox16 = new System.Windows.Forms.TextBox();
- this.Label24 = new System.Windows.Forms.Label();
- this.Label22 = new System.Windows.Forms.Label();
- this.Label23 = new System.Windows.Forms.Label();
- this._Button4 = new System.Windows.Forms.Button();
- this.TextBox10 = new System.Windows.Forms.TextBox();
- this.Label29 = new System.Windows.Forms.Label();
- this.Label30 = new System.Windows.Forms.Label();
- this.PictureBox3 = new System.Windows.Forms.PictureBox();
- this._Label27 = new System.Windows.Forms.Label();
- this._Button7 = new System.Windows.Forms.Button();
- this._Button5 = new System.Windows.Forms.Button();
- this.Label20 = new System.Windows.Forms.Label();
- this.Label19 = new System.Windows.Forms.Label();
- this.Label18 = new System.Windows.Forms.Label();
- this.lblFotoTotaliNum = new System.Windows.Forms.Label();
- this.Label10 = new System.Windows.Forms.Label();
- this._Button6 = new System.Windows.Forms.Button();
- this._btnCreaCatalogoAsync = new System.Windows.Forms.Button();
- this.timer1 = new System.Windows.Forms.Timer(this.components);
- this.TabControl1.SuspendLayout();
- this.TabPage5.SuspendLayout();
- this.GroupBox11.SuspendLayout();
- this.Panel3.SuspendLayout();
- this.GroupBox3.SuspendLayout();
- this.GroupBox8.SuspendLayout();
- this.GroupBox7.SuspendLayout();
- this.TabPage3.SuspendLayout();
- this.GroupBox10.SuspendLayout();
- this.GroupBox9.SuspendLayout();
- this.GroupBox5.SuspendLayout();
- this.GroupBox4.SuspendLayout();
- this.TabPage2.SuspendLayout();
- this.GroupBox2.SuspendLayout();
- this.TabPage1.SuspendLayout();
- this.Panel1.SuspendLayout();
- this.GroupBox1.SuspendLayout();
- this.Panel2.SuspendLayout();
- this.TabPage4.SuspendLayout();
- this.GroupBox6.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this._PictureBox1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).BeginInit();
- this.SuspendLayout();
- //
- // ProgressBar1
- //
- this.ProgressBar1.Location = new System.Drawing.Point(539, 243);
- this.ProgressBar1.Name = "ProgressBar1";
- this.ProgressBar1.Size = new System.Drawing.Size(192, 23);
- this.ProgressBar1.TabIndex = 67;
- //
- // CheckBox22
- //
- this.CheckBox22.AutoSize = true;
- this.CheckBox22.Location = new System.Drawing.Point(539, 358);
- this.CheckBox22.Name = "CheckBox22";
- this.CheckBox22.Size = new System.Drawing.Size(104, 17);
- this.CheckBox22.TabIndex = 65;
- this.CheckBox22.Text = "Arresta il sistema";
- this.CheckBox22.UseVisualStyleBackColor = true;
- //
- // Label43
- //
- this.Label43.AutoSize = true;
- this.Label43.Location = new System.Drawing.Point(536, 342);
- this.Label43.Name = "Label43";
- this.Label43.Size = new System.Drawing.Size(25, 13);
- this.Label43.TabIndex = 64;
- this.Label43.Text = "000";
- this.Label43.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // TabControl1
- //
- this.TabControl1.Controls.Add(this.TabPage5);
- this.TabControl1.Controls.Add(this.TabPage3);
- this.TabControl1.Controls.Add(this.TabPage2);
- this.TabControl1.Controls.Add(this.TabPage1);
- this.TabControl1.Controls.Add(this.TabPage4);
- this.TabControl1.Location = new System.Drawing.Point(12, 12);
- this.TabControl1.Name = "TabControl1";
- this.TabControl1.SelectedIndex = 0;
- this.TabControl1.Size = new System.Drawing.Size(521, 377);
- this.TabControl1.TabIndex = 63;
- //
- // TabPage5
- //
- this.TabPage5.Controls.Add(this.GroupBox11);
- this.TabPage5.Controls.Add(this.GroupBox3);
- this.TabPage5.Controls.Add(this.GroupBox8);
- this.TabPage5.Controls.Add(this.GroupBox7);
- this.TabPage5.Location = new System.Drawing.Point(4, 22);
- this.TabPage5.Name = "TabPage5";
- this.TabPage5.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage5.Size = new System.Drawing.Size(513, 351);
- this.TabPage5.TabIndex = 4;
- this.TabPage5.Text = "Generale";
- this.TabPage5.UseVisualStyleBackColor = true;
- //
- // GroupBox11
- //
- this.GroupBox11.Controls.Add(this.Panel3);
- this.GroupBox11.Controls.Add(this.Label8);
- this.GroupBox11.Controls.Add(this.TextBox8);
- this.GroupBox11.Controls.Add(this.Label7);
- this.GroupBox11.Controls.Add(this.TextBox7);
- this.GroupBox11.Location = new System.Drawing.Point(7, 209);
- this.GroupBox11.Name = "GroupBox11";
- this.GroupBox11.Size = new System.Drawing.Size(191, 132);
- this.GroupBox11.TabIndex = 48;
- this.GroupBox11.TabStop = false;
- this.GroupBox11.Text = "Avanzate (ATTENZIONE)";
- //
- // Panel3
- //
- this.Panel3.Controls.Add(this.rdbNuovoMetodo);
- this.Panel3.Controls.Add(this.rdbVecchioMetodo);
- this.Panel3.Location = new System.Drawing.Point(7, 73);
- this.Panel3.Name = "Panel3";
- this.Panel3.Size = new System.Drawing.Size(178, 53);
- this.Panel3.TabIndex = 4;
- //
- // rdbNuovoMetodo
- //
- this.rdbNuovoMetodo.AutoSize = true;
- this.rdbNuovoMetodo.Checked = true;
- this.rdbNuovoMetodo.Location = new System.Drawing.Point(8, 28);
- this.rdbNuovoMetodo.Name = "rdbNuovoMetodo";
- this.rdbNuovoMetodo.Size = new System.Drawing.Size(65, 17);
- this.rdbNuovoMetodo.TabIndex = 1;
- this.rdbNuovoMetodo.TabStop = true;
- this.rdbNuovoMetodo.Text = "Parallelo";
- this.rdbNuovoMetodo.UseVisualStyleBackColor = true;
- //
- // rdbVecchioMetodo
- //
- this.rdbVecchioMetodo.AutoSize = true;
- this.rdbVecchioMetodo.Location = new System.Drawing.Point(8, 4);
- this.rdbVecchioMetodo.Name = "rdbVecchioMetodo";
- this.rdbVecchioMetodo.Size = new System.Drawing.Size(60, 17);
- this.rdbVecchioMetodo.TabIndex = 0;
- this.rdbVecchioMetodo.Text = "Lineare";
- this.rdbVecchioMetodo.UseVisualStyleBackColor = true;
- //
- // Label8
- //
- this.Label8.AutoSize = true;
- this.Label8.Location = new System.Drawing.Point(64, 26);
- this.Label8.Name = "Label8";
- this.Label8.Size = new System.Drawing.Size(111, 13);
- this.Label8.TabIndex = 3;
- this.Label8.Text = "Chunk Size (0 = MAX)";
- //
- // TextBox8
- //
- this.TextBox8.Location = new System.Drawing.Point(7, 20);
- this.TextBox8.Name = "TextBox8";
- this.TextBox8.Size = new System.Drawing.Size(47, 20);
- this.TextBox8.TabIndex = 2;
- this.TextBox8.Text = "0";
- //
- // Label7
- //
- this.Label7.AutoSize = true;
- this.Label7.Location = new System.Drawing.Point(61, 48);
- this.Label7.Name = "Label7";
- this.Label7.Size = new System.Drawing.Size(108, 13);
- this.Label7.TabIndex = 1;
- this.Label7.Text = "Threads (0 = CPU *2)";
- //
- // TextBox7
- //
- this.TextBox7.Location = new System.Drawing.Point(7, 46);
- this.TextBox7.Name = "TextBox7";
- this.TextBox7.Size = new System.Drawing.Size(47, 20);
- this.TextBox7.TabIndex = 0;
- this.TextBox7.Text = "0";
- //
- // GroupBox3
- //
- this.GroupBox3.Controls.Add(this.chkAggiornaSottodirectory);
- this.GroupBox3.Controls.Add(this._Button3);
- this.GroupBox3.Controls.Add(this._Button2);
- this.GroupBox3.Controls.Add(this.Label1);
- this.GroupBox3.Controls.Add(this.Label2);
- this.GroupBox3.Controls.Add(this.txtSorgente);
- this.GroupBox3.Controls.Add(this.txtDestinazione);
- this.GroupBox3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox3.Location = new System.Drawing.Point(6, 6);
- this.GroupBox3.Name = "GroupBox3";
- this.GroupBox3.Size = new System.Drawing.Size(496, 101);
- this.GroupBox3.TabIndex = 35;
- this.GroupBox3.TabStop = false;
- this.GroupBox3.Text = "Directory";
- //
- // chkAggiornaSottodirectory
- //
- this.chkAggiornaSottodirectory.ForeColor = System.Drawing.Color.Black;
- this.chkAggiornaSottodirectory.Location = new System.Drawing.Point(80, 64);
- this.chkAggiornaSottodirectory.Name = "chkAggiornaSottodirectory";
- this.chkAggiornaSottodirectory.Size = new System.Drawing.Size(152, 24);
- this.chkAggiornaSottodirectory.TabIndex = 25;
- this.chkAggiornaSottodirectory.Text = "aggiorna le sottodirectory";
- //
- // _Button3
- //
- this._Button3.Location = new System.Drawing.Point(462, 40);
- this._Button3.Name = "_Button3";
- this._Button3.Size = new System.Drawing.Size(24, 20);
- this._Button3.TabIndex = 6;
- this._Button3.Text = "...";
- this._Button3.Click += new System.EventHandler(this.Button3_Click);
- //
- // _Button2
- //
- this._Button2.Location = new System.Drawing.Point(462, 16);
- this._Button2.Name = "_Button2";
- this._Button2.Size = new System.Drawing.Size(24, 20);
- this._Button2.TabIndex = 5;
- this._Button2.Text = "...";
- this._Button2.Click += new System.EventHandler(this.Button2_Click);
- //
- // Label1
- //
- this.Label1.AutoSize = true;
- this.Label1.ForeColor = System.Drawing.Color.Black;
- this.Label1.Location = new System.Drawing.Point(6, 19);
- this.Label1.Name = "Label1";
- this.Label1.Size = new System.Drawing.Size(50, 13);
- this.Label1.TabIndex = 3;
- this.Label1.Text = "Sorgente";
- //
- // Label2
- //
- this.Label2.AutoSize = true;
- this.Label2.ForeColor = System.Drawing.Color.Black;
- this.Label2.Location = new System.Drawing.Point(6, 43);
- this.Label2.Name = "Label2";
- this.Label2.Size = new System.Drawing.Size(68, 13);
- this.Label2.TabIndex = 4;
- this.Label2.Text = "Destinazione";
- //
- // txtSorgente
- //
- this.txtSorgente.Location = new System.Drawing.Point(80, 16);
- this.txtSorgente.Name = "txtSorgente";
- this.txtSorgente.Size = new System.Drawing.Size(376, 20);
- this.txtSorgente.TabIndex = 0;
- this.txtSorgente.Text = "TextBox1";
- //
- // txtDestinazione
- //
- this.txtDestinazione.Location = new System.Drawing.Point(80, 40);
- this.txtDestinazione.Name = "txtDestinazione";
- this.txtDestinazione.Size = new System.Drawing.Size(376, 20);
- this.txtDestinazione.TabIndex = 1;
- this.txtDestinazione.Text = "TextBox2";
- //
- // GroupBox8
- //
- this.GroupBox8.Controls.Add(this.rdbNumFiles);
- this.GroupBox8.Controls.Add(this.rdbNumProgressiva);
- this.GroupBox8.Controls.Add(this.txtCifreContatore);
- this.GroupBox8.Controls.Add(this.Label34);
- this.GroupBox8.Controls.Add(this.txtSuffissoCartelle);
- this.GroupBox8.Controls.Add(this.Label33);
- this.GroupBox8.Controls.Add(this.Label31);
- this.GroupBox8.Controls.Add(this.chkCreaSottocartelle);
- this.GroupBox8.Controls.Add(this.txtFilePerCartella);
- this.GroupBox8.Controls.Add(this.Label32);
- this.GroupBox8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox8.Location = new System.Drawing.Point(204, 113);
- this.GroupBox8.Name = "GroupBox8";
- this.GroupBox8.Size = new System.Drawing.Size(192, 152);
- this.GroupBox8.TabIndex = 47;
- this.GroupBox8.TabStop = false;
- this.GroupBox8.Text = "Sottocartelle";
- //
- // rdbNumFiles
- //
- this.rdbNumFiles.ForeColor = System.Drawing.Color.Black;
- this.rdbNumFiles.Location = new System.Drawing.Point(32, 128);
- this.rdbNumFiles.Name = "rdbNumFiles";
- this.rdbNumFiles.Size = new System.Drawing.Size(136, 16);
- this.rdbNumFiles.TabIndex = 38;
- this.rdbNumFiles.Text = "Numerazione files";
- //
- // rdbNumProgressiva
- //
- this.rdbNumProgressiva.Checked = true;
- this.rdbNumProgressiva.ForeColor = System.Drawing.Color.Black;
- this.rdbNumProgressiva.Location = new System.Drawing.Point(32, 112);
- this.rdbNumProgressiva.Name = "rdbNumProgressiva";
- this.rdbNumProgressiva.Size = new System.Drawing.Size(152, 16);
- this.rdbNumProgressiva.TabIndex = 37;
- this.rdbNumProgressiva.TabStop = true;
- this.rdbNumProgressiva.Text = "Numerazione progressiva";
- //
- // txtCifreContatore
- //
- this.txtCifreContatore.Location = new System.Drawing.Point(128, 88);
- this.txtCifreContatore.Name = "txtCifreContatore";
- this.txtCifreContatore.Size = new System.Drawing.Size(56, 20);
- this.txtCifreContatore.TabIndex = 34;
- this.txtCifreContatore.Text = "4";
- //
- // Label34
- //
- this.Label34.ForeColor = System.Drawing.Color.Black;
- this.Label34.Location = new System.Drawing.Point(8, 88);
- this.Label34.Name = "Label34";
- this.Label34.Size = new System.Drawing.Size(112, 16);
- this.Label34.TabIndex = 33;
- this.Label34.Text = "Num. cifre contatore";
- this.Label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // txtSuffissoCartelle
- //
- this.txtSuffissoCartelle.Location = new System.Drawing.Point(56, 64);
- this.txtSuffissoCartelle.Name = "txtSuffissoCartelle";
- this.txtSuffissoCartelle.Size = new System.Drawing.Size(128, 20);
- this.txtSuffissoCartelle.TabIndex = 32;
- this.txtSuffissoCartelle.Text = "TextBox20";
- //
- // Label33
- //
- this.Label33.ForeColor = System.Drawing.Color.Black;
- this.Label33.Location = new System.Drawing.Point(6, 67);
- this.Label33.Name = "Label33";
- this.Label33.Size = new System.Drawing.Size(48, 16);
- this.Label33.TabIndex = 31;
- this.Label33.Text = "Suffisso";
- //
- // Label31
- //
- this.Label31.ForeColor = System.Drawing.Color.Black;
- this.Label31.Location = new System.Drawing.Point(24, 40);
- this.Label31.Name = "Label31";
- this.Label31.Size = new System.Drawing.Size(32, 16);
- this.Label31.TabIndex = 30;
- this.Label31.Text = "ogni";
- //
- // chkCreaSottocartelle
- //
- this.chkCreaSottocartelle.ForeColor = System.Drawing.Color.Black;
- this.chkCreaSottocartelle.Location = new System.Drawing.Point(56, 16);
- this.chkCreaSottocartelle.Name = "chkCreaSottocartelle";
- this.chkCreaSottocartelle.Size = new System.Drawing.Size(112, 16);
- this.chkCreaSottocartelle.TabIndex = 29;
- this.chkCreaSottocartelle.Text = "crea sottocartelle";
- //
- // txtFilePerCartella
- //
- this.txtFilePerCartella.Location = new System.Drawing.Point(56, 40);
- this.txtFilePerCartella.Name = "txtFilePerCartella";
- this.txtFilePerCartella.Size = new System.Drawing.Size(64, 20);
- this.txtFilePerCartella.TabIndex = 27;
- this.txtFilePerCartella.Text = "99";
- //
- // Label32
- //
- this.Label32.ForeColor = System.Drawing.Color.Black;
- this.Label32.Location = new System.Drawing.Point(128, 40);
- this.Label32.Name = "Label32";
- this.Label32.Size = new System.Drawing.Size(24, 16);
- this.Label32.TabIndex = 28;
- this.Label32.Text = "file";
- //
- // GroupBox7
- //
- this.GroupBox7.Controls.Add(this.chkSovrascriviFile);
- this.GroupBox7.Controls.Add(this.chkRotazioneAutomatica);
- this.GroupBox7.Controls.Add(this.chkForzaJpg);
- this.GroupBox7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox7.Location = new System.Drawing.Point(6, 113);
- this.GroupBox7.Name = "GroupBox7";
- this.GroupBox7.Size = new System.Drawing.Size(192, 88);
- this.GroupBox7.TabIndex = 45;
- this.GroupBox7.TabStop = false;
- this.GroupBox7.Text = "Generale";
- //
- // chkSovrascriviFile
- //
- this.chkSovrascriviFile.AutoSize = true;
- this.chkSovrascriviFile.Location = new System.Drawing.Point(16, 61);
- this.chkSovrascriviFile.Name = "chkSovrascriviFile";
- this.chkSovrascriviFile.Size = new System.Drawing.Size(94, 17);
- this.chkSovrascriviFile.TabIndex = 2;
- this.chkSovrascriviFile.Text = "Sovrascrivi file";
- this.chkSovrascriviFile.UseVisualStyleBackColor = true;
- //
- // chkRotazioneAutomatica
- //
- this.chkRotazioneAutomatica.ForeColor = System.Drawing.Color.Black;
- this.chkRotazioneAutomatica.Location = new System.Drawing.Point(16, 39);
- this.chkRotazioneAutomatica.Name = "chkRotazioneAutomatica";
- this.chkRotazioneAutomatica.Size = new System.Drawing.Size(136, 16);
- this.chkRotazioneAutomatica.TabIndex = 1;
- this.chkRotazioneAutomatica.Text = "Rotazione automatica";
- //
- // chkForzaJpg
- //
- this.chkForzaJpg.Checked = true;
- this.chkForzaJpg.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkForzaJpg.ForeColor = System.Drawing.Color.Black;
- this.chkForzaJpg.Location = new System.Drawing.Point(16, 18);
- this.chkForzaJpg.Name = "chkForzaJpg";
- this.chkForzaJpg.Size = new System.Drawing.Size(80, 16);
- this.chkForzaJpg.TabIndex = 0;
- this.chkForzaJpg.Text = "Forza Jpg";
- //
- // TabPage3
- //
- this.TabPage3.Controls.Add(this.GroupBox10);
- this.TabPage3.Controls.Add(this.GroupBox9);
- this.TabPage3.Controls.Add(this.GroupBox5);
- this.TabPage3.Controls.Add(this.GroupBox4);
- this.TabPage3.Location = new System.Drawing.Point(4, 22);
- this.TabPage3.Name = "TabPage3";
- this.TabPage3.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage3.Size = new System.Drawing.Size(513, 351);
- this.TabPage3.TabIndex = 2;
- this.TabPage3.Text = "Testo";
- this.TabPage3.UseVisualStyleBackColor = true;
- //
- // GroupBox10
- //
- this.GroupBox10.Controls.Add(this.Label42);
- this.GroupBox10.Controls.Add(this.Label41);
- this.GroupBox10.Controls.Add(this.TextBox31);
- this.GroupBox10.Controls.Add(this.TextBox30);
- this.GroupBox10.Location = new System.Drawing.Point(316, 78);
- this.GroupBox10.Name = "GroupBox10";
- this.GroupBox10.Size = new System.Drawing.Size(186, 73);
- this.GroupBox10.TabIndex = 39;
- this.GroupBox10.TabStop = false;
- this.GroupBox10.Text = "Testo foto verticali";
- //
- // Label42
- //
- this.Label42.AutoSize = true;
- this.Label42.Location = new System.Drawing.Point(7, 46);
- this.Label42.Name = "Label42";
- this.Label42.Size = new System.Drawing.Size(45, 13);
- this.Label42.TabIndex = 3;
- this.Label42.Text = "Margine";
- //
- // Label41
- //
- this.Label41.AutoSize = true;
- this.Label41.Location = new System.Drawing.Point(7, 25);
- this.Label41.Name = "Label41";
- this.Label41.Size = new System.Drawing.Size(108, 13);
- this.Label41.TabIndex = 2;
- this.Label41.Text = "Dimensione Carattere";
- //
- // TextBox31
- //
- this.TextBox31.Location = new System.Drawing.Point(131, 46);
- this.TextBox31.Name = "TextBox31";
- this.TextBox31.Size = new System.Drawing.Size(39, 20);
- this.TextBox31.TabIndex = 1;
- //
- // TextBox30
- //
- this.TextBox30.Location = new System.Drawing.Point(131, 22);
- this.TextBox30.Name = "TextBox30";
- this.TextBox30.Size = new System.Drawing.Size(39, 20);
- this.TextBox30.TabIndex = 0;
- //
- // GroupBox9
- //
- this.GroupBox9.Controls.Add(this.CheckBox17);
- this.GroupBox9.Controls.Add(this.CheckBox16);
- this.GroupBox9.Location = new System.Drawing.Point(316, 31);
- this.GroupBox9.Name = "GroupBox9";
- this.GroupBox9.Size = new System.Drawing.Size(186, 45);
- this.GroupBox9.TabIndex = 38;
- this.GroupBox9.TabStop = false;
- this.GroupBox9.Text = "Slide show";
- //
- // CheckBox17
- //
- this.CheckBox17.AutoSize = true;
- this.CheckBox17.Location = new System.Drawing.Point(96, 18);
- this.CheckBox17.Name = "CheckBox17";
- this.CheckBox17.Size = new System.Drawing.Size(84, 17);
- this.CheckBox17.TabIndex = 1;
- this.CheckBox17.Text = "Numero foto";
- this.CheckBox17.UseVisualStyleBackColor = true;
- //
- // CheckBox16
- //
- this.CheckBox16.AutoSize = true;
- this.CheckBox16.Location = new System.Drawing.Point(6, 19);
- this.CheckBox16.Name = "CheckBox16";
- this.CheckBox16.Size = new System.Drawing.Size(49, 17);
- this.CheckBox16.TabIndex = 0;
- this.CheckBox16.Text = "Data";
- this.CheckBox16.UseVisualStyleBackColor = true;
- //
- // GroupBox5
- //
- this.GroupBox5.Controls.Add(this.TextBox34);
- this.GroupBox5.Controls.Add(this._Button8);
- this.GroupBox5.Controls.Add(this.Label36);
- this.GroupBox5.Controls.Add(this.TextBox25);
- this.GroupBox5.Controls.Add(this.Label35);
- this.GroupBox5.Controls.Add(this.ComboBox3);
- this.GroupBox5.Controls.Add(this.TextBox11);
- this.GroupBox5.Controls.Add(this.Label12);
- this.GroupBox5.Controls.Add(this.Label11);
- this.GroupBox5.Controls.Add(this.CheckBox3);
- this.GroupBox5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox5.Location = new System.Drawing.Point(6, 31);
- this.GroupBox5.Name = "GroupBox5";
- this.GroupBox5.Size = new System.Drawing.Size(304, 120);
- this.GroupBox5.TabIndex = 37;
- this.GroupBox5.TabStop = false;
- this.GroupBox5.Text = "Carattere";
- //
- // TextBox34
- //
- this.TextBox34.Location = new System.Drawing.Point(160, 91);
- this.TextBox34.Name = "TextBox34";
- this.TextBox34.Size = new System.Drawing.Size(56, 20);
- this.TextBox34.TabIndex = 36;
- this.TextBox34.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
- //
- // _Button8
- //
- this._Button8.ForeColor = System.Drawing.Color.Black;
- this._Button8.Location = new System.Drawing.Point(222, 89);
- this._Button8.Name = "_Button8";
- this._Button8.Size = new System.Drawing.Size(74, 24);
- this._Button8.TabIndex = 35;
- this._Button8.Text = "Scegli...";
- this._Button8.Click += new System.EventHandler(this.Button8_Click);
- //
- // Label36
- //
- this.Label36.ForeColor = System.Drawing.Color.Black;
- this.Label36.Location = new System.Drawing.Point(8, 60);
- this.Label36.Name = "Label36";
- this.Label36.Size = new System.Drawing.Size(120, 19);
- this.Label36.TabIndex = 34;
- this.Label36.Text = "Dimensione miniatura";
- this.Label36.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // TextBox25
- //
- this.TextBox25.Location = new System.Drawing.Point(160, 59);
- this.TextBox25.Name = "TextBox25";
- this.TextBox25.Size = new System.Drawing.Size(56, 20);
- this.TextBox25.TabIndex = 33;
- this.TextBox25.Text = "TextBox25";
- //
- // Label35
- //
- this.Label35.ForeColor = System.Drawing.Color.Black;
- this.Label35.Location = new System.Drawing.Point(8, 93);
- this.Label35.Name = "Label35";
- this.Label35.Size = new System.Drawing.Size(72, 16);
- this.Label35.TabIndex = 32;
- this.Label35.Text = "Colore RGB";
- this.Label35.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // ComboBox3
- //
- this.ComboBox3.Location = new System.Drawing.Point(96, 8);
- this.ComboBox3.Name = "ComboBox3";
- this.ComboBox3.Size = new System.Drawing.Size(120, 21);
- this.ComboBox3.TabIndex = 28;
- this.ComboBox3.Text = "ComboBox3";
- //
- // TextBox11
- //
- this.TextBox11.Location = new System.Drawing.Point(160, 35);
- this.TextBox11.Name = "TextBox11";
- this.TextBox11.Size = new System.Drawing.Size(56, 20);
- this.TextBox11.TabIndex = 27;
- this.TextBox11.Text = "TextBox11";
- //
- // Label12
- //
- this.Label12.AutoSize = true;
- this.Label12.ForeColor = System.Drawing.Color.Black;
- this.Label12.Location = new System.Drawing.Point(8, 38);
- this.Label12.Name = "Label12";
- this.Label12.Size = new System.Drawing.Size(62, 13);
- this.Label12.TabIndex = 26;
- this.Label12.Text = "Dimensione";
- this.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label11
- //
- this.Label11.AutoSize = true;
- this.Label11.ForeColor = System.Drawing.Color.Black;
- this.Label11.Location = new System.Drawing.Point(56, 8);
- this.Label11.Name = "Label11";
- this.Label11.Size = new System.Drawing.Size(28, 13);
- this.Label11.TabIndex = 22;
- this.Label11.Text = "Font";
- //
- // CheckBox3
- //
- this.CheckBox3.ForeColor = System.Drawing.Color.Black;
- this.CheckBox3.Location = new System.Drawing.Point(224, 8);
- this.CheckBox3.Name = "CheckBox3";
- this.CheckBox3.Size = new System.Drawing.Size(72, 24);
- this.CheckBox3.TabIndex = 24;
- this.CheckBox3.Text = "Grassetto";
- //
- // GroupBox4
- //
- this.GroupBox4.Controls.Add(this.Label40);
- this.GroupBox4.Controls.Add(this.TextBox29);
- this.GroupBox4.Controls.Add(this.TextBox18);
- this.GroupBox4.Controls.Add(this.Label26);
- this.GroupBox4.Controls.Add(this.DateTimePicker1);
- this.GroupBox4.Controls.Add(this.CheckBox8);
- this.GroupBox4.Controls.Add(this.TextBox9);
- this.GroupBox4.Controls.Add(this.CheckBox7);
- this.GroupBox4.Controls.Add(this.Label4);
- this.GroupBox4.Controls.Add(this.TextBox4);
- this.GroupBox4.Controls.Add(this.Label9);
- this.GroupBox4.Controls.Add(this.Label13);
- this.GroupBox4.Controls.Add(this.ComboBox1);
- this.GroupBox4.Controls.Add(this.ComboBox2);
- this.GroupBox4.Controls.Add(this.Label14);
- this.GroupBox4.Controls.Add(this.TextBox12);
- this.GroupBox4.Controls.Add(this.Label15);
- this.GroupBox4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox4.Location = new System.Drawing.Point(6, 157);
- this.GroupBox4.Name = "GroupBox4";
- this.GroupBox4.Size = new System.Drawing.Size(496, 186);
- this.GroupBox4.TabIndex = 36;
- this.GroupBox4.TabStop = false;
- this.GroupBox4.Text = "Testo da applicare";
- //
- // Label40
- //
- this.Label40.AutoSize = true;
- this.Label40.Location = new System.Drawing.Point(8, 52);
- this.Label40.Name = "Label40";
- this.Label40.Size = new System.Drawing.Size(48, 13);
- this.Label40.TabIndex = 40;
- this.Label40.Text = "Verticale";
- //
- // TextBox29
- //
- this.TextBox29.Location = new System.Drawing.Point(72, 49);
- this.TextBox29.Multiline = true;
- this.TextBox29.Name = "TextBox29";
- this.TextBox29.Size = new System.Drawing.Size(408, 44);
- this.TextBox29.TabIndex = 39;
- //
- // TextBox18
- //
- this.TextBox18.Location = new System.Drawing.Point(232, 156);
- this.TextBox18.Name = "TextBox18";
- this.TextBox18.Size = new System.Drawing.Size(100, 20);
- this.TextBox18.TabIndex = 38;
- //
- // Label26
- //
- this.Label26.AutoSize = true;
- this.Label26.ForeColor = System.Drawing.Color.Black;
- this.Label26.Location = new System.Drawing.Point(344, 156);
- this.Label26.Name = "Label26";
- this.Label26.Size = new System.Drawing.Size(48, 13);
- this.Label26.TabIndex = 37;
- this.Label26.Text = "partenza";
- //
- // DateTimePicker1
- //
- this.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Time;
- this.DateTimePicker1.Location = new System.Drawing.Point(392, 156);
- this.DateTimePicker1.Name = "DateTimePicker1";
- this.DateTimePicker1.Size = new System.Drawing.Size(88, 20);
- this.DateTimePicker1.TabIndex = 36;
- //
- // CheckBox8
- //
- this.CheckBox8.ForeColor = System.Drawing.Color.Black;
- this.CheckBox8.Location = new System.Drawing.Point(72, 156);
- this.CheckBox8.Name = "CheckBox8";
- this.CheckBox8.Size = new System.Drawing.Size(56, 16);
- this.CheckBox8.TabIndex = 35;
- this.CheckBox8.Text = "Orario";
- //
- // TextBox9
- //
- this.TextBox9.Location = new System.Drawing.Point(120, 108);
- this.TextBox9.Name = "TextBox9";
- this.TextBox9.Size = new System.Drawing.Size(56, 20);
- this.TextBox9.TabIndex = 20;
- this.TextBox9.Text = "TextBox9";
- //
- // CheckBox7
- //
- this.CheckBox7.ForeColor = System.Drawing.Color.Black;
- this.CheckBox7.Location = new System.Drawing.Point(136, 156);
- this.CheckBox7.Name = "CheckBox7";
- this.CheckBox7.Size = new System.Drawing.Size(88, 16);
- this.CheckBox7.TabIndex = 34;
- this.CheckBox7.Text = "Tempo gara";
- //
- // Label4
- //
- this.Label4.AutoSize = true;
- this.Label4.ForeColor = System.Drawing.Color.Black;
- this.Label4.Location = new System.Drawing.Point(8, 24);
- this.Label4.Name = "Label4";
- this.Label4.Size = new System.Drawing.Size(59, 13);
- this.Label4.TabIndex = 9;
- this.Label4.Text = "Orizzontale";
- //
- // TextBox4
- //
- this.TextBox4.Location = new System.Drawing.Point(72, 24);
- this.TextBox4.Name = "TextBox4";
- this.TextBox4.Size = new System.Drawing.Size(408, 20);
- this.TextBox4.TabIndex = 8;
- this.TextBox4.Text = "TextBox4";
- //
- // Label9
- //
- this.Label9.AutoSize = true;
- this.Label9.ForeColor = System.Drawing.Color.Black;
- this.Label9.Location = new System.Drawing.Point(8, 108);
- this.Label9.Name = "Label9";
- this.Label9.Size = new System.Drawing.Size(110, 13);
- this.Label9.TabIndex = 19;
- this.Label9.Text = "Trasparenza (0-100%)";
- //
- // Label13
- //
- this.Label13.AutoSize = true;
- this.Label13.ForeColor = System.Drawing.Color.Black;
- this.Label13.Location = new System.Drawing.Point(16, 132);
- this.Label13.Name = "Label13";
- this.Label13.Size = new System.Drawing.Size(52, 13);
- this.Label13.TabIndex = 29;
- this.Label13.Text = "Posizione";
- //
- // ComboBox1
- //
- this.ComboBox1.Location = new System.Drawing.Point(72, 132);
- this.ComboBox1.Name = "ComboBox1";
- this.ComboBox1.Size = new System.Drawing.Size(104, 21);
- this.ComboBox1.TabIndex = 28;
- this.ComboBox1.Text = "ComboBox1";
- //
- // ComboBox2
- //
- this.ComboBox2.Location = new System.Drawing.Point(376, 132);
- this.ComboBox2.Name = "ComboBox2";
- this.ComboBox2.Size = new System.Drawing.Size(104, 21);
- this.ComboBox2.TabIndex = 31;
- this.ComboBox2.Text = "ComboBox2";
- //
- // Label14
- //
- this.Label14.AutoSize = true;
- this.Label14.ForeColor = System.Drawing.Color.Black;
- this.Label14.Location = new System.Drawing.Point(304, 132);
- this.Label14.Name = "Label14";
- this.Label14.Size = new System.Drawing.Size(67, 13);
- this.Label14.TabIndex = 30;
- this.Label14.Text = "Allineamento";
- //
- // TextBox12
- //
- this.TextBox12.Location = new System.Drawing.Point(376, 108);
- this.TextBox12.Name = "TextBox12";
- this.TextBox12.Size = new System.Drawing.Size(104, 20);
- this.TextBox12.TabIndex = 33;
- this.TextBox12.Text = "TextBox12";
- //
- // Label15
- //
- this.Label15.AutoSize = true;
- this.Label15.ForeColor = System.Drawing.Color.Black;
- this.Label15.Location = new System.Drawing.Point(296, 108);
- this.Label15.Name = "Label15";
- this.Label15.Size = new System.Drawing.Size(75, 13);
- this.Label15.TabIndex = 32;
- this.Label15.Text = "Margine (pixel)";
- //
- // TabPage2
- //
- this.TabPage2.Controls.Add(this.GroupBox2);
- this.TabPage2.Location = new System.Drawing.Point(4, 22);
- this.TabPage2.Name = "TabPage2";
- this.TabPage2.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage2.Size = new System.Drawing.Size(513, 351);
- this.TabPage2.TabIndex = 5;
- this.TabPage2.Text = "Foto";
- this.TabPage2.UseVisualStyleBackColor = true;
- //
- // GroupBox2
- //
- this.GroupBox2.Controls.Add(this.Label45);
- this.GroupBox2.Controls.Add(this.TextBox32);
- this.GroupBox2.Controls.Add(this.TextBox26);
- this.GroupBox2.Controls.Add(this.Label37);
- this.GroupBox2.Controls.Add(this.Label38);
- this.GroupBox2.Controls.Add(this.TextBox27);
- this.GroupBox2.Controls.Add(this.Label39);
- this.GroupBox2.Controls.Add(this.TextBox28);
- this.GroupBox2.Controls.Add(this.CheckBox15);
- this.GroupBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox2.Location = new System.Drawing.Point(3, 6);
- this.GroupBox2.Name = "GroupBox2";
- this.GroupBox2.Size = new System.Drawing.Size(304, 156);
- this.GroupBox2.TabIndex = 36;
- this.GroupBox2.TabStop = false;
- this.GroupBox2.Text = "Foto grande";
- //
- // Label45
- //
- this.Label45.AutoSize = true;
- this.Label45.Location = new System.Drawing.Point(11, 86);
- this.Label45.Name = "Label45";
- this.Label45.Size = new System.Drawing.Size(40, 13);
- this.Label45.TabIndex = 22;
- this.Label45.Text = "Qualità ";
- //
- // TextBox32
- //
- this.TextBox32.Location = new System.Drawing.Point(72, 80);
- this.TextBox32.Name = "TextBox32";
- this.TextBox32.Size = new System.Drawing.Size(72, 20);
- this.TextBox32.TabIndex = 21;
- this.TextBox32.Text = "100";
- //
- // TextBox26
- //
- this.TextBox26.Location = new System.Drawing.Point(224, 48);
- this.TextBox26.Name = "TextBox26";
- this.TextBox26.Size = new System.Drawing.Size(56, 20);
- this.TextBox26.TabIndex = 20;
- this.TextBox26.Text = "TextBox26";
- //
- // Label37
- //
- this.Label37.ForeColor = System.Drawing.Color.Black;
- this.Label37.Location = new System.Drawing.Point(168, 48);
- this.Label37.Name = "Label37";
- this.Label37.Size = new System.Drawing.Size(48, 16);
- this.Label37.TabIndex = 19;
- this.Label37.Text = "Suffisso";
- this.Label37.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // Label38
- //
- this.Label38.AutoSize = true;
- this.Label38.ForeColor = System.Drawing.Color.Black;
- this.Label38.Location = new System.Drawing.Point(24, 24);
- this.Label38.Name = "Label38";
- this.Label38.Size = new System.Drawing.Size(41, 13);
- this.Label38.TabIndex = 16;
- this.Label38.Text = "Altezza";
- //
- // TextBox27
- //
- this.TextBox27.Location = new System.Drawing.Point(72, 24);
- this.TextBox27.Name = "TextBox27";
- this.TextBox27.Size = new System.Drawing.Size(72, 20);
- this.TextBox27.TabIndex = 14;
- this.TextBox27.Text = "TextBox27";
- //
- // Label39
- //
- this.Label39.AutoSize = true;
- this.Label39.ForeColor = System.Drawing.Color.Black;
- this.Label39.Location = new System.Drawing.Point(8, 48);
- this.Label39.Name = "Label39";
- this.Label39.Size = new System.Drawing.Size(56, 13);
- this.Label39.TabIndex = 17;
- this.Label39.Text = "Larghezza";
- //
- // TextBox28
- //
- this.TextBox28.Location = new System.Drawing.Point(72, 48);
- this.TextBox28.Name = "TextBox28";
- this.TextBox28.Size = new System.Drawing.Size(72, 20);
- this.TextBox28.TabIndex = 15;
- this.TextBox28.Text = "TextBox28";
- //
- // CheckBox15
- //
- this.CheckBox15.Checked = true;
- this.CheckBox15.CheckState = System.Windows.Forms.CheckState.Checked;
- this.CheckBox15.ForeColor = System.Drawing.Color.Black;
- this.CheckBox15.Location = new System.Drawing.Point(168, 16);
- this.CheckBox15.Name = "CheckBox15";
- this.CheckBox15.Size = new System.Drawing.Size(120, 32);
- this.CheckBox15.TabIndex = 18;
- this.CheckBox15.Text = "Mantieni dimensioni originali";
- //
- // TabPage1
- //
- this.TabPage1.Controls.Add(this.Panel1);
- this.TabPage1.Controls.Add(this.GroupBox1);
- this.TabPage1.Location = new System.Drawing.Point(4, 22);
- this.TabPage1.Name = "TabPage1";
- this.TabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage1.Size = new System.Drawing.Size(513, 351);
- this.TabPage1.TabIndex = 0;
- this.TabPage1.Text = "Miniature";
- this.TabPage1.UseVisualStyleBackColor = true;
- //
- // Panel1
- //
- this.Panel1.Controls.Add(this._CheckBox18);
- this.Panel1.Controls.Add(this._CheckBox4);
- this.Panel1.Controls.Add(this._CheckBox12);
- this.Panel1.Location = new System.Drawing.Point(52, 236);
- this.Panel1.Name = "Panel1";
- this.Panel1.Size = new System.Drawing.Size(304, 73);
- this.Panel1.TabIndex = 26;
- this.Panel1.Visible = false;
- //
- // _CheckBox18
- //
- this._CheckBox18.AutoSize = true;
- this._CheckBox18.Location = new System.Drawing.Point(140, 3);
- this._CheckBox18.Name = "_CheckBox18";
- this._CheckBox18.Size = new System.Drawing.Size(84, 17);
- this._CheckBox18.TabIndex = 36;
- this._CheckBox18.Text = "Numero foto";
- this._CheckBox18.UseVisualStyleBackColor = true;
- this._CheckBox18.CheckedChanged += new System.EventHandler(this.CheckBox18_CheckedChanged);
- //
- // _CheckBox4
- //
- this._CheckBox4.ForeColor = System.Drawing.Color.Black;
- this._CheckBox4.Location = new System.Drawing.Point(10, 3);
- this._CheckBox4.Name = "_CheckBox4";
- this._CheckBox4.Size = new System.Drawing.Size(104, 17);
- this._CheckBox4.TabIndex = 34;
- this._CheckBox4.Text = "Aggiungi scritta";
- this._CheckBox4.CheckedChanged += new System.EventHandler(this.CheckBox4_CheckedChanged);
- //
- // _CheckBox12
- //
- this._CheckBox12.ForeColor = System.Drawing.Color.Black;
- this._CheckBox12.Location = new System.Drawing.Point(10, 19);
- this._CheckBox12.Name = "_CheckBox12";
- this._CheckBox12.Size = new System.Drawing.Size(104, 21);
- this._CheckBox12.TabIndex = 35;
- this._CheckBox12.Text = "Aggiungi orario";
- this._CheckBox12.CheckedChanged += new System.EventHandler(this.CheckBox12_CheckedChanged);
- //
- // GroupBox1
- //
- this.GroupBox1.Controls.Add(this.Label46);
- this.GroupBox1.Controls.Add(this.TextBox33);
- this.GroupBox1.Controls.Add(this.Panel2);
- this.GroupBox1.Controls.Add(this.Label5);
- this.GroupBox1.Controls.Add(this.TextBox5);
- this.GroupBox1.Controls.Add(this.Label6);
- this.GroupBox1.Controls.Add(this.TextBox6);
- this.GroupBox1.Controls.Add(this.Label3);
- this.GroupBox1.Controls.Add(this.TextBox3);
- this.GroupBox1.Controls.Add(this.CheckBox1);
- this.GroupBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox1.Location = new System.Drawing.Point(6, 5);
- this.GroupBox1.Name = "GroupBox1";
- this.GroupBox1.Size = new System.Drawing.Size(350, 210);
- this.GroupBox1.TabIndex = 25;
- this.GroupBox1.TabStop = false;
- this.GroupBox1.Text = "Miniature";
- //
- // Label46
- //
- this.Label46.AutoSize = true;
- this.Label46.Location = new System.Drawing.Point(198, 43);
- this.Label46.Name = "Label46";
- this.Label46.Size = new System.Drawing.Size(40, 13);
- this.Label46.TabIndex = 21;
- this.Label46.Text = "Qualità ";
- //
- // TextBox33
- //
- this.TextBox33.Location = new System.Drawing.Point(244, 40);
- this.TextBox33.Name = "TextBox33";
- this.TextBox33.Size = new System.Drawing.Size(100, 20);
- this.TextBox33.TabIndex = 20;
- //
- // Panel2
- //
- this.Panel2.Controls.Add(this.RadioButton3);
- this.Panel2.Controls.Add(this.RadioButton7);
- this.Panel2.Controls.Add(this.RadioButton4);
- this.Panel2.Controls.Add(this.RadioButton6);
- this.Panel2.Controls.Add(this.RadioButton5);
- this.Panel2.Location = new System.Drawing.Point(56, 114);
- this.Panel2.Name = "Panel2";
- this.Panel2.Size = new System.Drawing.Size(235, 90);
- this.Panel2.TabIndex = 19;
- //
- // RadioButton3
- //
- this.RadioButton3.AutoSize = true;
- this.RadioButton3.Location = new System.Drawing.Point(15, 16);
- this.RadioButton3.Name = "RadioButton3";
- this.RadioButton3.Size = new System.Drawing.Size(99, 17);
- this.RadioButton3.TabIndex = 14;
- this.RadioButton3.TabStop = true;
- this.RadioButton3.Text = "Aggiungi Scritta";
- this.RadioButton3.UseVisualStyleBackColor = true;
- //
- // RadioButton7
- //
- this.RadioButton7.AutoSize = true;
- this.RadioButton7.Location = new System.Drawing.Point(129, 40);
- this.RadioButton7.Name = "RadioButton7";
- this.RadioButton7.Size = new System.Drawing.Size(95, 17);
- this.RadioButton7.TabIndex = 18;
- this.RadioButton7.TabStop = true;
- this.RadioButton7.Text = "numero+tempo";
- this.RadioButton7.UseVisualStyleBackColor = true;
- //
- // RadioButton4
- //
- this.RadioButton4.AutoSize = true;
- this.RadioButton4.Location = new System.Drawing.Point(15, 40);
- this.RadioButton4.Name = "RadioButton4";
- this.RadioButton4.Size = new System.Drawing.Size(95, 17);
- this.RadioButton4.TabIndex = 15;
- this.RadioButton4.TabStop = true;
- this.RadioButton4.Text = "Aggiungi orario";
- this.RadioButton4.UseVisualStyleBackColor = true;
- //
- // RadioButton6
- //
- this.RadioButton6.AutoSize = true;
- this.RadioButton6.Location = new System.Drawing.Point(129, 16);
- this.RadioButton6.Name = "RadioButton6";
- this.RadioButton6.Size = new System.Drawing.Size(83, 17);
- this.RadioButton6.TabIndex = 17;
- this.RadioButton6.TabStop = true;
- this.RadioButton6.Text = "Numero foto";
- this.RadioButton6.UseVisualStyleBackColor = true;
- //
- // RadioButton5
- //
- this.RadioButton5.AutoSize = true;
- this.RadioButton5.Location = new System.Drawing.Point(15, 65);
- this.RadioButton5.Name = "RadioButton5";
- this.RadioButton5.Size = new System.Drawing.Size(84, 17);
- this.RadioButton5.TabIndex = 16;
- this.RadioButton5.TabStop = true;
- this.RadioButton5.Text = "Tempo Gara";
- this.RadioButton5.UseVisualStyleBackColor = true;
- //
- // Label5
- //
- this.Label5.AutoSize = true;
- this.Label5.ForeColor = System.Drawing.Color.Black;
- this.Label5.Location = new System.Drawing.Point(24, 88);
- this.Label5.Name = "Label5";
- this.Label5.Size = new System.Drawing.Size(41, 13);
- this.Label5.TabIndex = 12;
- this.Label5.Text = "Altezza";
- //
- // TextBox5
- //
- this.TextBox5.Location = new System.Drawing.Point(72, 64);
- this.TextBox5.Name = "TextBox5";
- this.TextBox5.Size = new System.Drawing.Size(88, 20);
- this.TextBox5.TabIndex = 10;
- this.TextBox5.Text = "TextBox5";
- //
- // Label6
- //
- this.Label6.AutoSize = true;
- this.Label6.ForeColor = System.Drawing.Color.Black;
- this.Label6.Location = new System.Drawing.Point(8, 64);
- this.Label6.Name = "Label6";
- this.Label6.Size = new System.Drawing.Size(56, 13);
- this.Label6.TabIndex = 13;
- this.Label6.Text = "Larghezza";
- //
- // TextBox6
- //
- this.TextBox6.Location = new System.Drawing.Point(72, 88);
- this.TextBox6.Name = "TextBox6";
- this.TextBox6.Size = new System.Drawing.Size(88, 20);
- this.TextBox6.TabIndex = 11;
- this.TextBox6.Text = "TextBox6";
- //
- // Label3
- //
- this.Label3.AutoSize = true;
- this.Label3.ForeColor = System.Drawing.Color.Black;
- this.Label3.Location = new System.Drawing.Point(24, 40);
- this.Label3.Name = "Label3";
- this.Label3.Size = new System.Drawing.Size(44, 13);
- this.Label3.TabIndex = 7;
- this.Label3.Text = "Suffisso";
- //
- // TextBox3
- //
- this.TextBox3.Location = new System.Drawing.Point(72, 40);
- this.TextBox3.Name = "TextBox3";
- this.TextBox3.Size = new System.Drawing.Size(88, 20);
- this.TextBox3.TabIndex = 6;
- this.TextBox3.Text = "TextBox3";
- //
- // CheckBox1
- //
- this.CheckBox1.ForeColor = System.Drawing.Color.Black;
- this.CheckBox1.Location = new System.Drawing.Point(72, 16);
- this.CheckBox1.Name = "CheckBox1";
- this.CheckBox1.Size = new System.Drawing.Size(104, 24);
- this.CheckBox1.TabIndex = 5;
- this.CheckBox1.Text = "Crea miniature";
- //
- // TabPage4
- //
- this.TabPage4.Controls.Add(this.GroupBox6);
- this.TabPage4.Location = new System.Drawing.Point(4, 22);
- this.TabPage4.Name = "TabPage4";
- this.TabPage4.Padding = new System.Windows.Forms.Padding(3);
- this.TabPage4.Size = new System.Drawing.Size(513, 351);
- this.TabPage4.TabIndex = 3;
- this.TabPage4.Text = "Logo";
- this.TabPage4.UseVisualStyleBackColor = true;
- //
- // GroupBox6
- //
- this.GroupBox6.Controls.Add(this.PictureBox2);
- this.GroupBox6.Controls.Add(this._PictureBox1);
- this.GroupBox6.Controls.Add(this.ComboBox5);
- this.GroupBox6.Controls.Add(this.ComboBox4);
- this.GroupBox6.Controls.Add(this.TextBox19);
- this.GroupBox6.Controls.Add(this.Label28);
- this.GroupBox6.Controls.Add(this.CheckBox5);
- this.GroupBox6.Controls.Add(this.TextBox15);
- this.GroupBox6.Controls.Add(this.TextBox14);
- this.GroupBox6.Controls.Add(this.Label25);
- this.GroupBox6.Controls.Add(this.TextBox16);
- this.GroupBox6.Controls.Add(this.Label24);
- this.GroupBox6.Controls.Add(this.Label22);
- this.GroupBox6.Controls.Add(this.Label23);
- this.GroupBox6.Controls.Add(this._Button4);
- this.GroupBox6.Controls.Add(this.TextBox10);
- this.GroupBox6.Controls.Add(this.Label29);
- this.GroupBox6.Controls.Add(this.Label30);
- this.GroupBox6.Controls.Add(this.PictureBox3);
- this.GroupBox6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
- this.GroupBox6.Location = new System.Drawing.Point(6, 6);
- this.GroupBox6.Name = "GroupBox6";
- this.GroupBox6.Size = new System.Drawing.Size(496, 224);
- this.GroupBox6.TabIndex = 42;
- this.GroupBox6.TabStop = false;
- this.GroupBox6.Text = "Logo";
- //
- // PictureBox2
- //
- this.PictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.PictureBox2.Location = new System.Drawing.Point(144, 192);
- this.PictureBox2.Name = "PictureBox2";
- this.PictureBox2.Size = new System.Drawing.Size(24, 24);
- this.PictureBox2.TabIndex = 44;
- this.PictureBox2.TabStop = false;
- this.PictureBox2.Visible = false;
- //
- // _PictureBox1
- //
- this._PictureBox1.Cursor = System.Windows.Forms.Cursors.Cross;
- this._PictureBox1.Location = new System.Drawing.Point(256, 56);
- this._PictureBox1.Name = "_PictureBox1";
- this._PictureBox1.Size = new System.Drawing.Size(224, 160);
- this._PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this._PictureBox1.TabIndex = 43;
- this._PictureBox1.TabStop = false;
- this._PictureBox1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.PictureBox1_MouseMove);
- this._PictureBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PictureBox1_MouseUp);
- //
- // ComboBox5
- //
- this.ComboBox5.Location = new System.Drawing.Point(144, 168);
- this.ComboBox5.Name = "ComboBox5";
- this.ComboBox5.Size = new System.Drawing.Size(96, 21);
- this.ComboBox5.TabIndex = 42;
- this.ComboBox5.Text = "ComboBox5";
- //
- // ComboBox4
- //
- this.ComboBox4.Location = new System.Drawing.Point(144, 144);
- this.ComboBox4.Name = "ComboBox4";
- this.ComboBox4.Size = new System.Drawing.Size(96, 21);
- this.ComboBox4.TabIndex = 41;
- this.ComboBox4.Text = "ComboBox4";
- //
- // TextBox19
- //
- this.TextBox19.Location = new System.Drawing.Point(144, 96);
- this.TextBox19.Name = "TextBox19";
- this.TextBox19.Size = new System.Drawing.Size(96, 20);
- this.TextBox19.TabIndex = 40;
- this.TextBox19.Text = "TextBox19";
- //
- // Label28
- //
- this.Label28.ForeColor = System.Drawing.Color.Black;
- this.Label28.Location = new System.Drawing.Point(17, 97);
- this.Label28.Name = "Label28";
- this.Label28.Size = new System.Drawing.Size(120, 16);
- this.Label28.TabIndex = 39;
- this.Label28.Text = "Trasparenza (0-100%)";
- this.Label28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // CheckBox5
- //
- this.CheckBox5.ForeColor = System.Drawing.Color.Black;
- this.CheckBox5.Location = new System.Drawing.Point(0, 26);
- this.CheckBox5.Name = "CheckBox5";
- this.CheckBox5.Size = new System.Drawing.Size(72, 20);
- this.CheckBox5.TabIndex = 38;
- this.CheckBox5.Text = "Aggiungi";
- //
- // TextBox15
- //
- this.TextBox15.Location = new System.Drawing.Point(144, 72);
- this.TextBox15.Name = "TextBox15";
- this.TextBox15.Size = new System.Drawing.Size(96, 20);
- this.TextBox15.TabIndex = 19;
- this.TextBox15.Text = "TextBox15";
- //
- // TextBox14
- //
- this.TextBox14.Location = new System.Drawing.Point(144, 48);
- this.TextBox14.Name = "TextBox14";
- this.TextBox14.Size = new System.Drawing.Size(96, 20);
- this.TextBox14.TabIndex = 18;
- this.TextBox14.Text = "TextBox14";
- //
- // Label25
- //
- this.Label25.AutoSize = true;
- this.Label25.ForeColor = System.Drawing.Color.Black;
- this.Label25.Location = new System.Drawing.Point(17, 168);
- this.Label25.Name = "Label25";
- this.Label25.Size = new System.Drawing.Size(95, 13);
- this.Label25.TabIndex = 36;
- this.Label25.Text = "Posizione verticale";
- this.Label25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // TextBox16
- //
- this.TextBox16.Location = new System.Drawing.Point(144, 120);
- this.TextBox16.Name = "TextBox16";
- this.TextBox16.Size = new System.Drawing.Size(96, 20);
- this.TextBox16.TabIndex = 35;
- this.TextBox16.Text = "TextBox16";
- //
- // Label24
- //
- this.Label24.AutoSize = true;
- this.Label24.ForeColor = System.Drawing.Color.Black;
- this.Label24.Location = new System.Drawing.Point(19, 123);
- this.Label24.Name = "Label24";
- this.Label24.Size = new System.Drawing.Size(88, 13);
- this.Label24.TabIndex = 34;
- this.Label24.Text = "Margine (pixel/%)";
- this.Label24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label22
- //
- this.Label22.AutoSize = true;
- this.Label22.ForeColor = System.Drawing.Color.Black;
- this.Label22.Location = new System.Drawing.Point(19, 51);
- this.Label22.Name = "Label22";
- this.Label22.Size = new System.Drawing.Size(41, 13);
- this.Label22.TabIndex = 20;
- this.Label22.Text = "Altezza";
- this.Label22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label23
- //
- this.Label23.AutoSize = true;
- this.Label23.ForeColor = System.Drawing.Color.Black;
- this.Label23.Location = new System.Drawing.Point(19, 75);
- this.Label23.Name = "Label23";
- this.Label23.Size = new System.Drawing.Size(56, 13);
- this.Label23.TabIndex = 21;
- this.Label23.Text = "Larghezza";
- this.Label23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // _Button4
- //
- this._Button4.Location = new System.Drawing.Point(464, 24);
- this._Button4.Name = "_Button4";
- this._Button4.Size = new System.Drawing.Size(24, 20);
- this._Button4.TabIndex = 8;
- this._Button4.Text = "...";
- this._Button4.Click += new System.EventHandler(this.Button4_Click);
- //
- // TextBox10
- //
- this.TextBox10.Location = new System.Drawing.Point(144, 24);
- this.TextBox10.Name = "TextBox10";
- this.TextBox10.Size = new System.Drawing.Size(312, 20);
- this.TextBox10.TabIndex = 6;
- this.TextBox10.Text = "TextBox10";
- //
- // Label29
- //
- this.Label29.AutoSize = true;
- this.Label29.ForeColor = System.Drawing.Color.Black;
- this.Label29.Location = new System.Drawing.Point(17, 147);
- this.Label29.Name = "Label29";
- this.Label29.Size = new System.Drawing.Size(105, 13);
- this.Label29.TabIndex = 36;
- this.Label29.Text = "Posizione orizzontale";
- this.Label29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // Label30
- //
- this.Label30.AutoSize = true;
- this.Label30.ForeColor = System.Drawing.Color.Black;
- this.Label30.Location = new System.Drawing.Point(19, 203);
- this.Label30.Name = "Label30";
- this.Label30.Size = new System.Drawing.Size(93, 13);
- this.Label30.TabIndex = 36;
- this.Label30.Text = "Colore trasparente";
- this.Label30.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.Label30.Visible = false;
- //
- // PictureBox3
- //
- this.PictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.PictureBox3.Location = new System.Drawing.Point(216, 192);
- this.PictureBox3.Name = "PictureBox3";
- this.PictureBox3.Size = new System.Drawing.Size(24, 24);
- this.PictureBox3.TabIndex = 44;
- this.PictureBox3.TabStop = false;
- this.PictureBox3.Visible = false;
- //
- // _Label27
- //
- this._Label27.Location = new System.Drawing.Point(591, 378);
- this._Label27.Name = "_Label27";
- this._Label27.Size = new System.Drawing.Size(140, 20);
- this._Label27.TabIndex = 62;
- this._Label27.Text = "Versione 2.2 2021";
- this._Label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this._Label27.Click += new System.EventHandler(this.Label27_Click);
- //
- // _Button7
- //
- this._Button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this._Button7.Location = new System.Drawing.Point(539, 120);
- this._Button7.Name = "_Button7";
- this._Button7.Size = new System.Drawing.Size(192, 40);
- this._Button7.TabIndex = 61;
- this._Button7.Text = "stop creazione";
- this._Button7.Click += new System.EventHandler(this.Button7_Click);
- //
- // _Button5
- //
- this._Button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this._Button5.Location = new System.Drawing.Point(539, 43);
- this._Button5.Name = "_Button5";
- this._Button5.Size = new System.Drawing.Size(192, 32);
- this._Button5.TabIndex = 60;
- this._Button5.Text = "Salva impostazioni";
- this._Button5.Click += new System.EventHandler(this.Button5_Click);
- //
- // Label20
- //
- this.Label20.AutoSize = true;
- this.Label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label20.Location = new System.Drawing.Point(539, 294);
- this.Label20.Name = "Label20";
- this.Label20.Size = new System.Drawing.Size(104, 16);
- this.Label20.TabIndex = 59;
- this.Label20.Text = "foto generate:";
- //
- // Label19
- //
- this.Label19.AutoSize = true;
- this.Label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label19.Location = new System.Drawing.Point(539, 275);
- this.Label19.Name = "Label19";
- this.Label19.Size = new System.Drawing.Size(80, 16);
- this.Label19.TabIndex = 58;
- this.Label19.Text = "foto totali: ";
- //
- // Label18
- //
- this.Label18.AutoSize = true;
- this.Label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label18.Location = new System.Drawing.Point(643, 294);
- this.Label18.Name = "Label18";
- this.Label18.Size = new System.Drawing.Size(19, 20);
- this.Label18.TabIndex = 57;
- this.Label18.Text = "0";
- //
- // lblFotoTotaliNum
- //
- this.lblFotoTotaliNum.AutoSize = true;
- this.lblFotoTotaliNum.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.lblFotoTotaliNum.Location = new System.Drawing.Point(643, 275);
- this.lblFotoTotaliNum.Name = "lblFotoTotaliNum";
- this.lblFotoTotaliNum.Size = new System.Drawing.Size(19, 20);
- this.lblFotoTotaliNum.TabIndex = 56;
- this.lblFotoTotaliNum.Text = "0";
- //
- // Label10
- //
- this.Label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label10.Location = new System.Drawing.Point(539, 163);
- this.Label10.Name = "Label10";
- this.Label10.Size = new System.Drawing.Size(192, 72);
- this.Label10.TabIndex = 55;
- this.Label10.Text = "file";
- //
- // _Button6
- //
- this._Button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this._Button6.Location = new System.Drawing.Point(539, 12);
- this._Button6.Name = "_Button6";
- this._Button6.Size = new System.Drawing.Size(192, 32);
- this._Button6.TabIndex = 54;
- this._Button6.Text = "Carica impostazioni";
- this._Button6.Click += new System.EventHandler(this.Button6_Click);
- //
- // _btnCreaCatalogoAsync
- //
- this._btnCreaCatalogoAsync.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this._btnCreaCatalogoAsync.Location = new System.Drawing.Point(539, 78);
- this._btnCreaCatalogoAsync.Name = "_btnCreaCatalogoAsync";
- this._btnCreaCatalogoAsync.Size = new System.Drawing.Size(192, 38);
- this._btnCreaCatalogoAsync.TabIndex = 68;
- this._btnCreaCatalogoAsync.Text = "CREA";
- this._btnCreaCatalogoAsync.UseVisualStyleBackColor = true;
- this._btnCreaCatalogoAsync.Click += new System.EventHandler(this.Button1_Click);
- //
- // MainForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(739, 401);
- this.Controls.Add(this._btnCreaCatalogoAsync);
- this.Controls.Add(this.ProgressBar1);
- this.Controls.Add(this.CheckBox22);
- this.Controls.Add(this.Label43);
- this.Controls.Add(this.TabControl1);
- this.Controls.Add(this._Label27);
- this.Controls.Add(this._Button7);
- this.Controls.Add(this._Button5);
- this.Controls.Add(this.Label20);
- this.Controls.Add(this.Label19);
- this.Controls.Add(this.Label18);
- this.Controls.Add(this.lblFotoTotaliNum);
- this.Controls.Add(this.Label10);
- this.Controls.Add(this._Button6);
- this.MaximizeBox = false;
- this.Name = "MainForm";
- this.Text = "Image Catalog";
- this.Load += new System.EventHandler(this.Form1_Load);
- this.TabControl1.ResumeLayout(false);
- this.TabPage5.ResumeLayout(false);
- this.GroupBox11.ResumeLayout(false);
- this.GroupBox11.PerformLayout();
- this.Panel3.ResumeLayout(false);
- this.Panel3.PerformLayout();
- this.GroupBox3.ResumeLayout(false);
- this.GroupBox3.PerformLayout();
- this.GroupBox8.ResumeLayout(false);
- this.GroupBox8.PerformLayout();
- this.GroupBox7.ResumeLayout(false);
- this.GroupBox7.PerformLayout();
- this.TabPage3.ResumeLayout(false);
- this.GroupBox10.ResumeLayout(false);
- this.GroupBox10.PerformLayout();
- this.GroupBox9.ResumeLayout(false);
- this.GroupBox9.PerformLayout();
- this.GroupBox5.ResumeLayout(false);
- this.GroupBox5.PerformLayout();
- this.GroupBox4.ResumeLayout(false);
- this.GroupBox4.PerformLayout();
- this.TabPage2.ResumeLayout(false);
- this.GroupBox2.ResumeLayout(false);
- this.GroupBox2.PerformLayout();
- this.TabPage1.ResumeLayout(false);
- this.Panel1.ResumeLayout(false);
- this.Panel1.PerformLayout();
- this.GroupBox1.ResumeLayout(false);
- this.GroupBox1.PerformLayout();
- this.Panel2.ResumeLayout(false);
- this.Panel2.PerformLayout();
- this.TabPage4.ResumeLayout(false);
- this.GroupBox6.ResumeLayout(false);
- this.GroupBox6.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this._PictureBox1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.PictureBox3)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- internal ProgressBar ProgressBar1;
- internal CheckBox CheckBox22;
- internal Label Label43;
- internal TabControl TabControl1;
- internal TabPage TabPage5;
- internal GroupBox GroupBox3;
- internal CheckBox chkAggiornaSottodirectory;
- private Button _Button3;
-
- internal Button Button3
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button3;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button3 != null)
- {
- _Button3.Click -= Button3_Click;
- }
-
- _Button3 = value;
- if (_Button3 != null)
- {
- _Button3.Click += Button3_Click;
- }
- }
- }
-
- private Button _Button2;
-
- internal Button Button2
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button2;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button2 != null)
- {
- _Button2.Click -= Button2_Click;
- }
-
- _Button2 = value;
- if (_Button2 != null)
- {
- _Button2.Click += Button2_Click;
- }
- }
- }
-
- internal Label Label1;
- internal Label Label2;
- internal TextBox txtSorgente;
- internal TextBox txtDestinazione;
- internal GroupBox GroupBox8;
- internal RadioButton rdbNumFiles;
- internal RadioButton rdbNumProgressiva;
- internal TextBox txtCifreContatore;
- internal Label Label34;
- internal TextBox txtSuffissoCartelle;
- internal Label Label33;
- internal Label Label31;
- internal CheckBox chkCreaSottocartelle;
- internal TextBox txtFilePerCartella;
- internal Label Label32;
- internal GroupBox GroupBox7;
- internal CheckBox chkRotazioneAutomatica;
- internal CheckBox chkForzaJpg;
- internal TabPage TabPage3;
- internal GroupBox GroupBox10;
- internal Label Label42;
- internal Label Label41;
- internal TextBox TextBox31;
- internal TextBox TextBox30;
- internal GroupBox GroupBox9;
- internal CheckBox CheckBox17;
- internal CheckBox CheckBox16;
- internal GroupBox GroupBox5;
- internal TextBox TextBox34;
- private Button _Button8;
-
- internal Button Button8
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button8;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button8 != null)
- {
- _Button8.Click -= Button8_Click;
- }
-
- _Button8 = value;
- if (_Button8 != null)
- {
- _Button8.Click += Button8_Click;
- }
- }
- }
-
- internal Label Label36;
- internal TextBox TextBox25;
- internal Label Label35;
- internal ComboBox ComboBox3;
- internal TextBox TextBox11;
- internal Label Label12;
- internal Label Label11;
- internal CheckBox CheckBox3;
- internal GroupBox GroupBox4;
- internal Label Label40;
- internal TextBox TextBox29;
- internal TextBox TextBox18;
- internal Label Label26;
- internal DateTimePicker DateTimePicker1;
- internal CheckBox CheckBox8;
- internal TextBox TextBox9;
- internal CheckBox CheckBox7;
- internal Label Label4;
- internal TextBox TextBox4;
- internal Label Label9;
- internal Label Label13;
- internal ComboBox ComboBox1;
- internal ComboBox ComboBox2;
- internal Label Label14;
- internal TextBox TextBox12;
- internal Label Label15;
- internal TabPage TabPage2;
- internal GroupBox GroupBox2;
- internal Label Label45;
- internal TextBox TextBox32;
- internal TextBox TextBox26;
- internal Label Label37;
- internal Label Label38;
- internal TextBox TextBox27;
- internal Label Label39;
- internal TextBox TextBox28;
- internal CheckBox CheckBox15;
- internal TabPage TabPage1;
- internal Panel Panel1;
- private CheckBox _CheckBox18;
-
- internal CheckBox CheckBox18
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _CheckBox18;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_CheckBox18 != null)
- {
- _CheckBox18.CheckedChanged -= CheckBox18_CheckedChanged;
- }
-
- _CheckBox18 = value;
- if (_CheckBox18 != null)
- {
- _CheckBox18.CheckedChanged += CheckBox18_CheckedChanged;
- }
- }
- }
-
- private CheckBox _CheckBox4;
-
- internal CheckBox CheckBox4
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _CheckBox4;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_CheckBox4 != null)
- {
- _CheckBox4.CheckedChanged -= CheckBox4_CheckedChanged;
- }
-
- _CheckBox4 = value;
- if (_CheckBox4 != null)
- {
- _CheckBox4.CheckedChanged += CheckBox4_CheckedChanged;
- }
- }
- }
-
- private CheckBox _CheckBox12;
-
- internal CheckBox CheckBox12
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _CheckBox12;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_CheckBox12 != null)
- {
- _CheckBox12.CheckedChanged -= CheckBox12_CheckedChanged;
- }
-
- _CheckBox12 = value;
- if (_CheckBox12 != null)
- {
- _CheckBox12.CheckedChanged += CheckBox12_CheckedChanged;
- }
- }
- }
-
- internal GroupBox GroupBox1;
- internal Label Label46;
- internal TextBox TextBox33;
- internal Panel Panel2;
- internal RadioButton RadioButton3;
- internal RadioButton RadioButton7;
- internal RadioButton RadioButton4;
- internal RadioButton RadioButton6;
- internal RadioButton RadioButton5;
- internal Label Label5;
- internal TextBox TextBox5;
- internal Label Label6;
- internal TextBox TextBox6;
- internal Label Label3;
- internal TextBox TextBox3;
- internal CheckBox CheckBox1;
- internal TabPage TabPage4;
- internal GroupBox GroupBox6;
- internal PictureBox PictureBox2;
- private PictureBox _PictureBox1;
-
- internal PictureBox PictureBox1
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _PictureBox1;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_PictureBox1 != null)
- {
- _PictureBox1.MouseMove -= PictureBox1_MouseMove;
- _PictureBox1.MouseUp -= PictureBox1_MouseUp;
- }
-
- _PictureBox1 = value;
- if (_PictureBox1 != null)
- {
- _PictureBox1.MouseMove += PictureBox1_MouseMove;
- _PictureBox1.MouseUp += PictureBox1_MouseUp;
- }
- }
- }
-
- internal ComboBox ComboBox5;
- internal ComboBox ComboBox4;
- internal TextBox TextBox19;
- internal Label Label28;
- internal CheckBox CheckBox5;
- internal TextBox TextBox15;
- internal TextBox TextBox14;
- internal Label Label25;
- internal TextBox TextBox16;
- internal Label Label24;
- internal Label Label22;
- internal Label Label23;
- private Button _Button4;
-
- internal Button Button4
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button4;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button4 != null)
- {
- _Button4.Click -= Button4_Click;
- }
-
- _Button4 = value;
- if (_Button4 != null)
- {
- _Button4.Click += Button4_Click;
- }
- }
- }
-
- internal TextBox TextBox10;
- internal Label Label29;
- internal Label Label30;
- internal PictureBox PictureBox3;
- private Label _Label27;
-
- internal Label Label27
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Label27;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Label27 != null)
- {
- _Label27.Click -= Label27_Click;
- }
-
- _Label27 = value;
- if (_Label27 != null)
- {
- _Label27.Click += Label27_Click;
- }
- }
- }
-
- private Button _Button7;
-
- internal Button Button7
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button7;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button7 != null)
- {
- _Button7.Click -= Button7_Click;
- }
-
- _Button7 = value;
- if (_Button7 != null)
- {
- _Button7.Click += Button7_Click;
- }
- }
- }
-
- private Button _Button5;
-
- internal Button Button5
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button5;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button5 != null)
- {
- _Button5.Click -= Button5_Click;
- }
-
- _Button5 = value;
- if (_Button5 != null)
- {
- _Button5.Click += Button5_Click;
- }
- }
- }
-
- internal Label Label20;
- internal Label Label19;
- internal Label Label18;
- internal Label lblFotoTotaliNum;
- internal Label Label10;
-
- //internal Button btnCreaCatalogo
- //{
- // [MethodImpl(MethodImplOptions.Synchronized)]
- // get
- // {
- // return _btnCreaCatalogo;
- // }
-
- // [MethodImpl(MethodImplOptions.Synchronized)]
- // set
- // {
- // if (_btnCreaCatalogo != null)
- // {
- // _btnCreaCatalogo.Click -= btnCreaCatalogo_Click;
- // }
-
- // _btnCreaCatalogo = value;
- // if (_btnCreaCatalogo != null)
- // {
- // _btnCreaCatalogo.Click += btnCreaCatalogo_Click;
- // }
- // }
- //}
-
- private Button _Button6;
-
- internal Button Button6
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _Button6;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_Button6 != null)
- {
- _Button6.Click -= Button6_Click;
- }
-
- _Button6 = value;
- if (_Button6 != null)
- {
- _Button6.Click += Button6_Click;
- }
- }
- }
-
- internal GroupBox GroupBox11;
- internal Label Label7;
- internal TextBox TextBox7;
- internal Label Label8;
- internal TextBox TextBox8;
- internal Panel Panel3;
- internal RadioButton rdbNuovoMetodo;
- internal RadioButton rdbVecchioMetodo;
- internal CheckBox chkSovrascriviFile;
- private Button _btnCreaCatalogoAsync;
- private Timer timer1;
-
- internal Button btnCreaCatalogoAsync
- {
- [MethodImpl(MethodImplOptions.Synchronized)]
- get
- {
- return _btnCreaCatalogoAsync;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- if (_btnCreaCatalogoAsync != null)
- {
- _btnCreaCatalogoAsync.Click -= Button1_Click;
- }
-
- _btnCreaCatalogoAsync = value;
- if (_btnCreaCatalogoAsync != null)
- {
- _btnCreaCatalogoAsync.Click += Button1_Click;
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/MainForm.Designer.vb b/imagecatalog.backup/MainForm.Designer.vb
deleted file mode 100644
index 0150130..0000000
--- a/imagecatalog.backup/MainForm.Designer.vb
+++ /dev/null
@@ -1,1798 +0,0 @@
- _
-Partial Class MainForm
- Inherits System.Windows.Forms.Form
-
- 'Form overrides dispose to clean up the component list.
- _
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- Try
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- Finally
- MyBase.Dispose(disposing)
- End Try
- End Sub
-
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
-
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- _
- Private Sub InitializeComponent()
- Me.ProgressBar1 = New System.Windows.Forms.ProgressBar()
- Me.CheckBox22 = New System.Windows.Forms.CheckBox()
- Me.Label43 = New System.Windows.Forms.Label()
- Me.TabControl1 = New System.Windows.Forms.TabControl()
- Me.TabPage5 = New System.Windows.Forms.TabPage()
- Me.GroupBox11 = New System.Windows.Forms.GroupBox()
- Me.Panel3 = New System.Windows.Forms.Panel()
- Me.rdbNuovoMetodo = New System.Windows.Forms.RadioButton()
- Me.rdbVecchioMetodo = New System.Windows.Forms.RadioButton()
- Me.Label8 = New System.Windows.Forms.Label()
- Me.TextBox8 = New System.Windows.Forms.TextBox()
- Me.Label7 = New System.Windows.Forms.Label()
- Me.TextBox7 = New System.Windows.Forms.TextBox()
- Me.GroupBox3 = New System.Windows.Forms.GroupBox()
- Me.chkAggiornaSottodirectory = New System.Windows.Forms.CheckBox()
- Me.Button3 = New System.Windows.Forms.Button()
- Me.Button2 = New System.Windows.Forms.Button()
- Me.Label1 = New System.Windows.Forms.Label()
- Me.Label2 = New System.Windows.Forms.Label()
- Me.txtSorgente = New System.Windows.Forms.TextBox()
- Me.txtDestinazione = New System.Windows.Forms.TextBox()
- Me.GroupBox8 = New System.Windows.Forms.GroupBox()
- Me.rdbNumFiles = New System.Windows.Forms.RadioButton()
- Me.rdbNumProgressiva = New System.Windows.Forms.RadioButton()
- Me.txtCifreContatore = New System.Windows.Forms.TextBox()
- Me.Label34 = New System.Windows.Forms.Label()
- Me.txtSuffissoCartelle = New System.Windows.Forms.TextBox()
- Me.Label33 = New System.Windows.Forms.Label()
- Me.Label31 = New System.Windows.Forms.Label()
- Me.chkCreaSottocartelle = New System.Windows.Forms.CheckBox()
- Me.txtFilePerCartella = New System.Windows.Forms.TextBox()
- Me.Label32 = New System.Windows.Forms.Label()
- Me.GroupBox7 = New System.Windows.Forms.GroupBox()
- Me.chkSovrascriviFile = New System.Windows.Forms.CheckBox()
- Me.chkRotazioneAutomatica = New System.Windows.Forms.CheckBox()
- Me.chkForzaJpg = New System.Windows.Forms.CheckBox()
- Me.TabPage3 = New System.Windows.Forms.TabPage()
- Me.CheckBox2 = New System.Windows.Forms.CheckBox()
- Me.GroupBox10 = New System.Windows.Forms.GroupBox()
- Me.Label42 = New System.Windows.Forms.Label()
- Me.Label41 = New System.Windows.Forms.Label()
- Me.TextBox31 = New System.Windows.Forms.TextBox()
- Me.TextBox30 = New System.Windows.Forms.TextBox()
- Me.GroupBox9 = New System.Windows.Forms.GroupBox()
- Me.CheckBox17 = New System.Windows.Forms.CheckBox()
- Me.CheckBox16 = New System.Windows.Forms.CheckBox()
- Me.GroupBox5 = New System.Windows.Forms.GroupBox()
- Me.TextBox34 = New System.Windows.Forms.TextBox()
- Me.Button8 = New System.Windows.Forms.Button()
- Me.Label36 = New System.Windows.Forms.Label()
- Me.TextBox25 = New System.Windows.Forms.TextBox()
- Me.Label35 = New System.Windows.Forms.Label()
- Me.ComboBox3 = New System.Windows.Forms.ComboBox()
- Me.TextBox11 = New System.Windows.Forms.TextBox()
- Me.Label12 = New System.Windows.Forms.Label()
- Me.Label11 = New System.Windows.Forms.Label()
- Me.CheckBox3 = New System.Windows.Forms.CheckBox()
- Me.GroupBox4 = New System.Windows.Forms.GroupBox()
- Me.Label40 = New System.Windows.Forms.Label()
- Me.TextBox29 = New System.Windows.Forms.TextBox()
- Me.TextBox18 = New System.Windows.Forms.TextBox()
- Me.Label26 = New System.Windows.Forms.Label()
- Me.DateTimePicker1 = New System.Windows.Forms.DateTimePicker()
- Me.CheckBox8 = New System.Windows.Forms.CheckBox()
- Me.TextBox9 = New System.Windows.Forms.TextBox()
- Me.CheckBox7 = New System.Windows.Forms.CheckBox()
- Me.Label4 = New System.Windows.Forms.Label()
- Me.TextBox4 = New System.Windows.Forms.TextBox()
- Me.Label9 = New System.Windows.Forms.Label()
- Me.Label13 = New System.Windows.Forms.Label()
- Me.ComboBox1 = New System.Windows.Forms.ComboBox()
- Me.ComboBox2 = New System.Windows.Forms.ComboBox()
- Me.Label14 = New System.Windows.Forms.Label()
- Me.TextBox12 = New System.Windows.Forms.TextBox()
- Me.Label15 = New System.Windows.Forms.Label()
- Me.TabPage2 = New System.Windows.Forms.TabPage()
- Me.GroupBox2 = New System.Windows.Forms.GroupBox()
- Me.Label45 = New System.Windows.Forms.Label()
- Me.TextBox32 = New System.Windows.Forms.TextBox()
- Me.TextBox26 = New System.Windows.Forms.TextBox()
- Me.Label37 = New System.Windows.Forms.Label()
- Me.Label38 = New System.Windows.Forms.Label()
- Me.TextBox27 = New System.Windows.Forms.TextBox()
- Me.Label39 = New System.Windows.Forms.Label()
- Me.TextBox28 = New System.Windows.Forms.TextBox()
- Me.CheckBox15 = New System.Windows.Forms.CheckBox()
- Me.TabPage1 = New System.Windows.Forms.TabPage()
- Me.Panel1 = New System.Windows.Forms.Panel()
- Me.CheckBox18 = New System.Windows.Forms.CheckBox()
- Me.CheckBox4 = New System.Windows.Forms.CheckBox()
- Me.CheckBox12 = New System.Windows.Forms.CheckBox()
- Me.GroupBox1 = New System.Windows.Forms.GroupBox()
- Me.Label46 = New System.Windows.Forms.Label()
- Me.TextBox33 = New System.Windows.Forms.TextBox()
- Me.Panel2 = New System.Windows.Forms.Panel()
- Me.RadioButton3 = New System.Windows.Forms.RadioButton()
- Me.RadioButton7 = New System.Windows.Forms.RadioButton()
- Me.RadioButton4 = New System.Windows.Forms.RadioButton()
- Me.RadioButton6 = New System.Windows.Forms.RadioButton()
- Me.RadioButton5 = New System.Windows.Forms.RadioButton()
- Me.Label5 = New System.Windows.Forms.Label()
- Me.TextBox5 = New System.Windows.Forms.TextBox()
- Me.Label6 = New System.Windows.Forms.Label()
- Me.TextBox6 = New System.Windows.Forms.TextBox()
- Me.Label3 = New System.Windows.Forms.Label()
- Me.TextBox3 = New System.Windows.Forms.TextBox()
- Me.CheckBox1 = New System.Windows.Forms.CheckBox()
- Me.TabPage4 = New System.Windows.Forms.TabPage()
- Me.GroupBox6 = New System.Windows.Forms.GroupBox()
- Me.PictureBox2 = New System.Windows.Forms.PictureBox()
- Me.PictureBox1 = New System.Windows.Forms.PictureBox()
- Me.ComboBox5 = New System.Windows.Forms.ComboBox()
- Me.ComboBox4 = New System.Windows.Forms.ComboBox()
- Me.TextBox19 = New System.Windows.Forms.TextBox()
- Me.Label28 = New System.Windows.Forms.Label()
- Me.CheckBox5 = New System.Windows.Forms.CheckBox()
- Me.TextBox15 = New System.Windows.Forms.TextBox()
- Me.TextBox14 = New System.Windows.Forms.TextBox()
- Me.Label25 = New System.Windows.Forms.Label()
- Me.TextBox16 = New System.Windows.Forms.TextBox()
- Me.Label24 = New System.Windows.Forms.Label()
- Me.Label22 = New System.Windows.Forms.Label()
- Me.Label23 = New System.Windows.Forms.Label()
- Me.Button4 = New System.Windows.Forms.Button()
- Me.TextBox10 = New System.Windows.Forms.TextBox()
- Me.Label29 = New System.Windows.Forms.Label()
- Me.Label30 = New System.Windows.Forms.Label()
- Me.PictureBox3 = New System.Windows.Forms.PictureBox()
- Me.Label27 = New System.Windows.Forms.Label()
- Me.Button7 = New System.Windows.Forms.Button()
- Me.Button5 = New System.Windows.Forms.Button()
- Me.Label20 = New System.Windows.Forms.Label()
- Me.Label19 = New System.Windows.Forms.Label()
- Me.Label18 = New System.Windows.Forms.Label()
- Me.lblFotoTotaliNum = New System.Windows.Forms.Label()
- Me.Label10 = New System.Windows.Forms.Label()
- Me.btnCreaCatalogo = New System.Windows.Forms.Button()
- Me.Button6 = New System.Windows.Forms.Button()
- Me.btnCreaCatalogoAsync = New System.Windows.Forms.Button()
- Me.TabControl1.SuspendLayout()
- Me.TabPage5.SuspendLayout()
- Me.GroupBox11.SuspendLayout()
- Me.Panel3.SuspendLayout()
- Me.GroupBox3.SuspendLayout()
- Me.GroupBox8.SuspendLayout()
- Me.GroupBox7.SuspendLayout()
- Me.TabPage3.SuspendLayout()
- Me.GroupBox10.SuspendLayout()
- Me.GroupBox9.SuspendLayout()
- Me.GroupBox5.SuspendLayout()
- Me.GroupBox4.SuspendLayout()
- Me.TabPage2.SuspendLayout()
- Me.GroupBox2.SuspendLayout()
- Me.TabPage1.SuspendLayout()
- Me.Panel1.SuspendLayout()
- Me.GroupBox1.SuspendLayout()
- Me.Panel2.SuspendLayout()
- Me.TabPage4.SuspendLayout()
- Me.GroupBox6.SuspendLayout()
- CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).BeginInit()
- Me.SuspendLayout()
- '
- 'ProgressBar1
- '
- Me.ProgressBar1.Location = New System.Drawing.Point(539, 243)
- Me.ProgressBar1.Name = "ProgressBar1"
- Me.ProgressBar1.Size = New System.Drawing.Size(192, 23)
- Me.ProgressBar1.TabIndex = 67
- '
- 'CheckBox22
- '
- Me.CheckBox22.AutoSize = True
- Me.CheckBox22.Location = New System.Drawing.Point(539, 358)
- Me.CheckBox22.Name = "CheckBox22"
- Me.CheckBox22.Size = New System.Drawing.Size(104, 17)
- Me.CheckBox22.TabIndex = 65
- Me.CheckBox22.Text = "Arresta il sistema"
- Me.CheckBox22.UseVisualStyleBackColor = True
- '
- 'Label43
- '
- Me.Label43.AutoSize = True
- Me.Label43.Location = New System.Drawing.Point(536, 342)
- Me.Label43.Name = "Label43"
- Me.Label43.Size = New System.Drawing.Size(25, 13)
- Me.Label43.TabIndex = 64
- Me.Label43.Text = "000"
- Me.Label43.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'TabControl1
- '
- Me.TabControl1.Controls.Add(Me.TabPage5)
- Me.TabControl1.Controls.Add(Me.TabPage3)
- Me.TabControl1.Controls.Add(Me.TabPage2)
- Me.TabControl1.Controls.Add(Me.TabPage1)
- Me.TabControl1.Controls.Add(Me.TabPage4)
- Me.TabControl1.Location = New System.Drawing.Point(12, 12)
- Me.TabControl1.Name = "TabControl1"
- Me.TabControl1.SelectedIndex = 0
- Me.TabControl1.Size = New System.Drawing.Size(521, 377)
- Me.TabControl1.TabIndex = 63
- '
- 'TabPage5
- '
- Me.TabPage5.Controls.Add(Me.GroupBox11)
- Me.TabPage5.Controls.Add(Me.GroupBox3)
- Me.TabPage5.Controls.Add(Me.GroupBox8)
- Me.TabPage5.Controls.Add(Me.GroupBox7)
- Me.TabPage5.Location = New System.Drawing.Point(4, 22)
- Me.TabPage5.Name = "TabPage5"
- Me.TabPage5.Padding = New System.Windows.Forms.Padding(3)
- Me.TabPage5.Size = New System.Drawing.Size(513, 351)
- Me.TabPage5.TabIndex = 4
- Me.TabPage5.Text = "Generale"
- Me.TabPage5.UseVisualStyleBackColor = True
- '
- 'GroupBox11
- '
- Me.GroupBox11.Controls.Add(Me.Panel3)
- Me.GroupBox11.Controls.Add(Me.Label8)
- Me.GroupBox11.Controls.Add(Me.TextBox8)
- Me.GroupBox11.Controls.Add(Me.Label7)
- Me.GroupBox11.Controls.Add(Me.TextBox7)
- Me.GroupBox11.Location = New System.Drawing.Point(7, 209)
- Me.GroupBox11.Name = "GroupBox11"
- Me.GroupBox11.Size = New System.Drawing.Size(191, 132)
- Me.GroupBox11.TabIndex = 48
- Me.GroupBox11.TabStop = False
- Me.GroupBox11.Text = "Avanzate (ATTENZIONE)"
- '
- 'Panel3
- '
- Me.Panel3.Controls.Add(Me.rdbNuovoMetodo)
- Me.Panel3.Controls.Add(Me.rdbVecchioMetodo)
- Me.Panel3.Location = New System.Drawing.Point(7, 73)
- Me.Panel3.Name = "Panel3"
- Me.Panel3.Size = New System.Drawing.Size(178, 53)
- Me.Panel3.TabIndex = 4
- '
- 'rdbNuovoMetodo
- '
- Me.rdbNuovoMetodo.AutoSize = True
- Me.rdbNuovoMetodo.Checked = True
- Me.rdbNuovoMetodo.Location = New System.Drawing.Point(8, 28)
- Me.rdbNuovoMetodo.Name = "rdbNuovoMetodo"
- Me.rdbNuovoMetodo.Size = New System.Drawing.Size(95, 17)
- Me.rdbNuovoMetodo.TabIndex = 1
- Me.rdbNuovoMetodo.TabStop = True
- Me.rdbNuovoMetodo.Text = "Nuovo metodo"
- Me.rdbNuovoMetodo.UseVisualStyleBackColor = True
- '
- 'rdbVecchioMetodo
- '
- Me.rdbVecchioMetodo.AutoSize = True
- Me.rdbVecchioMetodo.Location = New System.Drawing.Point(8, 4)
- Me.rdbVecchioMetodo.Name = "rdbVecchioMetodo"
- Me.rdbVecchioMetodo.Size = New System.Drawing.Size(102, 17)
- Me.rdbVecchioMetodo.TabIndex = 0
- Me.rdbVecchioMetodo.Text = "Vecchio metodo"
- Me.rdbVecchioMetodo.UseVisualStyleBackColor = True
- '
- 'Label8
- '
- Me.Label8.AutoSize = True
- Me.Label8.Location = New System.Drawing.Point(64, 26)
- Me.Label8.Name = "Label8"
- Me.Label8.Size = New System.Drawing.Size(111, 13)
- Me.Label8.TabIndex = 3
- Me.Label8.Text = "Chunk Size (0 = MAX)"
- '
- 'TextBox8
- '
- Me.TextBox8.Location = New System.Drawing.Point(7, 20)
- Me.TextBox8.Name = "TextBox8"
- Me.TextBox8.Size = New System.Drawing.Size(47, 20)
- Me.TextBox8.TabIndex = 2
- Me.TextBox8.Text = "0"
- '
- 'Label7
- '
- Me.Label7.AutoSize = True
- Me.Label7.Location = New System.Drawing.Point(61, 48)
- Me.Label7.Name = "Label7"
- Me.Label7.Size = New System.Drawing.Size(108, 13)
- Me.Label7.TabIndex = 1
- Me.Label7.Text = "Threads (0 = CPU *2)"
- '
- 'TextBox7
- '
- Me.TextBox7.Location = New System.Drawing.Point(7, 46)
- Me.TextBox7.Name = "TextBox7"
- Me.TextBox7.Size = New System.Drawing.Size(47, 20)
- Me.TextBox7.TabIndex = 0
- Me.TextBox7.Text = "0"
- '
- 'GroupBox3
- '
- Me.GroupBox3.Controls.Add(Me.chkAggiornaSottodirectory)
- Me.GroupBox3.Controls.Add(Me.Button3)
- Me.GroupBox3.Controls.Add(Me.Button2)
- Me.GroupBox3.Controls.Add(Me.Label1)
- Me.GroupBox3.Controls.Add(Me.Label2)
- Me.GroupBox3.Controls.Add(Me.txtSorgente)
- Me.GroupBox3.Controls.Add(Me.txtDestinazione)
- Me.GroupBox3.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox3.Location = New System.Drawing.Point(6, 6)
- Me.GroupBox3.Name = "GroupBox3"
- Me.GroupBox3.Size = New System.Drawing.Size(496, 101)
- Me.GroupBox3.TabIndex = 35
- Me.GroupBox3.TabStop = False
- Me.GroupBox3.Text = "Directory"
- '
- 'chkAggiornaSottodirectory
- '
- Me.chkAggiornaSottodirectory.ForeColor = System.Drawing.Color.Black
- Me.chkAggiornaSottodirectory.Location = New System.Drawing.Point(80, 64)
- Me.chkAggiornaSottodirectory.Name = "chkAggiornaSottodirectory"
- Me.chkAggiornaSottodirectory.Size = New System.Drawing.Size(152, 24)
- Me.chkAggiornaSottodirectory.TabIndex = 25
- Me.chkAggiornaSottodirectory.Text = "aggiorna le sottodirectory"
- '
- 'Button3
- '
- Me.Button3.Location = New System.Drawing.Point(462, 40)
- Me.Button3.Name = "Button3"
- Me.Button3.Size = New System.Drawing.Size(24, 20)
- Me.Button3.TabIndex = 6
- Me.Button3.Text = "..."
- '
- 'Button2
- '
- Me.Button2.Location = New System.Drawing.Point(462, 16)
- Me.Button2.Name = "Button2"
- Me.Button2.Size = New System.Drawing.Size(24, 20)
- Me.Button2.TabIndex = 5
- Me.Button2.Text = "..."
- '
- 'Label1
- '
- Me.Label1.AutoSize = True
- Me.Label1.ForeColor = System.Drawing.Color.Black
- Me.Label1.Location = New System.Drawing.Point(6, 19)
- Me.Label1.Name = "Label1"
- Me.Label1.Size = New System.Drawing.Size(50, 13)
- Me.Label1.TabIndex = 3
- Me.Label1.Text = "Sorgente"
- '
- 'Label2
- '
- Me.Label2.AutoSize = True
- Me.Label2.ForeColor = System.Drawing.Color.Black
- Me.Label2.Location = New System.Drawing.Point(6, 43)
- Me.Label2.Name = "Label2"
- Me.Label2.Size = New System.Drawing.Size(68, 13)
- Me.Label2.TabIndex = 4
- Me.Label2.Text = "Destinazione"
- '
- 'txtSorgente
- '
- Me.txtSorgente.Location = New System.Drawing.Point(80, 16)
- Me.txtSorgente.Name = "txtSorgente"
- Me.txtSorgente.Size = New System.Drawing.Size(376, 20)
- Me.txtSorgente.TabIndex = 0
- Me.txtSorgente.Text = "TextBox1"
- '
- 'txtDestinazione
- '
- Me.txtDestinazione.Location = New System.Drawing.Point(80, 40)
- Me.txtDestinazione.Name = "txtDestinazione"
- Me.txtDestinazione.Size = New System.Drawing.Size(376, 20)
- Me.txtDestinazione.TabIndex = 1
- Me.txtDestinazione.Text = "TextBox2"
- '
- 'GroupBox8
- '
- Me.GroupBox8.Controls.Add(Me.rdbNumFiles)
- Me.GroupBox8.Controls.Add(Me.rdbNumProgressiva)
- Me.GroupBox8.Controls.Add(Me.txtCifreContatore)
- Me.GroupBox8.Controls.Add(Me.Label34)
- Me.GroupBox8.Controls.Add(Me.txtSuffissoCartelle)
- Me.GroupBox8.Controls.Add(Me.Label33)
- Me.GroupBox8.Controls.Add(Me.Label31)
- Me.GroupBox8.Controls.Add(Me.chkCreaSottocartelle)
- Me.GroupBox8.Controls.Add(Me.txtFilePerCartella)
- Me.GroupBox8.Controls.Add(Me.Label32)
- Me.GroupBox8.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox8.Location = New System.Drawing.Point(204, 113)
- Me.GroupBox8.Name = "GroupBox8"
- Me.GroupBox8.Size = New System.Drawing.Size(192, 152)
- Me.GroupBox8.TabIndex = 47
- Me.GroupBox8.TabStop = False
- Me.GroupBox8.Text = "Sottocartelle"
- '
- 'rdbNumFiles
- '
- Me.rdbNumFiles.ForeColor = System.Drawing.Color.Black
- Me.rdbNumFiles.Location = New System.Drawing.Point(32, 128)
- Me.rdbNumFiles.Name = "rdbNumFiles"
- Me.rdbNumFiles.Size = New System.Drawing.Size(136, 16)
- Me.rdbNumFiles.TabIndex = 38
- Me.rdbNumFiles.Text = "Numerazione files"
- '
- 'rdbNumProgressiva
- '
- Me.rdbNumProgressiva.Checked = True
- Me.rdbNumProgressiva.ForeColor = System.Drawing.Color.Black
- Me.rdbNumProgressiva.Location = New System.Drawing.Point(32, 112)
- Me.rdbNumProgressiva.Name = "rdbNumProgressiva"
- Me.rdbNumProgressiva.Size = New System.Drawing.Size(152, 16)
- Me.rdbNumProgressiva.TabIndex = 37
- Me.rdbNumProgressiva.TabStop = True
- Me.rdbNumProgressiva.Text = "Numerazione progressiva"
- '
- 'txtCifreContatore
- '
- Me.txtCifreContatore.Location = New System.Drawing.Point(128, 88)
- Me.txtCifreContatore.Name = "txtCifreContatore"
- Me.txtCifreContatore.Size = New System.Drawing.Size(56, 20)
- Me.txtCifreContatore.TabIndex = 34
- Me.txtCifreContatore.Text = "4"
- '
- 'Label34
- '
- Me.Label34.ForeColor = System.Drawing.Color.Black
- Me.Label34.Location = New System.Drawing.Point(8, 88)
- Me.Label34.Name = "Label34"
- Me.Label34.Size = New System.Drawing.Size(112, 16)
- Me.Label34.TabIndex = 33
- Me.Label34.Text = "Num. cifre contatore"
- Me.Label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight
- '
- 'txtSuffissoCartelle
- '
- Me.txtSuffissoCartelle.Location = New System.Drawing.Point(56, 64)
- Me.txtSuffissoCartelle.Name = "txtSuffissoCartelle"
- Me.txtSuffissoCartelle.Size = New System.Drawing.Size(128, 20)
- Me.txtSuffissoCartelle.TabIndex = 32
- Me.txtSuffissoCartelle.Text = "TextBox20"
- '
- 'Label33
- '
- Me.Label33.ForeColor = System.Drawing.Color.Black
- Me.Label33.Location = New System.Drawing.Point(6, 67)
- Me.Label33.Name = "Label33"
- Me.Label33.Size = New System.Drawing.Size(48, 16)
- Me.Label33.TabIndex = 31
- Me.Label33.Text = "Suffisso"
- '
- 'Label31
- '
- Me.Label31.ForeColor = System.Drawing.Color.Black
- Me.Label31.Location = New System.Drawing.Point(24, 40)
- Me.Label31.Name = "Label31"
- Me.Label31.Size = New System.Drawing.Size(32, 16)
- Me.Label31.TabIndex = 30
- Me.Label31.Text = "ogni"
- '
- 'chkCreaSottocartelle
- '
- Me.chkCreaSottocartelle.ForeColor = System.Drawing.Color.Black
- Me.chkCreaSottocartelle.Location = New System.Drawing.Point(56, 16)
- Me.chkCreaSottocartelle.Name = "chkCreaSottocartelle"
- Me.chkCreaSottocartelle.Size = New System.Drawing.Size(112, 16)
- Me.chkCreaSottocartelle.TabIndex = 29
- Me.chkCreaSottocartelle.Text = "crea sottocartelle"
- '
- 'txtFilePerCartella
- '
- Me.txtFilePerCartella.Location = New System.Drawing.Point(56, 40)
- Me.txtFilePerCartella.Name = "txtFilePerCartella"
- Me.txtFilePerCartella.Size = New System.Drawing.Size(64, 20)
- Me.txtFilePerCartella.TabIndex = 27
- Me.txtFilePerCartella.Text = "99"
- '
- 'Label32
- '
- Me.Label32.ForeColor = System.Drawing.Color.Black
- Me.Label32.Location = New System.Drawing.Point(128, 40)
- Me.Label32.Name = "Label32"
- Me.Label32.Size = New System.Drawing.Size(24, 16)
- Me.Label32.TabIndex = 28
- Me.Label32.Text = "file"
- '
- 'GroupBox7
- '
- Me.GroupBox7.Controls.Add(Me.chkSovrascriviFile)
- Me.GroupBox7.Controls.Add(Me.chkRotazioneAutomatica)
- Me.GroupBox7.Controls.Add(Me.chkForzaJpg)
- Me.GroupBox7.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox7.Location = New System.Drawing.Point(6, 113)
- Me.GroupBox7.Name = "GroupBox7"
- Me.GroupBox7.Size = New System.Drawing.Size(192, 88)
- Me.GroupBox7.TabIndex = 45
- Me.GroupBox7.TabStop = False
- Me.GroupBox7.Text = "Generale"
- '
- 'chkSovrascriviFile
- '
- Me.chkSovrascriviFile.AutoSize = True
- Me.chkSovrascriviFile.Location = New System.Drawing.Point(16, 61)
- Me.chkSovrascriviFile.Name = "chkSovrascriviFile"
- Me.chkSovrascriviFile.Size = New System.Drawing.Size(94, 17)
- Me.chkSovrascriviFile.TabIndex = 2
- Me.chkSovrascriviFile.Text = "Sovrascrivi file"
- Me.chkSovrascriviFile.UseVisualStyleBackColor = True
- '
- 'chkRotazioneAutomatica
- '
- Me.chkRotazioneAutomatica.ForeColor = System.Drawing.Color.Black
- Me.chkRotazioneAutomatica.Location = New System.Drawing.Point(16, 39)
- Me.chkRotazioneAutomatica.Name = "chkRotazioneAutomatica"
- Me.chkRotazioneAutomatica.Size = New System.Drawing.Size(136, 16)
- Me.chkRotazioneAutomatica.TabIndex = 1
- Me.chkRotazioneAutomatica.Text = "Rotazione automatica"
- '
- 'chkForzaJpg
- '
- Me.chkForzaJpg.Checked = True
- Me.chkForzaJpg.CheckState = System.Windows.Forms.CheckState.Checked
- Me.chkForzaJpg.ForeColor = System.Drawing.Color.Black
- Me.chkForzaJpg.Location = New System.Drawing.Point(16, 18)
- Me.chkForzaJpg.Name = "chkForzaJpg"
- Me.chkForzaJpg.Size = New System.Drawing.Size(80, 16)
- Me.chkForzaJpg.TabIndex = 0
- Me.chkForzaJpg.Text = "Forza Jpg"
- '
- 'TabPage3
- '
- Me.TabPage3.Controls.Add(Me.CheckBox2)
- Me.TabPage3.Controls.Add(Me.GroupBox10)
- Me.TabPage3.Controls.Add(Me.GroupBox9)
- Me.TabPage3.Controls.Add(Me.GroupBox5)
- Me.TabPage3.Controls.Add(Me.GroupBox4)
- Me.TabPage3.Location = New System.Drawing.Point(4, 22)
- Me.TabPage3.Name = "TabPage3"
- Me.TabPage3.Padding = New System.Windows.Forms.Padding(3)
- Me.TabPage3.Size = New System.Drawing.Size(513, 351)
- Me.TabPage3.TabIndex = 2
- Me.TabPage3.Text = "Testo"
- Me.TabPage3.UseVisualStyleBackColor = True
- '
- 'CheckBox2
- '
- Me.CheckBox2.AutoSize = True
- Me.CheckBox2.Location = New System.Drawing.Point(7, 8)
- Me.CheckBox2.Name = "CheckBox2"
- Me.CheckBox2.Size = New System.Drawing.Size(93, 17)
- Me.CheckBox2.TabIndex = 40
- Me.CheckBox2.Text = "Aggiungi testo"
- Me.CheckBox2.UseVisualStyleBackColor = True
- '
- 'GroupBox10
- '
- Me.GroupBox10.Controls.Add(Me.Label42)
- Me.GroupBox10.Controls.Add(Me.Label41)
- Me.GroupBox10.Controls.Add(Me.TextBox31)
- Me.GroupBox10.Controls.Add(Me.TextBox30)
- Me.GroupBox10.Location = New System.Drawing.Point(316, 78)
- Me.GroupBox10.Name = "GroupBox10"
- Me.GroupBox10.Size = New System.Drawing.Size(186, 73)
- Me.GroupBox10.TabIndex = 39
- Me.GroupBox10.TabStop = False
- Me.GroupBox10.Text = "Testo foto verticali"
- '
- 'Label42
- '
- Me.Label42.AutoSize = True
- Me.Label42.Location = New System.Drawing.Point(7, 46)
- Me.Label42.Name = "Label42"
- Me.Label42.Size = New System.Drawing.Size(45, 13)
- Me.Label42.TabIndex = 3
- Me.Label42.Text = "Margine"
- '
- 'Label41
- '
- Me.Label41.AutoSize = True
- Me.Label41.Location = New System.Drawing.Point(7, 25)
- Me.Label41.Name = "Label41"
- Me.Label41.Size = New System.Drawing.Size(108, 13)
- Me.Label41.TabIndex = 2
- Me.Label41.Text = "Dimensione Carattere"
- '
- 'TextBox31
- '
- Me.TextBox31.Location = New System.Drawing.Point(131, 46)
- Me.TextBox31.Name = "TextBox31"
- Me.TextBox31.Size = New System.Drawing.Size(39, 20)
- Me.TextBox31.TabIndex = 1
- '
- 'TextBox30
- '
- Me.TextBox30.Location = New System.Drawing.Point(131, 22)
- Me.TextBox30.Name = "TextBox30"
- Me.TextBox30.Size = New System.Drawing.Size(39, 20)
- Me.TextBox30.TabIndex = 0
- '
- 'GroupBox9
- '
- Me.GroupBox9.Controls.Add(Me.CheckBox17)
- Me.GroupBox9.Controls.Add(Me.CheckBox16)
- Me.GroupBox9.Location = New System.Drawing.Point(316, 31)
- Me.GroupBox9.Name = "GroupBox9"
- Me.GroupBox9.Size = New System.Drawing.Size(186, 45)
- Me.GroupBox9.TabIndex = 38
- Me.GroupBox9.TabStop = False
- Me.GroupBox9.Text = "Slide show"
- '
- 'CheckBox17
- '
- Me.CheckBox17.AutoSize = True
- Me.CheckBox17.Location = New System.Drawing.Point(96, 18)
- Me.CheckBox17.Name = "CheckBox17"
- Me.CheckBox17.Size = New System.Drawing.Size(84, 17)
- Me.CheckBox17.TabIndex = 1
- Me.CheckBox17.Text = "Numero foto"
- Me.CheckBox17.UseVisualStyleBackColor = True
- '
- 'CheckBox16
- '
- Me.CheckBox16.AutoSize = True
- Me.CheckBox16.Location = New System.Drawing.Point(6, 19)
- Me.CheckBox16.Name = "CheckBox16"
- Me.CheckBox16.Size = New System.Drawing.Size(49, 17)
- Me.CheckBox16.TabIndex = 0
- Me.CheckBox16.Text = "Data"
- Me.CheckBox16.UseVisualStyleBackColor = True
- '
- 'GroupBox5
- '
- Me.GroupBox5.Controls.Add(Me.TextBox34)
- Me.GroupBox5.Controls.Add(Me.Button8)
- Me.GroupBox5.Controls.Add(Me.Label36)
- Me.GroupBox5.Controls.Add(Me.TextBox25)
- Me.GroupBox5.Controls.Add(Me.Label35)
- Me.GroupBox5.Controls.Add(Me.ComboBox3)
- Me.GroupBox5.Controls.Add(Me.TextBox11)
- Me.GroupBox5.Controls.Add(Me.Label12)
- Me.GroupBox5.Controls.Add(Me.Label11)
- Me.GroupBox5.Controls.Add(Me.CheckBox3)
- Me.GroupBox5.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox5.Location = New System.Drawing.Point(6, 31)
- Me.GroupBox5.Name = "GroupBox5"
- Me.GroupBox5.Size = New System.Drawing.Size(304, 120)
- Me.GroupBox5.TabIndex = 37
- Me.GroupBox5.TabStop = False
- Me.GroupBox5.Text = "Carattere"
- '
- 'TextBox34
- '
- Me.TextBox34.Location = New System.Drawing.Point(160, 91)
- Me.TextBox34.Name = "TextBox34"
- Me.TextBox34.Size = New System.Drawing.Size(56, 20)
- Me.TextBox34.TabIndex = 36
- Me.TextBox34.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
- '
- 'Button8
- '
- Me.Button8.ForeColor = System.Drawing.Color.Black
- Me.Button8.Location = New System.Drawing.Point(222, 89)
- Me.Button8.Name = "Button8"
- Me.Button8.Size = New System.Drawing.Size(74, 24)
- Me.Button8.TabIndex = 35
- Me.Button8.Text = "Scegli..."
- '
- 'Label36
- '
- Me.Label36.ForeColor = System.Drawing.Color.Black
- Me.Label36.Location = New System.Drawing.Point(8, 60)
- Me.Label36.Name = "Label36"
- Me.Label36.Size = New System.Drawing.Size(120, 19)
- Me.Label36.TabIndex = 34
- Me.Label36.Text = "Dimensione miniatura"
- Me.Label36.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'TextBox25
- '
- Me.TextBox25.Location = New System.Drawing.Point(160, 59)
- Me.TextBox25.Name = "TextBox25"
- Me.TextBox25.Size = New System.Drawing.Size(56, 20)
- Me.TextBox25.TabIndex = 33
- Me.TextBox25.Text = "TextBox25"
- '
- 'Label35
- '
- Me.Label35.ForeColor = System.Drawing.Color.Black
- Me.Label35.Location = New System.Drawing.Point(8, 93)
- Me.Label35.Name = "Label35"
- Me.Label35.Size = New System.Drawing.Size(72, 16)
- Me.Label35.TabIndex = 32
- Me.Label35.Text = "Colore RGB"
- Me.Label35.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'ComboBox3
- '
- Me.ComboBox3.Location = New System.Drawing.Point(96, 8)
- Me.ComboBox3.Name = "ComboBox3"
- Me.ComboBox3.Size = New System.Drawing.Size(120, 21)
- Me.ComboBox3.TabIndex = 28
- Me.ComboBox3.Text = "ComboBox3"
- '
- 'TextBox11
- '
- Me.TextBox11.Location = New System.Drawing.Point(160, 35)
- Me.TextBox11.Name = "TextBox11"
- Me.TextBox11.Size = New System.Drawing.Size(56, 20)
- Me.TextBox11.TabIndex = 27
- Me.TextBox11.Text = "TextBox11"
- '
- 'Label12
- '
- Me.Label12.AutoSize = True
- Me.Label12.ForeColor = System.Drawing.Color.Black
- Me.Label12.Location = New System.Drawing.Point(8, 38)
- Me.Label12.Name = "Label12"
- Me.Label12.Size = New System.Drawing.Size(62, 13)
- Me.Label12.TabIndex = 26
- Me.Label12.Text = "Dimensione"
- Me.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'Label11
- '
- Me.Label11.AutoSize = True
- Me.Label11.ForeColor = System.Drawing.Color.Black
- Me.Label11.Location = New System.Drawing.Point(56, 8)
- Me.Label11.Name = "Label11"
- Me.Label11.Size = New System.Drawing.Size(28, 13)
- Me.Label11.TabIndex = 22
- Me.Label11.Text = "Font"
- '
- 'CheckBox3
- '
- Me.CheckBox3.ForeColor = System.Drawing.Color.Black
- Me.CheckBox3.Location = New System.Drawing.Point(224, 8)
- Me.CheckBox3.Name = "CheckBox3"
- Me.CheckBox3.Size = New System.Drawing.Size(72, 24)
- Me.CheckBox3.TabIndex = 24
- Me.CheckBox3.Text = "Grassetto"
- '
- 'GroupBox4
- '
- Me.GroupBox4.Controls.Add(Me.Label40)
- Me.GroupBox4.Controls.Add(Me.TextBox29)
- Me.GroupBox4.Controls.Add(Me.TextBox18)
- Me.GroupBox4.Controls.Add(Me.Label26)
- Me.GroupBox4.Controls.Add(Me.DateTimePicker1)
- Me.GroupBox4.Controls.Add(Me.CheckBox8)
- Me.GroupBox4.Controls.Add(Me.TextBox9)
- Me.GroupBox4.Controls.Add(Me.CheckBox7)
- Me.GroupBox4.Controls.Add(Me.Label4)
- Me.GroupBox4.Controls.Add(Me.TextBox4)
- Me.GroupBox4.Controls.Add(Me.Label9)
- Me.GroupBox4.Controls.Add(Me.Label13)
- Me.GroupBox4.Controls.Add(Me.ComboBox1)
- Me.GroupBox4.Controls.Add(Me.ComboBox2)
- Me.GroupBox4.Controls.Add(Me.Label14)
- Me.GroupBox4.Controls.Add(Me.TextBox12)
- Me.GroupBox4.Controls.Add(Me.Label15)
- Me.GroupBox4.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox4.Location = New System.Drawing.Point(6, 157)
- Me.GroupBox4.Name = "GroupBox4"
- Me.GroupBox4.Size = New System.Drawing.Size(496, 186)
- Me.GroupBox4.TabIndex = 36
- Me.GroupBox4.TabStop = False
- Me.GroupBox4.Text = "Testo da applicare"
- '
- 'Label40
- '
- Me.Label40.AutoSize = True
- Me.Label40.Location = New System.Drawing.Point(8, 52)
- Me.Label40.Name = "Label40"
- Me.Label40.Size = New System.Drawing.Size(48, 13)
- Me.Label40.TabIndex = 40
- Me.Label40.Text = "Verticale"
- '
- 'TextBox29
- '
- Me.TextBox29.Location = New System.Drawing.Point(72, 49)
- Me.TextBox29.Multiline = True
- Me.TextBox29.Name = "TextBox29"
- Me.TextBox29.Size = New System.Drawing.Size(408, 44)
- Me.TextBox29.TabIndex = 39
- '
- 'TextBox18
- '
- Me.TextBox18.Location = New System.Drawing.Point(232, 156)
- Me.TextBox18.Name = "TextBox18"
- Me.TextBox18.Size = New System.Drawing.Size(100, 20)
- Me.TextBox18.TabIndex = 38
- '
- 'Label26
- '
- Me.Label26.AutoSize = True
- Me.Label26.ForeColor = System.Drawing.Color.Black
- Me.Label26.Location = New System.Drawing.Point(344, 156)
- Me.Label26.Name = "Label26"
- Me.Label26.Size = New System.Drawing.Size(48, 13)
- Me.Label26.TabIndex = 37
- Me.Label26.Text = "partenza"
- '
- 'DateTimePicker1
- '
- Me.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Time
- Me.DateTimePicker1.Location = New System.Drawing.Point(392, 156)
- Me.DateTimePicker1.Name = "DateTimePicker1"
- Me.DateTimePicker1.Size = New System.Drawing.Size(88, 20)
- Me.DateTimePicker1.TabIndex = 36
- '
- 'CheckBox8
- '
- Me.CheckBox8.ForeColor = System.Drawing.Color.Black
- Me.CheckBox8.Location = New System.Drawing.Point(72, 156)
- Me.CheckBox8.Name = "CheckBox8"
- Me.CheckBox8.Size = New System.Drawing.Size(56, 16)
- Me.CheckBox8.TabIndex = 35
- Me.CheckBox8.Text = "Orario"
- '
- 'TextBox9
- '
- Me.TextBox9.Location = New System.Drawing.Point(120, 108)
- Me.TextBox9.Name = "TextBox9"
- Me.TextBox9.Size = New System.Drawing.Size(56, 20)
- Me.TextBox9.TabIndex = 20
- Me.TextBox9.Text = "TextBox9"
- '
- 'CheckBox7
- '
- Me.CheckBox7.ForeColor = System.Drawing.Color.Black
- Me.CheckBox7.Location = New System.Drawing.Point(136, 156)
- Me.CheckBox7.Name = "CheckBox7"
- Me.CheckBox7.Size = New System.Drawing.Size(88, 16)
- Me.CheckBox7.TabIndex = 34
- Me.CheckBox7.Text = "Tempo gara"
- '
- 'Label4
- '
- Me.Label4.AutoSize = True
- Me.Label4.ForeColor = System.Drawing.Color.Black
- Me.Label4.Location = New System.Drawing.Point(8, 24)
- Me.Label4.Name = "Label4"
- Me.Label4.Size = New System.Drawing.Size(59, 13)
- Me.Label4.TabIndex = 9
- Me.Label4.Text = "Orizzontale"
- '
- 'TextBox4
- '
- Me.TextBox4.Location = New System.Drawing.Point(72, 24)
- Me.TextBox4.Name = "TextBox4"
- Me.TextBox4.Size = New System.Drawing.Size(408, 20)
- Me.TextBox4.TabIndex = 8
- Me.TextBox4.Text = "TextBox4"
- '
- 'Label9
- '
- Me.Label9.AutoSize = True
- Me.Label9.ForeColor = System.Drawing.Color.Black
- Me.Label9.Location = New System.Drawing.Point(8, 108)
- Me.Label9.Name = "Label9"
- Me.Label9.Size = New System.Drawing.Size(110, 13)
- Me.Label9.TabIndex = 19
- Me.Label9.Text = "Trasparenza (0-100%)"
- '
- 'Label13
- '
- Me.Label13.AutoSize = True
- Me.Label13.ForeColor = System.Drawing.Color.Black
- Me.Label13.Location = New System.Drawing.Point(16, 132)
- Me.Label13.Name = "Label13"
- Me.Label13.Size = New System.Drawing.Size(52, 13)
- Me.Label13.TabIndex = 29
- Me.Label13.Text = "Posizione"
- '
- 'ComboBox1
- '
- Me.ComboBox1.Location = New System.Drawing.Point(72, 132)
- Me.ComboBox1.Name = "ComboBox1"
- Me.ComboBox1.Size = New System.Drawing.Size(104, 21)
- Me.ComboBox1.TabIndex = 28
- Me.ComboBox1.Text = "ComboBox1"
- '
- 'ComboBox2
- '
- Me.ComboBox2.Location = New System.Drawing.Point(376, 132)
- Me.ComboBox2.Name = "ComboBox2"
- Me.ComboBox2.Size = New System.Drawing.Size(104, 21)
- Me.ComboBox2.TabIndex = 31
- Me.ComboBox2.Text = "ComboBox2"
- '
- 'Label14
- '
- Me.Label14.AutoSize = True
- Me.Label14.ForeColor = System.Drawing.Color.Black
- Me.Label14.Location = New System.Drawing.Point(304, 132)
- Me.Label14.Name = "Label14"
- Me.Label14.Size = New System.Drawing.Size(67, 13)
- Me.Label14.TabIndex = 30
- Me.Label14.Text = "Allineamento"
- '
- 'TextBox12
- '
- Me.TextBox12.Location = New System.Drawing.Point(376, 108)
- Me.TextBox12.Name = "TextBox12"
- Me.TextBox12.Size = New System.Drawing.Size(104, 20)
- Me.TextBox12.TabIndex = 33
- Me.TextBox12.Text = "TextBox12"
- '
- 'Label15
- '
- Me.Label15.AutoSize = True
- Me.Label15.ForeColor = System.Drawing.Color.Black
- Me.Label15.Location = New System.Drawing.Point(296, 108)
- Me.Label15.Name = "Label15"
- Me.Label15.Size = New System.Drawing.Size(75, 13)
- Me.Label15.TabIndex = 32
- Me.Label15.Text = "Margine (pixel)"
- '
- 'TabPage2
- '
- Me.TabPage2.Controls.Add(Me.GroupBox2)
- Me.TabPage2.Location = New System.Drawing.Point(4, 22)
- Me.TabPage2.Name = "TabPage2"
- Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
- Me.TabPage2.Size = New System.Drawing.Size(513, 351)
- Me.TabPage2.TabIndex = 5
- Me.TabPage2.Text = "Foto"
- Me.TabPage2.UseVisualStyleBackColor = True
- '
- 'GroupBox2
- '
- Me.GroupBox2.Controls.Add(Me.Label45)
- Me.GroupBox2.Controls.Add(Me.TextBox32)
- Me.GroupBox2.Controls.Add(Me.TextBox26)
- Me.GroupBox2.Controls.Add(Me.Label37)
- Me.GroupBox2.Controls.Add(Me.Label38)
- Me.GroupBox2.Controls.Add(Me.TextBox27)
- Me.GroupBox2.Controls.Add(Me.Label39)
- Me.GroupBox2.Controls.Add(Me.TextBox28)
- Me.GroupBox2.Controls.Add(Me.CheckBox15)
- Me.GroupBox2.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox2.Location = New System.Drawing.Point(3, 6)
- Me.GroupBox2.Name = "GroupBox2"
- Me.GroupBox2.Size = New System.Drawing.Size(304, 156)
- Me.GroupBox2.TabIndex = 36
- Me.GroupBox2.TabStop = False
- Me.GroupBox2.Text = "Foto grande"
- '
- 'Label45
- '
- Me.Label45.AutoSize = True
- Me.Label45.Location = New System.Drawing.Point(11, 86)
- Me.Label45.Name = "Label45"
- Me.Label45.Size = New System.Drawing.Size(40, 13)
- Me.Label45.TabIndex = 22
- Me.Label45.Text = "Qualità "
- '
- 'TextBox32
- '
- Me.TextBox32.Location = New System.Drawing.Point(72, 80)
- Me.TextBox32.Name = "TextBox32"
- Me.TextBox32.Size = New System.Drawing.Size(72, 20)
- Me.TextBox32.TabIndex = 21
- Me.TextBox32.Text = "100"
- '
- 'TextBox26
- '
- Me.TextBox26.Location = New System.Drawing.Point(224, 48)
- Me.TextBox26.Name = "TextBox26"
- Me.TextBox26.Size = New System.Drawing.Size(56, 20)
- Me.TextBox26.TabIndex = 20
- Me.TextBox26.Text = "TextBox26"
- '
- 'Label37
- '
- Me.Label37.ForeColor = System.Drawing.Color.Black
- Me.Label37.Location = New System.Drawing.Point(168, 48)
- Me.Label37.Name = "Label37"
- Me.Label37.Size = New System.Drawing.Size(48, 16)
- Me.Label37.TabIndex = 19
- Me.Label37.Text = "Suffisso"
- Me.Label37.TextAlign = System.Drawing.ContentAlignment.MiddleRight
- '
- 'Label38
- '
- Me.Label38.AutoSize = True
- Me.Label38.ForeColor = System.Drawing.Color.Black
- Me.Label38.Location = New System.Drawing.Point(24, 24)
- Me.Label38.Name = "Label38"
- Me.Label38.Size = New System.Drawing.Size(41, 13)
- Me.Label38.TabIndex = 16
- Me.Label38.Text = "Altezza"
- '
- 'TextBox27
- '
- Me.TextBox27.Location = New System.Drawing.Point(72, 24)
- Me.TextBox27.Name = "TextBox27"
- Me.TextBox27.Size = New System.Drawing.Size(72, 20)
- Me.TextBox27.TabIndex = 14
- Me.TextBox27.Text = "TextBox27"
- '
- 'Label39
- '
- Me.Label39.AutoSize = True
- Me.Label39.ForeColor = System.Drawing.Color.Black
- Me.Label39.Location = New System.Drawing.Point(8, 48)
- Me.Label39.Name = "Label39"
- Me.Label39.Size = New System.Drawing.Size(56, 13)
- Me.Label39.TabIndex = 17
- Me.Label39.Text = "Larghezza"
- '
- 'TextBox28
- '
- Me.TextBox28.Location = New System.Drawing.Point(72, 48)
- Me.TextBox28.Name = "TextBox28"
- Me.TextBox28.Size = New System.Drawing.Size(72, 20)
- Me.TextBox28.TabIndex = 15
- Me.TextBox28.Text = "TextBox28"
- '
- 'CheckBox15
- '
- Me.CheckBox15.Checked = True
- Me.CheckBox15.CheckState = System.Windows.Forms.CheckState.Checked
- Me.CheckBox15.ForeColor = System.Drawing.Color.Black
- Me.CheckBox15.Location = New System.Drawing.Point(168, 16)
- Me.CheckBox15.Name = "CheckBox15"
- Me.CheckBox15.Size = New System.Drawing.Size(120, 32)
- Me.CheckBox15.TabIndex = 18
- Me.CheckBox15.Text = "Mantieni dimensioni originali"
- '
- 'TabPage1
- '
- Me.TabPage1.Controls.Add(Me.Panel1)
- Me.TabPage1.Controls.Add(Me.GroupBox1)
- Me.TabPage1.Location = New System.Drawing.Point(4, 22)
- Me.TabPage1.Name = "TabPage1"
- Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
- Me.TabPage1.Size = New System.Drawing.Size(513, 351)
- Me.TabPage1.TabIndex = 0
- Me.TabPage1.Text = "Miniature"
- Me.TabPage1.UseVisualStyleBackColor = True
- '
- 'Panel1
- '
- Me.Panel1.Controls.Add(Me.CheckBox18)
- Me.Panel1.Controls.Add(Me.CheckBox4)
- Me.Panel1.Controls.Add(Me.CheckBox12)
- Me.Panel1.Location = New System.Drawing.Point(52, 236)
- Me.Panel1.Name = "Panel1"
- Me.Panel1.Size = New System.Drawing.Size(304, 73)
- Me.Panel1.TabIndex = 26
- Me.Panel1.Visible = False
- '
- 'CheckBox18
- '
- Me.CheckBox18.AutoSize = True
- Me.CheckBox18.Location = New System.Drawing.Point(140, 3)
- Me.CheckBox18.Name = "CheckBox18"
- Me.CheckBox18.Size = New System.Drawing.Size(84, 17)
- Me.CheckBox18.TabIndex = 36
- Me.CheckBox18.Text = "Numero foto"
- Me.CheckBox18.UseVisualStyleBackColor = True
- '
- 'CheckBox4
- '
- Me.CheckBox4.ForeColor = System.Drawing.Color.Black
- Me.CheckBox4.Location = New System.Drawing.Point(10, 3)
- Me.CheckBox4.Name = "CheckBox4"
- Me.CheckBox4.Size = New System.Drawing.Size(104, 17)
- Me.CheckBox4.TabIndex = 34
- Me.CheckBox4.Text = "Aggiungi scritta"
- '
- 'CheckBox12
- '
- Me.CheckBox12.ForeColor = System.Drawing.Color.Black
- Me.CheckBox12.Location = New System.Drawing.Point(10, 19)
- Me.CheckBox12.Name = "CheckBox12"
- Me.CheckBox12.Size = New System.Drawing.Size(104, 21)
- Me.CheckBox12.TabIndex = 35
- Me.CheckBox12.Text = "Aggiungi orario"
- '
- 'GroupBox1
- '
- Me.GroupBox1.Controls.Add(Me.Label46)
- Me.GroupBox1.Controls.Add(Me.TextBox33)
- Me.GroupBox1.Controls.Add(Me.Panel2)
- Me.GroupBox1.Controls.Add(Me.Label5)
- Me.GroupBox1.Controls.Add(Me.TextBox5)
- Me.GroupBox1.Controls.Add(Me.Label6)
- Me.GroupBox1.Controls.Add(Me.TextBox6)
- Me.GroupBox1.Controls.Add(Me.Label3)
- Me.GroupBox1.Controls.Add(Me.TextBox3)
- Me.GroupBox1.Controls.Add(Me.CheckBox1)
- Me.GroupBox1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox1.Location = New System.Drawing.Point(6, 5)
- Me.GroupBox1.Name = "GroupBox1"
- Me.GroupBox1.Size = New System.Drawing.Size(350, 210)
- Me.GroupBox1.TabIndex = 25
- Me.GroupBox1.TabStop = False
- Me.GroupBox1.Text = "Miniature"
- '
- 'Label46
- '
- Me.Label46.AutoSize = True
- Me.Label46.Location = New System.Drawing.Point(198, 43)
- Me.Label46.Name = "Label46"
- Me.Label46.Size = New System.Drawing.Size(40, 13)
- Me.Label46.TabIndex = 21
- Me.Label46.Text = "Qualità "
- '
- 'TextBox33
- '
- Me.TextBox33.Location = New System.Drawing.Point(244, 40)
- Me.TextBox33.Name = "TextBox33"
- Me.TextBox33.Size = New System.Drawing.Size(100, 20)
- Me.TextBox33.TabIndex = 20
- '
- 'Panel2
- '
- Me.Panel2.Controls.Add(Me.RadioButton3)
- Me.Panel2.Controls.Add(Me.RadioButton7)
- Me.Panel2.Controls.Add(Me.RadioButton4)
- Me.Panel2.Controls.Add(Me.RadioButton6)
- Me.Panel2.Controls.Add(Me.RadioButton5)
- Me.Panel2.Location = New System.Drawing.Point(56, 114)
- Me.Panel2.Name = "Panel2"
- Me.Panel2.Size = New System.Drawing.Size(235, 90)
- Me.Panel2.TabIndex = 19
- '
- 'RadioButton3
- '
- Me.RadioButton3.AutoSize = True
- Me.RadioButton3.Location = New System.Drawing.Point(15, 16)
- Me.RadioButton3.Name = "RadioButton3"
- Me.RadioButton3.Size = New System.Drawing.Size(99, 17)
- Me.RadioButton3.TabIndex = 14
- Me.RadioButton3.TabStop = True
- Me.RadioButton3.Text = "Aggiungi Scritta"
- Me.RadioButton3.UseVisualStyleBackColor = True
- '
- 'RadioButton7
- '
- Me.RadioButton7.AutoSize = True
- Me.RadioButton7.Location = New System.Drawing.Point(129, 40)
- Me.RadioButton7.Name = "RadioButton7"
- Me.RadioButton7.Size = New System.Drawing.Size(95, 17)
- Me.RadioButton7.TabIndex = 18
- Me.RadioButton7.TabStop = True
- Me.RadioButton7.Text = "numero+tempo"
- Me.RadioButton7.UseVisualStyleBackColor = True
- '
- 'RadioButton4
- '
- Me.RadioButton4.AutoSize = True
- Me.RadioButton4.Location = New System.Drawing.Point(15, 40)
- Me.RadioButton4.Name = "RadioButton4"
- Me.RadioButton4.Size = New System.Drawing.Size(95, 17)
- Me.RadioButton4.TabIndex = 15
- Me.RadioButton4.TabStop = True
- Me.RadioButton4.Text = "Aggiungi orario"
- Me.RadioButton4.UseVisualStyleBackColor = True
- '
- 'RadioButton6
- '
- Me.RadioButton6.AutoSize = True
- Me.RadioButton6.Location = New System.Drawing.Point(129, 16)
- Me.RadioButton6.Name = "RadioButton6"
- Me.RadioButton6.Size = New System.Drawing.Size(83, 17)
- Me.RadioButton6.TabIndex = 17
- Me.RadioButton6.TabStop = True
- Me.RadioButton6.Text = "Numero foto"
- Me.RadioButton6.UseVisualStyleBackColor = True
- '
- 'RadioButton5
- '
- Me.RadioButton5.AutoSize = True
- Me.RadioButton5.Location = New System.Drawing.Point(15, 65)
- Me.RadioButton5.Name = "RadioButton5"
- Me.RadioButton5.Size = New System.Drawing.Size(84, 17)
- Me.RadioButton5.TabIndex = 16
- Me.RadioButton5.TabStop = True
- Me.RadioButton5.Text = "Tempo Gara"
- Me.RadioButton5.UseVisualStyleBackColor = True
- '
- 'Label5
- '
- Me.Label5.AutoSize = True
- Me.Label5.ForeColor = System.Drawing.Color.Black
- Me.Label5.Location = New System.Drawing.Point(24, 88)
- Me.Label5.Name = "Label5"
- Me.Label5.Size = New System.Drawing.Size(41, 13)
- Me.Label5.TabIndex = 12
- Me.Label5.Text = "Altezza"
- '
- 'TextBox5
- '
- Me.TextBox5.Location = New System.Drawing.Point(72, 64)
- Me.TextBox5.Name = "TextBox5"
- Me.TextBox5.Size = New System.Drawing.Size(88, 20)
- Me.TextBox5.TabIndex = 10
- Me.TextBox5.Text = "TextBox5"
- '
- 'Label6
- '
- Me.Label6.AutoSize = True
- Me.Label6.ForeColor = System.Drawing.Color.Black
- Me.Label6.Location = New System.Drawing.Point(8, 64)
- Me.Label6.Name = "Label6"
- Me.Label6.Size = New System.Drawing.Size(56, 13)
- Me.Label6.TabIndex = 13
- Me.Label6.Text = "Larghezza"
- '
- 'TextBox6
- '
- Me.TextBox6.Location = New System.Drawing.Point(72, 88)
- Me.TextBox6.Name = "TextBox6"
- Me.TextBox6.Size = New System.Drawing.Size(88, 20)
- Me.TextBox6.TabIndex = 11
- Me.TextBox6.Text = "TextBox6"
- '
- 'Label3
- '
- Me.Label3.AutoSize = True
- Me.Label3.ForeColor = System.Drawing.Color.Black
- Me.Label3.Location = New System.Drawing.Point(24, 40)
- Me.Label3.Name = "Label3"
- Me.Label3.Size = New System.Drawing.Size(44, 13)
- Me.Label3.TabIndex = 7
- Me.Label3.Text = "Suffisso"
- '
- 'TextBox3
- '
- Me.TextBox3.Location = New System.Drawing.Point(72, 40)
- Me.TextBox3.Name = "TextBox3"
- Me.TextBox3.Size = New System.Drawing.Size(88, 20)
- Me.TextBox3.TabIndex = 6
- Me.TextBox3.Text = "TextBox3"
- '
- 'CheckBox1
- '
- Me.CheckBox1.ForeColor = System.Drawing.Color.Black
- Me.CheckBox1.Location = New System.Drawing.Point(72, 16)
- Me.CheckBox1.Name = "CheckBox1"
- Me.CheckBox1.Size = New System.Drawing.Size(104, 24)
- Me.CheckBox1.TabIndex = 5
- Me.CheckBox1.Text = "Crea miniature"
- '
- 'TabPage4
- '
- Me.TabPage4.Controls.Add(Me.GroupBox6)
- Me.TabPage4.Location = New System.Drawing.Point(4, 22)
- Me.TabPage4.Name = "TabPage4"
- Me.TabPage4.Padding = New System.Windows.Forms.Padding(3)
- Me.TabPage4.Size = New System.Drawing.Size(513, 351)
- Me.TabPage4.TabIndex = 3
- Me.TabPage4.Text = "Logo"
- Me.TabPage4.UseVisualStyleBackColor = True
- '
- 'GroupBox6
- '
- Me.GroupBox6.Controls.Add(Me.PictureBox2)
- Me.GroupBox6.Controls.Add(Me.PictureBox1)
- Me.GroupBox6.Controls.Add(Me.ComboBox5)
- Me.GroupBox6.Controls.Add(Me.ComboBox4)
- Me.GroupBox6.Controls.Add(Me.TextBox19)
- Me.GroupBox6.Controls.Add(Me.Label28)
- Me.GroupBox6.Controls.Add(Me.CheckBox5)
- Me.GroupBox6.Controls.Add(Me.TextBox15)
- Me.GroupBox6.Controls.Add(Me.TextBox14)
- Me.GroupBox6.Controls.Add(Me.Label25)
- Me.GroupBox6.Controls.Add(Me.TextBox16)
- Me.GroupBox6.Controls.Add(Me.Label24)
- Me.GroupBox6.Controls.Add(Me.Label22)
- Me.GroupBox6.Controls.Add(Me.Label23)
- Me.GroupBox6.Controls.Add(Me.Button4)
- Me.GroupBox6.Controls.Add(Me.TextBox10)
- Me.GroupBox6.Controls.Add(Me.Label29)
- Me.GroupBox6.Controls.Add(Me.Label30)
- Me.GroupBox6.Controls.Add(Me.PictureBox3)
- Me.GroupBox6.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
- Me.GroupBox6.Location = New System.Drawing.Point(6, 6)
- Me.GroupBox6.Name = "GroupBox6"
- Me.GroupBox6.Size = New System.Drawing.Size(496, 224)
- Me.GroupBox6.TabIndex = 42
- Me.GroupBox6.TabStop = False
- Me.GroupBox6.Text = "Logo"
- '
- 'PictureBox2
- '
- Me.PictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
- Me.PictureBox2.Location = New System.Drawing.Point(144, 192)
- Me.PictureBox2.Name = "PictureBox2"
- Me.PictureBox2.Size = New System.Drawing.Size(24, 24)
- Me.PictureBox2.TabIndex = 44
- Me.PictureBox2.TabStop = False
- Me.PictureBox2.Visible = False
- '
- 'PictureBox1
- '
- Me.PictureBox1.Cursor = System.Windows.Forms.Cursors.Cross
- Me.PictureBox1.Location = New System.Drawing.Point(256, 56)
- Me.PictureBox1.Name = "PictureBox1"
- Me.PictureBox1.Size = New System.Drawing.Size(224, 160)
- Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
- Me.PictureBox1.TabIndex = 43
- Me.PictureBox1.TabStop = False
- '
- 'ComboBox5
- '
- Me.ComboBox5.Location = New System.Drawing.Point(144, 168)
- Me.ComboBox5.Name = "ComboBox5"
- Me.ComboBox5.Size = New System.Drawing.Size(96, 21)
- Me.ComboBox5.TabIndex = 42
- Me.ComboBox5.Text = "ComboBox5"
- '
- 'ComboBox4
- '
- Me.ComboBox4.Location = New System.Drawing.Point(144, 144)
- Me.ComboBox4.Name = "ComboBox4"
- Me.ComboBox4.Size = New System.Drawing.Size(96, 21)
- Me.ComboBox4.TabIndex = 41
- Me.ComboBox4.Text = "ComboBox4"
- '
- 'TextBox19
- '
- Me.TextBox19.Location = New System.Drawing.Point(144, 96)
- Me.TextBox19.Name = "TextBox19"
- Me.TextBox19.Size = New System.Drawing.Size(96, 20)
- Me.TextBox19.TabIndex = 40
- Me.TextBox19.Text = "TextBox19"
- '
- 'Label28
- '
- Me.Label28.ForeColor = System.Drawing.Color.Black
- Me.Label28.Location = New System.Drawing.Point(17, 97)
- Me.Label28.Name = "Label28"
- Me.Label28.Size = New System.Drawing.Size(120, 16)
- Me.Label28.TabIndex = 39
- Me.Label28.Text = "Trasparenza (0-100%)"
- Me.Label28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'CheckBox5
- '
- Me.CheckBox5.ForeColor = System.Drawing.Color.Black
- Me.CheckBox5.Location = New System.Drawing.Point(0, 26)
- Me.CheckBox5.Name = "CheckBox5"
- Me.CheckBox5.Size = New System.Drawing.Size(72, 20)
- Me.CheckBox5.TabIndex = 38
- Me.CheckBox5.Text = "Aggiungi"
- '
- 'TextBox15
- '
- Me.TextBox15.Location = New System.Drawing.Point(144, 72)
- Me.TextBox15.Name = "TextBox15"
- Me.TextBox15.Size = New System.Drawing.Size(96, 20)
- Me.TextBox15.TabIndex = 19
- Me.TextBox15.Text = "TextBox15"
- '
- 'TextBox14
- '
- Me.TextBox14.Location = New System.Drawing.Point(144, 48)
- Me.TextBox14.Name = "TextBox14"
- Me.TextBox14.Size = New System.Drawing.Size(96, 20)
- Me.TextBox14.TabIndex = 18
- Me.TextBox14.Text = "TextBox14"
- '
- 'Label25
- '
- Me.Label25.AutoSize = True
- Me.Label25.ForeColor = System.Drawing.Color.Black
- Me.Label25.Location = New System.Drawing.Point(17, 168)
- Me.Label25.Name = "Label25"
- Me.Label25.Size = New System.Drawing.Size(95, 13)
- Me.Label25.TabIndex = 36
- Me.Label25.Text = "Posizione verticale"
- Me.Label25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'TextBox16
- '
- Me.TextBox16.Location = New System.Drawing.Point(144, 120)
- Me.TextBox16.Name = "TextBox16"
- Me.TextBox16.Size = New System.Drawing.Size(96, 20)
- Me.TextBox16.TabIndex = 35
- Me.TextBox16.Text = "TextBox16"
- '
- 'Label24
- '
- Me.Label24.AutoSize = True
- Me.Label24.ForeColor = System.Drawing.Color.Black
- Me.Label24.Location = New System.Drawing.Point(19, 123)
- Me.Label24.Name = "Label24"
- Me.Label24.Size = New System.Drawing.Size(88, 13)
- Me.Label24.TabIndex = 34
- Me.Label24.Text = "Margine (pixel/%)"
- Me.Label24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'Label22
- '
- Me.Label22.AutoSize = True
- Me.Label22.ForeColor = System.Drawing.Color.Black
- Me.Label22.Location = New System.Drawing.Point(19, 51)
- Me.Label22.Name = "Label22"
- Me.Label22.Size = New System.Drawing.Size(41, 13)
- Me.Label22.TabIndex = 20
- Me.Label22.Text = "Altezza"
- Me.Label22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'Label23
- '
- Me.Label23.AutoSize = True
- Me.Label23.ForeColor = System.Drawing.Color.Black
- Me.Label23.Location = New System.Drawing.Point(19, 75)
- Me.Label23.Name = "Label23"
- Me.Label23.Size = New System.Drawing.Size(56, 13)
- Me.Label23.TabIndex = 21
- Me.Label23.Text = "Larghezza"
- Me.Label23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'Button4
- '
- Me.Button4.Location = New System.Drawing.Point(464, 24)
- Me.Button4.Name = "Button4"
- Me.Button4.Size = New System.Drawing.Size(24, 20)
- Me.Button4.TabIndex = 8
- Me.Button4.Text = "..."
- '
- 'TextBox10
- '
- Me.TextBox10.Location = New System.Drawing.Point(144, 24)
- Me.TextBox10.Name = "TextBox10"
- Me.TextBox10.Size = New System.Drawing.Size(312, 20)
- Me.TextBox10.TabIndex = 6
- Me.TextBox10.Text = "TextBox10"
- '
- 'Label29
- '
- Me.Label29.AutoSize = True
- Me.Label29.ForeColor = System.Drawing.Color.Black
- Me.Label29.Location = New System.Drawing.Point(17, 147)
- Me.Label29.Name = "Label29"
- Me.Label29.Size = New System.Drawing.Size(105, 13)
- Me.Label29.TabIndex = 36
- Me.Label29.Text = "Posizione orizzontale"
- Me.Label29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- '
- 'Label30
- '
- Me.Label30.AutoSize = True
- Me.Label30.ForeColor = System.Drawing.Color.Black
- Me.Label30.Location = New System.Drawing.Point(19, 203)
- Me.Label30.Name = "Label30"
- Me.Label30.Size = New System.Drawing.Size(93, 13)
- Me.Label30.TabIndex = 36
- Me.Label30.Text = "Colore trasparente"
- Me.Label30.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
- Me.Label30.Visible = False
- '
- 'PictureBox3
- '
- Me.PictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
- Me.PictureBox3.Location = New System.Drawing.Point(216, 192)
- Me.PictureBox3.Name = "PictureBox3"
- Me.PictureBox3.Size = New System.Drawing.Size(24, 24)
- Me.PictureBox3.TabIndex = 44
- Me.PictureBox3.TabStop = False
- Me.PictureBox3.Visible = False
- '
- 'Label27
- '
- Me.Label27.Location = New System.Drawing.Point(591, 378)
- Me.Label27.Name = "Label27"
- Me.Label27.Size = New System.Drawing.Size(140, 20)
- Me.Label27.TabIndex = 62
- Me.Label27.Text = "Versione 2.2 2021"
- Me.Label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight
- '
- 'Button7
- '
- Me.Button7.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Button7.Location = New System.Drawing.Point(539, 120)
- Me.Button7.Name = "Button7"
- Me.Button7.Size = New System.Drawing.Size(192, 40)
- Me.Button7.TabIndex = 61
- Me.Button7.Text = "stop creazione"
- '
- 'Button5
- '
- Me.Button5.Font = New System.Drawing.Font("Microsoft Sans Serif", 11.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Button5.Location = New System.Drawing.Point(539, 43)
- Me.Button5.Name = "Button5"
- Me.Button5.Size = New System.Drawing.Size(192, 32)
- Me.Button5.TabIndex = 60
- Me.Button5.Text = "Salva impostazioni"
- '
- 'Label20
- '
- Me.Label20.AutoSize = True
- Me.Label20.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label20.Location = New System.Drawing.Point(539, 294)
- Me.Label20.Name = "Label20"
- Me.Label20.Size = New System.Drawing.Size(104, 16)
- Me.Label20.TabIndex = 59
- Me.Label20.Text = "foto generate:"
- '
- 'Label19
- '
- Me.Label19.AutoSize = True
- Me.Label19.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label19.Location = New System.Drawing.Point(539, 275)
- Me.Label19.Name = "Label19"
- Me.Label19.Size = New System.Drawing.Size(80, 16)
- Me.Label19.TabIndex = 58
- Me.Label19.Text = "foto totali: "
- '
- 'Label18
- '
- Me.Label18.AutoSize = True
- Me.Label18.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label18.Location = New System.Drawing.Point(643, 294)
- Me.Label18.Name = "Label18"
- Me.Label18.Size = New System.Drawing.Size(19, 20)
- Me.Label18.TabIndex = 57
- Me.Label18.Text = "0"
- '
- 'lblFotoTotaliNum
- '
- Me.lblFotoTotaliNum.AutoSize = True
- Me.lblFotoTotaliNum.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.lblFotoTotaliNum.Location = New System.Drawing.Point(643, 275)
- Me.lblFotoTotaliNum.Name = "lblFotoTotaliNum"
- Me.lblFotoTotaliNum.Size = New System.Drawing.Size(19, 20)
- Me.lblFotoTotaliNum.TabIndex = 56
- Me.lblFotoTotaliNum.Text = "0"
- '
- 'Label10
- '
- Me.Label10.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Label10.Location = New System.Drawing.Point(539, 163)
- Me.Label10.Name = "Label10"
- Me.Label10.Size = New System.Drawing.Size(192, 72)
- Me.Label10.TabIndex = 55
- Me.Label10.Text = "file"
- '
- 'btnCreaCatalogo
- '
- Me.btnCreaCatalogo.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.btnCreaCatalogo.Location = New System.Drawing.Point(539, 77)
- Me.btnCreaCatalogo.Name = "btnCreaCatalogo"
- Me.btnCreaCatalogo.Size = New System.Drawing.Size(102, 39)
- Me.btnCreaCatalogo.TabIndex = 53
- Me.btnCreaCatalogo.Text = "crea catalogo"
- '
- 'Button6
- '
- Me.Button6.Font = New System.Drawing.Font("Microsoft Sans Serif", 11.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
- Me.Button6.Location = New System.Drawing.Point(539, 12)
- Me.Button6.Name = "Button6"
- Me.Button6.Size = New System.Drawing.Size(192, 32)
- Me.Button6.TabIndex = 54
- Me.Button6.Text = "Carica impostazioni"
- '
- 'btnCreaCatalogoAsync
- '
- Me.btnCreaCatalogoAsync.Location = New System.Drawing.Point(647, 78)
- Me.btnCreaCatalogoAsync.Name = "btnCreaCatalogoAsync"
- Me.btnCreaCatalogoAsync.Size = New System.Drawing.Size(84, 38)
- Me.btnCreaCatalogoAsync.TabIndex = 68
- Me.btnCreaCatalogoAsync.Text = "Crea 2"
- Me.btnCreaCatalogoAsync.UseVisualStyleBackColor = True
- '
- 'MainForm
- '
- Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
- Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
- Me.ClientSize = New System.Drawing.Size(739, 401)
- Me.Controls.Add(Me.btnCreaCatalogoAsync)
- Me.Controls.Add(Me.ProgressBar1)
- Me.Controls.Add(Me.CheckBox22)
- Me.Controls.Add(Me.Label43)
- Me.Controls.Add(Me.TabControl1)
- Me.Controls.Add(Me.Label27)
- Me.Controls.Add(Me.Button7)
- Me.Controls.Add(Me.Button5)
- Me.Controls.Add(Me.Label20)
- Me.Controls.Add(Me.Label19)
- Me.Controls.Add(Me.Label18)
- Me.Controls.Add(Me.lblFotoTotaliNum)
- Me.Controls.Add(Me.Label10)
- Me.Controls.Add(Me.btnCreaCatalogo)
- Me.Controls.Add(Me.Button6)
- Me.MaximizeBox = False
- Me.Name = "MainForm"
- Me.Text = "Image Catalog"
- Me.TabControl1.ResumeLayout(False)
- Me.TabPage5.ResumeLayout(False)
- Me.GroupBox11.ResumeLayout(False)
- Me.GroupBox11.PerformLayout()
- Me.Panel3.ResumeLayout(False)
- Me.Panel3.PerformLayout()
- Me.GroupBox3.ResumeLayout(False)
- Me.GroupBox3.PerformLayout()
- Me.GroupBox8.ResumeLayout(False)
- Me.GroupBox8.PerformLayout()
- Me.GroupBox7.ResumeLayout(False)
- Me.GroupBox7.PerformLayout()
- Me.TabPage3.ResumeLayout(False)
- Me.TabPage3.PerformLayout()
- Me.GroupBox10.ResumeLayout(False)
- Me.GroupBox10.PerformLayout()
- Me.GroupBox9.ResumeLayout(False)
- Me.GroupBox9.PerformLayout()
- Me.GroupBox5.ResumeLayout(False)
- Me.GroupBox5.PerformLayout()
- Me.GroupBox4.ResumeLayout(False)
- Me.GroupBox4.PerformLayout()
- Me.TabPage2.ResumeLayout(False)
- Me.GroupBox2.ResumeLayout(False)
- Me.GroupBox2.PerformLayout()
- Me.TabPage1.ResumeLayout(False)
- Me.Panel1.ResumeLayout(False)
- Me.Panel1.PerformLayout()
- Me.GroupBox1.ResumeLayout(False)
- Me.GroupBox1.PerformLayout()
- Me.Panel2.ResumeLayout(False)
- Me.Panel2.PerformLayout()
- Me.TabPage4.ResumeLayout(False)
- Me.GroupBox6.ResumeLayout(False)
- Me.GroupBox6.PerformLayout()
- CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).EndInit()
- Me.ResumeLayout(False)
- Me.PerformLayout()
-
- End Sub
- Friend WithEvents ProgressBar1 As System.Windows.Forms.ProgressBar
- Friend WithEvents CheckBox22 As System.Windows.Forms.CheckBox
- Friend WithEvents Label43 As System.Windows.Forms.Label
- Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
- Friend WithEvents TabPage5 As System.Windows.Forms.TabPage
- Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
- Friend WithEvents chkAggiornaSottodirectory As System.Windows.Forms.CheckBox
- Friend WithEvents Button3 As System.Windows.Forms.Button
- Friend WithEvents Button2 As System.Windows.Forms.Button
- Friend WithEvents Label1 As System.Windows.Forms.Label
- Friend WithEvents Label2 As System.Windows.Forms.Label
- Friend WithEvents txtSorgente As System.Windows.Forms.TextBox
- Friend WithEvents txtDestinazione As System.Windows.Forms.TextBox
- Friend WithEvents GroupBox8 As System.Windows.Forms.GroupBox
- Friend WithEvents rdbNumFiles As System.Windows.Forms.RadioButton
- Friend WithEvents rdbNumProgressiva As System.Windows.Forms.RadioButton
- Friend WithEvents txtCifreContatore As System.Windows.Forms.TextBox
- Friend WithEvents Label34 As System.Windows.Forms.Label
- Friend WithEvents txtSuffissoCartelle As System.Windows.Forms.TextBox
- Friend WithEvents Label33 As System.Windows.Forms.Label
- Friend WithEvents Label31 As System.Windows.Forms.Label
- Friend WithEvents chkCreaSottocartelle As System.Windows.Forms.CheckBox
- Friend WithEvents txtFilePerCartella As System.Windows.Forms.TextBox
- Friend WithEvents Label32 As System.Windows.Forms.Label
- Friend WithEvents GroupBox7 As System.Windows.Forms.GroupBox
- Friend WithEvents chkRotazioneAutomatica As System.Windows.Forms.CheckBox
- Friend WithEvents chkForzaJpg As System.Windows.Forms.CheckBox
- Friend WithEvents TabPage3 As System.Windows.Forms.TabPage
- Friend WithEvents GroupBox10 As System.Windows.Forms.GroupBox
- Friend WithEvents Label42 As System.Windows.Forms.Label
- Friend WithEvents Label41 As System.Windows.Forms.Label
- Friend WithEvents TextBox31 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox30 As System.Windows.Forms.TextBox
- Friend WithEvents GroupBox9 As System.Windows.Forms.GroupBox
- Friend WithEvents CheckBox17 As System.Windows.Forms.CheckBox
- Friend WithEvents CheckBox16 As System.Windows.Forms.CheckBox
- Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
- Friend WithEvents TextBox34 As System.Windows.Forms.TextBox
- Friend WithEvents Button8 As System.Windows.Forms.Button
- Friend WithEvents Label36 As System.Windows.Forms.Label
- Friend WithEvents TextBox25 As System.Windows.Forms.TextBox
- Friend WithEvents Label35 As System.Windows.Forms.Label
- Friend WithEvents ComboBox3 As System.Windows.Forms.ComboBox
- Friend WithEvents TextBox11 As System.Windows.Forms.TextBox
- Friend WithEvents Label12 As System.Windows.Forms.Label
- Friend WithEvents Label11 As System.Windows.Forms.Label
- Friend WithEvents CheckBox3 As System.Windows.Forms.CheckBox
- Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
- Friend WithEvents Label40 As System.Windows.Forms.Label
- Friend WithEvents TextBox29 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox18 As System.Windows.Forms.TextBox
- Friend WithEvents Label26 As System.Windows.Forms.Label
- Friend WithEvents DateTimePicker1 As System.Windows.Forms.DateTimePicker
- Friend WithEvents CheckBox8 As System.Windows.Forms.CheckBox
- Friend WithEvents TextBox9 As System.Windows.Forms.TextBox
- Friend WithEvents CheckBox7 As System.Windows.Forms.CheckBox
- Friend WithEvents Label4 As System.Windows.Forms.Label
- Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
- Friend WithEvents Label9 As System.Windows.Forms.Label
- Friend WithEvents Label13 As System.Windows.Forms.Label
- Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
- Friend WithEvents ComboBox2 As System.Windows.Forms.ComboBox
- Friend WithEvents Label14 As System.Windows.Forms.Label
- Friend WithEvents TextBox12 As System.Windows.Forms.TextBox
- Friend WithEvents Label15 As System.Windows.Forms.Label
- Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
- Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
- Friend WithEvents Label45 As System.Windows.Forms.Label
- Friend WithEvents TextBox32 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox26 As System.Windows.Forms.TextBox
- Friend WithEvents Label37 As System.Windows.Forms.Label
- Friend WithEvents Label38 As System.Windows.Forms.Label
- Friend WithEvents TextBox27 As System.Windows.Forms.TextBox
- Friend WithEvents Label39 As System.Windows.Forms.Label
- Friend WithEvents TextBox28 As System.Windows.Forms.TextBox
- Friend WithEvents CheckBox15 As System.Windows.Forms.CheckBox
- Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
- Friend WithEvents Panel1 As System.Windows.Forms.Panel
- Friend WithEvents CheckBox18 As System.Windows.Forms.CheckBox
- Friend WithEvents CheckBox4 As System.Windows.Forms.CheckBox
- Friend WithEvents CheckBox12 As System.Windows.Forms.CheckBox
- Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
- Friend WithEvents Label46 As System.Windows.Forms.Label
- Friend WithEvents TextBox33 As System.Windows.Forms.TextBox
- Friend WithEvents Panel2 As System.Windows.Forms.Panel
- Friend WithEvents RadioButton3 As System.Windows.Forms.RadioButton
- Friend WithEvents RadioButton7 As System.Windows.Forms.RadioButton
- Friend WithEvents RadioButton4 As System.Windows.Forms.RadioButton
- Friend WithEvents RadioButton6 As System.Windows.Forms.RadioButton
- Friend WithEvents RadioButton5 As System.Windows.Forms.RadioButton
- Friend WithEvents Label5 As System.Windows.Forms.Label
- Friend WithEvents TextBox5 As System.Windows.Forms.TextBox
- Friend WithEvents Label6 As System.Windows.Forms.Label
- Friend WithEvents TextBox6 As System.Windows.Forms.TextBox
- Friend WithEvents Label3 As System.Windows.Forms.Label
- Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
- Friend WithEvents CheckBox1 As System.Windows.Forms.CheckBox
- Friend WithEvents TabPage4 As System.Windows.Forms.TabPage
- Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox
- Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox
- Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
- Friend WithEvents ComboBox5 As System.Windows.Forms.ComboBox
- Friend WithEvents ComboBox4 As System.Windows.Forms.ComboBox
- Friend WithEvents TextBox19 As System.Windows.Forms.TextBox
- Friend WithEvents Label28 As System.Windows.Forms.Label
- Friend WithEvents CheckBox5 As System.Windows.Forms.CheckBox
- Friend WithEvents TextBox15 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox14 As System.Windows.Forms.TextBox
- Friend WithEvents Label25 As System.Windows.Forms.Label
- Friend WithEvents TextBox16 As System.Windows.Forms.TextBox
- Friend WithEvents Label24 As System.Windows.Forms.Label
- Friend WithEvents Label22 As System.Windows.Forms.Label
- Friend WithEvents Label23 As System.Windows.Forms.Label
- Friend WithEvents Button4 As System.Windows.Forms.Button
- Friend WithEvents TextBox10 As System.Windows.Forms.TextBox
- Friend WithEvents Label29 As System.Windows.Forms.Label
- Friend WithEvents Label30 As System.Windows.Forms.Label
- Friend WithEvents PictureBox3 As System.Windows.Forms.PictureBox
- Friend WithEvents Label27 As System.Windows.Forms.Label
- Friend WithEvents Button7 As System.Windows.Forms.Button
- Friend WithEvents Button5 As System.Windows.Forms.Button
- Friend WithEvents Label20 As System.Windows.Forms.Label
- Friend WithEvents Label19 As System.Windows.Forms.Label
- Friend WithEvents Label18 As System.Windows.Forms.Label
- Friend WithEvents lblFotoTotaliNum As System.Windows.Forms.Label
- Friend WithEvents Label10 As System.Windows.Forms.Label
- Friend WithEvents btnCreaCatalogo As System.Windows.Forms.Button
- Friend WithEvents Button6 As System.Windows.Forms.Button
- Friend WithEvents GroupBox11 As System.Windows.Forms.GroupBox
- Friend WithEvents Label7 As System.Windows.Forms.Label
- Friend WithEvents TextBox7 As System.Windows.Forms.TextBox
- Friend WithEvents Label8 As System.Windows.Forms.Label
- Friend WithEvents TextBox8 As System.Windows.Forms.TextBox
- Friend WithEvents Panel3 As System.Windows.Forms.Panel
- Friend WithEvents rdbNuovoMetodo As System.Windows.Forms.RadioButton
- Friend WithEvents rdbVecchioMetodo As System.Windows.Forms.RadioButton
- Friend WithEvents CheckBox2 As System.Windows.Forms.CheckBox
- Friend WithEvents chkSovrascriviFile As System.Windows.Forms.CheckBox
- Friend WithEvents btnCreaCatalogoAsync As Button
-End Class
diff --git a/imagecatalog.backup/MainForm.cs b/imagecatalog.backup/MainForm.cs
deleted file mode 100644
index 29719bd..0000000
--- a/imagecatalog.backup/MainForm.cs
+++ /dev/null
@@ -1,1704 +0,0 @@
-using System;
-using System.Collections.Concurrent;
-using System.Collections.Generic;
-using System.Drawing;
-using System.Drawing.Text;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using CatalogVbLib;
-using MaddoShared;
-using Microsoft.VisualBasic;
-using Microsoft.VisualBasic.CompilerServices;
-using Microsoft.WindowsAPICodePack.Dialogs;
-
-namespace ImageCatalog
-{
- public delegate void XyThreadAdd(string Info);
-
- public partial class MainForm
- {
- public MainForm()
- {
- InitializeComponent();
- _Button3.Name = "Button3";
- _Button2.Name = "Button2";
- _Button8.Name = "Button8";
- _CheckBox18.Name = "CheckBox18";
- _CheckBox4.Name = "CheckBox4";
- _CheckBox12.Name = "CheckBox12";
- _PictureBox1.Name = "PictureBox1";
- _Button4.Name = "Button4";
- _Label27.Name = "Label27";
- _Button7.Name = "Button7";
- _Button5.Name = "Button5";
- //_btnCreaCatalogo.Name = "btnCreaCatalogo";
- _Button6.Name = "Button6";
- _btnCreaCatalogoAsync.Name = "btnCreaCatalogoAsync";
-
- _results = new ConcurrentBag();
- UiUpdateEvent += OnUiUpdateEvent;
-
- }
- private event EventHandler> UiUpdateEvent;
-
- delegate void SetTextCallback(Label target, string text);
-
- private void SetText(Label target, string text)
- {
-
- if (InvokeRequired)
- {
- SetTextCallback d = new SetTextCallback(SetText);
- this.Invoke(d, new object[] { target, text });
- }
- else
- {
- target.Text = text;
- }
- }
- delegate void SetProgressCallback(ProgressBar target, int amount, int maximum);
- private void SetProgress(ProgressBar target, int amount, int maximum)
- {
- if (InvokeRequired)
- {
- SetProgressCallback d = new SetProgressCallback(SetProgress);
- this.Invoke(d, new object[] { target, amount, maximum });
- }
- else
- {
- target.Maximum = maximum;
- target.Value = amount;
- }
- }
- private void OnUiUpdateEvent(object sender, Tuple args)
- {
- SetProgress(ProgressBar1, _results.Count, args.Item2);
- SetText(Label18, _results.Count.ToString());
- SetText(Label10, args.Item1);
- SetText(lblFotoTotaliNum, args.Item2.ToString());
- }
-
- /* TODO ERROR: Skipped DefineDirectiveTrivia */
- private bool StopAttivo;
- private bool WaterSelectColor = false;
-
- // Private ContaFotoCuori As Integer
- // Private TaskCuori() As PicInfo
-
- private XYThreadPool MyPool = new XYThreadPool();
- private int ContaImmaginiThread;
- private int maxThreads = 15;
- private int minThreads = 5;
-
- private ConcurrentBag _results;
-
- private void setDefaults()
- {
- txtSorgente.Text = "";
- txtDestinazione.Text = "";
- TextBox3.Text = "tn_";
- TextBox4.Text = "";
- TextBox5.Text = "350";
- TextBox6.Text = "350";
- TextBox27.Text = "2240";
- TextBox28.Text = "2240";
- TextBox9.Text = "0";
- TextBox11.Text = "20";
- TextBox12.Text = "8";
- // TextBox13.Text = ""
- TextBox10.Text = "";
- TextBox14.Text = "430";
- TextBox15.Text = "430";
- TextBox16.Text = "290";
- txtFilePerCartella.Text = "99";
- TextBox19.Text = "100";
- txtSuffissoCartelle.Text = "";
- txtCifreContatore.Text = "2";
- TextBox25.Text = "50";
- TextBox26.Text = "";
- TextBox7.Text = 4.ToString();
- TextBox8.Text = 4.ToString();
- TextBox34.Text = "Yellow";
- TextBox30.Text = "20";
- TextBox31.Text = "6";
- TextBox32.Text = "85";
- TextBox33.Text = "30";
- ComboBox1.Items.Add("Alto");
- ComboBox1.Items.Add("Basso");
- ComboBox1.SelectedIndex = 1;
- ComboBox2.Items.Add("Sinistra");
- ComboBox2.Items.Add("Centro");
- ComboBox2.Items.Add("Destra");
- ComboBox2.SelectedIndex = 1;
-
- // Create a obejct of InstalledFontCollection
- var InstalledFonts = new InstalledFontCollection();
- // Gets the array of FontFamily objects associated with this FontCollection.
- var fontfamilies = InstalledFonts.Families;
-
- // Populates font combobox with the font name
-
- foreach (FontFamily fontFamily in fontfamilies)
- ComboBox3.Items.Add(fontFamily.Name);
- ComboBox3.Text = ComboBox3.Items[0].ToString();
-
- // ComboBox3.Items.Add("Arial")
- // ComboBox3.Items.Add("Arial Black")
- // ComboBox3.Items.Add("Arial Narrow")
- // ComboBox3.Items.Add("Comic Sans MS")
- // ComboBox3.Items.Add("Courier New")
- // ComboBox3.Items.Add("System")
- // ComboBox3.Items.Add("Times New Roman")
- // ComboBox3.Items.Add("Verdana")
- // ComboBox3.Items.Add("Wingdings")
- // ComboBox3.SelectedIndex = 7
-
- ComboBox4.Items.Add("Sinistra");
- ComboBox4.Items.Add("Centro");
- ComboBox4.Items.Add("Destra");
- ComboBox4.SelectedIndex = 2;
- ComboBox5.Items.Add("Alto");
- ComboBox5.Items.Add("Centro");
- ComboBox5.Items.Add("Basso");
- ComboBox5.SelectedIndex = 2;
- }
-
- [DllImport("kernel32.dll", SetLastError = true)]
- private static extern bool AllocConsole();
-
- private void Form1_Load(object sender, EventArgs e)
- {
- Application.EnableVisualStyles();
- setDefaults();
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- AllocConsole();
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- Console.WriteLine("Programma avviato");
- }
-
- private void FixPaths()
- {
- if (txtSorgente.Text.EndsWith(@"\") == false)
- {
- txtSorgente.Text += @"\";
- }
-
- if (txtDestinazione.Text.EndsWith(@"\") == false)
- {
- txtDestinazione.Text += @"\";
- }
- }
-
- private void lockUI()
- {
- TabControl1.Enabled = false;
- Button5.Enabled = false;
- Button6.Enabled = false;
- btnCreaCatalogoAsync.Enabled = false;
- }
-
- private void unlockUI()
- {
- TabControl1.Enabled = true;
- Button5.Enabled = true;
- Button6.Enabled = true;
- btnCreaCatalogoAsync.Enabled = true;
- }
-
- private void btnCreaCatalogo_Click(object sender, EventArgs e)
- {
- lockUI();
- DateTime timeStart;
- var timeStop = default(DateTime);
- timeStart = DateAndTime.TimeOfDay;
- FixPaths();
- Label10.Text = "";
- lblFotoTotaliNum.Text = "0";
- Label18.Text = "0";
- Label43.Text = "-s";
- maxThreads = Conversions.ToInteger(TextBox7.Text);
- minThreads = Conversions.ToInteger(TextBox8.Text);
- if (rdbNuovoMetodo.Checked)
- {
- setPicSettings(txtSorgente.Text, txtDestinazione.Text);
- ProgressBar1.Minimum = 0;
- ProgressBar1.Step = 1;
- ProgressBar1.Value = 0;
- var t1 = new Thread(creaCatalogoThread);
- t1.IsBackground = false;
- t1.Start();
- }
- else if (rdbVecchioMetodo.Checked)
- {
- creaCatalogo(timeStart, timeStop);
- unlockUI();
- }
- }
-
- private void creaCatalogoThread()
- {
- var timeStart = DateAndTime.TimeOfDay;
- MyPool.StopThreadPool();
- MyPool.StartThreadPool(minThreads, maxThreads);
- ContaImmaginiThread = 0;
-
- // creaImmaginiWithThreadMod(txtSorgente.Text, txtDestinazione.Text)
- creaimmaginiWithThreadDict(txtSorgente.Text, txtDestinazione.Text);
- ThreadPoolWorkItem ThAttivo = null;
- int i = 0;
- /* TODO ERROR: Skipped DefineDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia */
-
- while (i != ContaImmaginiThread)
- {
- Thread.Sleep(100);
- ThAttivo = MyPool.ExtractWorkItem();
- if (ThAttivo is object)
- {
- i += 1;
- // stepProgressBar()
- int threads = MyPool.GetThreadCount();
- setLabel10Text("File: " + ThAttivo.m_sName + " Threads: " + threads.ToString());
-
- // setLabel18Text(ContaImmaginiThread.ToString)
- // setLabel18Text(i.ToString)
-
-
- // Label10.Text = "File: " & ThAttivo.m_sName
- // Label18.Text = ContaImmaginiThread.ToString
- }
- }
-
- MyPool.StopThreadPool();
- var timeStop = DateAndTime.TimeOfDay;
- setLabel10Text("Finito");
- setLabel43Text(CalcTime(timeStart, timeStop, ContaImmaginiThread));
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- }
-
- private void creaCatalogo(DateTime timeStart, DateTime timeStop)
- {
- // asdfg
- MyPool.StopThreadPool();
- MyPool.StartThreadPool(minThreads, maxThreads);
- ContaImmaginiThread = 0;
- CreaImmaginiWithThread(txtSorgente.Text, txtDestinazione.Text);
- ThreadPoolWorkItem ThAttivo = null;
- int i = 0;
- while (i != ContaImmaginiThread)
- {
- Thread.Sleep(100);
- ThAttivo = MyPool.ExtractWorkItem();
- if (ThAttivo is object)
- {
- i += 1;
- Label10.Text = "File: " + ThAttivo.m_sName;
- Label18.Text = ContaImmaginiThread.ToString();
- }
- }
-
- MyPool.StopThreadPool();
- timeStop = DateAndTime.TimeOfDay;
- CalcTime(timeStart, timeStop, ContaImmaginiThread);
- Label10.Text = "Finito";
- if (CheckBox22.Checked == true)
- {
- Interaction.Shell(@"%windir%\System32\shutdown.exe");
- }
- }
-
- private string CalcTime(DateTime timeStart, DateTime timeStop, int numFoto)
- {
- long timediffH, timediffS;
- long timediffM;
- timediffM = DateAndTime.DateDiff(DateInterval.Minute, timeStart, timeStop);
- timediffS = DateAndTime.DateDiff(DateInterval.Second, timeStart, timeStop);
- timediffH = DateAndTime.DateDiff(DateInterval.Hour, timeStart, timeStop);
- // dim s As String = "H:" + timediffH.ToString + " M:" + timediffM.ToString + " S:" + timediffS.ToString
-
- // Label43.Text = "H:" + timediffH.ToString + " M:" + timediffM.ToString + " S:" + timediffS.ToString
- double fotoSec = numFoto / (double)timediffS;
- double fotoMin = numFoto / (double)timediffM;
- double fotoOra = numFoto / (double)timediffH;
- string s = "S: " + timediffS.ToString() + "; F/s: " + fotoSec.ToString("0.000"); // + " F/m: " + fotoMin.ToString("0.00") + " F/h: " + fotoOra.ToString("0.00")
- return s;
- }
-
- private string SelectFolder(string startingFolder)
- {
- CommonOpenFileDialog dialog = new CommonOpenFileDialog
- {
- InitialDirectory = startingFolder,
- IsFolderPicker = true
- };
- if (dialog.ShowDialog() != CommonFileDialogResult.Ok) return null;
- var directoryScelta = dialog.FileName;
- if (directoryScelta.EndsWith(@"\") == false)
- {
- directoryScelta += @"\";
- }
-
- return directoryScelta;
-
- }
-
- private void Button2_Click(object sender, EventArgs e)
- {
- var dialogResult = SelectFolder(txtSorgente.Text);
- if (!string.IsNullOrWhiteSpace(dialogResult))
- {
- txtSorgente.Text = dialogResult;
- }
-
- //CommonOpenFileDialog dialog = new CommonOpenFileDialog();
- //dialog.InitialDirectory = txtSorgente.Text;
- //dialog.IsFolderPicker = true;
- //if (dialog.ShowDialog() == CommonFileDialogResult.Ok)
- //{
- // string directoryScelta = dialog.FileName;
- // if (directoryScelta.EndsWith(@"\") == false)
- // {
- // directoryScelta += @"\";
- // }
-
- // txtSorgente.Text = directoryScelta;
- //}
-
- //var DirSearch = new FolderBrowserDialog();
- //DirSearch.SelectedPath = txtSorgente.Text;
- //if (DialogResult.OK == DirSearch.ShowDialog())
- //{
- // string DirectoryScelta = DirSearch.SelectedPath;
- // if (DirectoryScelta.EndsWith(@"\") == false)
- // {
- // DirectoryScelta += @"\";
- // }
-
- // txtSorgente.Text = DirectoryScelta;
- //}
- }
-
- private void Button3_Click(object sender, EventArgs e)
- {
- var dialogResult = SelectFolder(txtDestinazione.Text);
- if (!string.IsNullOrWhiteSpace(dialogResult))
- {
- txtDestinazione.Text = dialogResult;
- }
-
- //var DirSearch = new FolderBrowserDialog();
- //DirSearch.SelectedPath = txtDestinazione.Text;
- //if (DialogResult.OK == DirSearch.ShowDialog())
- //{
- // string DirectoryScelta = DirSearch.SelectedPath;
- // if (DirectoryScelta.EndsWith(@"\") == false)
- // {
- // DirectoryScelta += @"\";
- // }
-
- // txtDestinazione.Text = DirectoryScelta;
- //}
-
- // Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- // Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- // openFileDialog.InitialDirectory = TextBox1.Text
- // openFileDialog.Filter = "Bitmap files (*.bmp)|*.bmp|Jpeg files (*.jpg)|*.jpg|All valid files (*.*)|*.*"
- // openFileDialog.FilterIndex = 2
- // openFileDialog.RestoreDirectory = True
-
- // If DialogResult.OK = openFileDialog.ShowDialog() Then
- // Dim IlNome As String = openFileDialog.FileName
- // Dim NomeFine As String = ""
- // Dim i As Integer
-
- // Dim Elenco As String()
- // Elenco = IlNome.Split(New Char() {"\"c})
- // For i = 0 To Elenco.Length - 1
- // NomeFine &= Elenco(i) & "\"
- // Next
-
- // TextBox1.Text = NomeFine
- // End If
- }
-
- private void Button5_Click(object sender, EventArgs e)
- {
- var SaveFileDlg = new SaveFileDialog();
-
- // SaveFileDlg.InitialDirectory = "c:\"
- SaveFileDlg.Filter = "Setup (*.xml)|*.xml|All valid files (*.*)|*.*";
- SaveFileDlg.FilterIndex = 0;
- SaveFileDlg.RestoreDirectory = true;
- if (DialogResult.OK == SaveFileDlg.ShowDialog())
- {
- string IlNome = SaveFileDlg.FileName;
- Module1.SetupIni.NomeFileSetup = IlNome;
- Module1.SetupIni.AggiornaParametro("DirSorgente", txtSorgente.Text);
- Module1.SetupIni.AggiornaParametro("DirDestinazione", txtDestinazione.Text);
- Module1.SetupIni.AggiornaParametro("DirSottoDirectory", chkAggiornaSottodirectory.Checked);
- Module1.SetupIni.AggiornaParametro("DirDividiDestinazione", chkCreaSottocartelle.Checked);
- Module1.SetupIni.AggiornaParametro("DirDividiNumFile", txtFilePerCartella.Text);
- Module1.SetupIni.AggiornaParametro("DirDividiSuffisso", txtSuffissoCartelle.Text);
- Module1.SetupIni.AggiornaParametro("DirDividiNumCifre", txtCifreContatore.Text);
- if (rdbNumProgressiva.Checked == true)
- {
- Module1.SetupIni.AggiornaParametro("DirDividiTipoNumerazione", "Progressiva");
- }
- else
- {
- Module1.SetupIni.AggiornaParametro("DirDividiTipoNumerazione", "Files");
- }
-
- Module1.SetupIni.AggiornaParametro("MiniatureCrea", CheckBox1.Checked);
- Module1.SetupIni.AggiornaParametro("MiniatureSuffisso", TextBox3.Text);
- Module1.SetupIni.AggiornaParametro("MiniatureAltezza", TextBox5.Text);
- Module1.SetupIni.AggiornaParametro("MiniatureLarghezza", TextBox6.Text);
- Module1.SetupIni.AggiornaParametro("MiniatureAddScritta", RadioButton3.Checked);
- Module1.SetupIni.AggiornaParametro("MiniatureAddOrario", RadioButton4.Checked);
- Module1.SetupIni.AggiornaParametro("FotoAltezza", TextBox27.Text);
- Module1.SetupIni.AggiornaParametro("FotoLarghezza", TextBox28.Text);
- // SetupIni.AggiornaParametro("FotoCodice", TextBox13.Text)
- // SetupIni.AggiornaParametro("FotoDimOriginali", CheckBox2.Checked)
-
- Module1.SetupIni.AggiornaParametro("FontDimensione", TextBox11.Text);
- Module1.SetupIni.AggiornaParametro("FontDimensioneMiniatura", TextBox25.Text);
- Module1.SetupIni.AggiornaParametro("FontBold", CheckBox3.Checked);
- Module1.SetupIni.AggiornaParametro("FontNome", ComboBox3.Text);
- Module1.SetupIni.AggiornaParametro("TestoTesto", TextBox4.Text);
- Module1.SetupIni.AggiornaParametro("TestoTrasparente", TextBox9.Text);
- Module1.SetupIni.AggiornaParametro("TestoMargine", TextBox12.Text);
- Module1.SetupIni.AggiornaParametro("TestoPosizione", ComboBox1.Text);
- Module1.SetupIni.AggiornaParametro("TestoAllineamento", ComboBox2.Text);
- Module1.SetupIni.AggiornaParametro("MarchioFile", TextBox10.Text);
- Module1.SetupIni.AggiornaParametro("MarchioAltezza", TextBox14.Text);
- Module1.SetupIni.AggiornaParametro("MarchioLarghezza", TextBox15.Text);
- Module1.SetupIni.AggiornaParametro("MarchioMargine", TextBox16.Text);
- Module1.SetupIni.AggiornaParametro("MarchioAllOrizzontale", ComboBox4.Text);
- Module1.SetupIni.AggiornaParametro("MarchioAllVerticale", ComboBox5.Text);
- Module1.SetupIni.AggiornaParametro("MarchioTrasparenza", TextBox19.Text);
- Module1.SetupIni.AggiornaParametro("MarchioAggiungi", CheckBox5.Checked);
- Module1.SetupIni.AggiornaParametro("TempoGara", CheckBox7.Checked);
- Module1.SetupIni.AggiornaParametro("Orario", CheckBox8.Checked);
- Module1.SetupIni.AggiornaParametro("EtichettaOrario", TextBox18.Text);
- Module1.SetupIni.AggiornaParametro("GeneraleForzaJpg", chkForzaJpg.Checked);
- Module1.SetupIni.AggiornaParametro("GeneraleRotazioneAutomatica", chkRotazioneAutomatica.Checked);
- Module1.SetupIni.AggiornaParametro("GrandezzaVerticale", TextBox30.Text);
- Module1.SetupIni.AggiornaParametro("MargineVerticale", TextBox31.Text);
- Module1.SetupIni.AggiornaParametro("DimensioniOriginali", CheckBox15.Checked);
- Module1.SetupIni.AggiornaParametro("TestoVerticale", TextBox29.Text);
- Module1.SetupIni.AggiornaParametro("NomeMiniatura", RadioButton6.Checked);
- Module1.SetupIni.AggiornaParametro("DataFoto", CheckBox16.Checked);
- Module1.SetupIni.AggiornaParametro("NumeroFoto", CheckBox17.Checked);
- Module1.SetupIni.AggiornaParametro("ColoreTestoRGB", TextBox34.Text);
- Module1.SetupIni.AggiornaParametro("TempoSmall", RadioButton5.Checked);
- Module1.SetupIni.AggiornaParametro("NumTempoSmall", RadioButton7.Checked);
- Module1.SetupIni.AggiornaParametro("CompressioneJpeg", TextBox32.Text);
- Module1.SetupIni.AggiornaParametro("CompressioneJpegMiniatura", TextBox33.Text);
- // 2021
- Module1.SetupIni.AggiornaParametro("ChunkSize", TextBox8.Text);
- Module1.SetupIni.AggiornaParametro("ThreadsCount", TextBox7.Text);
- Module1.SetupIni.SalvaParametriSetup();
- Text = "Image Catalog - " + LeggiSoloNomeFile(IlNome);
- }
- }
-
- private void Button6_Click(object sender, EventArgs e)
- {
- var openFileDialog = new OpenFileDialog();
-
- // openFileDialog.InitialDirectory = TextBox1.Text
- openFileDialog.Filter = "Setup (*.xml)|*.xml|All valid files (*.*)|*.*";
- openFileDialog.FilterIndex = 0;
- openFileDialog.RestoreDirectory = true;
- if (DialogResult.OK == openFileDialog.ShowDialog())
- {
- string IlNome = openFileDialog.FileName;
- Module1.SetupIni.NomeFileSetup = IlNome;
- Module1.SetupIni.CaricaParametriSetup();
- txtSorgente.Text = Module1.SetupIni.LeggiParametroString("DirSorgente");
- txtDestinazione.Text = Module1.SetupIni.LeggiParametroString("DirDestinazione");
- chkAggiornaSottodirectory.Checked = Module1.SetupIni.LeggiParametroBoolean("DirSottoDirectory");
- chkCreaSottocartelle.Checked = Module1.SetupIni.LeggiParametroBoolean("DirDividiDestinazione");
- txtFilePerCartella.Text = Module1.SetupIni.LeggiParametroString("DirDividiNumFile");
- txtSuffissoCartelle.Text = Module1.SetupIni.LeggiParametroString("DirDividiSuffisso");
- txtCifreContatore.Text = Module1.SetupIni.LeggiParametroString("DirDividiNumCifre");
- string TestoTemp = Module1.SetupIni.LeggiParametroString("DirDividiTipoNumerazione");
- if (TestoTemp.ToUpper() == "PROGRESSIVA")
- {
- rdbNumProgressiva.Checked = true;
- }
- else
- {
- rdbNumFiles.Checked = true;
- }
-
- CheckBox1.Checked = Module1.SetupIni.LeggiParametroBoolean("MiniatureCrea");
- TextBox3.Text = Module1.SetupIni.LeggiParametroString("MiniatureSuffisso");
- TextBox5.Text = Module1.SetupIni.LeggiParametroString("MiniatureAltezza");
- TextBox6.Text = Module1.SetupIni.LeggiParametroString("MiniatureLarghezza");
- RadioButton3.Checked = Module1.SetupIni.LeggiParametroBoolean("MiniatureAddScritta");
- RadioButton4.Checked = Module1.SetupIni.LeggiParametroBoolean("MiniatureAddOrario");
- TextBox27.Text = Module1.SetupIni.LeggiParametroString("FotoAltezza");
- TextBox28.Text = Module1.SetupIni.LeggiParametroString("FotoLarghezza");
- // TextBox13.Text = SetupIni.LeggiParametroString("FotoCodice")
- // CheckBox2.Checked = SetupIni.LeggiParametroBoolean("FotoDimOriginali")
-
- TextBox11.Text = Module1.SetupIni.LeggiParametroString("FontDimensione");
- TextBox25.Text = Module1.SetupIni.LeggiParametroString("FontDimensioneMiniatura");
- CheckBox3.Checked = Module1.SetupIni.LeggiParametroBoolean("FontBold");
- ComboBox3.Text = Module1.SetupIni.LeggiParametroString("FontNome");
- if (string.IsNullOrEmpty(TextBox25.Text))
- {
- TextBox25.Text = "0";
- }
-
- TextBox4.Text = Module1.SetupIni.LeggiParametroString("TestoTesto");
- TextBox9.Text = Module1.SetupIni.LeggiParametroString("TestoTrasparente");
- TextBox12.Text = Module1.SetupIni.LeggiParametroString("TestoMargine");
- ComboBox1.Text = Module1.SetupIni.LeggiParametroString("TestoPosizione");
- ComboBox2.Text = Module1.SetupIni.LeggiParametroString("TestoAllineamento");
- TextBox10.Text = Module1.SetupIni.LeggiParametroString("MarchioFile");
- TextBox14.Text = Module1.SetupIni.LeggiParametroString("MarchioAltezza");
- TextBox15.Text = Module1.SetupIni.LeggiParametroString("MarchioLarghezza");
- TextBox16.Text = Module1.SetupIni.LeggiParametroString("MarchioMargine");
- ComboBox4.Text = Module1.SetupIni.LeggiParametroString("MarchioAllOrizzontale");
- ComboBox5.Text = Module1.SetupIni.LeggiParametroString("MarchioAllVerticale");
- TextBox19.Text = Module1.SetupIni.LeggiParametroString("MarchioTrasparenza");
- CheckBox5.Checked = Module1.SetupIni.LeggiParametroBoolean("MarchioAggiungi");
- CheckBox7.Checked = Module1.SetupIni.LeggiParametroBoolean("TempoGara");
- CheckBox8.Checked = Module1.SetupIni.LeggiParametroBoolean("Orario");
- TextBox18.Text = Module1.SetupIni.LeggiParametroString("EtichettaOrario");
- chkForzaJpg.Checked = Module1.SetupIni.LeggiParametroBoolean("GeneraleForzaJpg");
- chkRotazioneAutomatica.Checked = Module1.SetupIni.LeggiParametroBoolean("GeneraleRotazioneAutomatica");
- TextBox30.Text = Module1.SetupIni.LeggiParametroString("GrandezzaVerticale");
- TextBox31.Text = Module1.SetupIni.LeggiParametroString("MargineVerticale");
- CheckBox15.Checked = Module1.SetupIni.LeggiParametroBoolean("DimensioniOriginali");
- TextBox29.Text = Module1.SetupIni.LeggiParametroString("TestoVerticale");
- RadioButton6.Checked = Module1.SetupIni.LeggiParametroBoolean("NomeMiniatura");
- CheckBox16.Checked = Module1.SetupIni.LeggiParametroBoolean("DataFoto");
- CheckBox17.Checked = Module1.SetupIni.LeggiParametroBoolean("NumeroFoto");
- RadioButton5.Checked = Module1.SetupIni.LeggiParametroBoolean("TempoSmall");
- RadioButton7.Checked = Module1.SetupIni.LeggiParametroBoolean("NumTempoSmall");
- TextBox32.Text = Module1.SetupIni.LeggiParametroString("CompressioneJpeg");
- TextBox33.Text = Module1.SetupIni.LeggiParametroString("CompressioneJpegMiniatura");
- TextBox34.Text = Module1.SetupIni.LeggiParametroString("ColoreTestoRGB");
- if (File.Exists(TextBox10.Text))
- {
- PictureBox1.Image = Image.FromFile(TextBox10.Text);
- if (PictureBox1.Image.Height >= PictureBox1.Image.Width)
- {
- PictureBox1.Height = 160;
- PictureBox1.Width = Conversions.ToInteger(160 * PictureBox1.Image.Width / (double)PictureBox1.Image.Height);
- }
- else
- {
- PictureBox1.Width = 224;
- PictureBox1.Height = Conversions.ToInteger(224 * PictureBox1.Image.Height / (double)PictureBox1.Image.Width);
- }
- }
-
- Text = "Image Catalog - " + LeggiSoloNomeFile(IlNome);
-
- // 2021
- TextBox8.Text = Module1.SetupIni.LeggiParametroString("ChunkSize");
- TextBox7.Text = Module1.SetupIni.LeggiParametroString("ThreadsCount");
-
- }
- }
-
- private void setPicSettings(string SourcePath, string DestPath)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- var DestDirStart = new DirectoryInfo(DestPath);
- DirectoryInfo DestDir = null;
- PicSettings.DirectorySorgente = txtSorgente.Text;
- PicSettings.DirectoryDestinazione = txtDestinazione.Text;
-
- // PicSettings.DestDir = DestDir
- // PicSettings.SourceDir = SourceDir
- // PicSettings.DestDirStart = DestDirStart
-
- PicSettings.DimStandard = Conversions.ToInteger(TextBox11.Text);
- PicSettings.DimStandardMiniatura = Conversions.ToInteger(TextBox25.Text);
- PicSettings.UsaOrarioMiniatura = CheckBox12.Checked;
- PicSettings.UsaOrarioTestoApplicare = CheckBox8.Checked;
- PicSettings.UsaTempoGaraTestoApplicare = CheckBox7.Checked;
- PicSettings.UsaRotazioneAutomatica = chkRotazioneAutomatica.Checked;
- PicSettings.UsaForzaJpg = chkForzaJpg.Checked;
- if (CheckBox17.Checked)
- {
- PicSettings.TestoNome = true;
- }
- else
- {
- PicSettings.TestoNome = false;
- }
-
- if (CheckBox16.Checked)
- {
- PicSettings.NomeData = true;
- }
- else
- {
- PicSettings.NomeData = false;
- }
-
- PicSettings.TestoFirmaStart = TextBox4.Text;
- PicSettings.TestoFirmaStartV = TextBox29.Text;
- PicSettings.DataPartenza = DateTimePicker1.Value;
- PicSettings.TestoOrario = TextBox18.Text;
- PicSettings.AltezzaSmall = Conversions.ToInteger(TextBox6.Text);
- PicSettings.LarghezzaSmall = Conversions.ToInteger(TextBox5.Text);
- PicSettings.CreaMiniature = CheckBox1.Checked;
- PicSettings.AggiungiScritteMiniature = RadioButton3.Checked;
- PicSettings.AggTempoGaraMin = RadioButton5.Checked;
- PicSettings.AggNumTempMin = RadioButton7.Checked;
- PicSettings.DimVert = Conversions.ToInteger(TextBox30.Text);
- PicSettings.MargVert = Conversions.ToInteger(TextBox31.Text);
-
- // PicSettings.NomeFileChild = childFile.Name
- PicSettings.Suffisso = TextBox3.Text;
- // PicSettings.Codice = TextBox13.Text
-
- PicSettings.Trasparenza = Conversions.ToInteger(TextBox9.Text);
- PicSettings.IlFont = ComboBox3.SelectedItem.ToString();
- PicSettings.Grassetto = CheckBox3.Checked;
- PicSettings.Posizione = ComboBox1.SelectedItem.ToString();
- PicSettings.Allineamento = ComboBox2.SelectedItem.ToString();
- PicSettings.Margine = Conversions.ToInteger(TextBox12.Text);
- PicSettings.LogoAltezza = Conversions.ToInteger(TextBox14.Text);
- PicSettings.LogoLarghezza = Conversions.ToInteger(TextBox15.Text);
- PicSettings.fontColoreRGB = ColorTranslator.FromHtml(TextBox34.Text);
- PicSettings.LogoAggiungi = CheckBox5.Checked;
- PicSettings.LogoNomeFile = TextBox10.Text;
- PicSettings.LogoTrasparenza = TextBox19.Text;
- PicSettings.LogoMargine = TextBox16.Text;
- PicSettings.LogoPosizioneH = ComboBox4.Text;
- PicSettings.LogoPosizioneV = ComboBox5.Text;
- PicSettings.FotoGrandeDimOrigina = CheckBox15.Checked;
- PicSettings.AltezzaBig = Conversions.ToInteger(TextBox27.Text);
- PicSettings.LarghezzaBig = Conversions.ToInteger(TextBox28.Text);
- PicSettings.DimMin = Conversions.ToInteger(TextBox25.Text);
- PicSettings.TestoMin = RadioButton6.Checked;
- PicSettings.jpegQuality = Conversions.ToLong(TextBox32.Text);
- PicSettings.jpegQualityMin = Conversions.ToLong(TextBox33.Text);
- PicSettings.mainForm = this;
- }
-
- private List> makeFilesList(string SourcePath)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- DirectoryInfo DestDir = null;
- int NumFileXDir = Conversions.ToInteger(txtFilePerCartella.Text);
- string SuffixDir = txtSuffissoCartelle.Text;
- int NumCifreDir = Conversions.ToInteger(txtCifreContatore.Text);
- bool DividiFile = false;
- StopAttivo = false;
- int FileConta = 0;
- int ContaFileXDir = 0;
- int ContaDirXDir = 0;
- string TestoTemp = "";
- int ContaTemp = 0;
- var picList = new List();
- var dirList = new List>();
-
-
- // controlla directory principale
- // Dim childFile As FileInfo
- // For Each childFile In SourceDir.GetFiles("*.jpg")
- // picList.Add(childFile)
- // Next
-
- // picList = getFiles(SourceDir, SearchOption.AllDirectories)
-
- // dirList.Add(picList)
-
- // controlla sottodirectory
- if (chkAggiornaSottodirectory.Checked == true)
- {
- foreach (var subDir in SourceDir.GetDirectories())
- {
- var filesList = new List();
- filesList = getFiles(subDir);
- dirList.Add(filesList);
- }
- }
-
- return dirList;
- }
-
- private List getFiles(DirectoryInfo sourceDir)
- {
- var picList = new List();
- foreach (var childFile in sourceDir.GetFiles("*.jpg"))
- picList.Add(childFile);
- return picList;
- }
-
- private Dictionary getDirsDict(string SourcePath, string DestPath)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- var DestDirStart = new DirectoryInfo(DestPath);
- DirectoryInfo DestDir = null;
- int NumFileXDir = Conversions.ToInteger(txtFilePerCartella.Text);
- string SuffixDir = txtSuffissoCartelle.Text;
- int NumCifreDir = Conversions.ToInteger(txtCifreContatore.Text);
- bool DividiFile = false;
- StopAttivo = false;
- int FileConta = 0;
- int ContaFileXDir = 0;
- int ContaDirXDir = 0;
- // Dim TestoTemp As String = ""
- // Dim ContaTemp As Integer = 0
- var dirSourceDest = new Dictionary();
- if (SourceDir.Exists)
- {
- if (chkAggiornaSottodirectory.Checked)
- {
- FileConta = SourceDir.GetFiles("*.jpg", SearchOption.AllDirectories).GetLength(0);
- }
- else
- {
- FileConta = SourceDir.GetFiles("*.jpg", SearchOption.TopDirectoryOnly).GetLength(0);
- }
-
- string a = (Conversions.ToInteger(lblFotoTotaliNum.Text) + FileConta).ToString();
- setLabel17Text(a);
- setProgressBarMaximum(Conversions.ToInteger(a));
- if (chkAggiornaSottodirectory.Checked)
- {
- foreach (DirectoryInfo directory in SourceDir.GetDirectories())
- {
- foreach (FileInfo file in directory.GetFiles(".jpg"))
- {
- }
- }
- }
-
- foreach (FileInfo file in SourceDir.GetFiles("*.jpg", SearchOption.AllDirectories))
- {
- }
-
- if (NumFileXDir > 0 & chkCreaSottocartelle.Checked == true & FileConta > NumFileXDir)
- {
- DividiFile = true;
- }
- else
- {
- DestDir = DestDirStart;
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
-
- DividiFile = false;
- }
-
- var filesList = new List();
- if (chkAggiornaSottodirectory.Checked)
- {
- filesList.AddRange(SourceDir.GetFiles("*.jpg", SearchOption.AllDirectories));
- filesList.AddRange(SourceDir.GetFiles("*.png", SearchOption.AllDirectories));
- }
- else
- {
- filesList.AddRange(SourceDir.GetFiles("*.jpg", SearchOption.TopDirectoryOnly));
- filesList.AddRange(SourceDir.GetFiles("*.png", SearchOption.TopDirectoryOnly));
- }
-
- foreach (FileInfo file in filesList)
- {
- ContaFileXDir += 1;
- if (DividiFile == true)
- {
- if (ContaFileXDir == ContaDirXDir * NumFileXDir + 1)
- {
- ContaDirXDir += 1;
- string TestoTemp;
- if (rdbNumProgressiva.Checked == true)
- {
- TestoTemp = ContaDirXDir.ToString();
- }
- else
- {
- TestoTemp = (ContaDirXDir * NumFileXDir).ToString();
- }
-
- for (int ContaTemp = 1, loopTo = NumCifreDir - TestoTemp.Length; ContaTemp <= loopTo; ContaTemp++)
- TestoTemp = "0" + TestoTemp;
- DestDir = new DirectoryInfo(Path.Combine(DestDirStart.FullName, SuffixDir, TestoTemp));
- // DestDir = New DirectoryInfo(DestDirStart.FullName & IIf(Not DestDirStart.FullName.EndsWith("\"), "\", String.Empty).ToString & SuffixDir & TestoTemp)
- dirSourceDest.Add(file, DestDir);
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
- }
- }
- }
- }
-
- return dirSourceDest;
- }
-
- private void setLabel17Text(string text)
- {
- if (lblFotoTotaliNum.InvokeRequired)
- {
- lblFotoTotaliNum.Invoke(new Action(setLabel17Text), text);
- }
- else
- {
- lblFotoTotaliNum.Text = text;
- }
- }
-
- private void setLabel10Text(string text)
- {
- if (Label10.InvokeRequired)
- {
- Label10.Invoke(new Action(setLabel10Text), text);
- }
- else
- {
- Label10.Text = text;
- }
- }
-
- public void stepProgressBar()
- {
- if (ProgressBar1.InvokeRequired)
- {
- ProgressBar1.Invoke(new MethodInvoker(ProgressBar1.PerformStep));
- }
- else
- {
- ProgressBar1.PerformStep();
- }
-
- setLabel18Text(ProgressBar1.Value.ToString());
- }
-
- private void setProgressBarMaximum(int value)
- {
- if (ProgressBar1.InvokeRequired)
- {
- ProgressBar1.Invoke(new Action(setProgressBarMaximum), (object)value);
- }
- else
- {
- ProgressBar1.Maximum = value;
- }
- }
-
- private void setProgressBarValue(int value)
- {
- if (ProgressBar1.InvokeRequired)
- {
- ProgressBar1.Invoke(new Action(setProgressBarValue), (object)value);
- }
- else
- {
- ProgressBar1.Value = value;
- }
- }
-
- private void setLabel18Text(string text)
- {
- if (Label18.InvokeRequired)
- {
- Label18.Invoke(new Action(setLabel18Text), text);
- }
- else
- {
- Label18.Text = text;
- }
- }
-
- private void setLabel43Text(string text)
- {
- if (Label43.InvokeRequired)
- {
- Label43.Invoke(new Action(setLabel43Text), text);
- }
- else
- {
- Label43.Text = text;
- }
- }
-
- private void creaImmaginiWithThreadMod(string SourcePath, string DestPath)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- var DestDirStart = new DirectoryInfo(DestPath);
- DirectoryInfo DestDir = null;
- int NumFileXDir = Conversions.ToInteger(txtFilePerCartella.Text);
- string SuffixDir = txtSuffissoCartelle.Text;
- int NumCifreDir = Conversions.ToInteger(txtCifreContatore.Text);
- bool DividiFile = false;
- StopAttivo = false;
- int FileConta = 0;
- int ContaFileXDir = 0;
- int ContaDirXDir = 0;
- string TestoTemp = "";
- int ContaTemp = 0;
- if (SourceDir.Exists)
- {
- FileConta = SourceDir.GetFiles("*.jpg").GetLength(0);
- // Label17.Text = (CType(Label17.Text, Integer) + FileConta).ToString
- string a = (Conversions.ToInteger(lblFotoTotaliNum.Text) + FileConta).ToString();
- setLabel17Text(a);
- setProgressBarMaximum(Conversions.ToInteger(a));
- if (NumFileXDir > 0 & chkCreaSottocartelle.Checked == true)
- {
- if (FileConta > NumFileXDir)
- {
- DividiFile = true;
- }
- else
- {
- DestDir = DestDirStart;
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
-
- DividiFile = false;
- }
- }
- else
- {
- DestDir = DestDirStart;
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
-
- DividiFile = false;
- }
-
- foreach (var childFile in SourceDir.GetFiles("*.jpg"))
- {
- if (StopAttivo == true)
- {
- break;
- }
-
- setLabel10Text("File: " + childFile.Name);
- string b = (Conversions.ToInteger(Label18.Text) + 1).ToString();
- // setLabel18Text(b)
- // setProgressBarValue(CInt(b))
- // Label10.Text = "File: " & childFile.Name
- // Label18.Text = (CType(Label18.Text, Integer) + 1).ToString
- // Application.DoEvents()
-
- ContaFileXDir += 1;
- if (DividiFile == true)
- {
- if (ContaFileXDir == ContaDirXDir * NumFileXDir + 1)
- {
- ContaDirXDir += 1;
- if (rdbNumProgressiva.Checked == true)
- {
- TestoTemp = ContaDirXDir.ToString();
- }
- else
- {
- TestoTemp = (ContaDirXDir * NumFileXDir).ToString();
- }
-
- var loopTo = NumCifreDir - TestoTemp.Length;
- for (ContaTemp = 1; ContaTemp <= loopTo; ContaTemp++)
- TestoTemp = "0" + TestoTemp;
- if (DestDirStart.FullName.EndsWith(@"\"))
- {
- DestDir = new DirectoryInfo(DestDirStart.FullName + SuffixDir + TestoTemp);
- }
- else
- {
- DestDir = new DirectoryInfo(DestDirStart.FullName + @"\" + SuffixDir + TestoTemp);
- }
-
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
- }
- }
-
- // Application.DoEvents()
-
-
-
- var ClsCreaImmagine = new ImageCreatorSharp(childFile.Name, SourceDir, DestDir, DestDirStart);
- // ClsCreaImmagine.NomeFileChild = childFile.Name
- // ClsCreaImmagine.DestDir = DestDir
- // ClsCreaImmagine.SourceDir = SourceDir
- // ClsCreaImmagine.DestDirStart = DestDirStart
-
- ContaImmaginiThread += 1;
- //MyPool.InsertWorkItem(childFile.Name, new XyThreadAdd((_) => ClsCreaImmagine.CreaImmagineThread()), new object[1] { childFile.Name }, true);
- }
- // copy all the sub-directories by recursively calling this same routine
- if (chkAggiornaSottodirectory.Checked == true)
- {
- foreach (var subDir in SourceDir.GetDirectories())
- creaImmaginiWithThreadMod(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name));
- }
- }
- }
-
- private int getNumerazione()
- {
- int numerazione;
- if (rdbNumProgressiva.Checked)
- {
- numerazione = (int)FileHelper.numerazione.Progressiva;
- }
- else
- {
- numerazione = (int)FileHelper.numerazione.Files;
- }
-
- return numerazione;
- }
-
- private NumerazioneType GetNumerazioneEnum()
- {
- NumerazioneType numerazioneType;
- if (rdbNumProgressiva.Checked)
- {
- numerazioneType = NumerazioneType.Progressiva; // FileHelper.numerazione.Progressiva
- }
- else
- {
- numerazioneType = NumerazioneType.Files;
- } // FileHelper.numerazione.Files
-
- return numerazioneType;
- }
-
- private void creaimmaginiWithThreadDict(string SourcePath, string DestPath)
- {
- var dirSourceDest = new Dictionary();
- if (chkAggiornaSottodirectory.Checked & chkCreaSottocartelle.Checked)
- {
- var helper = new FileHelper(Conversions.ToInteger(txtFilePerCartella.Text), txtSuffissoCartelle.Text, Conversions.ToInteger(txtCifreContatore.Text), getNumerazione());
- // getfilesrecursive
- dirSourceDest = helper.GetFilesRecursive(new DirectoryInfo(SourcePath), new DirectoryInfo(DestPath), "*.jpg");
- }
- else if (chkAggiornaSottodirectory.Checked & !chkCreaSottocartelle.Checked)
- {
-
- // = getDirsDict(SourcePath, DestPath)
-
- }
-
- foreach (var pair in dirSourceDest)
- {
- setLabel10Text("File: " + pair.Key.Name);
- string b = (Conversions.ToInteger(Label18.Text) + 1).ToString();
- var ClsCreaImmagine = new ImageCreatorSharp(pair.Key, pair.Value);
- ContaImmaginiThread += 1;
- //MyPool.InsertWorkItem(pair.Key.Name, new XyThreadAdd((_) => ClsCreaImmagine.CreaImmagineThread()), new object[1] { pair.Key.Name }, true);
- }
- }
-
- // il posto giusto dove fare modifiche
- private void CreaImmaginiWithThread(string SourcePath, string DestPath)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- var DestDirStart = new DirectoryInfo(DestPath);
- DirectoryInfo DestDir = null;
- int NumFileXDir = Conversions.ToInteger(txtFilePerCartella.Text);
- string SuffixDir = txtSuffissoCartelle.Text;
- int NumCifreDir = Conversions.ToInteger(txtCifreContatore.Text);
- bool DividiFile = false;
- StopAttivo = false;
- int FileConta = 0;
- int ContaFileXDir = 0;
- int ContaDirXDir = 0;
- string TestoTemp = "";
- int ContaTemp = 0;
- if (SourceDir.Exists)
- {
- FileConta = SourceDir.GetFiles("*.jpg").GetLength(0);
- lblFotoTotaliNum.Text = (Conversions.ToInteger(lblFotoTotaliNum.Text) + FileConta).ToString();
- if (NumFileXDir > 0 & chkCreaSottocartelle.Checked == true)
- {
- if (FileConta > NumFileXDir)
- {
- DividiFile = true;
- }
- else
- {
- DestDir = DestDirStart;
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
-
- DividiFile = false;
- }
- }
- else
- {
- DestDir = DestDirStart;
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
-
- DividiFile = false;
- }
-
- foreach (var childFile in SourceDir.GetFiles("*.jpg"))
- {
- if (StopAttivo == true)
- {
- break;
- }
- // Label10.Text = "File: " & childFile.Name
- // Label18.Text = (CType(Label18.Text, Integer) + 1).ToString
- // Application.DoEvents()
-
- ContaFileXDir += 1;
- if (DividiFile == true)
- {
- if (ContaFileXDir == ContaDirXDir * NumFileXDir + 1)
- {
- ContaDirXDir += 1;
- if (rdbNumProgressiva.Checked == true)
- {
- TestoTemp = ContaDirXDir.ToString();
- }
- else
- {
- TestoTemp = (ContaDirXDir * NumFileXDir).ToString();
- }
-
- var loopTo = NumCifreDir - TestoTemp.Length;
- for (ContaTemp = 1; ContaTemp <= loopTo; ContaTemp++)
- TestoTemp = "0" + TestoTemp;
- if (DestDirStart.FullName.EndsWith(@"\"))
- {
- DestDir = new DirectoryInfo(DestDirStart.FullName + SuffixDir + TestoTemp);
- }
- else
- {
- DestDir = new DirectoryInfo(DestDirStart.FullName + @"\" + SuffixDir + TestoTemp);
- }
-
- if (!DestDir.Exists)
- {
- DestDir.Create();
- }
- }
- }
-
- Application.DoEvents();
- var ClsCreaImmagine = new CreaImmagineSeparateThread();
- ClsCreaImmagine.DirectorySorgente = txtSorgente.Text;
- ClsCreaImmagine.DirectoryDestinazione = txtDestinazione.Text;
- ClsCreaImmagine.DestDir = DestDir;
- ClsCreaImmagine.SourceDir = SourceDir;
- ClsCreaImmagine.DestDirStart = DestDirStart;
- ClsCreaImmagine.DimStandard = Conversions.ToInteger(TextBox11.Text);
- ClsCreaImmagine.DimStandardMiniatura = Conversions.ToInteger(TextBox25.Text);
- ClsCreaImmagine.UsaOrarioMiniatura = CheckBox12.Checked;
- ClsCreaImmagine.UsaOrarioTestoApplicare = CheckBox8.Checked;
- ClsCreaImmagine.UsaTempoGaraTestoApplicare = CheckBox7.Checked;
- ClsCreaImmagine.UsaRotazioneAutomatica = chkRotazioneAutomatica.Checked;
- ClsCreaImmagine.UsaForzaJpg = chkForzaJpg.Checked;
- if (CheckBox17.Checked)
- {
- ClsCreaImmagine.TestoNome = true;
- }
- else
- {
- ClsCreaImmagine.TestoNome = false;
- }
-
- if (CheckBox16.Checked)
- {
- ClsCreaImmagine.NomeData = true;
- }
- else
- {
- ClsCreaImmagine.NomeData = false;
- }
-
- ClsCreaImmagine.TestoFirmaStart = TextBox4.Text;
- ClsCreaImmagine.TestoFirmaStartV = TextBox29.Text;
- ClsCreaImmagine.DataPartenza = DateTimePicker1.Value;
- ClsCreaImmagine.TestoOrario = TextBox18.Text;
- ClsCreaImmagine.AltezzaSmall = Conversions.ToInteger(TextBox5.Text);
- ClsCreaImmagine.LarghezzaSmall = Conversions.ToInteger(TextBox5.Text);
- ClsCreaImmagine.CreaMiniature = CheckBox1.Checked;
- ClsCreaImmagine.AggiungiScritteMiniature = RadioButton3.Checked;
- ClsCreaImmagine.AggTempoGaraMin = RadioButton5.Checked;
- ClsCreaImmagine.AggNumTempMin = RadioButton7.Checked;
- ClsCreaImmagine.DimVert = Conversions.ToInteger(TextBox30.Text);
- ClsCreaImmagine.MargVert = Conversions.ToInteger(TextBox31.Text);
- ClsCreaImmagine.NomeFileChild = childFile.Name;
- ClsCreaImmagine.Suffisso = TextBox3.Text;
- // ClsCreaImmagine.Codice = TextBox13.Text
-
- ClsCreaImmagine.Trasparenza = Conversions.ToInteger(TextBox9.Text);
- ClsCreaImmagine.IlFont = ComboBox3.SelectedItem.ToString();
- ClsCreaImmagine.Grassetto = CheckBox3.Checked;
- ClsCreaImmagine.Posizione = ComboBox1.SelectedItem.ToString();
- ClsCreaImmagine.Allineamento = ComboBox2.SelectedItem.ToString();
- ClsCreaImmagine.Margine = Conversions.ToInteger(TextBox12.Text);
- ClsCreaImmagine.LogoAltezza = Conversions.ToInteger(TextBox14.Text);
- ClsCreaImmagine.LogoLarghezza = Conversions.ToInteger(TextBox15.Text);
-
- // ClsCreaImmagine.FontColoreR = CType(TextBox22.Text, Integer)
- // ClsCreaImmagine.FontColoreG = CType(TextBox23.Text, Integer)
- // ClsCreaImmagine.FontColoreB = CType(TextBox24.Text, Integer)
- ClsCreaImmagine.fontColoreRGB = ColorTranslator.FromHtml(TextBox34.Text);
- ClsCreaImmagine.LogoAggiungi = CheckBox5.Checked;
- ClsCreaImmagine.LogoNomeFile = TextBox10.Text;
- ClsCreaImmagine.LogoTrasparenza = TextBox19.Text;
- ClsCreaImmagine.LogoMargine = TextBox16.Text;
- ClsCreaImmagine.LogoPosizioneH = ComboBox4.Text;
- ClsCreaImmagine.LogoPosizioneV = ComboBox5.Text;
- ClsCreaImmagine.FotoGrandeDimOrigina = CheckBox15.Checked;
- ClsCreaImmagine.AltezzaBig = Conversions.ToInteger(TextBox27.Text);
- ClsCreaImmagine.LarghezzaBig = Conversions.ToInteger(TextBox28.Text);
- ClsCreaImmagine.DimMin = Conversions.ToInteger(TextBox25.Text);
- ClsCreaImmagine.TestoMin = RadioButton6.Checked;
- ClsCreaImmagine.jpegQuality = Conversions.ToLong(TextBox32.Text);
- ClsCreaImmagine.jpegQualityMin = Conversions.ToLong(TextBox33.Text);
- ContaImmaginiThread += 1;
- MyPool.InsertWorkItem(childFile.Name, new XyThreadAdd(ClsCreaImmagine.CreaImmagineThread), new object[1] { childFile.Name }, true);
- }
- // copy all the sub-directories by recursively calling this same routine
- if (chkAggiornaSottodirectory.Checked == true)
- {
- foreach (var subDir in SourceDir.GetDirectories())
- CreaImmaginiWithThread(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name));
- }
- }
- }
-
- private void CopyDirectoryFile(string SourcePath, string DestPath, bool OverWrite = false)
- {
- var SourceDir = new DirectoryInfo(SourcePath);
- var DestDir = new DirectoryInfo(DestPath);
- if (SourceDir.Exists)
- {
- if (!DestDir.Exists)
- {
- DestDir.Create();
- // copy all the files of the current directory
- }
-
- foreach (var childFile in SourceDir.GetFiles())
- {
- if (OverWrite)
- {
- childFile.CopyTo(Path.Combine(DestDir.FullName, childFile.Name), true);
- }
- // if overwrite = false, copy the file only if it does not exist
- // this is done to avoid an IOException if a file already exists
- // this way the other files can be copied anyway...
- else if (!File.Exists(Path.Combine(DestDir.FullName, childFile.Name)))
- {
- childFile.CopyTo(Path.Combine(DestDir.FullName, childFile.Name), false);
- }
- // copy all the sub-directories by recursively calling this same routine
- }
-
- foreach (var subDir in SourceDir.GetDirectories())
- CopyDirectoryFile(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name), OverWrite);
- }
- }
-
- public Size NewthumbSize(int currentwidth, int currentheight, int MaxPixel, string TipoSize)
- {
- // Calculate the Size of the New image
- // *** Larghezza, Altezza, Auto
-
- double tempMultiplier;
- if ((TipoSize.ToUpper() ?? "") == ("Larghezza".ToUpper() ?? ""))
- {
- tempMultiplier = MaxPixel / (double)currentwidth;
- }
- else if ((TipoSize.ToUpper() ?? "") == ("Altezza".ToUpper() ?? ""))
- {
- tempMultiplier = MaxPixel / (double)currentheight;
- }
- else if (currentheight > currentwidth) // portrait
- {
- tempMultiplier = MaxPixel / (double)currentheight;
- }
- else
- {
- tempMultiplier = MaxPixel / (double)currentwidth;
- }
-
- var NewSize = new Size((int)Math.Round(currentwidth * tempMultiplier), (int)Math.Round(currentheight * tempMultiplier));
- return NewSize;
- }
-
- private void Button7_Click(object sender, EventArgs e)
- {
- StopAttivo = true;
- //MyPool.StopThreadPool();
-
- if (_mainToken != null)
- {
- _mainToken.Cancel();
- }
-
- unlockUI();
- }
-
- private void Button4_Click(object sender, EventArgs e)
- {
- var openFileDialog = new OpenFileDialog();
-
- // openFileDialog.InitialDirectory = TextBox1.Text
- openFileDialog.Filter = "Immagini jpg (*.jpg)|*.jpg|Immagini gif (*.gif)|*.gif|Tutti i file (*.*)|*.*";
- if (TextBox10.Text.Length > 0)
- {
- openFileDialog.FileName = TextBox10.Text;
- }
-
- openFileDialog.FilterIndex = 0;
- openFileDialog.RestoreDirectory = true;
- if (DialogResult.OK == openFileDialog.ShowDialog())
- {
- TextBox10.Text = openFileDialog.FileName;
- PictureBox1.Image = Image.FromFile(TextBox10.Text);
- if (PictureBox1.Image.Height >= PictureBox1.Image.Width)
- {
- PictureBox1.Height = 160;
- PictureBox1.Width = Conversions.ToInteger(160 * PictureBox1.Image.Width / (double)PictureBox1.Image.Height);
- }
- else
- {
- PictureBox1.Width = 224;
- PictureBox1.Height = Conversions.ToInteger(224 * PictureBox1.Image.Height / (double)PictureBox1.Image.Width);
- }
- }
- }
-
- private string LeggiSoloNomeFile(string FileName)
- {
- string Testo = FileName;
- string Risposta = "";
- var Nomi = Testo.Split(new char[] { '\\' });
- if (Nomi.Length > 1)
- {
- Risposta = Nomi[Nomi.Length - 1];
- }
-
- return Risposta;
- }
-
- private void PictureBox1_MouseMove(object sender, MouseEventArgs e)
- {
- // GetColor()
- // GetPixelColor(PictureBox1.PointToScreen(e.Location)).ToArgb.ToString("X8")
-
- }
-
- private void PictureBox1_MouseUp(object sender, MouseEventArgs e)
- {
- if (e.Button == MouseButtons.Left)
- {
- WaterSelectColor = true;
- }
- else
- {
- WaterSelectColor = false;
- }
- }
-
-
- // Private Declare Function CreateDC Lib "gdi32.dll" (ByVal strDriver As String, ByVal strDevice As String, ByVal strOutput As String, ByVal pData As IntPtr) As IntPtr
- // Private Declare Function DeleteDC Lib "gdi32.dll" (ByVal hdc As IntPtr) As Boolean
- // Private Declare Function GetPixel Lib "gdi32.dll" (ByVal hdc As IntPtr, ByVal x As Integer, ByVal y As Integer) As Integer
- // Private Declare Function GetCursorPos Lib "user32.dll" (ByRef lpPoint As Point) As Boolean
-
-
- // '''
- // ''' Get the color relative to mouse position
- // '''
- // Private Sub GetColor()
- // Dim hdcScreen As IntPtr = CreateDC("Display", Nothing, Nothing, IntPtr.Zero)
- // Dim pt As Point = New Point
- // GetCursorPos(pt)
- // Dim cr As Integer = GetPixel(hdcScreen, pt.X, pt.Y)
- // DeleteDC(hdcScreen)
- // Dim clr As Color = Color.FromArgb((cr And &HFF), (cr And &HFF00) >> 8, (cr And &HFF0000) >> 16)
- // PictureBox3.BackColor = clr
- // If WaterSelectColor = True Then
- // PictureBox2.BackColor = clr
- // End If
- // WaterSelectColor = False
- // End Sub
-
-
- private Color[] GetPixelColor(Point screenLocation)
- {
- // Dim bm As New Bitmap(1, 1, Imaging.PixelFormat.Format24bppRgb)
- // Dim g As Graphics = Graphics.FromImage(bm)
- // g.CopyFromScreen(screenLocation, New Point(0, 0), New Size(1, 1))
- // Dim result As Color = bm.GetPixel(0, 0)
- // g.Dispose()
- // bm.Dispose()
- // Return result
- return null;
- }
-
- private void Button8_Click(object sender, EventArgs e)
- {
- var MyDialog = new ColorDialog();
- MyDialog.AllowFullOpen = true;
- // If TextBox22.Text.Length > 0 And TextBox23.Text.Length > 0 And TextBox24.Text.Length > 0 Then
- // If CType(TextBox22.Text, Integer) >= 0 And CType(TextBox23.Text, Integer) >= 0 And CType(TextBox24.Text, Integer) >= 0 Then
- // MyDialog.Color = Color.FromArgb(0, CType(TextBox22.Text, Integer), CType(TextBox23.Text, Integer), CType(TextBox24.Text, Integer))
- // End If
- // End If
-
- if (MyDialog.ShowDialog() == DialogResult.OK)
- {
- // TextBox22.Text = MyDialog.Color.R.ToString
- // TextBox23.Text = MyDialog.Color.G.ToString
- // TextBox24.Text = MyDialog.Color.B.ToString
- TextBox34.Text = ColorTranslator.ToHtml(MyDialog.Color);
- TextBox34.BackColor = MyDialog.Color;
- }
- }
-
- private void TextBox27_TextChanged(object sender, EventArgs e)
- {
- }
-
- private void CheckBox18_CheckedChanged(object sender, EventArgs e)
- {
- CheckBox4.Checked = false;
- CheckBox12.Checked = false;
- }
-
- private void CheckBox4_CheckedChanged(object sender, EventArgs e)
- {
- CheckBox18.Checked = false;
- }
-
- private void CheckBox12_CheckedChanged(object sender, EventArgs e)
- {
- CheckBox18.Checked = false;
- }
-
- private void Label27_Click(object sender, EventArgs e)
- {
- }
-
- private CancellationTokenSource _mainToken;
-
- private async void Button1_Click(object sender, EventArgs e)
- {
- lockUI();
- // Dim timeStart As Date
- // Dim timeStop As Date
-
- _mainToken = new CancellationTokenSource();
- var token = _mainToken.Token;
-
-
- // timeStart = TimeOfDay
- FixPaths();
- Label10.Text = "Elaborazione in corso...";
- lblFotoTotaliNum.Text = "0";
- Label18.Text = "0";
- Label43.Text = "-s";
- setPicSettings(txtSorgente.Text, txtDestinazione.Text);
- ProgressBar1.Minimum = 0;
- ProgressBar1.Step = 1;
- ProgressBar1.Value = 0;
-
- // Await CreaCatalogoParallel()
- var imgStf = new ImageCreationStuff();
- var imageCreationOptions = new ImageCreationStuff.Options();
- imageCreationOptions.AggiornaSottodirectory = chkAggiornaSottodirectory.Checked;
- imageCreationOptions.CreaSottocartelle = chkCreaSottocartelle.Checked;
- imageCreationOptions.FilePerCartella = Conversions.ToInteger(txtFilePerCartella.Text);
- imageCreationOptions.SuffissoCartelle = txtSuffissoCartelle.Text;
- imageCreationOptions.CifreContatore = Conversions.ToInteger(txtCifreContatore.Text);
- imageCreationOptions.NumerazioneType = GetNumerazioneEnum();
- imageCreationOptions.SourcePath = txtSorgente.Text;
- imageCreationOptions.DestinationPath = txtDestinazione.Text;
- imageCreationOptions.MaxThreads = Conversions.ToInteger(TextBox7.Text);
- imageCreationOptions.ChunksSize = Conversions.ToInteger(TextBox8.Text);
- imageCreationOptions.LinearExecution = rdbVecchioMetodo.Checked;
-
-
-
- try
- {
- _results = new ConcurrentBag();
- _currentAmount = 0;
- _previousAmount = 0;
- timer1.Tick += Timer1OnTick;
-
- timer1.Interval = 1000 * 60;
- timer1.Enabled = true;
-
- string time = await imgStf.CreaCatalogoParallel(imageCreationOptions, _results, UiUpdateEvent, token);
- Label43.Text = time;
- timer1.Enabled = false;
- }
- catch (OperationCanceledException operationCanceledException)
- {
- Console.WriteLine("Operazione cancellata");
- }
- finally
- {
- _mainToken.Dispose();
-
- timer1.Tick -= Timer1OnTick;
- }
- Label10.Text = "Finito";
- unlockUI();
- }
-
- private int _currentAmount = 0;
- private int _previousAmount = 0;
- private void Timer1OnTick(object sender, EventArgs e)
- {
- _previousAmount = _currentAmount;
- _currentAmount = _results.Count;
- int diff = _currentAmount - _previousAmount;
- SetText(Label43, $"{diff} f/m");
- }
-
- private void UpdateCounter(string text)
- {
- Label10.Invoke(new Action(() => Label10.Text = text));
- }
-
-
-
- private async Task CreaCatalogoParallel()
- {
- var timeStart = DateAndTime.TimeOfDay;
- ContaImmaginiThread = 0;
- setLabel10Text("Elaborazione in corso...");
- var imgStf = new ImageCreationStuff();
- var imageCreationOptions = new ImageCreationStuff.Options();
- imageCreationOptions.AggiornaSottodirectory = chkAggiornaSottodirectory.Checked;
- imageCreationOptions.CreaSottocartelle = chkCreaSottocartelle.Checked;
- imageCreationOptions.FilePerCartella = Conversions.ToInteger(txtFilePerCartella.Text);
- imageCreationOptions.SuffissoCartelle = txtSuffissoCartelle.Text;
- imageCreationOptions.CifreContatore = Conversions.ToInteger(txtCifreContatore.Text);
- imageCreationOptions.NumerazioneType = GetNumerazioneEnum();
- imageCreationOptions.SourcePath = txtSorgente.Text;
- imageCreationOptions.DestinationPath = txtDestinazione.Text;
- await imgStf.CreaImmaginiParallel(imageCreationOptions, _results, UiUpdateEvent);
-
- // Await CreaImmaginiParallel(txtSorgente.Text, txtDestinazione.Text)
-
- setLabel10Text("Finito");
- var timeStop = DateAndTime.TimeOfDay;
- setLabel43Text(CalcTime(timeStart, timeStop, ContaImmaginiThread));
- }
-
- // Private Async Function CreaImmaginiParallel(ByVal SourcePath As String, ByVal DestPath As String) As Task
- // Dim dataToProcess As List(Of FileData) = New List(Of FileData)
-
- // 'Dim dirSourceDest As Dictionary(Of FileInfo, DirectoryInfo) = New Dictionary(Of FileInfo, DirectoryInfo)
- // If chkAggiornaSottodirectory.Checked And chkCreaSottocartelle.Checked Then
-
- // Dim helperSharp As New FileHelperSharp()
-
- // 'Dim helper As New FileHelper(CInt(txtFilePerCartella.Text), txtSuffissoCartelle.Text, CInt(txtCifreContatore.Text), getNumerazione())
- // 'getfilesrecursive
-
- // Dim fileHelperOptions As FileHelperOptions = New FileHelperOptions()
- // fileHelperOptions.FilesPerFolder = CInt(txtFilePerCartella.Text)
- // fileHelperOptions.Suffix = txtSuffissoCartelle.Text
- // fileHelperOptions.CounterSize = CInt(txtCifreContatore.Text)
- // fileHelperOptions.NumerationType = GetNumerazioneEnum()
-
- // dataToProcess = helperSharp.GetFilesRecursive(New DirectoryInfo(SourcePath), New DirectoryInfo(DestPath), "*.jpg", fileHelperOptions)
-
- // 'dataToProcess = helper.GetFilesRecursiveParallel(New DirectoryInfo(SourcePath), New DirectoryInfo(DestPath), "*.jpg")
- // ElseIf chkAggiornaSottodirectory.Checked And Not chkCreaSottocartelle.Checked Then
- // ' TODO manca tutto?!?!?!?
- // End If
-
- // Dim scheduler As TaskScheduler = New ConcurrentExclusiveSchedulerPair(TaskScheduler.Default, Environment.ProcessorCount * 2).ConcurrentScheduler
-
- // Dim test As IEnumerable(Of Task) = From d In dataToProcess Select Task.Factory.StartNew(Sub()
- // 'setLabel10Text("File: " & p.File.Name)
-
- // Dim b As String = (CType(Label18.Text, Integer) + 1).ToString
-
- // Dim clsCreaImmagine As New ImageCreator(d.File, d.Directory)
-
- // clsCreaImmagine.CreaImmagineThread(d.File.Name)
-
- // ContaImmaginiThread += 1
- // UpdateCounter(ContaImmaginiThread & " " & d.File.Name)
- // End Sub, CancellationToken.None, TaskCreationOptions.LongRunning, scheduler) 'TODO Cancellation Token
-
- // 'ThreadingHelper.StartAndWaitAllThrottled(test, CType(TextBox7.Text, Integer))
-
- // Await Task.WhenAll(test)
-
- // '= getDirsDict(SourcePath, DestPath)
- // 'Parallel.ForEach(dataToProcess,
- // ' Sub(p, state)
- // ' 'setLabel10Text("File: " & p.File.Name)
-
- // ' Dim b As String = (CType(Label18.Text, Integer) + 1).ToString
-
- // ' Dim clsCreaImmagine As New ImageCreator(p.File, p.Directory)
-
- // ' clsCreaImmagine.CreaImmagineThread(p.File.Name)
-
- // ' ContaImmaginiThread += 1
- // ' UpdateCounter(ContaImmaginiThread & " " & p.File.Name)
- // ' 'MyPool.InsertWorkItem(p.File.Name, New XyThreadAdd(AddressOf ClsCreaImmagine.CreaImmagineThread), New Object(0) {p.File.Name}, True)
- // ' ' TODO: BREAK ON STOP state.stop()
-
- // ' End Sub)
-
- // 'Dim pair As KeyValuePair(Of FileInfo, DirectoryInfo)
- // 'For Each pair In dirSourceDest
-
- // ' setLabel10Text("File: " & pair.Key.Name)
- // ' Dim b As String = (CType(Label18.Text, Integer) + 1).ToString
-
- // ' Dim ClsCreaImmagine As New ImageCreator(pair.Key, pair.Value)
- // ' ContaImmaginiThread += 1
- // ' MyPool.InsertWorkItem(pair.Key.Name, New XyThreadAdd(AddressOf ClsCreaImmagine.CreaImmagineThread), New Object(0) {pair.Key.Name}, True)
-
- // 'Next
- // End Function
- }
-
- public class PicInfo
- {
- public DirectoryInfo DirSource, DirDest, DirDestStart;
- public string NomeImmagine;
-
- public PicInfo(DirectoryInfo Dir_Source, DirectoryInfo Dir_Dest, DirectoryInfo Dir_DestStart, string Nome_Immagine)
- {
- DirSource = Dir_Source;
- DirDest = Dir_Dest;
- DirDestStart = Dir_DestStart;
- NomeImmagine = Nome_Immagine;
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/MainForm.resx b/imagecatalog.backup/MainForm.resx
deleted file mode 100644
index 1f666f2..0000000
--- a/imagecatalog.backup/MainForm.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
\ No newline at end of file
diff --git a/imagecatalog.backup/MainForm.vb b/imagecatalog.backup/MainForm.vb
deleted file mode 100644
index 63a7373..0000000
--- a/imagecatalog.backup/MainForm.vb
+++ /dev/null
@@ -1,1502 +0,0 @@
-Imports System.Collections.Concurrent
-Imports System.IO
-Imports System.Drawing.Drawing2D
-Imports System.Drawing.Imaging
-Imports System.Threading
-Imports System.Collections.Generic
-Imports System.Drawing.Text
-Imports System.Runtime.InteropServices
-Imports System.Threading.Tasks
-Imports CatalogVbLib
-Imports MaddoShared
-
-Public Delegate Sub XyThreadAdd(ByVal Info As String)
-
-Public Class MainForm
-#Const MULTI_THREADED_UI = True
-
- Private StopAttivo As Boolean
- Private WaterSelectColor As Boolean = False
-
- 'Private ContaFotoCuori As Integer
- 'Private TaskCuori() As PicInfo
-
- Private MyPool As XYThreadPool = New XYThreadPool
- Private ContaImmaginiThread As Integer
-
- Private maxThreads As Integer = 15
- Private minThreads As Integer = 5
-
- Private Sub setDefaults()
- txtSorgente.Text = ""
- txtDestinazione.Text = ""
- TextBox3.Text = "tn_"
- TextBox4.Text = ""
- TextBox5.Text = "350"
- TextBox6.Text = "350"
- TextBox27.Text = "2240"
- TextBox28.Text = "2240"
- TextBox9.Text = "0"
- TextBox11.Text = "20"
- TextBox12.Text = "8"
- 'TextBox13.Text = ""
- TextBox10.Text = ""
- TextBox14.Text = "430"
- TextBox15.Text = "430"
- TextBox16.Text = "290"
- txtFilePerCartella.Text = "99"
- TextBox19.Text = "100"
- txtSuffissoCartelle.Text = ""
- txtCifreContatore.Text = "2"
- TextBox25.Text = "50"
- TextBox26.Text = ""
- TextBox7.Text = CStr(4)
- TextBox8.Text = CStr(4)
- TextBox34.Text = "Yellow"
- TextBox30.Text = "20"
- TextBox31.Text = "6"
- TextBox32.Text = "85"
- TextBox33.Text = "30"
-
-
- ComboBox1.Items.Add("Alto")
- ComboBox1.Items.Add("Basso")
- ComboBox1.SelectedIndex = 1
-
- ComboBox2.Items.Add("Sinistra")
- ComboBox2.Items.Add("Centro")
- ComboBox2.Items.Add("Destra")
- ComboBox2.SelectedIndex = 1
-
- ' Create a obejct of InstalledFontCollection
- Dim InstalledFonts As New InstalledFontCollection
- ' Gets the array of FontFamily objects associated with this FontCollection.
- Dim fontfamilies() As FontFamily = InstalledFonts.Families()
-
- ' Populates font combobox with the font name
-
- For Each fontFamily As FontFamily In fontfamilies
- ComboBox3.Items.Add(fontFamily.Name)
- Next
-
- ComboBox3.Text = ComboBox3.Items(0).ToString
-
- 'ComboBox3.Items.Add("Arial")
- 'ComboBox3.Items.Add("Arial Black")
- 'ComboBox3.Items.Add("Arial Narrow")
- 'ComboBox3.Items.Add("Comic Sans MS")
- 'ComboBox3.Items.Add("Courier New")
- 'ComboBox3.Items.Add("System")
- 'ComboBox3.Items.Add("Times New Roman")
- 'ComboBox3.Items.Add("Verdana")
- 'ComboBox3.Items.Add("Wingdings")
- 'ComboBox3.SelectedIndex = 7
-
- ComboBox4.Items.Add("Sinistra")
- ComboBox4.Items.Add("Centro")
- ComboBox4.Items.Add("Destra")
- ComboBox4.SelectedIndex = 2
-
- ComboBox5.Items.Add("Alto")
- ComboBox5.Items.Add("Centro")
- ComboBox5.Items.Add("Basso")
- ComboBox5.SelectedIndex = 2
- End Sub
-
- Private Shared Function AllocConsole() As Boolean
-
- End Function
-
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- Application.EnableVisualStyles()
-
- setDefaults()
-#If Not DEBUG Then
- AllocConsole()
-#End If
-
- Console.WriteLine("Programma avviato")
- End Sub
-
- Private Sub FixPaths()
- If txtSorgente.Text.EndsWith("\") = False Then
- txtSorgente.Text &= "\"
- End If
- If txtDestinazione.Text.EndsWith("\") = False Then
- txtDestinazione.Text &= "\"
- End If
- End Sub
-
- Private Sub lockUI()
- TabControl1.Enabled = False
- Button5.Enabled = False
- Button6.Enabled = False
- btnCreaCatalogo.Enabled = False
-
- End Sub
-
- Private Sub unlockUI()
- TabControl1.Enabled = True
- Button5.Enabled = True
- Button6.Enabled = True
- btnCreaCatalogo.Enabled = True
- End Sub
-
- Private Sub btnCreaCatalogo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreaCatalogo.Click
- lockUI()
- Dim timeStart As Date
- Dim timeStop As Date
-
- timeStart = TimeOfDay
- FixPaths()
-
- Label10.Text = ""
- lblFotoTotaliNum.Text = "0"
- Label18.Text = "0"
- Label43.Text = "-s"
-
- maxThreads = CInt(TextBox7.Text)
- minThreads = CInt(TextBox8.Text)
-
- If rdbNuovoMetodo.Checked Then
- setPicSettings(txtSorgente.Text, txtDestinazione.Text)
- ProgressBar1.Minimum = 0
- ProgressBar1.Step = 1
- ProgressBar1.Value = 0
-
- Dim t1 As New Threading.Thread(AddressOf creaCatalogoThread)
- t1.IsBackground = False
- t1.Start()
- ElseIf rdbVecchioMetodo.Checked Then
- creaCatalogo(timeStart, timeStop)
- unlockUI()
- End If
- End Sub
-
-
- Private Sub creaCatalogoThread()
- Dim timeStart As Date = TimeOfDay
- MyPool.StopThreadPool()
- MyPool.StartThreadPool(minThreads, maxThreads)
- ContaImmaginiThread = 0
-
- 'creaImmaginiWithThreadMod(txtSorgente.Text, txtDestinazione.Text)
- creaimmaginiWithThreadDict(txtSorgente.Text, txtDestinazione.Text)
- Dim ThAttivo As ThreadPoolWorkItem = Nothing
- Dim i As Integer = 0
-#Const asfd = 1
-
-#If asfd = 1 Then
-
-
- Do Until i = ContaImmaginiThread
- Thread.Sleep(100)
- ThAttivo = MyPool.ExtractWorkItem()
- If ThAttivo IsNot Nothing Then
- i += 1
- 'stepProgressBar()
- Dim threads As Integer = MyPool.GetThreadCount()
- setLabel10Text("File: " & ThAttivo.m_sName & " Threads: " & CStr(threads))
-
- 'setLabel18Text(ContaImmaginiThread.ToString)
- 'setLabel18Text(i.ToString)
-
-
- 'Label10.Text = "File: " & ThAttivo.m_sName
- 'Label18.Text = ContaImmaginiThread.ToString
- End If
- Loop
- MyPool.StopThreadPool()
- Dim timeStop As Date = TimeOfDay
-
- setLabel10Text("Finito")
- setLabel43Text(CalcTime(timeStart, timeStop, ContaImmaginiThread))
-#End If
- End Sub
-
- Private Sub creaCatalogo(timeStart As Date, timeStop As Date)
- 'asdfg
- MyPool.StopThreadPool()
- MyPool.StartThreadPool(minThreads, maxThreads)
- ContaImmaginiThread = 0
-
- CreaImmaginiWithThread(txtSorgente.Text, txtDestinazione.Text)
-
- Dim ThAttivo As ThreadPoolWorkItem = Nothing
- Dim i As Integer = 0
-
- Do Until i = ContaImmaginiThread
- Thread.Sleep(100)
- ThAttivo = MyPool.ExtractWorkItem()
- If ThAttivo IsNot Nothing Then
- i += 1
- Label10.Text = "File: " & ThAttivo.m_sName
- Label18.Text = ContaImmaginiThread.ToString
-
- End If
- Loop
- MyPool.StopThreadPool()
- timeStop = TimeOfDay
-
- CalcTime(timeStart, timeStop, ContaImmaginiThread)
- Label10.Text = "Finito"
- If CheckBox22.Checked = True Then
- Shell("%windir%\System32\shutdown.exe")
- End If
- End Sub
-
- Private Function CalcTime(ByVal timeStart As Date, ByVal timeStop As Date, ByVal numFoto As Integer) As String
- Dim timediffH, timediffS As Long
- Dim timediffM As Long
- timediffM = DateAndTime.DateDiff(DateInterval.Minute, timeStart, timeStop)
- timediffS = DateAndTime.DateDiff(DateInterval.Second, timeStart, timeStop)
- timediffH = DateAndTime.DateDiff(DateInterval.Hour, timeStart, timeStop)
- 'dim s As String = "H:" + timediffH.ToString + " M:" + timediffM.ToString + " S:" + timediffS.ToString
-
- 'Label43.Text = "H:" + timediffH.ToString + " M:" + timediffM.ToString + " S:" + timediffS.ToString
- Dim fotoSec As Double = numFoto / CDbl(timediffS)
- Dim fotoMin As Double = numFoto / CDbl(timediffM)
- Dim fotoOra As Double = numFoto / CDbl(timediffH)
- Dim s As String = "S: " + timediffS.ToString + "; F/s: " + fotoSec.ToString("0.000") '+ " F/m: " + fotoMin.ToString("0.00") + " F/h: " + fotoOra.ToString("0.00")
- Return s
- End Function
- Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
- Dim DirSearch As FolderBrowserDialog = New FolderBrowserDialog
- DirSearch.SelectedPath = txtSorgente.Text
- If DialogResult.OK = DirSearch.ShowDialog() Then
- Dim DirectoryScelta As String = DirSearch.SelectedPath
- If DirectoryScelta.EndsWith("\") = False Then
- DirectoryScelta &= "\"
- End If
-
- txtSorgente.Text = DirectoryScelta
- End If
- End Sub
-
- Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
- Dim DirSearch As FolderBrowserDialog = New FolderBrowserDialog
- DirSearch.SelectedPath = txtDestinazione.Text
- If DialogResult.OK = DirSearch.ShowDialog() Then
- Dim DirectoryScelta As String = DirSearch.SelectedPath
- If DirectoryScelta.EndsWith("\") = False Then
- DirectoryScelta &= "\"
- End If
-
- txtDestinazione.Text = DirectoryScelta
- End If
-
- 'Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- 'Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- 'openFileDialog.InitialDirectory = TextBox1.Text
- 'openFileDialog.Filter = "Bitmap files (*.bmp)|*.bmp|Jpeg files (*.jpg)|*.jpg|All valid files (*.*)|*.*"
- 'openFileDialog.FilterIndex = 2
- 'openFileDialog.RestoreDirectory = True
-
- 'If DialogResult.OK = openFileDialog.ShowDialog() Then
- ' Dim IlNome As String = openFileDialog.FileName
- ' Dim NomeFine As String = ""
- ' Dim i As Integer
-
- ' Dim Elenco As String()
- ' Elenco = IlNome.Split(New Char() {"\"c})
- ' For i = 0 To Elenco.Length - 1
- ' NomeFine &= Elenco(i) & "\"
- ' Next
-
- ' TextBox1.Text = NomeFine
- 'End If
- End Sub
-
- Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
- Dim SaveFileDlg As SaveFileDialog = New SaveFileDialog
-
- 'SaveFileDlg.InitialDirectory = "c:\"
- SaveFileDlg.Filter = "Setup (*.xml)|*.xml|All valid files (*.*)|*.*"
- SaveFileDlg.FilterIndex = 0
- SaveFileDlg.RestoreDirectory = True
-
- If DialogResult.OK = SaveFileDlg.ShowDialog Then
- Dim IlNome As String = SaveFileDlg.FileName
-
- SetupIni.NomeFileSetup = IlNome
-
- SetupIni.AggiornaParametro("DirSorgente", txtSorgente.Text)
- SetupIni.AggiornaParametro("DirDestinazione", txtDestinazione.Text)
- SetupIni.AggiornaParametro("DirSottoDirectory", chkAggiornaSottodirectory.Checked)
-
- SetupIni.AggiornaParametro("DirDividiDestinazione", chkCreaSottocartelle.Checked)
- SetupIni.AggiornaParametro("DirDividiNumFile", txtFilePerCartella.Text)
- SetupIni.AggiornaParametro("DirDividiSuffisso", txtSuffissoCartelle.Text)
- SetupIni.AggiornaParametro("DirDividiNumCifre", txtCifreContatore.Text)
- If rdbNumProgressiva.Checked = True Then
- SetupIni.AggiornaParametro("DirDividiTipoNumerazione", "Progressiva")
- Else
- SetupIni.AggiornaParametro("DirDividiTipoNumerazione", "Files")
- End If
-
- SetupIni.AggiornaParametro("MiniatureCrea", CheckBox1.Checked)
- SetupIni.AggiornaParametro("MiniatureSuffisso", TextBox3.Text)
- SetupIni.AggiornaParametro("MiniatureAltezza", TextBox5.Text)
- SetupIni.AggiornaParametro("MiniatureLarghezza", TextBox6.Text)
- SetupIni.AggiornaParametro("MiniatureAddScritta", RadioButton3.Checked)
- SetupIni.AggiornaParametro("MiniatureAddOrario", RadioButton4.Checked)
-
- SetupIni.AggiornaParametro("FotoAltezza", TextBox27.Text)
- SetupIni.AggiornaParametro("FotoLarghezza", TextBox28.Text)
- 'SetupIni.AggiornaParametro("FotoCodice", TextBox13.Text)
- 'SetupIni.AggiornaParametro("FotoDimOriginali", CheckBox2.Checked)
-
- SetupIni.AggiornaParametro("FontDimensione", TextBox11.Text)
- SetupIni.AggiornaParametro("FontDimensioneMiniatura", TextBox25.Text)
- SetupIni.AggiornaParametro("FontBold", CheckBox3.Checked)
- SetupIni.AggiornaParametro("FontNome", ComboBox3.Text)
-
-
- SetupIni.AggiornaParametro("TestoTesto", TextBox4.Text)
- SetupIni.AggiornaParametro("TestoTrasparente", TextBox9.Text)
- SetupIni.AggiornaParametro("TestoMargine", TextBox12.Text)
- SetupIni.AggiornaParametro("TestoPosizione", ComboBox1.Text)
- SetupIni.AggiornaParametro("TestoAllineamento", ComboBox2.Text)
-
- SetupIni.AggiornaParametro("MarchioFile", TextBox10.Text)
- SetupIni.AggiornaParametro("MarchioAltezza", TextBox14.Text)
- SetupIni.AggiornaParametro("MarchioLarghezza", TextBox15.Text)
- SetupIni.AggiornaParametro("MarchioMargine", TextBox16.Text)
- SetupIni.AggiornaParametro("MarchioAllOrizzontale", ComboBox4.Text)
- SetupIni.AggiornaParametro("MarchioAllVerticale", ComboBox5.Text)
- SetupIni.AggiornaParametro("MarchioTrasparenza", TextBox19.Text)
- SetupIni.AggiornaParametro("MarchioAggiungi", CheckBox5.Checked)
-
- SetupIni.AggiornaParametro("TempoGara", CheckBox7.Checked)
- SetupIni.AggiornaParametro("Orario", CheckBox8.Checked)
- SetupIni.AggiornaParametro("EtichettaOrario", TextBox18.Text)
-
- SetupIni.AggiornaParametro("GeneraleForzaJpg", chkForzaJpg.Checked)
- SetupIni.AggiornaParametro("GeneraleRotazioneAutomatica", chkRotazioneAutomatica.Checked)
- SetupIni.AggiornaParametro("GrandezzaVerticale", TextBox30.Text)
- SetupIni.AggiornaParametro("MargineVerticale", TextBox31.Text)
- SetupIni.AggiornaParametro("DimensioniOriginali", CheckBox15.Checked)
- SetupIni.AggiornaParametro("TestoVerticale", TextBox29.Text)
- SetupIni.AggiornaParametro("NomeMiniatura", RadioButton6.Checked)
- SetupIni.AggiornaParametro("DataFoto", CheckBox16.Checked)
- SetupIni.AggiornaParametro("NumeroFoto", CheckBox17.Checked)
-
- SetupIni.AggiornaParametro("ColoreTestoRGB", TextBox34.Text)
-
- SetupIni.AggiornaParametro("TempoSmall", RadioButton5.Checked)
- SetupIni.AggiornaParametro("NumTempoSmall", RadioButton7.Checked)
-
- SetupIni.AggiornaParametro("CompressioneJpeg", TextBox32.Text)
- SetupIni.AggiornaParametro("CompressioneJpegMiniatura", TextBox33.Text)
- SetupIni.SalvaParametriSetup()
- Me.Text = "Image Catalog - " & LeggiSoloNomeFile(IlNome)
- End If
- End Sub
-
- Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
- Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- 'openFileDialog.InitialDirectory = TextBox1.Text
- openFileDialog.Filter = "Setup (*.xml)|*.xml|All valid files (*.*)|*.*"
- openFileDialog.FilterIndex = 0
- openFileDialog.RestoreDirectory = True
-
- If DialogResult.OK = openFileDialog.ShowDialog() Then
- Dim IlNome As String = openFileDialog.FileName
-
- SetupIni.NomeFileSetup = IlNome
- SetupIni.CaricaParametriSetup()
-
- txtSorgente.Text = SetupIni.LeggiParametroString("DirSorgente")
- txtDestinazione.Text = SetupIni.LeggiParametroString("DirDestinazione")
- chkAggiornaSottodirectory.Checked = SetupIni.LeggiParametroBoolean("DirSottoDirectory")
-
- chkCreaSottocartelle.Checked = SetupIni.LeggiParametroBoolean("DirDividiDestinazione")
- txtFilePerCartella.Text = SetupIni.LeggiParametroString("DirDividiNumFile")
- txtSuffissoCartelle.Text = SetupIni.LeggiParametroString("DirDividiSuffisso")
- txtCifreContatore.Text = SetupIni.LeggiParametroString("DirDividiNumCifre")
-
- Dim TestoTemp As String = SetupIni.LeggiParametroString("DirDividiTipoNumerazione")
- If TestoTemp.ToUpper = "PROGRESSIVA" Then
- rdbNumProgressiva.Checked = True
- Else
- rdbNumFiles.Checked = True
- End If
-
- CheckBox1.Checked = SetupIni.LeggiParametroBoolean("MiniatureCrea")
- TextBox3.Text = SetupIni.LeggiParametroString("MiniatureSuffisso")
- TextBox5.Text = SetupIni.LeggiParametroString("MiniatureAltezza")
- TextBox6.Text = SetupIni.LeggiParametroString("MiniatureLarghezza")
- RadioButton3.Checked = SetupIni.LeggiParametroBoolean("MiniatureAddScritta")
- RadioButton4.Checked = SetupIni.LeggiParametroBoolean("MiniatureAddOrario")
-
- TextBox27.Text = SetupIni.LeggiParametroString("FotoAltezza")
- TextBox28.Text = SetupIni.LeggiParametroString("FotoLarghezza")
- 'TextBox13.Text = SetupIni.LeggiParametroString("FotoCodice")
- 'CheckBox2.Checked = SetupIni.LeggiParametroBoolean("FotoDimOriginali")
-
- TextBox11.Text = SetupIni.LeggiParametroString("FontDimensione")
- TextBox25.Text = SetupIni.LeggiParametroString("FontDimensioneMiniatura")
- CheckBox3.Checked = SetupIni.LeggiParametroBoolean("FontBold")
- ComboBox3.Text = SetupIni.LeggiParametroString("FontNome")
-
- If TextBox25.Text = "" Then
- TextBox25.Text = "0"
- End If
-
- TextBox4.Text = SetupIni.LeggiParametroString("TestoTesto")
- TextBox9.Text = SetupIni.LeggiParametroString("TestoTrasparente")
- TextBox12.Text = SetupIni.LeggiParametroString("TestoMargine")
- ComboBox1.Text = SetupIni.LeggiParametroString("TestoPosizione")
- ComboBox2.Text = SetupIni.LeggiParametroString("TestoAllineamento")
-
- TextBox10.Text = SetupIni.LeggiParametroString("MarchioFile")
- TextBox14.Text = SetupIni.LeggiParametroString("MarchioAltezza")
- TextBox15.Text = SetupIni.LeggiParametroString("MarchioLarghezza")
- TextBox16.Text = SetupIni.LeggiParametroString("MarchioMargine")
- ComboBox4.Text = SetupIni.LeggiParametroString("MarchioAllOrizzontale")
- ComboBox5.Text = SetupIni.LeggiParametroString("MarchioAllVerticale")
- TextBox19.Text = SetupIni.LeggiParametroString("MarchioTrasparenza")
- CheckBox5.Checked = SetupIni.LeggiParametroBoolean("MarchioAggiungi")
-
- CheckBox7.Checked = SetupIni.LeggiParametroBoolean("TempoGara")
- CheckBox8.Checked = SetupIni.LeggiParametroBoolean("Orario")
- TextBox18.Text = SetupIni.LeggiParametroString("EtichettaOrario")
-
- chkForzaJpg.Checked = SetupIni.LeggiParametroBoolean("GeneraleForzaJpg")
- chkRotazioneAutomatica.Checked = SetupIni.LeggiParametroBoolean("GeneraleRotazioneAutomatica")
-
- TextBox30.Text = SetupIni.LeggiParametroString("GrandezzaVerticale")
- TextBox31.Text = SetupIni.LeggiParametroString("MargineVerticale")
- CheckBox15.Checked = SetupIni.LeggiParametroBoolean("DimensioniOriginali")
- TextBox29.Text = SetupIni.LeggiParametroString("TestoVerticale")
- RadioButton6.Checked = SetupIni.LeggiParametroBoolean("NomeMiniatura")
- CheckBox16.Checked = SetupIni.LeggiParametroBoolean("DataFoto")
- CheckBox17.Checked = SetupIni.LeggiParametroBoolean("NumeroFoto")
-
-
- RadioButton5.Checked = SetupIni.LeggiParametroBoolean("TempoSmall")
- RadioButton7.Checked = SetupIni.LeggiParametroBoolean("NumTempoSmall")
-
- TextBox32.Text = SetupIni.LeggiParametroString("CompressioneJpeg")
- TextBox33.Text = SetupIni.LeggiParametroString("CompressioneJpegMiniatura")
-
- TextBox34.Text = SetupIni.LeggiParametroString("ColoreTestoRGB")
- If File.Exists(TextBox10.Text) Then
-
-
- PictureBox1.Image = Image.FromFile(TextBox10.Text)
- If PictureBox1.Image.Height >= PictureBox1.Image.Width Then
- PictureBox1.Height = 160
- PictureBox1.Width = CType(160 * PictureBox1.Image.Width / PictureBox1.Image.Height, Integer)
- Else
- PictureBox1.Width = 224
- PictureBox1.Height = CType(224 * PictureBox1.Image.Height / PictureBox1.Image.Width, Integer)
- End If
- End If
- Me.Text = "Image Catalog - " & LeggiSoloNomeFile(IlNome)
- End If
- End Sub
-
- Private Sub setPicSettings(ByVal SourcePath As String, ByVal DestPath As String)
-
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
- Dim DestDirStart As DirectoryInfo = New DirectoryInfo(DestPath)
- Dim DestDir As DirectoryInfo = Nothing
-
-
-
- PicSettings.DirectorySorgente = txtSorgente.Text
- PicSettings.DirectoryDestinazione = txtDestinazione.Text
-
- 'PicSettings.DestDir = DestDir
- 'PicSettings.SourceDir = SourceDir
- 'PicSettings.DestDirStart = DestDirStart
-
- PicSettings.DimStandard = CType(TextBox11.Text, Integer)
- PicSettings.DimStandardMiniatura = CType(TextBox25.Text, Integer)
-
- PicSettings.UsaOrarioMiniatura = CheckBox12.Checked
- PicSettings.UsaOrarioTestoApplicare = CheckBox8.Checked
- PicSettings.UsaTempoGaraTestoApplicare = CheckBox7.Checked
-
- PicSettings.UsaRotazioneAutomatica = chkRotazioneAutomatica.Checked
- PicSettings.UsaForzaJpg = chkForzaJpg.Checked
-
- If CheckBox17.Checked Then
- PicSettings.TestoNome = True
- Else
- PicSettings.TestoNome = False
-
- End If
-
- If CheckBox16.Checked Then
- PicSettings.NomeData = True
- Else
- PicSettings.NomeData = False
- End If
- PicSettings.TestoFirmaStart = TextBox4.Text
- PicSettings.TestoFirmaStartV = TextBox29.Text
-
- PicSettings.DataPartenza = DateTimePicker1.Value
- PicSettings.TestoOrario = TextBox18.Text
-
- PicSettings.AltezzaSmall = CType(TextBox6.Text, Integer)
- PicSettings.LarghezzaSmall = CType(TextBox5.Text, Integer)
-
- PicSettings.CreaMiniature = CheckBox1.Checked
- PicSettings.AggiungiScritteMiniature = RadioButton3.Checked
- PicSettings.AggTempoGaraMin = RadioButton5.Checked
- PicSettings.AggNumTempMin = RadioButton7.Checked
-
-
- PicSettings.DimVert = CType(TextBox30.Text, Integer)
- PicSettings.MargVert = CType(TextBox31.Text, Integer)
-
- 'PicSettings.NomeFileChild = childFile.Name
- PicSettings.Suffisso = TextBox3.Text
- 'PicSettings.Codice = TextBox13.Text
-
- PicSettings.Trasparenza = CType(TextBox9.Text, Integer)
- PicSettings.IlFont = ComboBox3.SelectedItem.ToString
- PicSettings.Grassetto = CheckBox3.Checked
-
- PicSettings.Posizione = ComboBox1.SelectedItem.ToString
- PicSettings.Allineamento = ComboBox2.SelectedItem.ToString
- PicSettings.Margine = CType(TextBox12.Text, Integer)
-
- PicSettings.LogoAltezza = CType(TextBox14.Text, Integer)
- PicSettings.LogoLarghezza = CType(TextBox15.Text, Integer)
-
- PicSettings.fontColoreRGB = ColorTranslator.FromHtml(TextBox34.Text)
-
- PicSettings.LogoAggiungi = CheckBox5.Checked
- PicSettings.LogoNomeFile = TextBox10.Text
- PicSettings.LogoTrasparenza = TextBox19.Text
- PicSettings.LogoMargine = TextBox16.Text
- PicSettings.LogoPosizioneH = ComboBox4.Text
- PicSettings.LogoPosizioneV = ComboBox5.Text
-
- PicSettings.FotoGrandeDimOrigina = CheckBox15.Checked
- PicSettings.AltezzaBig = CType(TextBox27.Text, Integer)
- PicSettings.LarghezzaBig = CType(TextBox28.Text, Integer)
- PicSettings.DimMin = CType(TextBox25.Text, Integer)
-
- PicSettings.TestoMin = RadioButton6.Checked
-
- PicSettings.jpegQuality = CLng(TextBox32.Text)
- PicSettings.jpegQualityMin = CLng(TextBox33.Text)
-
- PicSettings.mainForm = Me
-
-
- End Sub
-
- Private Function makeFilesList(ByVal SourcePath As String) As List(Of List(Of FileInfo))
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
-
- Dim DestDir As DirectoryInfo = Nothing
- Dim NumFileXDir As Integer = CType(txtFilePerCartella.Text, Integer)
- Dim SuffixDir As String = txtSuffissoCartelle.Text
- Dim NumCifreDir As Integer = CType(txtCifreContatore.Text, Integer)
- Dim DividiFile As Boolean = False
-
- StopAttivo = False
-
- Dim FileConta As Integer = 0
- Dim ContaFileXDir As Integer = 0
- Dim ContaDirXDir As Integer = 0
- Dim TestoTemp As String = ""
- Dim ContaTemp As Integer = 0
-
- Dim picList As New List(Of FileInfo)
- Dim dirList As New List(Of List(Of FileInfo))
-
-
- 'controlla directory principale
- 'Dim childFile As FileInfo
- 'For Each childFile In SourceDir.GetFiles("*.jpg")
- ' picList.Add(childFile)
- 'Next
-
- 'picList = getFiles(SourceDir, SearchOption.AllDirectories)
-
- 'dirList.Add(picList)
-
- 'controlla sottodirectory
- If chkAggiornaSottodirectory.Checked = True Then
- Dim subDir As DirectoryInfo
- For Each subDir In SourceDir.GetDirectories()
- Dim filesList As New List(Of FileInfo)
- filesList = getFiles(subDir)
- dirList.Add(filesList)
- Next
- End If
-
- Return dirList
- End Function
-
- Private Function getFiles(sourceDir As DirectoryInfo) As List(Of FileInfo)
- Dim picList As New List(Of FileInfo)
- Dim childFile As FileInfo
- For Each childFile In sourceDir.GetFiles("*.jpg")
- picList.Add(childFile)
- Next
- Return picList
- End Function
-
- Private Function getDirsDict(SourcePath As String, DestPath As String) As Dictionary(Of FileInfo, DirectoryInfo)
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
- Dim DestDirStart As DirectoryInfo = New DirectoryInfo(DestPath)
- Dim DestDir As DirectoryInfo = Nothing
- Dim NumFileXDir As Integer = CType(txtFilePerCartella.Text, Integer)
- Dim SuffixDir As String = txtSuffissoCartelle.Text
- Dim NumCifreDir As Integer = CType(txtCifreContatore.Text, Integer)
- Dim DividiFile As Boolean = False
-
- StopAttivo = False
-
- Dim FileConta As Integer = 0
- Dim ContaFileXDir As Integer = 0
- Dim ContaDirXDir As Integer = 0
- 'Dim TestoTemp As String = ""
- 'Dim ContaTemp As Integer = 0
- Dim dirSourceDest As Dictionary(Of FileInfo, DirectoryInfo) = New Dictionary(Of FileInfo, DirectoryInfo)
-
- If SourceDir.Exists Then
-
- If chkAggiornaSottodirectory.Checked Then
- FileConta = SourceDir.GetFiles("*.jpg", SearchOption.AllDirectories).GetLength(0)
- Else
- FileConta = SourceDir.GetFiles("*.jpg", SearchOption.TopDirectoryOnly).GetLength(0)
- End If
-
- Dim a As String = (CType(lblFotoTotaliNum.Text, Integer) + FileConta).ToString
- setLabel17Text(a)
- setProgressBarMaximum(CInt(a))
-
- If chkAggiornaSottodirectory.Checked Then
-
- For Each directory As DirectoryInfo In SourceDir.GetDirectories
- For Each file As FileInfo In directory.GetFiles(".jpg")
-
- Next
- Next
-
- End If
-
- For Each file As FileInfo In SourceDir.GetFiles("*.jpg", SearchOption.AllDirectories)
-
- Next
-
-
- If NumFileXDir > 0 And chkCreaSottocartelle.Checked = True And FileConta > NumFileXDir Then
- DividiFile = True
- Else
- DestDir = DestDirStart
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- DividiFile = False
- End If
-
- Dim filesList As New List(Of FileInfo)
- If chkAggiornaSottodirectory.Checked Then
- filesList.AddRange(SourceDir.GetFiles("*.jpg", SearchOption.AllDirectories))
- filesList.AddRange(SourceDir.GetFiles("*.png", SearchOption.AllDirectories))
- Else
- filesList.AddRange(SourceDir.GetFiles("*.jpg", SearchOption.TopDirectoryOnly))
- filesList.AddRange(SourceDir.GetFiles("*.png", SearchOption.TopDirectoryOnly))
- End If
-
- For Each file As FileInfo In filesList
-
-
-
- ContaFileXDir += 1
- If DividiFile = True Then
- If ContaFileXDir = (ContaDirXDir * NumFileXDir) + 1 Then
- ContaDirXDir += 1
- Dim TestoTemp As String
- If rdbNumProgressiva.Checked = True Then
- TestoTemp = ContaDirXDir.ToString
- Else
- TestoTemp = (ContaDirXDir * NumFileXDir).ToString
- End If
- For ContaTemp As Integer = 1 To (NumCifreDir - TestoTemp.Length)
- TestoTemp = "0" & TestoTemp
- Next
- DestDir = New DirectoryInfo(Path.Combine(DestDirStart.FullName, SuffixDir, TestoTemp))
- 'DestDir = New DirectoryInfo(DestDirStart.FullName & IIf(Not DestDirStart.FullName.EndsWith("\"), "\", String.Empty).ToString & SuffixDir & TestoTemp)
- dirSourceDest.Add(file, DestDir)
-
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- End If
- End If
-
- Next
-
-
- End If
- Return dirSourceDest
- End Function
-
- Private Sub setLabel17Text(ByVal text As String)
- If lblFotoTotaliNum.InvokeRequired Then
- lblFotoTotaliNum.Invoke(New Action(Of String)(AddressOf setLabel17Text), text)
- Else
- lblFotoTotaliNum.Text = text
-
- End If
- End Sub
-
- Private Sub setLabel10Text(ByVal text As String)
- If Label10.InvokeRequired Then
- Label10.Invoke(New Action(Of String)(AddressOf setLabel10Text), text)
- Else
- Label10.Text = text
-
- End If
- End Sub
- Public Sub stepProgressBar()
- If ProgressBar1.InvokeRequired Then
- ProgressBar1.Invoke(New MethodInvoker(AddressOf ProgressBar1.PerformStep))
- Else
- ProgressBar1.PerformStep()
- End If
- setLabel18Text(ProgressBar1.Value.ToString)
- End Sub
- Private Sub setProgressBarMaximum(ByVal value As Integer)
- If ProgressBar1.InvokeRequired Then
- ProgressBar1.Invoke(New Action(Of Integer)(AddressOf setProgressBarMaximum), value)
- Else
- ProgressBar1.Maximum = value
-
- End If
- End Sub
-
- Private Sub setProgressBarValue(ByVal value As Integer)
- If ProgressBar1.InvokeRequired Then
- ProgressBar1.Invoke(New Action(Of Integer)(AddressOf setProgressBarValue), value)
- Else
- ProgressBar1.Value = value
-
- End If
- End Sub
-
- Private Sub setLabel18Text(ByVal text As String)
- If Label18.InvokeRequired Then
- Label18.Invoke(New Action(Of String)(AddressOf setLabel18Text), text)
- Else
- Label18.Text = text
-
- End If
- End Sub
-
- Private Sub setLabel43Text(ByVal text As String)
- If Label43.InvokeRequired Then
- Label43.Invoke(New Action(Of String)(AddressOf setLabel43Text), text)
- Else
- Label43.Text = text
-
- End If
- End Sub
-
- Private Sub creaImmaginiWithThreadMod(ByVal SourcePath As String, ByVal DestPath As String)
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
- Dim DestDirStart As DirectoryInfo = New DirectoryInfo(DestPath)
- Dim DestDir As DirectoryInfo = Nothing
- Dim NumFileXDir As Integer = CType(txtFilePerCartella.Text, Integer)
- Dim SuffixDir As String = txtSuffissoCartelle.Text
- Dim NumCifreDir As Integer = CType(txtCifreContatore.Text, Integer)
- Dim DividiFile As Boolean = False
-
- StopAttivo = False
-
- Dim FileConta As Integer = 0
- Dim ContaFileXDir As Integer = 0
- Dim ContaDirXDir As Integer = 0
- Dim TestoTemp As String = ""
- Dim ContaTemp As Integer = 0
-
- If SourceDir.Exists Then
- FileConta = SourceDir.GetFiles("*.jpg").GetLength(0)
- 'Label17.Text = (CType(Label17.Text, Integer) + FileConta).ToString
- Dim a As String = (CType(lblFotoTotaliNum.Text, Integer) + FileConta).ToString
- setLabel17Text(a)
- setProgressBarMaximum(CInt(a))
-
- If NumFileXDir > 0 And chkCreaSottocartelle.Checked = True Then
- If FileConta > NumFileXDir Then
- DividiFile = True
- Else
- DestDir = DestDirStart
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- DividiFile = False
- End If
- Else
- DestDir = DestDirStart
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- DividiFile = False
- End If
-
- Dim childFile As FileInfo
- For Each childFile In SourceDir.GetFiles("*.jpg")
- If StopAttivo = True Then
- Exit For
- End If
- setLabel10Text("File: " & childFile.Name)
- Dim b As String = (CType(Label18.Text, Integer) + 1).ToString
- 'setLabel18Text(b)
- 'setProgressBarValue(CInt(b))
- 'Label10.Text = "File: " & childFile.Name
- 'Label18.Text = (CType(Label18.Text, Integer) + 1).ToString
- 'Application.DoEvents()
-
- ContaFileXDir += 1
-
- If DividiFile = True Then
- If ContaFileXDir = (ContaDirXDir * NumFileXDir) + 1 Then
- ContaDirXDir += 1
-
- If rdbNumProgressiva.Checked = True Then
- TestoTemp = ContaDirXDir.ToString
- Else
- TestoTemp = (ContaDirXDir * NumFileXDir).ToString
- End If
- For ContaTemp = 1 To (NumCifreDir - TestoTemp.Length)
- TestoTemp = "0" & TestoTemp
- Next
-
- If DestDirStart.FullName.EndsWith("\") Then
- DestDir = New DirectoryInfo(DestDirStart.FullName & SuffixDir & TestoTemp)
- Else
- DestDir = New DirectoryInfo(DestDirStart.FullName & "\" & SuffixDir & TestoTemp)
- End If
-
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- End If
- End If
-
- 'Application.DoEvents()
-
-
-
- Dim ClsCreaImmagine As New ImageCreatorSharp(childFile.Name, SourceDir, DestDir, DestDirStart)
- ' ClsCreaImmagine.NomeFileChild = childFile.Name
- ' ClsCreaImmagine.DestDir = DestDir
- ' ClsCreaImmagine.SourceDir = SourceDir
- ' ClsCreaImmagine.DestDirStart = DestDirStart
-
- ContaImmaginiThread += 1
- MyPool.InsertWorkItem(childFile.Name, New XyThreadAdd(AddressOf ClsCreaImmagine.CreaImmagineThread), New Object(0) {childFile.Name}, True)
- Next
- ' copy all the sub-directories by recursively calling this same routine
- If chkAggiornaSottodirectory.Checked = True Then
- Dim subDir As DirectoryInfo
- For Each subDir In SourceDir.GetDirectories()
- creaImmaginiWithThreadMod(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name))
- Next
- End If
- End If
- End Sub
-
- Private Function getNumerazione() As Integer
- Dim numerazione As Integer
- If rdbNumProgressiva.Checked Then
- numerazione = FileHelper.numerazione.Progressiva
- Else
- numerazione = FileHelper.numerazione.Files
- End If
- Return numerazione
- End Function
-
- Private Function GetNumerazioneEnum() As NumerazioneType
- Dim numerazioneType As NumerazioneType
- If rdbNumProgressiva.Checked Then
- numerazioneType = NumerazioneType.Progressiva ' FileHelper.numerazione.Progressiva
- Else
- numerazioneType = NumerazioneType.Files ' FileHelper.numerazione.Files
- End If
- Return numerazioneType
- End Function
-
- Private Sub creaimmaginiWithThreadDict(ByVal SourcePath As String, ByVal DestPath As String)
- Dim dirSourceDest As Dictionary(Of FileInfo, DirectoryInfo) = New Dictionary(Of FileInfo, DirectoryInfo)
- If chkAggiornaSottodirectory.Checked And chkCreaSottocartelle.Checked Then
-
- Dim helper As New FileHelper(CInt(txtFilePerCartella.Text), txtSuffissoCartelle.Text, CInt(txtCifreContatore.Text), getNumerazione())
- 'getfilesrecursive
- dirSourceDest = helper.GetFilesRecursive(New DirectoryInfo(SourcePath), New DirectoryInfo(DestPath), "*.jpg")
- ElseIf chkAggiornaSottodirectory.Checked And Not chkCreaSottocartelle.Checked Then
-
- End If
-
- '= getDirsDict(SourcePath, DestPath)
-
- Dim pair As KeyValuePair(Of FileInfo, DirectoryInfo)
- For Each pair In dirSourceDest
- setLabel10Text("File: " & pair.Key.Name)
- Dim b As String = (CType(Label18.Text, Integer) + 1).ToString
-
- Dim ClsCreaImmagine As New ImageCreatorSharp(pair.Key, pair.Value)
- ContaImmaginiThread += 1
-
- MyPool.InsertWorkItem(pair.Key.Name, New XyThreadAdd(AddressOf ClsCreaImmagine.CreaImmagineThread), New Object(0) {pair.Key.Name}, True)
-
- Next
-
- End Sub
-
- 'il posto giusto dove fare modifiche
- Private Sub CreaImmaginiWithThread(ByVal SourcePath As String, ByVal DestPath As String)
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
- Dim DestDirStart As DirectoryInfo = New DirectoryInfo(DestPath)
- Dim DestDir As DirectoryInfo = Nothing
- Dim NumFileXDir As Integer = CType(txtFilePerCartella.Text, Integer)
- Dim SuffixDir As String = txtSuffissoCartelle.Text
- Dim NumCifreDir As Integer = CType(txtCifreContatore.Text, Integer)
- Dim DividiFile As Boolean = False
-
- StopAttivo = False
-
- Dim FileConta As Integer = 0
- Dim ContaFileXDir As Integer = 0
- Dim ContaDirXDir As Integer = 0
- Dim TestoTemp As String = ""
- Dim ContaTemp As Integer = 0
-
-
-
- If SourceDir.Exists Then
- FileConta = SourceDir.GetFiles("*.jpg").GetLength(0)
- lblFotoTotaliNum.Text = (CType(lblFotoTotaliNum.Text, Integer) + FileConta).ToString
-
- If NumFileXDir > 0 And chkCreaSottocartelle.Checked = True Then
- If FileConta > NumFileXDir Then
- DividiFile = True
- Else
- DestDir = DestDirStart
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- DividiFile = False
- End If
- Else
- DestDir = DestDirStart
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- DividiFile = False
- End If
-
- Dim childFile As FileInfo
- For Each childFile In SourceDir.GetFiles("*.jpg")
- If StopAttivo = True Then
- Exit For
- End If
- 'Label10.Text = "File: " & childFile.Name
- 'Label18.Text = (CType(Label18.Text, Integer) + 1).ToString
- 'Application.DoEvents()
-
- ContaFileXDir += 1
-
- If DividiFile = True Then
- If ContaFileXDir = (ContaDirXDir * NumFileXDir) + 1 Then
- ContaDirXDir += 1
-
- If rdbNumProgressiva.Checked = True Then
- TestoTemp = ContaDirXDir.ToString
- Else
- TestoTemp = (ContaDirXDir * NumFileXDir).ToString
- End If
- For ContaTemp = 1 To (NumCifreDir - TestoTemp.Length)
- TestoTemp = "0" & TestoTemp
- Next
-
- If DestDirStart.FullName.EndsWith("\") Then
- DestDir = New DirectoryInfo(DestDirStart.FullName & SuffixDir & TestoTemp)
- Else
- DestDir = New DirectoryInfo(DestDirStart.FullName & "\" & SuffixDir & TestoTemp)
- End If
-
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- End If
- End If
-
- Application.DoEvents()
- Dim ClsCreaImmagine As New CreaImmagineSeparateThread
-
- ClsCreaImmagine.DirectorySorgente = txtSorgente.Text
- ClsCreaImmagine.DirectoryDestinazione = txtDestinazione.Text
-
- ClsCreaImmagine.DestDir = DestDir
- ClsCreaImmagine.SourceDir = SourceDir
- ClsCreaImmagine.DestDirStart = DestDirStart
-
- ClsCreaImmagine.DimStandard = CType(TextBox11.Text, Integer)
- ClsCreaImmagine.DimStandardMiniatura = CType(TextBox25.Text, Integer)
-
- ClsCreaImmagine.UsaOrarioMiniatura = CheckBox12.Checked
- ClsCreaImmagine.UsaOrarioTestoApplicare = CheckBox8.Checked
- ClsCreaImmagine.UsaTempoGaraTestoApplicare = CheckBox7.Checked
-
- ClsCreaImmagine.UsaRotazioneAutomatica = chkRotazioneAutomatica.Checked
- ClsCreaImmagine.UsaForzaJpg = chkForzaJpg.Checked
-
- If CheckBox17.Checked Then
- ClsCreaImmagine.TestoNome = True
- Else
- ClsCreaImmagine.TestoNome = False
-
- End If
-
- If CheckBox16.Checked Then
- ClsCreaImmagine.NomeData = True
- Else
- ClsCreaImmagine.NomeData = False
- End If
- ClsCreaImmagine.TestoFirmaStart = TextBox4.Text
- ClsCreaImmagine.TestoFirmaStartV = TextBox29.Text
-
- ClsCreaImmagine.DataPartenza = DateTimePicker1.Value
- ClsCreaImmagine.TestoOrario = TextBox18.Text
-
- ClsCreaImmagine.AltezzaSmall = CType(TextBox5.Text, Integer)
- ClsCreaImmagine.LarghezzaSmall = CType(TextBox5.Text, Integer)
-
- ClsCreaImmagine.CreaMiniature = CheckBox1.Checked
- ClsCreaImmagine.AggiungiScritteMiniature = RadioButton3.Checked
- ClsCreaImmagine.AggTempoGaraMin = RadioButton5.Checked
- ClsCreaImmagine.AggNumTempMin = RadioButton7.Checked
-
-
- ClsCreaImmagine.DimVert = CType(TextBox30.Text, Integer)
- ClsCreaImmagine.MargVert = CType(TextBox31.Text, Integer)
-
- ClsCreaImmagine.NomeFileChild = childFile.Name
- ClsCreaImmagine.Suffisso = TextBox3.Text
- 'ClsCreaImmagine.Codice = TextBox13.Text
-
- ClsCreaImmagine.Trasparenza = CType(TextBox9.Text, Integer)
- ClsCreaImmagine.IlFont = ComboBox3.SelectedItem.ToString
- ClsCreaImmagine.Grassetto = CheckBox3.Checked
-
- ClsCreaImmagine.Posizione = ComboBox1.SelectedItem.ToString
- ClsCreaImmagine.Allineamento = ComboBox2.SelectedItem.ToString
- ClsCreaImmagine.Margine = CType(TextBox12.Text, Integer)
-
- ClsCreaImmagine.LogoAltezza = CType(TextBox14.Text, Integer)
- ClsCreaImmagine.LogoLarghezza = CType(TextBox15.Text, Integer)
-
- 'ClsCreaImmagine.FontColoreR = CType(TextBox22.Text, Integer)
- 'ClsCreaImmagine.FontColoreG = CType(TextBox23.Text, Integer)
- 'ClsCreaImmagine.FontColoreB = CType(TextBox24.Text, Integer)
- ClsCreaImmagine.fontColoreRGB = ColorTranslator.FromHtml(TextBox34.Text)
-
- ClsCreaImmagine.LogoAggiungi = CheckBox5.Checked
- ClsCreaImmagine.LogoNomeFile = TextBox10.Text
- ClsCreaImmagine.LogoTrasparenza = TextBox19.Text
- ClsCreaImmagine.LogoMargine = TextBox16.Text
- ClsCreaImmagine.LogoPosizioneH = ComboBox4.Text
- ClsCreaImmagine.LogoPosizioneV = ComboBox5.Text
-
- ClsCreaImmagine.FotoGrandeDimOrigina = CheckBox15.Checked
- ClsCreaImmagine.AltezzaBig = CType(TextBox27.Text, Integer)
- ClsCreaImmagine.LarghezzaBig = CType(TextBox28.Text, Integer)
- ClsCreaImmagine.DimMin = CType(TextBox25.Text, Integer)
-
- ClsCreaImmagine.TestoMin = RadioButton6.Checked
-
- ClsCreaImmagine.jpegQuality = CLng(TextBox32.Text)
- ClsCreaImmagine.jpegQualityMin = CLng(TextBox33.Text)
-
- ContaImmaginiThread += 1
- MyPool.InsertWorkItem(childFile.Name, New XyThreadAdd(AddressOf ClsCreaImmagine.CreaImmagineThread), New Object(0) {childFile.Name}, True)
- Next
- ' copy all the sub-directories by recursively calling this same routine
- If chkAggiornaSottodirectory.Checked = True Then
- Dim subDir As DirectoryInfo
- For Each subDir In SourceDir.GetDirectories()
- CreaImmaginiWithThread(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name))
- Next
- End If
- End If
- End Sub
-
- Private Sub CopyDirectoryFile(ByVal SourcePath As String, ByVal DestPath As String, Optional ByVal OverWrite As Boolean = False)
- Dim SourceDir As DirectoryInfo = New DirectoryInfo(SourcePath)
- Dim DestDir As DirectoryInfo = New DirectoryInfo(DestPath)
-
- If SourceDir.Exists Then
- If Not DestDir.Exists Then
- DestDir.Create()
- End If
- ' copy all the files of the current directory
- Dim childFile As FileInfo
- For Each childFile In SourceDir.GetFiles()
- If OverWrite Then
- childFile.CopyTo(Path.Combine(DestDir.FullName, childFile.Name), True)
- Else
- ' if overwrite = false, copy the file only if it does not exist
- ' this is done to avoid an IOException if a file already exists
- ' this way the other files can be copied anyway...
- If Not File.Exists(Path.Combine(DestDir.FullName, childFile.Name)) Then
- childFile.CopyTo(Path.Combine(DestDir.FullName, childFile.Name), False)
- End If
- End If
- Next
- ' copy all the sub-directories by recursively calling this same routine
- Dim subDir As DirectoryInfo
- For Each subDir In SourceDir.GetDirectories()
- CopyDirectoryFile(subDir.FullName, Path.Combine(DestDir.FullName, subDir.Name), OverWrite)
- Next
- End If
- End Sub
-
-
-
-
-
- Function NewthumbSize(ByVal currentwidth As Integer, ByVal currentheight As Integer, ByVal MaxPixel As Integer, ByVal TipoSize As String) As Size
- ' Calculate the Size of the New image
- '*** Larghezza, Altezza, Auto
-
- Dim tempMultiplier As Double
-
- If TipoSize.ToUpper = "Larghezza".ToUpper Then
- tempMultiplier = MaxPixel / currentwidth
- ElseIf TipoSize.ToUpper = "Altezza".ToUpper Then
- tempMultiplier = MaxPixel / currentheight
- Else
- If currentheight > currentwidth Then ' portrait
- tempMultiplier = MaxPixel / currentheight
- Else
- tempMultiplier = MaxPixel / currentwidth
- End If
- End If
-
- Dim NewSize As New Size(CInt(currentwidth * tempMultiplier), CInt(currentheight * tempMultiplier))
-
- Return NewSize
- End Function
-
-
-
- Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
- StopAttivo = True
-
- MyPool.StopThreadPool()
- unlockUI()
-
- End Sub
-
- Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
- Dim openFileDialog As OpenFileDialog = New OpenFileDialog
-
- 'openFileDialog.InitialDirectory = TextBox1.Text
- openFileDialog.Filter = "Immagini jpg (*.jpg)|*.jpg|Immagini gif (*.gif)|*.gif|Tutti i file (*.*)|*.*"
- If TextBox10.Text.Length > 0 Then
- openFileDialog.FileName = TextBox10.Text
- End If
- openFileDialog.FilterIndex = 0
- openFileDialog.RestoreDirectory = True
-
- If DialogResult.OK = openFileDialog.ShowDialog() Then
- TextBox10.Text = openFileDialog.FileName
- PictureBox1.Image = Image.FromFile(TextBox10.Text)
- If PictureBox1.Image.Height >= PictureBox1.Image.Width Then
- PictureBox1.Height = 160
- PictureBox1.Width = CType(160 * PictureBox1.Image.Width / PictureBox1.Image.Height, Integer)
- Else
- PictureBox1.Width = 224
- PictureBox1.Height = CType(224 * PictureBox1.Image.Height / PictureBox1.Image.Width, Integer)
- End If
- End If
- End Sub
-
- Private Function LeggiSoloNomeFile(ByVal FileName As String) As String
- Dim Testo As String = FileName
- Dim Risposta As String = ""
-
- Dim Nomi() As String = Testo.Split(New Char() {"\"c})
- If Nomi.Length > 1 Then
- Risposta = Nomi(Nomi.Length - 1)
- End If
-
- Return Risposta
- End Function
-
-
- Private Sub PictureBox1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove
- 'GetColor()
- 'GetPixelColor(PictureBox1.PointToScreen(e.Location)).ToArgb.ToString("X8")
-
- End Sub
-
- Private Sub PictureBox1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseUp
- If e.Button = MouseButtons.Left Then
- WaterSelectColor = True
- Else
- WaterSelectColor = False
- End If
- End Sub
-
-
- 'Private Declare Function CreateDC Lib "gdi32.dll" (ByVal strDriver As String, ByVal strDevice As String, ByVal strOutput As String, ByVal pData As IntPtr) As IntPtr
- 'Private Declare Function DeleteDC Lib "gdi32.dll" (ByVal hdc As IntPtr) As Boolean
- 'Private Declare Function GetPixel Lib "gdi32.dll" (ByVal hdc As IntPtr, ByVal x As Integer, ByVal y As Integer) As Integer
- 'Private Declare Function GetCursorPos Lib "user32.dll" (ByRef lpPoint As Point) As Boolean
-
-
- ''''
- '''' Get the color relative to mouse position
- ''''
- 'Private Sub GetColor()
- ' Dim hdcScreen As IntPtr = CreateDC("Display", Nothing, Nothing, IntPtr.Zero)
- ' Dim pt As Point = New Point
- ' GetCursorPos(pt)
- ' Dim cr As Integer = GetPixel(hdcScreen, pt.X, pt.Y)
- ' DeleteDC(hdcScreen)
- ' Dim clr As Color = Color.FromArgb((cr And &HFF), (cr And &HFF00) >> 8, (cr And &HFF0000) >> 16)
- ' PictureBox3.BackColor = clr
- ' If WaterSelectColor = True Then
- ' PictureBox2.BackColor = clr
- ' End If
- ' WaterSelectColor = False
- 'End Sub
-
-
- Private Function GetPixelColor(ByVal screenLocation As Point) As Color()
- 'Dim bm As New Bitmap(1, 1, Imaging.PixelFormat.Format24bppRgb)
- 'Dim g As Graphics = Graphics.FromImage(bm)
- 'g.CopyFromScreen(screenLocation, New Point(0, 0), New Size(1, 1))
- 'Dim result As Color = bm.GetPixel(0, 0)
- 'g.Dispose()
- 'bm.Dispose()
- 'Return result
- Return Nothing
- End Function
-
- Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click
- Dim MyDialog As New ColorDialog
- MyDialog.AllowFullOpen = True
- 'If TextBox22.Text.Length > 0 And TextBox23.Text.Length > 0 And TextBox24.Text.Length > 0 Then
- ' If CType(TextBox22.Text, Integer) >= 0 And CType(TextBox23.Text, Integer) >= 0 And CType(TextBox24.Text, Integer) >= 0 Then
- ' MyDialog.Color = Color.FromArgb(0, CType(TextBox22.Text, Integer), CType(TextBox23.Text, Integer), CType(TextBox24.Text, Integer))
- ' End If
- 'End If
-
- If (MyDialog.ShowDialog() = Windows.Forms.DialogResult.OK) Then
- 'TextBox22.Text = MyDialog.Color.R.ToString
- 'TextBox23.Text = MyDialog.Color.G.ToString
- 'TextBox24.Text = MyDialog.Color.B.ToString
- TextBox34.Text = ColorTranslator.ToHtml(MyDialog.Color)
- TextBox34.BackColor = MyDialog.Color
-
- End If
- End Sub
-
-
-
-
-
-
-
- Private Sub TextBox27_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
-
- End Sub
-
-
-
-
- Private Sub CheckBox18_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox18.CheckedChanged
- CheckBox4.Checked = False
- CheckBox12.Checked = False
-
- End Sub
-
- Private Sub CheckBox4_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox4.CheckedChanged
- CheckBox18.Checked = False
- End Sub
-
- Private Sub CheckBox12_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox12.CheckedChanged
- CheckBox18.Checked = False
- End Sub
-
- Private Sub Label27_Click(sender As Object, e As EventArgs) Handles Label27.Click
-
- End Sub
-
- Private Async Sub Button1_Click(sender As Object, e As EventArgs) Handles btnCreaCatalogoAsync.Click
- lockUI()
- 'Dim timeStart As Date
- 'Dim timeStop As Date
-
- 'timeStart = TimeOfDay
- FixPaths()
- Label10.Text = "Elaborazione in corso..."
- lblFotoTotaliNum.Text = "0"
- Label18.Text = "0"
- Label43.Text = "-s"
-
- setPicSettings(txtSorgente.Text, txtDestinazione.Text)
- ProgressBar1.Minimum = 0
- ProgressBar1.Step = 1
- ProgressBar1.Value = 0
-
- 'Await CreaCatalogoParallel()
- Dim imgStf As ImageCreationStuff = New ImageCreationStuff()
-
- Dim imageCreationOptions As ImageCreationStuff.Options = New ImageCreationStuff.Options()
- With imageCreationOptions
- .AggiornaSottodirectory = chkAggiornaSottodirectory.Checked
- .CreaSottocartelle = chkCreaSottocartelle.Checked
- .FilePerCartella = CInt(txtFilePerCartella.Text)
- .SuffissoCartelle = txtSuffissoCartelle.Text
- .CifreContatore = CInt(txtCifreContatore.Text)
- .NumerazioneType = GetNumerazioneEnum()
- .SourcePath = txtSorgente.Text
- .DestinationPath = txtDestinazione.Text
- .MaxThreads = CInt(TextBox7.Text)
- .ChunksSize = CInt(TextBox8.Text)
- .LinearExecution = rdbVecchioMetodo.Checked
- End With
-
- Dim time As String = Await imgStf.CreaCatalogoParallel(imageCreationOptions)
- Label43.Text = time
- Label10.Text = "Finito"
- unlockUI()
-
- End Sub
- Private Sub UpdateCounter(text As String)
- Label10.Invoke(Sub()
- Label10.Text = text
-
- End Sub)
- End Sub
- Private Async Function CreaCatalogoParallel() As Task
- Dim timeStart As Date = TimeOfDay
- ContaImmaginiThread = 0
- setLabel10Text("Elaborazione in corso...")
- Dim imgStf As ImageCreationStuff = New ImageCreationStuff()
-
- Dim imageCreationOptions As ImageCreationStuff.Options = New ImageCreationStuff.Options()
- With imageCreationOptions
- .AggiornaSottodirectory = chkAggiornaSottodirectory.Checked
- .CreaSottocartelle = chkCreaSottocartelle.Checked
- .FilePerCartella = CInt(txtFilePerCartella.Text)
- .SuffissoCartelle = txtSuffissoCartelle.Text
- .CifreContatore = CInt(txtCifreContatore.Text)
- .NumerazioneType = GetNumerazioneEnum()
- .SourcePath = txtSorgente.Text
- .DestinationPath = txtDestinazione.Text
- End With
-
- Await imgStf.CreaImmaginiParallel(imageCreationOptions)
-
- 'Await CreaImmaginiParallel(txtSorgente.Text, txtDestinazione.Text)
-
- setLabel10Text("Finito")
- Dim timeStop As Date = TimeOfDay
- setLabel43Text(CalcTime(timeStart, timeStop, ContaImmaginiThread))
- End Function
-
- 'Private Async Function CreaImmaginiParallel(ByVal SourcePath As String, ByVal DestPath As String) As Task
- ' Dim dataToProcess As List(Of FileData) = New List(Of FileData)
-
- ' 'Dim dirSourceDest As Dictionary(Of FileInfo, DirectoryInfo) = New Dictionary(Of FileInfo, DirectoryInfo)
- ' If chkAggiornaSottodirectory.Checked And chkCreaSottocartelle.Checked Then
-
- ' Dim helperSharp As New FileHelperSharp()
-
- ' 'Dim helper As New FileHelper(CInt(txtFilePerCartella.Text), txtSuffissoCartelle.Text, CInt(txtCifreContatore.Text), getNumerazione())
- ' 'getfilesrecursive
-
- ' Dim fileHelperOptions As FileHelperOptions = New FileHelperOptions()
- ' fileHelperOptions.FilesPerFolder = CInt(txtFilePerCartella.Text)
- ' fileHelperOptions.Suffix = txtSuffissoCartelle.Text
- ' fileHelperOptions.CounterSize = CInt(txtCifreContatore.Text)
- ' fileHelperOptions.NumerationType = GetNumerazioneEnum()
-
- ' dataToProcess = helperSharp.GetFilesRecursive(New DirectoryInfo(SourcePath), New DirectoryInfo(DestPath), "*.jpg", fileHelperOptions)
-
- ' 'dataToProcess = helper.GetFilesRecursiveParallel(New DirectoryInfo(SourcePath), New DirectoryInfo(DestPath), "*.jpg")
- ' ElseIf chkAggiornaSottodirectory.Checked And Not chkCreaSottocartelle.Checked Then
- ' ' TODO manca tutto?!?!?!?
- ' End If
-
- ' Dim scheduler As TaskScheduler = New ConcurrentExclusiveSchedulerPair(TaskScheduler.Default, Environment.ProcessorCount * 2).ConcurrentScheduler
-
- ' Dim test As IEnumerable(Of Task) = From d In dataToProcess Select Task.Factory.StartNew(Sub()
- ' 'setLabel10Text("File: " & p.File.Name)
-
- ' Dim b As String = (CType(Label18.Text, Integer) + 1).ToString
-
- ' Dim clsCreaImmagine As New ImageCreator(d.File, d.Directory)
-
- ' clsCreaImmagine.CreaImmagineThread(d.File.Name)
-
- ' ContaImmaginiThread += 1
- ' UpdateCounter(ContaImmaginiThread & " " & d.File.Name)
- ' End Sub, CancellationToken.None, TaskCreationOptions.LongRunning, scheduler) 'TODO Cancellation Token
-
- ' 'ThreadingHelper.StartAndWaitAllThrottled(test, CType(TextBox7.Text, Integer))
-
- ' Await Task.WhenAll(test)
-
- ' '= getDirsDict(SourcePath, DestPath)
- ' 'Parallel.ForEach(dataToProcess,
- ' ' Sub(p, state)
- ' ' 'setLabel10Text("File: " & p.File.Name)
-
- ' ' Dim b As String = (CType(Label18.Text, Integer) + 1).ToString
-
- ' ' Dim clsCreaImmagine As New ImageCreator(p.File, p.Directory)
-
- ' ' clsCreaImmagine.CreaImmagineThread(p.File.Name)
-
- ' ' ContaImmaginiThread += 1
- ' ' UpdateCounter(ContaImmaginiThread & " " & p.File.Name)
- ' ' 'MyPool.InsertWorkItem(p.File.Name, New XyThreadAdd(AddressOf ClsCreaImmagine.CreaImmagineThread), New Object(0) {p.File.Name}, True)
- ' ' ' TODO: BREAK ON STOP state.stop()
-
- ' ' End Sub)
-
- ' 'Dim pair As KeyValuePair(Of FileInfo, DirectoryInfo)
- ' 'For Each pair In dirSourceDest
-
- ' ' setLabel10Text("File: " & pair.Key.Name)
- ' ' Dim b As String = (CType(Label18.Text, Integer) + 1).ToString
-
- ' ' Dim ClsCreaImmagine As New ImageCreator(pair.Key, pair.Value)
- ' ' ContaImmaginiThread += 1
- ' ' MyPool.InsertWorkItem(pair.Key.Name, New XyThreadAdd(AddressOf ClsCreaImmagine.CreaImmagineThread), New Object(0) {pair.Key.Name}, True)
-
- ' 'Next
- 'End Function
-End Class
-
-Public Class PicInfo
- Public DirSource, DirDest, DirDestStart As DirectoryInfo
- Public NomeImmagine As String
-
- Public Sub New(ByVal Dir_Source As DirectoryInfo, ByVal Dir_Dest As DirectoryInfo, ByVal Dir_DestStart As DirectoryInfo, ByVal Nome_Immagine As String)
- DirSource = Dir_Source
- DirDest = Dir_Dest
- DirDestStart = Dir_DestStart
- NomeImmagine = Nome_Immagine
- End Sub
-End Class
\ No newline at end of file
diff --git a/imagecatalog.backup/Module1.cs b/imagecatalog.backup/Module1.cs
deleted file mode 100644
index de80777..0000000
--- a/imagecatalog.backup/Module1.cs
+++ /dev/null
@@ -1,158 +0,0 @@
-
-namespace ImageCatalog
-{
- static class Module1
- {
-
- // Sub CaricaIni()
- // Dim Parola As String
- // Dim i As Integer
- // Dim p As Integer
-
- // If Dir$(NomeIni) <> "" Then
- // Open NomeIni For Input As #1
- // Input #1, NumeroMacchine
- // For i = 1 To NumeroMacchine
- // Input #1, NomeMacchina(i)
- // Input #1, CodiceMacchina(i)
- // Input #1, TempoMacchinaFerma(i)
- // Input #1, LunghezzaImpulso(i)
- // Input #1, TempoRegistrazioneDati(i)
- // Input #1, RangoVelocita(i)
- // Input #1, MaxVelocita(i)
- // Input #1, NumeroRulli(i)
- // Input #1, NumeroFili(i)
- // Input #1, IndirizzoMacchina(i)
- // Input #1, StampaAutoMacchina(i)
- // Next i
- // Input #1, SettimanaInizio
- // Input #1, SettimanaFine
- // Input #1, Chiusura
- // Input #1, OrarioStampa
- // Input #1, OrarioStampaSecondi
- // Input #1, OrarioAccendiProg
- // Input #1, OrarioSpengiProg
- // Input #1, NomeDitta
- // Input #1, StampaAutoGiorno
- // Input #1, StampaAutoWeek
- // Input #1, StampaGiornoRiepilogo
- // Input #1, StampaGiornoGrafTMFA
- // Input #1, StampaGiornoGrafVel
- // Input #1, StampaWeekRiepilogo
- // Input #1, StampaWeekGrafTMFA
- // Input #1, StampaWeekGrafVel
- // Input #1, StampanteManuale
- // Input #1, StampanteAutomatica
- // Input #1, StampanteNomeAghi
- // Input #1, StampanteNomeLaser
- // Input #1, NomePortaComm
-
- // Input #1, TurniTotali
- // For p = 1 To TurniTotali
- // Input #1, TurnoNumero(p)
- // Input #1, TurnoInizioMinuti(p)
- // Input #1, TurnoFineMinuti(p)
- // Input #1, TurnoInizioSecondi(p)
- // Input #1, TurnoFineSecondi(p)
- // Next p
- // Input #1, Parola
- // Close #1
- // PassWordAmm = Trim$(Cripta(Parola, ChiaveCriDecri))
- // End If
- // End Sub
-
- // Sub SalvaIni()
- // Dim Conto As Single
- // Dim Nomefile As String
- // Dim NomeDir As String
- // Dim Testo As String
- // Dim TestoA As String
- // Dim i As Integer
- // Dim k As Integer
- // Dim p As Integer
- // Dim Lungo As Integer
- // Dim Resto As Integer
- // Dim Primo(3) As String
-
- // For i = 1 To NumeroMacchine
- // If Right$(DirectoryProgramma, 1) = "\" Then
- // NomeDir = DirectoryProgramma + NomeMacchina(i)
- // Else
- // NomeDir = DirectoryProgramma + "\" + NomeMacchina(i)
- // End If
- // Nomefile = NomeDir + "\" + NomeMacchina(i) + ".SYS"
- // If Dir$(Nomefile) = "" Then MkDir(NomeDir)
- // Next i
-
- // Open NomeIni For Output As #3
- // Print #3, NumeroMacchine
- // For i = 1 To NumeroMacchine
- // If Right$(DirectoryProgramma, 1) = "\" Then
- // Nomefile = DirectoryProgramma + NomeMacchina(i) + "\" + NomeMacchina(i) + ".SYS"
- // Else
- // Nomefile = DirectoryProgramma + "\" + NomeMacchina(i) + "\" + NomeMacchina(i) + ".SYS"
- // End If
- // Open Nomefile For Output As #4
- // Write #4, NomeMacchina(i)
- // Write #4, CodiceMacchina(i)
- // Print #4, TempoMacchinaFerma(i)
- // Print #4, LunghezzaImpulso(i)
- // Print #4, TempoRegistrazioneDati(i)
- // Print #4, RangoVelocita(i)
- // Print #4, MaxVelocita(i)
- // Print #4, NumeroRulli(i)
- // Print #4, NumeroFili(i)
- // Print #4, IndirizzoMacchina(i)
- // Write #4, StampaAutoMacchina(i)
- // Close #4
- // Write #3, NomeMacchina(i)
- // Write #3, CodiceMacchina(i)
- // Print #3, TempoMacchinaFerma(i)
- // Print #3, LunghezzaImpulso(i)
- // Print #3, TempoRegistrazioneDati(i)
- // Print #3, RangoVelocita(i)
- // Print #3, MaxVelocita(i)
- // Print #3, NumeroRulli(i)
- // Print #3, NumeroFili(i)
- // Print #3, IndirizzoMacchina(i)
- // Write #3, StampaAutoMacchina(i)
- // Next i
- // Print #3, SettimanaInizio
- // Print #3, SettimanaFine
- // Write #3, Chiusura
- // Write #3, OrarioStampa
- // Print #3, OrarioStampaSecondi
- // Write #3, OrarioAccendiProg
- // Write #3, OrarioSpengiProg
- // Write #3, NomeDitta
- // Write #3, StampaAutoGiorno
- // Write #3, StampaAutoWeek
- // Write #3, StampaGiornoRiepilogo
- // Write #3, StampaGiornoGrafTMFA
- // Write #3, StampaGiornoGrafVel
- // Write #3, StampaWeekRiepilogo
- // Write #3, StampaWeekGrafTMFA
- // Write #3, StampaWeekGrafVel
- // Write #3, StampanteManuale
- // Write #3, StampanteAutomatica
- // Write #3, StampanteNomeAghi
- // Write #3, StampanteNomeLaser
- // Write #3, NomePortaComm
-
- // Print #3, TurniTotali
- // For p = 1 To TurniTotali
- // Print #3, TurnoNumero(p)
- // Print #3, TurnoInizioMinuti(p)
- // Print #3, TurnoFineMinuti(p)
- // Print #3, TurnoInizioSecondi(p)
- // Print #3, TurnoFineSecondi(p)
- // Next p
- // Testo = Cripta(PassWordAmm, ChiaveCriDecri)
- // Write #3, Testo
- // Close #3
- // End Sub
-
-
- public static ParametriSetup SetupIni = new ParametriSetup();
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/Module1.vb b/imagecatalog.backup/Module1.vb
deleted file mode 100644
index f9b2cbc..0000000
--- a/imagecatalog.backup/Module1.vb
+++ /dev/null
@@ -1,155 +0,0 @@
-Module Module1
-
- 'Sub CaricaIni()
- ' Dim Parola As String
- ' Dim i As Integer
- ' Dim p As Integer
-
- ' If Dir$(NomeIni) <> "" Then
- ' Open NomeIni For Input As #1
- ' Input #1, NumeroMacchine
- ' For i = 1 To NumeroMacchine
- ' Input #1, NomeMacchina(i)
- ' Input #1, CodiceMacchina(i)
- ' Input #1, TempoMacchinaFerma(i)
- ' Input #1, LunghezzaImpulso(i)
- ' Input #1, TempoRegistrazioneDati(i)
- ' Input #1, RangoVelocita(i)
- ' Input #1, MaxVelocita(i)
- ' Input #1, NumeroRulli(i)
- ' Input #1, NumeroFili(i)
- ' Input #1, IndirizzoMacchina(i)
- ' Input #1, StampaAutoMacchina(i)
- ' Next i
- ' Input #1, SettimanaInizio
- ' Input #1, SettimanaFine
- ' Input #1, Chiusura
- ' Input #1, OrarioStampa
- ' Input #1, OrarioStampaSecondi
- ' Input #1, OrarioAccendiProg
- ' Input #1, OrarioSpengiProg
- ' Input #1, NomeDitta
- ' Input #1, StampaAutoGiorno
- ' Input #1, StampaAutoWeek
- ' Input #1, StampaGiornoRiepilogo
- ' Input #1, StampaGiornoGrafTMFA
- ' Input #1, StampaGiornoGrafVel
- ' Input #1, StampaWeekRiepilogo
- ' Input #1, StampaWeekGrafTMFA
- ' Input #1, StampaWeekGrafVel
- ' Input #1, StampanteManuale
- ' Input #1, StampanteAutomatica
- ' Input #1, StampanteNomeAghi
- ' Input #1, StampanteNomeLaser
- ' Input #1, NomePortaComm
-
- ' Input #1, TurniTotali
- ' For p = 1 To TurniTotali
- ' Input #1, TurnoNumero(p)
- ' Input #1, TurnoInizioMinuti(p)
- ' Input #1, TurnoFineMinuti(p)
- ' Input #1, TurnoInizioSecondi(p)
- ' Input #1, TurnoFineSecondi(p)
- ' Next p
- ' Input #1, Parola
- ' Close #1
- ' PassWordAmm = Trim$(Cripta(Parola, ChiaveCriDecri))
- ' End If
- 'End Sub
-
- 'Sub SalvaIni()
- ' Dim Conto As Single
- ' Dim Nomefile As String
- ' Dim NomeDir As String
- ' Dim Testo As String
- ' Dim TestoA As String
- ' Dim i As Integer
- ' Dim k As Integer
- ' Dim p As Integer
- ' Dim Lungo As Integer
- ' Dim Resto As Integer
- ' Dim Primo(3) As String
-
- ' For i = 1 To NumeroMacchine
- ' If Right$(DirectoryProgramma, 1) = "\" Then
- ' NomeDir = DirectoryProgramma + NomeMacchina(i)
- ' Else
- ' NomeDir = DirectoryProgramma + "\" + NomeMacchina(i)
- ' End If
- ' Nomefile = NomeDir + "\" + NomeMacchina(i) + ".SYS"
- ' If Dir$(Nomefile) = "" Then MkDir(NomeDir)
- ' Next i
-
- 'Open NomeIni For Output As #3
- ' Print #3, NumeroMacchine
- ' For i = 1 To NumeroMacchine
- ' If Right$(DirectoryProgramma, 1) = "\" Then
- ' Nomefile = DirectoryProgramma + NomeMacchina(i) + "\" + NomeMacchina(i) + ".SYS"
- ' Else
- ' Nomefile = DirectoryProgramma + "\" + NomeMacchina(i) + "\" + NomeMacchina(i) + ".SYS"
- ' End If
- ' Open Nomefile For Output As #4
- ' Write #4, NomeMacchina(i)
- ' Write #4, CodiceMacchina(i)
- ' Print #4, TempoMacchinaFerma(i)
- ' Print #4, LunghezzaImpulso(i)
- ' Print #4, TempoRegistrazioneDati(i)
- ' Print #4, RangoVelocita(i)
- ' Print #4, MaxVelocita(i)
- ' Print #4, NumeroRulli(i)
- ' Print #4, NumeroFili(i)
- ' Print #4, IndirizzoMacchina(i)
- ' Write #4, StampaAutoMacchina(i)
- ' Close #4
- ' Write #3, NomeMacchina(i)
- ' Write #3, CodiceMacchina(i)
- ' Print #3, TempoMacchinaFerma(i)
- ' Print #3, LunghezzaImpulso(i)
- ' Print #3, TempoRegistrazioneDati(i)
- ' Print #3, RangoVelocita(i)
- ' Print #3, MaxVelocita(i)
- ' Print #3, NumeroRulli(i)
- ' Print #3, NumeroFili(i)
- ' Print #3, IndirizzoMacchina(i)
- ' Write #3, StampaAutoMacchina(i)
- ' Next i
- ' Print #3, SettimanaInizio
- ' Print #3, SettimanaFine
- ' Write #3, Chiusura
- ' Write #3, OrarioStampa
- ' Print #3, OrarioStampaSecondi
- ' Write #3, OrarioAccendiProg
- ' Write #3, OrarioSpengiProg
- ' Write #3, NomeDitta
- ' Write #3, StampaAutoGiorno
- ' Write #3, StampaAutoWeek
- ' Write #3, StampaGiornoRiepilogo
- ' Write #3, StampaGiornoGrafTMFA
- ' Write #3, StampaGiornoGrafVel
- ' Write #3, StampaWeekRiepilogo
- ' Write #3, StampaWeekGrafTMFA
- ' Write #3, StampaWeekGrafVel
- ' Write #3, StampanteManuale
- ' Write #3, StampanteAutomatica
- ' Write #3, StampanteNomeAghi
- ' Write #3, StampanteNomeLaser
- ' Write #3, NomePortaComm
-
- ' Print #3, TurniTotali
- ' For p = 1 To TurniTotali
- ' Print #3, TurnoNumero(p)
- ' Print #3, TurnoInizioMinuti(p)
- ' Print #3, TurnoFineMinuti(p)
- ' Print #3, TurnoInizioSecondi(p)
- ' Print #3, TurnoFineSecondi(p)
- ' Next p
- ' Testo = Cripta(PassWordAmm, ChiaveCriDecri)
- ' Write #3, Testo
- 'Close #3
- 'End Sub
-
-
- Public SetupIni As New ParametriSetup
-
-
-End Module
diff --git a/imagecatalog.backup/Module2.cs b/imagecatalog.backup/Module2.cs
deleted file mode 100644
index 9a86f8b..0000000
--- a/imagecatalog.backup/Module2.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-
-namespace ImageCatalog
-{
- static class Module2
- {
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/Module2.vb b/imagecatalog.backup/Module2.vb
deleted file mode 100644
index f48fe0e..0000000
--- a/imagecatalog.backup/Module2.vb
+++ /dev/null
@@ -1,3 +0,0 @@
-Module Module2
-
-End Module
diff --git a/imagecatalog.backup/My Project/Application.Designer.cs b/imagecatalog.backup/My Project/Application.Designer.cs
deleted file mode 100644
index 1c924b5..0000000
--- a/imagecatalog.backup/My Project/Application.Designer.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-using System.Diagnostics;
-
-namespace ImageCatalog.My
-{
-
- // NOTE: This file is auto-generated; do not modify it directly. To make changes,
- // or if you encounter build errors in this file, go to the Project Designer
- // (go to Project Properties or double-click the My Project node in
- // Solution Explorer), and make changes on the Application tab.
- //
- internal partial class MyApplication
- {
- [DebuggerStepThrough()]
- public MyApplication() : base(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
- {
- IsSingleInstance = false;
- EnableVisualStyles = true;
- SaveMySettingsOnExit = true;
- ShutdownStyle = Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses;
- }
-
- [DebuggerStepThrough()]
- protected override void OnCreateMainForm()
- {
- MainForm = MyProject.Forms.MainForm;
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/My Project/Application.Designer.vb b/imagecatalog.backup/My Project/Application.Designer.vb
deleted file mode 100644
index 24fc37f..0000000
--- a/imagecatalog.backup/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,38 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict Off
-Option Explicit On
-
-
-Namespace My
-
- 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
- ' or if you encounter build errors in this file, go to the Project Designer
- ' (go to Project Properties or double-click the My Project node in
- ' Solution Explorer), and make changes on the Application tab.
- '
- Partial Friend Class MyApplication
-
- _
- Public Sub New()
- MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
- Me.IsSingleInstance = false
- Me.EnableVisualStyles = true
- Me.SaveMySettingsOnExit = true
- Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
- End Sub
-
- _
- Protected Overrides Sub OnCreateMainForm()
- Me.MainForm = Global.ImageCatalog.MainForm
- End Sub
- End Class
-End Namespace
diff --git a/imagecatalog.backup/My Project/Application.myapp b/imagecatalog.backup/My Project/Application.myapp
deleted file mode 100644
index c9098c2..0000000
--- a/imagecatalog.backup/My Project/Application.myapp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- true
- MainForm
- false
- 0
- true
- 0
- true
-
\ No newline at end of file
diff --git a/imagecatalog.backup/My Project/MyNamespace.Dynamic.Designer.cs b/imagecatalog.backup/My Project/MyNamespace.Dynamic.Designer.cs
deleted file mode 100644
index 5f1eb17..0000000
--- a/imagecatalog.backup/My Project/MyNamespace.Dynamic.Designer.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using System;
-using System.ComponentModel;
-using System.Diagnostics;
-
-namespace ImageCatalog.My
-{
- internal static partial class MyProject
- {
- internal partial class MyForms
- {
- [EditorBrowsable(EditorBrowsableState.Never)]
- public Form1 m_Form1;
-
- public Form1 Form1
- {
- [DebuggerHidden]
- get
- {
- m_Form1 = Create__Instance__(m_Form1);
- return m_Form1;
- }
-
- [DebuggerHidden]
- set
- {
- if (ReferenceEquals(value, m_Form1))
- return;
- if (value is object)
- throw new ArgumentException("Property can only be set to Nothing");
- Dispose__Instance__(ref m_Form1);
- }
- }
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- public MainForm m_MainForm;
-
- public MainForm MainForm
- {
- [DebuggerHidden]
- get
- {
- m_MainForm = Create__Instance__(m_MainForm);
- return m_MainForm;
- }
-
- [DebuggerHidden]
- set
- {
- if (ReferenceEquals(value, m_MainForm))
- return;
- if (value is object)
- throw new ArgumentException("Property can only be set to Nothing");
- Dispose__Instance__(ref m_MainForm);
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/My Project/MyNamespace.Static.1.Designer.cs b/imagecatalog.backup/My Project/MyNamespace.Static.1.Designer.cs
deleted file mode 100644
index 5212c44..0000000
--- a/imagecatalog.backup/My Project/MyNamespace.Static.1.Designer.cs
+++ /dev/null
@@ -1,305 +0,0 @@
-// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
-
-using System;
-using System.Collections;
-using System.Diagnostics;
-using System.Windows.Forms;
-using Microsoft.VisualBasic;
-
-/* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
-/* TODO ERROR: Skipped IfDirectiveTrivia */
-/* TODO ERROR: Skipped DefineDirectiveTrivia *//* TODO ERROR: Skipped DefineDirectiveTrivia *//* TODO ERROR: Skipped DefineDirectiveTrivia *//* TODO ERROR: Skipped DefineDirectiveTrivia *//* TODO ERROR: Skipped DefineDirectiveTrivia */
-/* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
-/* TODO ERROR: Skipped IfDirectiveTrivia */
-namespace ImageCatalog.My
-{
-
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.CodeDom.Compiler.GeneratedCode("MyTemplate", "11.0.0.0")]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
-
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- internal partial class MyApplication : Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase
- {
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [STAThread()]
- [DebuggerHidden()]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static void Main(string[] Args)
- {
- try
- {
- Application.SetCompatibleTextRenderingDefault(UseCompatibleTextRendering);
- }
- finally
- {
- }
-
- MyProject.Application.Run(Args);
- }
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- }
-
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.CodeDom.Compiler.GeneratedCode("MyTemplate", "11.0.0.0")]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
-
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- internal partial class MyComputer : Microsoft.VisualBasic.Devices.Computer
- {
- /* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- [DebuggerHidden()]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public MyComputer() : base()
- {
- }
- }
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- [HideModuleName()]
- [System.CodeDom.Compiler.GeneratedCode("MyTemplate", "11.0.0.0")]
- internal static partial class MyProject
- {
-
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.ComponentModel.Design.HelpKeyword("My.Computer")]
- internal static MyComputer Computer
- {
- [DebuggerHidden()]
- get
- {
- return m_ComputerObjectProvider.GetInstance;
- }
- }
-
- private readonly static ThreadSafeObjectProvider m_ComputerObjectProvider = new ThreadSafeObjectProvider();
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.ComponentModel.Design.HelpKeyword("My.Application")]
- internal static MyApplication Application
- {
- [DebuggerHidden()]
- get
- {
- return m_AppObjectProvider.GetInstance;
- }
- }
-
- private readonly static ThreadSafeObjectProvider m_AppObjectProvider = new ThreadSafeObjectProvider();
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.ComponentModel.Design.HelpKeyword("My.User")]
- internal static Microsoft.VisualBasic.ApplicationServices.User User
- {
- [DebuggerHidden()]
- get
- {
- return m_UserObjectProvider.GetInstance;
- }
- }
-
- private readonly static ThreadSafeObjectProvider m_UserObjectProvider = new ThreadSafeObjectProvider();
- /* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- /* TODO ERROR: Skipped DefineDirectiveTrivia */
- [System.ComponentModel.Design.HelpKeyword("My.Forms")]
- internal static MyForms Forms
- {
- [DebuggerHidden()]
- get
- {
- return m_MyFormsObjectProvider.GetInstance;
- }
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [MyGroupCollection("System.Windows.Forms.Form", "Create__Instance__", "Dispose__Instance__", "My.MyProject.Forms")]
- internal sealed partial class MyForms
- {
- [DebuggerHidden()]
- private static T Create__Instance__(T Instance) where T : Form, new()
- {
- if (Instance is null || Instance.IsDisposed)
- {
- if (m_FormBeingCreated is object)
- {
- if (m_FormBeingCreated.ContainsKey(typeof(T)) == true)
- {
- throw new InvalidOperationException(Microsoft.VisualBasic.CompilerServices.Utils.GetResourceString("WinForms_RecursiveFormCreate"));
- }
- }
- else
- {
- m_FormBeingCreated = new Hashtable();
- }
-
- m_FormBeingCreated.Add(typeof(T), null);
- try
- {
- return new T();
- }
- catch (System.Reflection.TargetInvocationException ex) when (ex.InnerException is object)
- {
- string BetterMessage = Microsoft.VisualBasic.CompilerServices.Utils.GetResourceString("WinForms_SeeInnerException", ex.InnerException.Message);
- throw new InvalidOperationException(BetterMessage, ex.InnerException);
- }
- finally
- {
- m_FormBeingCreated.Remove(typeof(T));
- }
- }
- else
- {
- return Instance;
- }
- }
-
- [DebuggerHidden()]
- private void Dispose__Instance__(ref T instance) where T : Form
- {
- instance.Dispose();
- instance = null;
- }
-
- [DebuggerHidden()]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public MyForms() : base()
- {
- }
-
- [ThreadStatic()]
- private static Hashtable m_FormBeingCreated;
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public override bool Equals(object o)
- {
- return base.Equals(o);
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public override int GetHashCode()
- {
- return base.GetHashCode();
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- internal new Type GetType()
- {
- return typeof(MyForms);
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public override string ToString()
- {
- return base.ToString();
- }
- }
-
- private static ThreadSafeObjectProvider m_MyFormsObjectProvider = new ThreadSafeObjectProvider();
-
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.ComponentModel.Design.HelpKeyword("My.WebServices")]
- internal static MyWebServices WebServices
- {
- [DebuggerHidden()]
- get
- {
- return m_MyWebServicesObjectProvider.GetInstance;
- }
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [MyGroupCollection("System.Web.Services.Protocols.SoapHttpClientProtocol", "Create__Instance__", "Dispose__Instance__", "")]
- internal sealed class MyWebServices
- {
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [DebuggerHidden()]
- public override bool Equals(object o)
- {
- return base.Equals(o);
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [DebuggerHidden()]
- public override int GetHashCode()
- {
- return base.GetHashCode();
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [DebuggerHidden()]
- internal new Type GetType()
- {
- return typeof(MyWebServices);
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [DebuggerHidden()]
- public override string ToString()
- {
- return base.ToString();
- }
-
- [DebuggerHidden()]
- private static T Create__Instance__(T instance) where T : new()
- {
- if (instance is null)
- {
- return new T();
- }
- else
- {
- return instance;
- }
- }
-
- [DebuggerHidden()]
- private void Dispose__Instance__(ref T instance)
- {
- instance = default;
- }
-
- [DebuggerHidden()]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public MyWebServices() : base()
- {
- }
- }
-
- private readonly static ThreadSafeObjectProvider m_MyWebServicesObjectProvider = new ThreadSafeObjectProvider();
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Runtime.InteropServices.ComVisible(false)]
- internal sealed class ThreadSafeObjectProvider where T : new()
- {
- internal T GetInstance
- {
- /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElseDirectiveTrivia */
- [DebuggerHidden()]
- get
- {
- if (m_ThreadStaticValue is null)
- m_ThreadStaticValue = new T();
- return m_ThreadStaticValue;
- }
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- }
-
- [DebuggerHidden()]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public ThreadSafeObjectProvider() : base()
- {
- }
-
- /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElseDirectiveTrivia */
- [System.Runtime.CompilerServices.CompilerGenerated()]
- [ThreadStatic()]
- private static T m_ThreadStaticValue;
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- }
- }
-}
-/* TODO ERROR: Skipped EndIfDirectiveTrivia */
\ No newline at end of file
diff --git a/imagecatalog.backup/My Project/Settings.Designer.cs b/imagecatalog.backup/My Project/Settings.Designer.cs
deleted file mode 100644
index 21716e7..0000000
--- a/imagecatalog.backup/My Project/Settings.Designer.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace ImageCatalog.My {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/imagecatalog.backup/My Project/Settings.Designer.vb b/imagecatalog.backup/My Project/Settings.Designer.vb
deleted file mode 100644
index 75ffa5f..0000000
--- a/imagecatalog.backup/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict Off
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "My.Settings Auto-Save Functionality"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.ImageCatalog.My.MySettings
- Get
- Return Global.ImageCatalog.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/imagecatalog.backup/My Project/Settings.settings b/imagecatalog.backup/My Project/Settings.settings
deleted file mode 100644
index 392df0a..0000000
--- a/imagecatalog.backup/My Project/Settings.settings
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/imagecatalog.backup/My Project/app.manifest b/imagecatalog.backup/My Project/app.manifest
deleted file mode 100644
index 4c249cd..0000000
--- a/imagecatalog.backup/My Project/app.manifest
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/imagecatalog.backup/ParametriSetup.cs b/imagecatalog.backup/ParametriSetup.cs
deleted file mode 100644
index 2fb9290..0000000
--- a/imagecatalog.backup/ParametriSetup.cs
+++ /dev/null
@@ -1,179 +0,0 @@
-using System;
-using System.Data;
-using Microsoft.VisualBasic;
-
-namespace ImageCatalog
-{
- public class ParametriSetup
- {
- private DataSet _ElencoParametri;
- private string _NomeFileSetup;
-
- public ParametriSetup(string FileSetup)
- {
- _ElencoParametri = new DataSet();
- _NomeFileSetup = FileSetup;
- if (!string.IsNullOrEmpty(FileSetup))
- {
- CaricaParametriSetup();
- }
- }
-
- public ParametriSetup()
- {
- _ElencoParametri = new DataSet();
- _NomeFileSetup = "";
- }
-
- public void CaricaParametriSetup()
- {
- _ElencoParametri = LeggiXmlDataSet("Setup", _NomeFileSetup, "Nome");
- }
-
- public void SalvaParametriSetup()
- {
- if (System.IO.File.Exists(_NomeFileSetup) == true)
- {
- FileSystem.Kill(_NomeFileSetup);
- }
-
- _ElencoParametri.WriteXml(_NomeFileSetup);
- }
-
- public string LeggiParametroString(string NomeParametro)
- {
- string Risposta = "";
- try
- {
- var LElenco = _ElencoParametri.Tables["Setup"].Select("Nome='" + NomeParametro + "'");
- foreach (var LaRiga in LElenco)
- Risposta = LaRiga["Valore"].ToString();
- }
- catch
- {
- Risposta = "";
- }
-
- return Risposta;
- }
-
- public bool LeggiParametroBoolean(string NomeParametro)
- {
- string Risposta = "";
- try
- {
- var LElenco = _ElencoParametri.Tables["Setup"].Select("Nome='" + NomeParametro + "'");
- foreach (var LaRiga in LElenco)
- Risposta = LaRiga["Valore"].ToString();
- }
- catch
- {
- Risposta = "";
- }
-
- switch (Risposta.ToUpper() ?? "")
- {
- case "TRUE":
- case "OK":
- case "SI":
- case "1":
- case "YES":
- case "VERO":
- {
- return true;
- }
-
- default:
- {
- return false;
- }
- }
- }
-
- public void AggiornaParametro(string NomeParametro, object ValoreParametro)
- {
- try
- {
- if (_ElencoParametri.Tables["Setup"] is null)
- {
- var TabellaTmp = new DataTable("Setup");
- DataRow RigaTmp;
- DataColumn LaColonna;
- LaColonna = TabellaTmp.Columns.Add("Nome", Type.GetType("System.String"));
- LaColonna = TabellaTmp.Columns.Add("Valore", Type.GetType("System.String"));
-
- // * Aggiunge alla tabella tutte le righe
- RigaTmp = TabellaTmp.NewRow();
- RigaTmp["Nome"] = NomeParametro;
- RigaTmp["Valore"] = ValoreParametro;
- TabellaTmp.Rows.Add(RigaTmp);
- _ElencoParametri.Tables.Add(TabellaTmp);
- }
- else
- {
- var LElenco = _ElencoParametri.Tables["Setup"].Select("Nome='" + NomeParametro + "'");
- if (LElenco.Length == 0)
- {
- DataRow LaRiga;
- LaRiga = _ElencoParametri.Tables["Setup"].NewRow();
- LaRiga["Nome"] = NomeParametro;
- LaRiga["Valore"] = ValoreParametro;
- _ElencoParametri.Tables["Setup"].Rows.Add(LaRiga);
- }
- else
- {
- LElenco[0]["Valore"] = ValoreParametro;
- }
- }
- }
- catch
- {
- }
- }
-
- private DataTable LeggiXmlDataTable(string NomeTabella, string NomeFileXml, string NomeColonnaChiave = "")
- {
- // * Crea e Legge il dataset dal file xml
- var DataSetXml = new DataSet();
- DataSetXml.ReadXml(NomeFileXml);
-
- // * Aggiunge il campo chiave
- if (!string.IsNullOrEmpty(NomeColonnaChiave))
- {
- DataSetXml.Tables[NomeTabella].Constraints.Add(NomeColonnaChiave, DataSetXml.Tables[NomeTabella].Columns[NomeColonnaChiave], true);
- }
-
- // * Restituisce la risposta
- return DataSetXml.Tables[NomeTabella];
- }
-
- private static DataSet LeggiXmlDataSet(string NomeTabella, string NomeFileXml, string NomeColonnaChiave = "")
- {
- // * Crea e Legge il dataset dal file xml
- var DataSetXml = new DataSet();
- DataSetXml.ReadXml(NomeFileXml);
-
- // * Aggiunge il campo chiave
- if (!string.IsNullOrEmpty(NomeColonnaChiave))
- {
- DataSetXml.Tables[NomeTabella].Constraints.Add(NomeColonnaChiave, DataSetXml.Tables[NomeTabella].Columns[NomeColonnaChiave], true);
- }
-
- // * Restituisce la risposta
- return DataSetXml;
- }
-
- public string NomeFileSetup
- {
- get
- {
- return _NomeFileSetup;
- }
-
- set
- {
- _NomeFileSetup = value;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/ParametriSetup.vb b/imagecatalog.backup/ParametriSetup.vb
deleted file mode 100644
index 104335c..0000000
--- a/imagecatalog.backup/ParametriSetup.vb
+++ /dev/null
@@ -1,148 +0,0 @@
-Public Class ParametriSetup
-
-
- Private _ElencoParametri As DataSet
- Private _NomeFileSetup As String
-
- Public Sub New(ByVal FileSetup As String)
- _ElencoParametri = New DataSet
- _NomeFileSetup = FileSetup
-
- If FileSetup <> "" Then
- CaricaParametriSetup()
- End If
- End Sub
-
- Public Sub New()
- _ElencoParametri = New DataSet
- _NomeFileSetup = ""
- End Sub
-
- Public Sub CaricaParametriSetup()
- _ElencoParametri = LeggiXmlDataSet("Setup", _NomeFileSetup, "Nome")
- End Sub
-
- Public Sub SalvaParametriSetup()
- If System.IO.File.Exists(_NomeFileSetup) = True Then
- Kill(_NomeFileSetup)
- End If
- _ElencoParametri.WriteXml(_NomeFileSetup)
- End Sub
-
- Public Function LeggiParametroString(ByVal NomeParametro As String) As String
- Dim Risposta As String = ""
-
- Try
- Dim LElenco As DataRow() = _ElencoParametri.Tables("Setup").Select("Nome='" & NomeParametro & "'")
-
- Dim LaRiga As DataRow
- For Each LaRiga In LElenco
- Risposta = LaRiga("Valore").ToString
- Next
- Catch
- Risposta = ""
- End Try
-
- Return Risposta
- End Function
-
- Public Function LeggiParametroBoolean(ByVal NomeParametro As String) As Boolean
- Dim Risposta As String = ""
-
- Try
- Dim LElenco As DataRow() = _ElencoParametri.Tables("Setup").Select("Nome='" & NomeParametro & "'")
-
- Dim LaRiga As DataRow
- For Each LaRiga In LElenco
- Risposta = LaRiga("Valore").ToString
- Next
- Catch
- Risposta = ""
- End Try
-
- Select Case Risposta.ToUpper
- Case "TRUE", "OK", "SI", "1", "YES", "VERO"
- Return True
- Case Else
- Return False
- End Select
- End Function
-
- Public Sub AggiornaParametro(ByVal NomeParametro As String, ByVal ValoreParametro As Object)
- Try
- If _ElencoParametri.Tables("Setup") Is Nothing Then
- Dim TabellaTmp As New DataTable("Setup")
- Dim RigaTmp As DataRow
-
- Dim LaColonna As DataColumn
- LaColonna = TabellaTmp.Columns.Add("Nome", System.Type.GetType("System.String"))
- LaColonna = TabellaTmp.Columns.Add("Valore", System.Type.GetType("System.String"))
-
- '* Aggiunge alla tabella tutte le righe
- RigaTmp = TabellaTmp.NewRow
- RigaTmp("Nome") = NomeParametro
- RigaTmp("Valore") = ValoreParametro
- TabellaTmp.Rows.Add(RigaTmp)
-
- _ElencoParametri.Tables.Add(TabellaTmp)
- Else
- Dim LElenco As DataRow() = _ElencoParametri.Tables("Setup").Select("Nome='" & NomeParametro & "'")
-
- If LElenco.Length = 0 Then
- Dim LaRiga As DataRow
- LaRiga = _ElencoParametri.Tables("Setup").NewRow
- LaRiga("Nome") = NomeParametro
- LaRiga("Valore") = ValoreParametro
- _ElencoParametri.Tables("Setup").Rows.Add(LaRiga)
- Else
- LElenco(0).Item("Valore") = ValoreParametro
- End If
- End If
- Catch
-
- End Try
- End Sub
-
-
- Private Function LeggiXmlDataTable(ByVal NomeTabella As String, ByVal NomeFileXml As String, Optional ByVal NomeColonnaChiave As String = "") As DataTable
- '* Crea e Legge il dataset dal file xml
- Dim DataSetXml As New System.Data.DataSet
- DataSetXml.ReadXml(NomeFileXml)
-
- '* Aggiunge il campo chiave
- If NomeColonnaChiave <> "" Then
- DataSetXml.Tables(NomeTabella).Constraints.Add(NomeColonnaChiave, DataSetXml.Tables(NomeTabella).Columns(NomeColonnaChiave), True)
- End If
-
- '* Restituisce la risposta
- Return DataSetXml.Tables(NomeTabella)
- End Function
-
- Private Shared Function LeggiXmlDataSet(ByVal NomeTabella As String, ByVal NomeFileXml As String, Optional ByVal NomeColonnaChiave As String = "") As DataSet
- '* Crea e Legge il dataset dal file xml
- Dim DataSetXml As New System.Data.DataSet
- DataSetXml.ReadXml(NomeFileXml)
-
- '* Aggiunge il campo chiave
- If NomeColonnaChiave <> "" Then
- DataSetXml.Tables(NomeTabella).Constraints.Add(NomeColonnaChiave, DataSetXml.Tables(NomeTabella).Columns(NomeColonnaChiave), True)
- End If
-
- '* Restituisce la risposta
- Return DataSetXml
- End Function
-
-
-
-
- Public Property NomeFileSetup() As String
- Get
- Return _NomeFileSetup
- End Get
- Set(ByVal Value As String)
- _NomeFileSetup = Value
- End Set
- End Property
-
-
-End Class
diff --git a/imagecatalog.backup/PicSettings.cs b/imagecatalog.backup/PicSettings.cs
deleted file mode 100644
index 08d52f9..0000000
--- a/imagecatalog.backup/PicSettings.cs
+++ /dev/null
@@ -1,602 +0,0 @@
-
-
-// Module PicSettings
-
-// Private _DirectorySorgente As String
-// Private _DirectoryDestinazione As String
-
-// Private _DimVert As Integer
-// Private _MargVert As Integer
-
-
-// Private _DimStandard As Integer
-// Private _DimStandardMiniatura As Integer
-
-// Private _NomeData As Boolean
-// Private _TestoNome As Boolean
-// Private _UsaOrarioMiniatura As Boolean
-// Private _UsaOrarioTestoApplicare As Boolean
-// Private _UsaTempoGaraTestoApplicare As Boolean
-// Private _TestoFirmaStart As String
-// Private _TestoFirmaStartV As String
-// Private _DataPartenza As DateTime
-// Private _TestoOrario As String
-
-// Private _UsaRotazioneAutomatica As Boolean
-// Private _UsaForzaJpg As Boolean
-
-// Private _LarghezzaSmall As Integer
-// Private _AltezzaSmall As Integer
-
-// Private _CreaMiniature As Boolean
-// Private _AggiungiScritteMiniature As Boolean
-// Private _AggTempoGaraMin As Boolean
-// Private _AggNumTempMin As Boolean
-
-// Private _Suffisso As String
-// Private _Codice As String
-
-// Private _Trasparenza As Integer
-// Private _IlFont As String
-// Private _Grassetto As Boolean
-
-// Private _Posizione As String
-// Private _Allineamento As String
-// Private _Margine As Integer
-
-// Private _LogoAltezza As Integer
-// Private _LogoLarghezza As Integer
-
-// Private _fontColoreRGB As Color
-
-// Private _LogoAggiungi As Boolean
-// Private _LogoNomeFile As String
-// Private _LogoTrasparenza As String
-// Private _LogoMargine As String
-// Private _LogoPosizioneH As String
-// Private _LogoPosizioneV As String
-
-// Private _FotoGrandeDimOrigina As Boolean
-// Private _AltezzaBig As Integer
-// Private _LarghezzaBig As Integer
-// Private _DestDir As DirectoryInfo
-// Private _DimMin As Integer
-
-// Private _TestoMin As Boolean
-
-// Private _SecretDefault As Boolean
-// Private _SecretBig As Boolean
-// Private _SecretSmall As Boolean
-
-// Private _SecretPathSmall As String
-// Private _SecretPathBig As String
-
-// Private _jpegQuality As Long
-// Private _jpegQualityMin As Long
-
-// Private FotoRuotaADestra As Boolean = False
-// Private FotoRuotaASinistra As Boolean = False
-
-// Private TempMinText As String = ""
-
-// Private _mainForm As MainForm
-
-// 'Private progressBar As System.Windows.Forms.ProgressBar
-
-
-
-// Public Property mainForm() As MainForm
-// Get
-// Return _mainForm
-// End Get
-// Set(ByVal value As MainForm)
-// _mainForm = value
-// End Set
-// End Property
-
-// Public Property DirectorySorgente() As String
-// Get
-// Return _DirectorySorgente
-// End Get
-// Set(ByVal value As String)
-// _DirectorySorgente = value
-// End Set
-// End Property
-
-// Public Property DirectoryDestinazione() As String
-// Get
-// Return _DirectoryDestinazione
-// End Get
-// Set(ByVal value As String)
-// _DirectoryDestinazione = value
-// End Set
-// End Property
-
-// Public Property TestoFirmaStart() As String
-// Get
-// Return _TestoFirmaStart
-// End Get
-// Set(ByVal value As String)
-// _TestoFirmaStart = value
-// End Set
-// End Property
-
-// Public Property TestoFirmaStartV() As String
-// Get
-// Return _TestoFirmaStartV
-// End Get
-
-// Set(ByVal value As String)
-// _TestoFirmaStartV = value
-// End Set
-// End Property
-
-// Public Property DataPartenza() As DateTime
-// Get
-// Return _DataPartenza
-// End Get
-// Set(ByVal value As DateTime)
-// _DataPartenza = value
-// End Set
-// End Property
-
-// Public Property TestoOrario() As String
-// Get
-// Return _TestoOrario
-// End Get
-// Set(ByVal value As String)
-// _TestoOrario = value
-// End Set
-// End Property
-
-// Public Property DimStandard() As Integer
-// Get
-// Return _DimStandard
-// End Get
-// Set(ByVal value As Integer)
-// _DimStandard = value
-// End Set
-// End Property
-
-// Public Property DimStandardMiniatura() As Integer
-// Get
-// Return _DimStandardMiniatura
-// End Get
-// Set(ByVal value As Integer)
-// _DimStandardMiniatura = value
-// End Set
-// End Property
-
-// Public Property NomeData() As Boolean
-// Get
-// Return _NomeData
-// End Get
-// Set(ByVal value As Boolean)
-// _NomeData = value
-// End Set
-// End Property
-
-// Public Property TestoNome() As Boolean
-// Get
-// Return _TestoNome
-// End Get
-// Set(ByVal value As Boolean)
-// _TestoNome = value
-// End Set
-// End Property
-
-// Public Property UsaOrarioMiniatura() As Boolean
-// Get
-// Return _UsaOrarioMiniatura
-// End Get
-// Set(ByVal value As Boolean)
-// _UsaOrarioMiniatura = value
-// End Set
-// End Property
-
-// Public Property UsaOrarioTestoApplicare() As Boolean
-// Get
-// Return _UsaOrarioTestoApplicare
-// End Get
-// Set(ByVal value As Boolean)
-// _UsaOrarioTestoApplicare = value
-// End Set
-// End Property
-
-// Public Property UsaTempoGaraTestoApplicare() As Boolean
-// Get
-// Return _UsaTempoGaraTestoApplicare
-// End Get
-// Set(ByVal value As Boolean)
-// _UsaTempoGaraTestoApplicare = value
-// End Set
-// End Property
-
-// Public Property UsaRotazioneAutomatica() As Boolean
-// Get
-// Return _UsaRotazioneAutomatica
-// End Get
-// Set(ByVal value As Boolean)
-// _UsaRotazioneAutomatica = value
-// End Set
-// End Property
-
-// Public Property UsaForzaJpg() As Boolean
-// Get
-// Return _UsaForzaJpg
-// End Get
-// Set(ByVal value As Boolean)
-// _UsaForzaJpg = value
-// End Set
-// End Property
-
-
-
-// Public Property LarghezzaSmall() As Integer
-// Get
-// Return _LarghezzaSmall
-// End Get
-// Set(ByVal value As Integer)
-// _LarghezzaSmall = value
-// End Set
-// End Property
-
-// Public Property AltezzaSmall() As Integer
-// Get
-// Return _AltezzaSmall
-// End Get
-// Set(ByVal value As Integer)
-// _AltezzaSmall = value
-// End Set
-// End Property
-
-
-// Public Property CreaMiniature() As Boolean
-// Get
-// Return _CreaMiniature
-// End Get
-// Set(ByVal value As Boolean)
-// _CreaMiniature = value
-// End Set
-// End Property
-
-// Public Property AggiungiScritteMiniature() As Boolean
-// Get
-// Return _AggiungiScritteMiniature
-// End Get
-// Set(ByVal value As Boolean)
-// _AggiungiScritteMiniature = value
-// End Set
-// End Property
-
-
-// Public Property Suffisso() As String
-// Get
-// Return _Suffisso
-// End Get
-// Set(ByVal value As String)
-// _Suffisso = value
-// End Set
-// End Property
-
-// Public Property Codice() As String
-// Get
-// Return _Codice
-// End Get
-// Set(ByVal value As String)
-// _Codice = value
-// End Set
-// End Property
-
-
-// Public Property Trasparenza() As Integer
-// Get
-// Return _Trasparenza
-// End Get
-// Set(ByVal value As Integer)
-// _Trasparenza = value
-// End Set
-// End Property
-
-// Public Property IlFont() As String
-// Get
-// Return _IlFont
-// End Get
-// Set(ByVal value As String)
-// _IlFont = value
-// End Set
-// End Property
-
-// Public Property Grassetto() As Boolean
-// Get
-// Return _Grassetto
-// End Get
-// Set(ByVal value As Boolean)
-// _Grassetto = value
-// End Set
-// End Property
-
-// Public Property Posizione() As String
-// Get
-// Return _Posizione
-// End Get
-// Set(ByVal value As String)
-// _Posizione = value
-// End Set
-// End Property
-
-// Public Property Allineamento() As String
-// Get
-// Return _Allineamento
-// End Get
-// Set(ByVal value As String)
-// _Allineamento = value
-// End Set
-// End Property
-
-// Public Property Margine() As Integer
-// Get
-// Return _Margine
-// End Get
-// Set(ByVal value As Integer)
-// _Margine = value
-// End Set
-// End Property
-
-// Public Property LogoAltezza() As Integer
-// Get
-// Return _LogoAltezza
-// End Get
-// Set(ByVal value As Integer)
-// _LogoAltezza = value
-// End Set
-// End Property
-
-// Public Property LogoLarghezza() As Integer
-// Get
-// Return _LogoLarghezza
-// End Get
-// Set(ByVal value As Integer)
-// _LogoLarghezza = value
-// End Set
-// End Property
-
-// Public Property fontColoreRGB() As Color
-// Get
-// Return _fontColoreRGB
-// End Get
-// Set(ByVal value As Color)
-// _fontColoreRGB = value
-// End Set
-// End Property
-
-// Public Property LogoAggiungi() As Boolean
-// Get
-// Return _LogoAggiungi
-// End Get
-// Set(ByVal value As Boolean)
-// _LogoAggiungi = value
-// End Set
-// End Property
-
-// Public Property LogoNomeFile() As String
-// Get
-// Return _LogoNomeFile
-// End Get
-// Set(ByVal value As String)
-// _LogoNomeFile = value
-// End Set
-// End Property
-
-// Public Property LogoTrasparenza() As String
-// Get
-// Return _LogoTrasparenza
-// End Get
-// Set(ByVal value As String)
-// _LogoTrasparenza = value
-// End Set
-// End Property
-
-// Public Property LogoMargine() As String
-// Get
-// Return _LogoMargine
-// End Get
-// Set(ByVal value As String)
-// _LogoMargine = value
-// End Set
-// End Property
-
-// Public Property LogoPosizioneH() As String
-// Get
-// Return _LogoPosizioneH
-// End Get
-// Set(ByVal value As String)
-// _LogoPosizioneH = value
-// End Set
-// End Property
-
-// Public Property LogoPosizioneV() As String
-// Get
-// Return _LogoPosizioneV
-// End Get
-// Set(ByVal value As String)
-// _LogoPosizioneV = value
-// End Set
-// End Property
-
-// Public Property FotoGrandeDimOrigina() As Boolean
-// Get
-// Return _FotoGrandeDimOrigina
-// End Get
-// Set(ByVal value As Boolean)
-// _FotoGrandeDimOrigina = value
-// End Set
-// End Property
-
-// Public Property AltezzaBig() As Integer
-// Get
-// Return _AltezzaBig
-// End Get
-// Set(ByVal value As Integer)
-// _AltezzaBig = value
-// End Set
-// End Property
-
-// Public Property LarghezzaBig() As Integer
-// Get
-// Return _LarghezzaBig
-// End Get
-// Set(ByVal value As Integer)
-// _LarghezzaBig = value
-// End Set
-// End Property
-
-// Public Property DestDir() As DirectoryInfo
-// Get
-// Return _DestDir
-// End Get
-// Set(ByVal value As DirectoryInfo)
-// _DestDir = value
-// End Set
-// End Property
-
-// Public Property DimVert() As Integer
-// Get
-// Return _DimVert
-
-// End Get
-// Set(ByVal value As Integer)
-// _DimVert = value
-
-// End Set
-// End Property
-
-// Public Property MargVert() As Integer
-// Get
-// Return _MargVert
-
-// End Get
-// Set(ByVal value As Integer)
-// _MargVert = value
-// End Set
-// End Property
-
-// Public Property TestoMin() As Boolean
-// Get
-// Return _TestoMin
-
-// End Get
-// Set(ByVal value As Boolean)
-// _TestoMin = value
-
-// End Set
-// End Property
-
-// Public Property DimMin() As Integer
-// Get
-// Return _DimMin
-
-// End Get
-// Set(ByVal value As Integer)
-// _DimMin = value
-
-// End Set
-// End Property
-
-// Public Property SecretDefault() As Boolean
-// Get
-// Return _SecretDefault
-
-// End Get
-// Set(ByVal value As Boolean)
-// _SecretDefault = value
-
-// End Set
-// End Property
-
-// Public Property SecretBig() As Boolean
-// Get
-// Return _SecretBig
-
-// End Get
-// Set(ByVal value As Boolean)
-// _SecretBig = value
-
-// End Set
-// End Property
-
-// Public Property SecretSmall() As Boolean
-// Get
-// Return _SecretSmall
-
-// End Get
-// Set(ByVal value As Boolean)
-// _SecretSmall = value
-
-// End Set
-// End Property
-
-// Public Property SecretPathSmall() As String
-// Get
-// Return _SecretPathSmall
-
-// End Get
-// Set(ByVal value As String)
-// _SecretPathSmall = value
-
-// End Set
-// End Property
-
-// Public Property SecretPathBig() As String
-// Get
-// Return _SecretPathBig
-
-// End Get
-// Set(ByVal value As String)
-// _SecretPathBig = value
-
-// End Set
-// End Property
-
-// Public Property AggTempoGaraMin() As Boolean
-// Get
-// Return _AggTempoGaraMin
-
-// End Get
-// Set(ByVal value As Boolean)
-// _AggTempoGaraMin = value
-
-// End Set
-// End Property
-
-// Public Property AggNumTempMin() As Boolean
-// Get
-// Return _AggNumTempMin
-
-// End Get
-// Set(ByVal value As Boolean)
-// _AggNumTempMin = value
-
-// End Set
-// End Property
-
-// Public Property jpegQuality() As Long
-// Get
-// Return _jpegQuality
-// End Get
-// Set(ByVal value As Long)
-// _jpegQuality = value
-// End Set
-
-// End Property
-
-// Public Property jpegQualityMin() As Long
-// Get
-// Return _jpegQualityMin
-// End Get
-// Set(ByVal value As Long)
-// _jpegQualityMin = value
-// End Set
-
-// End Property
-// End Module
diff --git a/imagecatalog.backup/PicSettings.vb b/imagecatalog.backup/PicSettings.vb
deleted file mode 100644
index b82a77d..0000000
--- a/imagecatalog.backup/PicSettings.vb
+++ /dev/null
@@ -1,604 +0,0 @@
-Imports System.IO
-Imports System.Drawing.Drawing2D
-Imports System.Drawing.Imaging
-
-'Module PicSettings
-
-' Private _DirectorySorgente As String
-' Private _DirectoryDestinazione As String
-
-' Private _DimVert As Integer
-' Private _MargVert As Integer
-
-
-' Private _DimStandard As Integer
-' Private _DimStandardMiniatura As Integer
-
-' Private _NomeData As Boolean
-' Private _TestoNome As Boolean
-' Private _UsaOrarioMiniatura As Boolean
-' Private _UsaOrarioTestoApplicare As Boolean
-' Private _UsaTempoGaraTestoApplicare As Boolean
-' Private _TestoFirmaStart As String
-' Private _TestoFirmaStartV As String
-' Private _DataPartenza As DateTime
-' Private _TestoOrario As String
-
-' Private _UsaRotazioneAutomatica As Boolean
-' Private _UsaForzaJpg As Boolean
-
-' Private _LarghezzaSmall As Integer
-' Private _AltezzaSmall As Integer
-
-' Private _CreaMiniature As Boolean
-' Private _AggiungiScritteMiniature As Boolean
-' Private _AggTempoGaraMin As Boolean
-' Private _AggNumTempMin As Boolean
-
-' Private _Suffisso As String
-' Private _Codice As String
-
-' Private _Trasparenza As Integer
-' Private _IlFont As String
-' Private _Grassetto As Boolean
-
-' Private _Posizione As String
-' Private _Allineamento As String
-' Private _Margine As Integer
-
-' Private _LogoAltezza As Integer
-' Private _LogoLarghezza As Integer
-
-' Private _fontColoreRGB As Color
-
-' Private _LogoAggiungi As Boolean
-' Private _LogoNomeFile As String
-' Private _LogoTrasparenza As String
-' Private _LogoMargine As String
-' Private _LogoPosizioneH As String
-' Private _LogoPosizioneV As String
-
-' Private _FotoGrandeDimOrigina As Boolean
-' Private _AltezzaBig As Integer
-' Private _LarghezzaBig As Integer
-' Private _DestDir As DirectoryInfo
-' Private _DimMin As Integer
-
-' Private _TestoMin As Boolean
-
-' Private _SecretDefault As Boolean
-' Private _SecretBig As Boolean
-' Private _SecretSmall As Boolean
-
-' Private _SecretPathSmall As String
-' Private _SecretPathBig As String
-
-' Private _jpegQuality As Long
-' Private _jpegQualityMin As Long
-
-' Private FotoRuotaADestra As Boolean = False
-' Private FotoRuotaASinistra As Boolean = False
-
-' Private TempMinText As String = ""
-
-' Private _mainForm As MainForm
-
-' 'Private progressBar As System.Windows.Forms.ProgressBar
-
-
-
-' Public Property mainForm() As MainForm
-' Get
-' Return _mainForm
-' End Get
-' Set(ByVal value As MainForm)
-' _mainForm = value
-' End Set
-' End Property
-
-' Public Property DirectorySorgente() As String
-' Get
-' Return _DirectorySorgente
-' End Get
-' Set(ByVal value As String)
-' _DirectorySorgente = value
-' End Set
-' End Property
-
-' Public Property DirectoryDestinazione() As String
-' Get
-' Return _DirectoryDestinazione
-' End Get
-' Set(ByVal value As String)
-' _DirectoryDestinazione = value
-' End Set
-' End Property
-
-' Public Property TestoFirmaStart() As String
-' Get
-' Return _TestoFirmaStart
-' End Get
-' Set(ByVal value As String)
-' _TestoFirmaStart = value
-' End Set
-' End Property
-
-' Public Property TestoFirmaStartV() As String
-' Get
-' Return _TestoFirmaStartV
-' End Get
-
-' Set(ByVal value As String)
-' _TestoFirmaStartV = value
-' End Set
-' End Property
-
-' Public Property DataPartenza() As DateTime
-' Get
-' Return _DataPartenza
-' End Get
-' Set(ByVal value As DateTime)
-' _DataPartenza = value
-' End Set
-' End Property
-
-' Public Property TestoOrario() As String
-' Get
-' Return _TestoOrario
-' End Get
-' Set(ByVal value As String)
-' _TestoOrario = value
-' End Set
-' End Property
-
-' Public Property DimStandard() As Integer
-' Get
-' Return _DimStandard
-' End Get
-' Set(ByVal value As Integer)
-' _DimStandard = value
-' End Set
-' End Property
-
-' Public Property DimStandardMiniatura() As Integer
-' Get
-' Return _DimStandardMiniatura
-' End Get
-' Set(ByVal value As Integer)
-' _DimStandardMiniatura = value
-' End Set
-' End Property
-
-' Public Property NomeData() As Boolean
-' Get
-' Return _NomeData
-' End Get
-' Set(ByVal value As Boolean)
-' _NomeData = value
-' End Set
-' End Property
-
-' Public Property TestoNome() As Boolean
-' Get
-' Return _TestoNome
-' End Get
-' Set(ByVal value As Boolean)
-' _TestoNome = value
-' End Set
-' End Property
-
-' Public Property UsaOrarioMiniatura() As Boolean
-' Get
-' Return _UsaOrarioMiniatura
-' End Get
-' Set(ByVal value As Boolean)
-' _UsaOrarioMiniatura = value
-' End Set
-' End Property
-
-' Public Property UsaOrarioTestoApplicare() As Boolean
-' Get
-' Return _UsaOrarioTestoApplicare
-' End Get
-' Set(ByVal value As Boolean)
-' _UsaOrarioTestoApplicare = value
-' End Set
-' End Property
-
-' Public Property UsaTempoGaraTestoApplicare() As Boolean
-' Get
-' Return _UsaTempoGaraTestoApplicare
-' End Get
-' Set(ByVal value As Boolean)
-' _UsaTempoGaraTestoApplicare = value
-' End Set
-' End Property
-
-' Public Property UsaRotazioneAutomatica() As Boolean
-' Get
-' Return _UsaRotazioneAutomatica
-' End Get
-' Set(ByVal value As Boolean)
-' _UsaRotazioneAutomatica = value
-' End Set
-' End Property
-
-' Public Property UsaForzaJpg() As Boolean
-' Get
-' Return _UsaForzaJpg
-' End Get
-' Set(ByVal value As Boolean)
-' _UsaForzaJpg = value
-' End Set
-' End Property
-
-
-
-' Public Property LarghezzaSmall() As Integer
-' Get
-' Return _LarghezzaSmall
-' End Get
-' Set(ByVal value As Integer)
-' _LarghezzaSmall = value
-' End Set
-' End Property
-
-' Public Property AltezzaSmall() As Integer
-' Get
-' Return _AltezzaSmall
-' End Get
-' Set(ByVal value As Integer)
-' _AltezzaSmall = value
-' End Set
-' End Property
-
-
-' Public Property CreaMiniature() As Boolean
-' Get
-' Return _CreaMiniature
-' End Get
-' Set(ByVal value As Boolean)
-' _CreaMiniature = value
-' End Set
-' End Property
-
-' Public Property AggiungiScritteMiniature() As Boolean
-' Get
-' Return _AggiungiScritteMiniature
-' End Get
-' Set(ByVal value As Boolean)
-' _AggiungiScritteMiniature = value
-' End Set
-' End Property
-
-
-' Public Property Suffisso() As String
-' Get
-' Return _Suffisso
-' End Get
-' Set(ByVal value As String)
-' _Suffisso = value
-' End Set
-' End Property
-
-' Public Property Codice() As String
-' Get
-' Return _Codice
-' End Get
-' Set(ByVal value As String)
-' _Codice = value
-' End Set
-' End Property
-
-
-' Public Property Trasparenza() As Integer
-' Get
-' Return _Trasparenza
-' End Get
-' Set(ByVal value As Integer)
-' _Trasparenza = value
-' End Set
-' End Property
-
-' Public Property IlFont() As String
-' Get
-' Return _IlFont
-' End Get
-' Set(ByVal value As String)
-' _IlFont = value
-' End Set
-' End Property
-
-' Public Property Grassetto() As Boolean
-' Get
-' Return _Grassetto
-' End Get
-' Set(ByVal value As Boolean)
-' _Grassetto = value
-' End Set
-' End Property
-
-' Public Property Posizione() As String
-' Get
-' Return _Posizione
-' End Get
-' Set(ByVal value As String)
-' _Posizione = value
-' End Set
-' End Property
-
-' Public Property Allineamento() As String
-' Get
-' Return _Allineamento
-' End Get
-' Set(ByVal value As String)
-' _Allineamento = value
-' End Set
-' End Property
-
-' Public Property Margine() As Integer
-' Get
-' Return _Margine
-' End Get
-' Set(ByVal value As Integer)
-' _Margine = value
-' End Set
-' End Property
-
-' Public Property LogoAltezza() As Integer
-' Get
-' Return _LogoAltezza
-' End Get
-' Set(ByVal value As Integer)
-' _LogoAltezza = value
-' End Set
-' End Property
-
-' Public Property LogoLarghezza() As Integer
-' Get
-' Return _LogoLarghezza
-' End Get
-' Set(ByVal value As Integer)
-' _LogoLarghezza = value
-' End Set
-' End Property
-
-' Public Property fontColoreRGB() As Color
-' Get
-' Return _fontColoreRGB
-' End Get
-' Set(ByVal value As Color)
-' _fontColoreRGB = value
-' End Set
-' End Property
-
-' Public Property LogoAggiungi() As Boolean
-' Get
-' Return _LogoAggiungi
-' End Get
-' Set(ByVal value As Boolean)
-' _LogoAggiungi = value
-' End Set
-' End Property
-
-' Public Property LogoNomeFile() As String
-' Get
-' Return _LogoNomeFile
-' End Get
-' Set(ByVal value As String)
-' _LogoNomeFile = value
-' End Set
-' End Property
-
-' Public Property LogoTrasparenza() As String
-' Get
-' Return _LogoTrasparenza
-' End Get
-' Set(ByVal value As String)
-' _LogoTrasparenza = value
-' End Set
-' End Property
-
-' Public Property LogoMargine() As String
-' Get
-' Return _LogoMargine
-' End Get
-' Set(ByVal value As String)
-' _LogoMargine = value
-' End Set
-' End Property
-
-' Public Property LogoPosizioneH() As String
-' Get
-' Return _LogoPosizioneH
-' End Get
-' Set(ByVal value As String)
-' _LogoPosizioneH = value
-' End Set
-' End Property
-
-' Public Property LogoPosizioneV() As String
-' Get
-' Return _LogoPosizioneV
-' End Get
-' Set(ByVal value As String)
-' _LogoPosizioneV = value
-' End Set
-' End Property
-
-' Public Property FotoGrandeDimOrigina() As Boolean
-' Get
-' Return _FotoGrandeDimOrigina
-' End Get
-' Set(ByVal value As Boolean)
-' _FotoGrandeDimOrigina = value
-' End Set
-' End Property
-
-' Public Property AltezzaBig() As Integer
-' Get
-' Return _AltezzaBig
-' End Get
-' Set(ByVal value As Integer)
-' _AltezzaBig = value
-' End Set
-' End Property
-
-' Public Property LarghezzaBig() As Integer
-' Get
-' Return _LarghezzaBig
-' End Get
-' Set(ByVal value As Integer)
-' _LarghezzaBig = value
-' End Set
-' End Property
-
-' Public Property DestDir() As DirectoryInfo
-' Get
-' Return _DestDir
-' End Get
-' Set(ByVal value As DirectoryInfo)
-' _DestDir = value
-' End Set
-' End Property
-
-' Public Property DimVert() As Integer
-' Get
-' Return _DimVert
-
-' End Get
-' Set(ByVal value As Integer)
-' _DimVert = value
-
-' End Set
-' End Property
-
-' Public Property MargVert() As Integer
-' Get
-' Return _MargVert
-
-' End Get
-' Set(ByVal value As Integer)
-' _MargVert = value
-' End Set
-' End Property
-
-' Public Property TestoMin() As Boolean
-' Get
-' Return _TestoMin
-
-' End Get
-' Set(ByVal value As Boolean)
-' _TestoMin = value
-
-' End Set
-' End Property
-
-' Public Property DimMin() As Integer
-' Get
-' Return _DimMin
-
-' End Get
-' Set(ByVal value As Integer)
-' _DimMin = value
-
-' End Set
-' End Property
-
-' Public Property SecretDefault() As Boolean
-' Get
-' Return _SecretDefault
-
-' End Get
-' Set(ByVal value As Boolean)
-' _SecretDefault = value
-
-' End Set
-' End Property
-
-' Public Property SecretBig() As Boolean
-' Get
-' Return _SecretBig
-
-' End Get
-' Set(ByVal value As Boolean)
-' _SecretBig = value
-
-' End Set
-' End Property
-
-' Public Property SecretSmall() As Boolean
-' Get
-' Return _SecretSmall
-
-' End Get
-' Set(ByVal value As Boolean)
-' _SecretSmall = value
-
-' End Set
-' End Property
-
-' Public Property SecretPathSmall() As String
-' Get
-' Return _SecretPathSmall
-
-' End Get
-' Set(ByVal value As String)
-' _SecretPathSmall = value
-
-' End Set
-' End Property
-
-' Public Property SecretPathBig() As String
-' Get
-' Return _SecretPathBig
-
-' End Get
-' Set(ByVal value As String)
-' _SecretPathBig = value
-
-' End Set
-' End Property
-
-' Public Property AggTempoGaraMin() As Boolean
-' Get
-' Return _AggTempoGaraMin
-
-' End Get
-' Set(ByVal value As Boolean)
-' _AggTempoGaraMin = value
-
-' End Set
-' End Property
-
-' Public Property AggNumTempMin() As Boolean
-' Get
-' Return _AggNumTempMin
-
-' End Get
-' Set(ByVal value As Boolean)
-' _AggNumTempMin = value
-
-' End Set
-' End Property
-
-' Public Property jpegQuality() As Long
-' Get
-' Return _jpegQuality
-' End Get
-' Set(ByVal value As Long)
-' _jpegQuality = value
-' End Set
-
-' End Property
-
-' Public Property jpegQualityMin() As Long
-' Get
-' Return _jpegQualityMin
-' End Get
-' Set(ByVal value As Long)
-' _jpegQualityMin = value
-' End Set
-
-' End Property
-'End Module
diff --git a/imagecatalog.backup/XYThreadPool.cs b/imagecatalog.backup/XYThreadPool.cs
deleted file mode 100644
index 9f675d1..0000000
--- a/imagecatalog.backup/XYThreadPool.cs
+++ /dev/null
@@ -1,273 +0,0 @@
-using System;
-using System.Collections;
-using System.Threading;
-
-namespace ImageCatalog
-{
- public delegate void ThreadErrorHandlerDelegate(ThreadPoolWorkItem oWorkItem, Exception oError);
-
- public class ThreadPoolWorkItem
- {
- public bool m_bStoreOutput = false;
- public string m_sName = "";
- public Delegate m_pMethod = null;
- public object[] m_pInput = null;
- public object m_oOutput = null;
- public Exception m_oException = null;
-
- public ThreadPoolWorkItem()
- {
- }
-
- public ThreadPoolWorkItem(string sName, Delegate pMethod, object[] pInput, bool bStoreOutput)
- {
- m_sName = sName;
- m_pMethod = pMethod;
- m_pInput = pInput;
- m_bStoreOutput = bStoreOutput;
- }
- }
-
- public class XYThreadPool
- {
- public XYThreadPool()
- {
- m_delegateThreadErrorHandler = new ThreadErrorHandlerDelegate(OnThreadError);
- }
-
- private Hashtable m_htThreads = new Hashtable(256);
- private int m_nMinThreadCount = 5;
- private int m_nMaxThreadCount = 10;
- private int m_nShutdownPause = 200;
- private int m_nServerPause = 25;
- private bool m_bContinue = false;
- private Exception m_oException = null;
- private Queue m_qInput = new Queue(1024);
- private Queue m_qOutput = new Queue(1024);
- private Delegate m_delegateThreadErrorHandler;
-
- private void ThreadProc()
- {
- while (m_bContinue)
- {
- object obj = null;
- Monitor.Enter(this);
- if (m_qInput.Count > 0)
- obj = m_qInput.Dequeue();
- Monitor.Exit(this);
- if (obj is null)
- {
- bool bQuit = false;
- Monitor.Enter(this);
- if (m_htThreads.Count > m_nMinThreadCount)
- {
- m_htThreads.Remove(Thread.CurrentThread.Name);
- bQuit = true;
- }
-
- Monitor.Exit(this);
- if (bQuit)
- return;
- Thread.Sleep(10 * m_nServerPause);
- }
- else
- {
- ThreadPoolWorkItem oWorkItem = (ThreadPoolWorkItem)obj;
- // oWorkItem.m_oOutput = oWorkItem.m_pMethod.DynamicInvoke(oWorkItem.m_pInput)
- try
- {
- oWorkItem.m_oOutput = oWorkItem.m_pMethod.DynamicInvoke(oWorkItem.m_pInput);
- }
- catch (Exception oBug)
- {
- if (m_delegateThreadErrorHandler is object)
- {
- try
- {
- var pInput = new object[] { oWorkItem, oBug };
- m_delegateThreadErrorHandler.DynamicInvoke(pInput);
- }
- catch
- {
- }
- }
- }
-
- if (oWorkItem.m_bStoreOutput)
- {
- Monitor.Enter(m_qOutput);
- m_qOutput.Enqueue(oWorkItem);
- Monitor.Exit(m_qOutput);
- }
-
- Thread.Sleep(m_nServerPause);
- }
- }
- }
-
- private void OnThreadError(ThreadPoolWorkItem oWorkItem, Exception oError)
- {
- if (oWorkItem is null)
- {
- m_oException = oError;
- }
- else
- {
- oWorkItem.m_oException = oError;
- }
- }
-
- public void SetThreadErrorHandler(ThreadErrorHandlerDelegate pMethod)
- {
- Monitor.Enter(this);
- m_delegateThreadErrorHandler = pMethod;
- Monitor.Exit(this);
- }
-
- public void SetServerPause(int nMilliseconds)
- {
- Monitor.Enter(this);
- if (nMilliseconds > 9 & nMilliseconds < 101)
- m_nServerPause = nMilliseconds;
- Monitor.Exit(this);
- }
-
- public void SetShutdownPause(int nMilliseconds)
- {
- Monitor.Enter(this);
- m_nShutdownPause = nMilliseconds;
- Monitor.Exit(this);
- }
-
- public Exception GetException()
- {
- return m_oException;
- }
-
- public void InsertWorkItem(ThreadPoolWorkItem oWorkItem)
- {
- try
- {
- Monitor.Enter(this);
- m_qInput.Enqueue(oWorkItem);
- if (m_bContinue && m_qInput.Count > m_htThreads.Count && m_htThreads.Count < m_nMaxThreadCount)
- {
- var th = new Thread(ThreadProc);
- th.Name = Guid.NewGuid().ToString();
- m_htThreads.Add(th.Name, th);
- th.Start();
- }
- }
- catch (Exception oBug)
- {
- m_oException = oBug;
- }
- finally
- {
- Monitor.Exit(this);
- }
- }
-
- public void InsertWorkItem(string sName, Delegate pMethod, object[] pArgs, bool bStoreOutput)
- {
- InsertWorkItem(new ThreadPoolWorkItem(sName, pMethod, pArgs, bStoreOutput));
- }
-
- public ThreadPoolWorkItem ExtractWorkItem()
- {
- object oWorkItem = null;
- Monitor.Enter(m_qOutput);
- if (m_qOutput.Count > 0)
- oWorkItem = m_qOutput.Dequeue();
- Monitor.Exit(m_qOutput);
- if (oWorkItem is null)
- return null;
- return (ThreadPoolWorkItem)oWorkItem;
- }
-
- public bool StartThreadPool(int nMinThreadCount = 5, int nMaxThreadCount = 10)
- {
- try
- {
- Monitor.Enter(this);
- if (m_bContinue == false)
- {
- m_bContinue = true;
- if (nMinThreadCount > 0)
- {
- m_nMinThreadCount = nMinThreadCount;
- }
-
- if (nMaxThreadCount > m_nMinThreadCount)
- {
- m_nMaxThreadCount = nMaxThreadCount;
- }
- else
- {
- m_nMaxThreadCount = 2 * m_nMinThreadCount;
- }
-
- int i;
- var loopTo = m_nMinThreadCount;
- for (i = 1; i <= loopTo; i++)
- {
- var th = new Thread(ThreadProc);
- th.Name = Guid.NewGuid().ToString();
- m_htThreads.Add(th.Name, th);
- th.Start();
- }
- }
-
- return true;
- }
- catch (Exception oBug)
- {
- m_bContinue = false;
- m_oException = oBug;
- return false;
- }
- finally
- {
- Monitor.Exit(this);
- }
- }
-
- public void StopThreadPool()
- {
- Monitor.Enter(this);
- m_bContinue = false;
- Thread.Sleep(Math.Max(200, m_nShutdownPause));
- if (m_nShutdownPause > 0)
- {
- var dict = m_htThreads.GetEnumerator();
- while (dict.MoveNext())
- {
- Thread th = (Thread)dict.Value;
- if (th.IsAlive)
- {
- try
- {
- th.Abort();
- }
- catch
- {
- }
- }
- }
- }
-
- m_htThreads.Clear();
- m_qInput.Clear();
- // m_qOutput.Clear()
- Monitor.Exit(this);
- }
-
- public int GetThreadCount()
- {
- Monitor.Enter(this);
- int nCount = m_htThreads.Count;
- Monitor.Exit(this);
- return nCount;
- }
- }
-}
\ No newline at end of file
diff --git a/imagecatalog.backup/XYThreadPool.vb b/imagecatalog.backup/XYThreadPool.vb
deleted file mode 100644
index 63460d9..0000000
--- a/imagecatalog.backup/XYThreadPool.vb
+++ /dev/null
@@ -1,185 +0,0 @@
-Option Explicit On
-Option Strict Off
-
-Imports System.Threading
-Imports System.Collections
-
-Public Delegate Sub ThreadErrorHandlerDelegate(ByVal oWorkItem As ThreadPoolWorkItem, ByVal oError As Exception)
-
-Public Class ThreadPoolWorkItem
- Public m_bStoreOutput As Boolean = False
- Public m_sName As String = ""
- Public m_pMethod As [Delegate] = Nothing
- Public m_pInput As Object() = Nothing
- Public m_oOutput As Object = Nothing
- Public m_oException As Exception = Nothing
- Public Sub New()
- End Sub
- Public Sub New(ByVal sName As String, ByVal pMethod As [Delegate], ByVal pInput As Object(), ByVal bStoreOutput As Boolean)
- m_sName = sName
- m_pMethod = pMethod
- m_pInput = pInput
- m_bStoreOutput = bStoreOutput
- End Sub
-End Class
-
-Public Class XYThreadPool
- Private m_htThreads As Hashtable = New Hashtable(256)
- Private m_nMinThreadCount As Integer = 5
- Private m_nMaxThreadCount As Integer = 10
- Private m_nShutdownPause As Integer = 200
- Private m_nServerPause As Integer = 25
- Private m_bContinue As Boolean = False
- Private m_oException As Exception = Nothing
- Private m_qInput As Queue = New Queue(1024)
- Private m_qOutput As Queue = New Queue(1024)
- Private m_delegateThreadErrorHandler As [Delegate] = New ThreadErrorHandlerDelegate(AddressOf OnThreadError)
- Private Sub ThreadProc()
- While m_bContinue
- Dim obj As Object = Nothing
- Monitor.Enter(Me)
- If m_qInput.Count > 0 Then obj = m_qInput.Dequeue()
- Monitor.Exit(Me)
- If obj Is Nothing Then
- Dim bQuit As Boolean = False
- Monitor.Enter(Me)
- If m_htThreads.Count > m_nMinThreadCount Then
- m_htThreads.Remove(Thread.CurrentThread.Name)
- bQuit = True
- End If
- Monitor.Exit(Me)
- If bQuit Then Return
- Thread.Sleep(10 * m_nServerPause)
- Else
- Dim oWorkItem As ThreadPoolWorkItem = CType(obj, ThreadPoolWorkItem)
- 'oWorkItem.m_oOutput = oWorkItem.m_pMethod.DynamicInvoke(oWorkItem.m_pInput)
- Try
- oWorkItem.m_oOutput = oWorkItem.m_pMethod.DynamicInvoke(oWorkItem.m_pInput)
- Catch oBug As Exception
- If Not m_delegateThreadErrorHandler Is Nothing Then
- Try
- Dim pInput As Object() = {oWorkItem, oBug}
- m_delegateThreadErrorHandler.DynamicInvoke(pInput)
- Catch
- End Try
- End If
- End Try
- If oWorkItem.m_bStoreOutput Then
- Monitor.Enter(m_qOutput)
- m_qOutput.Enqueue(oWorkItem)
- Monitor.Exit(m_qOutput)
- End If
- Thread.Sleep(m_nServerPause)
- End If
- End While
- End Sub
- Private Sub OnThreadError(ByVal oWorkItem As ThreadPoolWorkItem, ByVal oError As Exception)
- If oWorkItem Is Nothing Then
- m_oException = oError
- Else
- oWorkItem.m_oException = oError
- End If
- End Sub
- Public Sub SetThreadErrorHandler(ByVal pMethod As ThreadErrorHandlerDelegate)
- Monitor.Enter(Me)
- m_delegateThreadErrorHandler = pMethod
- Monitor.Exit(Me)
- End Sub
- Public Sub SetServerPause(ByVal nMilliseconds As Integer)
- Monitor.Enter(Me)
- If nMilliseconds > 9 And nMilliseconds < 101 Then m_nServerPause = nMilliseconds
- Monitor.Exit(Me)
- End Sub
- Public Sub SetShutdownPause(ByVal nMilliseconds As Integer)
- Monitor.Enter(Me)
- m_nShutdownPause = nMilliseconds
- Monitor.Exit(Me)
- End Sub
- Public Function GetException() As Exception
- Return m_oException
- End Function
- Public Sub InsertWorkItem(ByVal oWorkItem As ThreadPoolWorkItem)
- Try
- Monitor.Enter(Me)
- m_qInput.Enqueue(oWorkItem)
- If m_bContinue AndAlso m_qInput.Count > m_htThreads.Count AndAlso m_htThreads.Count < m_nMaxThreadCount Then
- Dim th As Thread = New Thread(AddressOf ThreadProc)
- th.Name = Guid.NewGuid.ToString()
- m_htThreads.Add(th.Name, th)
- th.Start()
- End If
- Catch oBug As Exception
- m_oException = oBug
- Finally
- Monitor.Exit(Me)
- End Try
- End Sub
- Public Sub InsertWorkItem(ByVal sName As String, ByVal pMethod As [Delegate], ByVal pArgs As Object(), ByVal bStoreOutput As Boolean)
- InsertWorkItem(New ThreadPoolWorkItem(sName, pMethod, pArgs, bStoreOutput))
- End Sub
- Public Function ExtractWorkItem() As ThreadPoolWorkItem
- Dim oWorkItem As Object = Nothing
- Monitor.Enter(m_qOutput)
- If m_qOutput.Count > 0 Then oWorkItem = m_qOutput.Dequeue()
- Monitor.Exit(m_qOutput)
- If oWorkItem Is Nothing Then Return Nothing
- Return CType(oWorkItem, ThreadPoolWorkItem)
- End Function
- Public Function StartThreadPool(Optional ByVal nMinThreadCount As Integer = 5, Optional ByVal nMaxThreadCount As Integer = 10) As Boolean
- Try
- Monitor.Enter(Me)
- If m_bContinue = False Then
- m_bContinue = True
- If nMinThreadCount > 0 Then
- m_nMinThreadCount = nMinThreadCount
- End If
- If nMaxThreadCount > m_nMinThreadCount Then
- m_nMaxThreadCount = nMaxThreadCount
- Else
- m_nMaxThreadCount = 2 * m_nMinThreadCount
- End If
- Dim i As Integer
- For i = 1 To m_nMinThreadCount
- Dim th As Thread = New Thread(AddressOf ThreadProc)
- th.Name = Guid.NewGuid.ToString()
- m_htThreads.Add(th.Name, th)
- th.Start()
- Next i
- End If
- Return True
- Catch oBug As Exception
- m_bContinue = False
- m_oException = oBug
- Return False
- Finally
- Monitor.Exit(Me)
- End Try
- End Function
- Public Sub StopThreadPool()
- Monitor.Enter(Me)
- m_bContinue = False
- Thread.Sleep(Math.Max(200, m_nShutdownPause))
- If (m_nShutdownPause > 0) Then
- Dim dict As IDictionaryEnumerator = m_htThreads.GetEnumerator()
- While dict.MoveNext()
- Dim th As Thread = CType(dict.Value(), Thread)
- If th.IsAlive Then
- Try
- th.Abort()
- Catch
- End Try
- End If
- End While
- End If
- m_htThreads.Clear()
- m_qInput.Clear()
- ' m_qOutput.Clear()
- Monitor.Exit(Me)
- End Sub
- Public Function GetThreadCount() As Integer
- Monitor.Enter(Me)
- Dim nCount As Integer = m_htThreads.Count
- Monitor.Exit(Me)
- Return nCount
- End Function
-End Class
\ No newline at end of file
diff --git a/imagecatalog.backup/app.config b/imagecatalog.backup/app.config
deleted file mode 100644
index 9add436..0000000
--- a/imagecatalog.backup/app.config
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/imagecatalog.backup/packages.config b/imagecatalog.backup/packages.config
deleted file mode 100644
index 560ae9f..0000000
--- a/imagecatalog.backup/packages.config
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/imagecatalog.backup/upgrade.backup b/imagecatalog.backup/upgrade.backup
deleted file mode 100644
index deaf2c6..0000000
--- a/imagecatalog.backup/upgrade.backup
+++ /dev/null
@@ -1 +0,0 @@
-Backup created at 1615021897 (06/03/2021 09:11:37 +00:00)
\ No newline at end of file
diff --git a/imagecatalog/ClassDiagram1.cd b/imagecatalog/ClassDiagram1.cd
deleted file mode 100644
index 0519ecb..0000000
--- a/imagecatalog/ClassDiagram1.cd
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/imagecatalog/ImageCatalog 2.csproj b/imagecatalog/ImageCatalog 2.csproj
index 1654ae5..be90557 100644
--- a/imagecatalog/ImageCatalog 2.csproj
+++ b/imagecatalog/ImageCatalog 2.csproj
@@ -32,15 +32,19 @@
embedded
+
+
+
+
+
+
+
SettingsSingleFileGenerator
Settings.Designer.cs
-
-
-
diff --git a/lib/MaddoLibrary.Base.NET45.dll b/lib/MaddoLibrary.Base.NET45.dll
deleted file mode 100644
index 9d023ae..0000000
Binary files a/lib/MaddoLibrary.Base.NET45.dll and /dev/null differ
diff --git a/lib/MaddoLibrary.WPF.NET46.dll b/lib/MaddoLibrary.WPF.NET46.dll
deleted file mode 100644
index 417787b..0000000
Binary files a/lib/MaddoLibrary.WPF.NET46.dll and /dev/null differ
diff --git a/lib/Microsoft.WindowsAPICodePack.Shell.dll b/lib/Microsoft.WindowsAPICodePack.Shell.dll
deleted file mode 100644
index 4392797..0000000
Binary files a/lib/Microsoft.WindowsAPICodePack.Shell.dll and /dev/null differ
diff --git a/lib/Microsoft.WindowsAPICodePack.Shell.xml b/lib/Microsoft.WindowsAPICodePack.Shell.xml
deleted file mode 100644
index ef2b05c..0000000
--- a/lib/Microsoft.WindowsAPICodePack.Shell.xml
+++ /dev/null
@@ -1,25496 +0,0 @@
-
-
-
- Microsoft.WindowsAPICodePack.Shell
-
-
-
-
- Provides extension methods for raising events safely.
-
-
-
-
- Safely raises an event using EventArgs.Empty
-
- EventHandler to raise
- Event sender
-
-
-
- Safely raises an event.
-
- Type of event args
- EventHandler<T> to raise
- Event sender
- Event args
-
-
-
- Safely raises an event using EventArgs.Empty
-
- EventHandler<EventArgs> to raise
- Event sender
-
-
-
- A wrapper for the native POINT structure.
-
-
-
-
- Initialize the NativePoint
-
- The x coordinate of the point.
- The y coordinate of the point.
-
-
-
- Determines if two NativePoints are equal.
-
- First NativePoint
- Second NativePoint
- True if first NativePoint is equal to the second; false otherwise.
-
-
-
- Determines if two NativePoints are not equal.
-
- First NativePoint
- Second NativePoint
- True if first NativePoint is not equal to the second; false otherwise.
-
-
-
- Determines if this NativePoint is equal to another.
-
- Another NativePoint to compare
- True if this NativePoint is equal obj; false otherwise.
-
-
-
- Gets a hash code for the NativePoint.
-
- Hash code for the NativePoint
-
-
-
- The X coordinate of the point
-
-
-
-
- The Y coordinate of the point
-
-
-
-
- A wrapper for a RECT struct
-
-
-
-
- Creates a new NativeRect initialized with supplied values.
-
- Position of left edge
- Position of top edge
- Position of right edge
- Position of bottom edge
-
-
-
- Determines if two NativeRects are equal.
-
- First NativeRect
- Second NativeRect
- True if first NativeRect is equal to second; false otherwise.
-
-
-
- Determines if two NativeRects are not equal
-
- First NativeRect
- Second NativeRect
- True if first is not equal to second; false otherwise.
-
-
-
- Determines if the NativeRect is equal to another Rect.
-
- Another NativeRect to compare
- True if this NativeRect is equal to the one provided; false otherwise.
-
-
-
- Creates a hash code for the NativeRect
-
- Returns hash code for this NativeRect
-
-
-
- Position of left edge
-
-
-
-
- Position of top edge
-
-
-
-
- Position of right edge
-
-
-
-
- Position of bottom edge
-
-
-
-
- An exception thrown when an error occurs while dealing with ShellObjects.
-
-
-
-
- Default constructor.
-
-
-
-
- Initializes a new exception using an HResult
-
- HResult error
-
-
-
- Initializes an excpetion with a custom message.
-
- Custom message
-
-
-
- Initializes an exception with custom message and inner exception.
-
- Custom message
- The original exception that preceded this exception
-
-
-
- Initializes an exception with custom message and error code.
-
- Custom message
- HResult error code
-
-
-
- Initializes an exception with custom message and error code.
-
-
-
-
-
-
- Initializes an exception with custom message and inner exception.
-
- HRESULT of an operation
-
-
-
- Initializes an exception from serialization info and a context.
-
-
-
-
-
-
- A folder in the Shell Namespace
-
-
-
-
- Represents the base class for all types of folders (filesystem and non filesystem)
-
-
-
-
- Represents the base class for all types of Shell "containers". Any class deriving from this class
- can contain other ShellObjects (e.g. ShellFolder, FileSystemKnownFolder, ShellLibrary, etc)
-
-
-
-
- The base class for all Shell objects in Shell Namespace.
-
-
-
-
- Creates a ShellObject subclass given a parsing name.
- For file system items, this method will only accept absolute paths.
-
- The parsing name of the object.
- A newly constructed ShellObject object.
-
-
-
- Internal member to keep track of the native IShellItem2
-
-
-
-
- Parsing name for this Object e.g. c:\Windows\file.txt,
- or ::{Some Guid}
-
-
-
-
- A friendly name for this object that' suitable for display
-
-
-
-
- PID List (PIDL) for this object
-
-
-
-
- Updates the native shell item that maps to this shell object. This is necessary when the shell item
- changes after the shell object has been created. Without this method call, the retrieval of properties will
- return stale data.
-
- Bind context object
-
-
-
- Overrides object.ToString()
-
- A string representation of the object.
-
-
-
- Returns the display name of the ShellFolder object. DisplayNameType represents one of the
- values that indicates how the name should look.
- See for a list of possible values.
-
- A disaply name type.
- A string.
-
-
-
- Release the native and managed objects
-
- Indicates that this is being called from Dispose(), rather than the finalizer.
-
-
-
- Release the native objects.
-
-
-
-
- Implement the finalizer.
-
-
-
-
- Returns the hash code of the object.
-
-
-
-
-
- Determines if two ShellObjects are identical.
-
- The ShellObject to comare this one to.
- True if the ShellObjects are equal, false otherwise.
-
-
-
- Returns whether this object is equal to another.
-
- The object to compare against.
- Equality result.
-
-
-
- Implements the == (equality) operator.
-
- First object to compare.
- Second object to compare.
- True if leftShellObject equals rightShellObject; false otherwise.
-
-
-
- Implements the != (inequality) operator.
-
- First object to compare.
- Second object to compare.
- True if leftShellObject does not equal leftShellObject; false otherwise.
-
-
-
- Indicates whether this feature is supported on the current platform.
-
-
-
-
- Return the native ShellFolder object as newer IShellItem2
-
- If the native object cannot be created.
- The ErrorCode member will contain the external error code.
-
-
-
- Return the native ShellFolder object
-
-
-
-
- Gets access to the native IPropertyStore (if one is already
- created for this item and still valid. This is usually done by the
- ShellPropertyWriter class. The reference will be set to null
- when the writer has been closed/commited).
-
-
-
-
- Gets an object that allows the manipulation of ShellProperties for this shell item.
-
-
-
-
- Gets the parsing name for this ShellItem.
-
-
-
-
- Gets the normal display for this ShellItem.
-
-
-
-
- Gets the PID List (PIDL) for this ShellItem.
-
-
-
-
- Gets a value that determines if this ShellObject is a link or shortcut.
-
-
-
-
- Gets a value that determines if this ShellObject is a file system object.
-
-
-
-
- Gets the thumbnail of the ShellObject.
-
-
-
-
- Gets the parent ShellObject.
- Returns null if the object has no parent, i.e. if this object is the Desktop folder.
-
-
-
-
- Release resources
-
- True indicates that this is being called from Dispose(), rather than the finalizer.
-
-
-
- Enumerates through contents of the ShellObjectContainer
-
- Enumerated contents
-
-
-
- Constructs a new ShellFileSystemFolder object given a folder path
-
- The folder path
- ShellFileSystemFolder created from the given folder path.
-
-
-
- The path for this Folder
-
-
-
-
- A refence to an icon resource
-
-
-
-
- Overloaded constructor takes in the module name and resource id for the icon reference.
-
- String specifying the name of an executable file, DLL, or icon file
- Zero-based index of the icon
-
-
-
- Overloaded constructor takes in the module name and resource id separated by a comma.
-
- Reference path for the icon consiting of the module name and resource id.
-
-
-
- Implements the == (equality) operator.
-
- First object to compare.
- Second object to compare.
- True if icon1 equals icon1; false otherwise.
-
-
-
- Implements the != (unequality) operator.
-
- First object to compare.
- Second object to compare.
- True if icon1 does not equals icon1; false otherwise.
-
-
-
- Determines if this object is equal to another.
-
- The object to compare
- Returns true if the objects are equal; false otherwise.
-
-
-
- Generates a nearly unique hashcode for this structure.
-
- A hash code.
-
-
-
- String specifying the name of an executable file, DLL, or icon file
-
-
-
-
- Zero-based index of the icon
-
-
-
-
- Reference to a specific icon within a EXE, DLL or icon file.
-
-
-
-
- Exposes properties and methods for retrieving information about a search condition.
-
-
-
-
- Retrieves an array of the sub-conditions.
-
-
-
-
-
-
-
-
-
- Release the native objects.
-
-
-
-
- Release the native objects.
-
-
-
-
-
- The name of a property to be compared or NULL for an unspecified property.
-
-
-
-
- The property key for the property that is to be compared.
-
-
-
-
- A value (in format) to which the property is compared.
-
-
-
-
- Search condition operation to be performed on the property/value combination.
- See for more details.
-
-
-
-
- Represents the condition type for the given node.
-
-
-
-
- Provides methods for creating or resolving a condition tree
- that was obtained by parsing a query string.
-
-
-
-
- Creates a leaf condition node that represents a comparison of property value and constant value.
-
- The name of a property to be compared, or null for an unspecified property.
- The locale name of the leaf node is LOCALE_NAME_USER_DEFAULT.
- The constant value against which the property value should be compared.
- Specific condition to be used when comparing the actual value and the expected value of the given property
- SearchCondition based on the given parameters
-
- The search will only work for files that are indexed, as well as the specific properties are indexed. To find
- the properties that are indexed, look for the specific property's property description and
- property for IsQueryable flag.
-
-
-
-
- Creates a leaf condition node that represents a comparison of property value and constant value.
- Overload method takes a DateTime parameter for the comparison value.
-
- The name of a property to be compared, or null for an unspecified property.
- The locale name of the leaf node is LOCALE_NAME_USER_DEFAULT.
- The DateTime value against which the property value should be compared.
- Specific condition to be used when comparing the actual value and the expected value of the given property
- SearchCondition based on the given parameters
-
- The search will only work for files that are indexed, as well as the specific properties are indexed. To find
- the properties that are indexed, look for the specific property's property description and
- property for IsQueryable flag.
-
-
-
-
- Creates a leaf condition node that represents a comparison of property value and Integer value.
-
- The name of a property to be compared, or null for an unspecified property.
- The locale name of the leaf node is LOCALE_NAME_USER_DEFAULT.
- The Integer value against which the property value should be compared.
- Specific condition to be used when comparing the actual value and the expected value of the given property
- SearchCondition based on the given parameters
-
- The search will only work for files that are indexed, as well as the specific properties are indexed. To find
- the properties that are indexed, look for the specific property's property description and
- property for IsQueryable flag.
-
-
-
-
- Creates a leaf condition node that represents a comparison of property value and Boolean value.
-
- The name of a property to be compared, or null for an unspecified property.
- The locale name of the leaf node is LOCALE_NAME_USER_DEFAULT.
- The Boolean value against which the property value should be compared.
- Specific condition to be used when comparing the actual value and the expected value of the given property
- SearchCondition based on the given parameters
-
- The search will only work for files that are indexed, as well as the specific properties are indexed. To find
- the properties that are indexed, look for the specific property's property description and
- property for IsQueryable flag.
-
-
-
-
- Creates a leaf condition node that represents a comparison of property value and Floating Point value.
-
- The name of a property to be compared, or null for an unspecified property.
- The locale name of the leaf node is LOCALE_NAME_USER_DEFAULT.
- The Floating Point value against which the property value should be compared.
- Specific condition to be used when comparing the actual value and the expected value of the given property
- SearchCondition based on the given parameters
-
- The search will only work for files that are indexed, as well as the specific properties are indexed. To find
- the properties that are indexed, look for the specific property's property description and
- property for IsQueryable flag.
-
-
-
-
- Creates a leaf condition node that represents a comparison of property value and constant value.
-
- The property to be compared.
- The constant value against which the property value should be compared.
- Specific condition to be used when comparing the actual value and the expected value of the given property
- SearchCondition based on the given parameters
-
- The search will only work for files that are indexed, as well as the specific properties are indexed. To find
- the properties that are indexed, look for the specific property's property description and
- property for IsQueryable flag.
-
-
-
-
- Creates a leaf condition node that represents a comparison of property value and constant value.
- Overload method takes a DateTime parameter for the comparison value.
-
- The property to be compared.
- The DateTime value against which the property value should be compared.
- Specific condition to be used when comparing the actual value and the expected value of the given property
- SearchCondition based on the given parameters
-
- The search will only work for files that are indexed, as well as the specific properties are indexed. To find
- the properties that are indexed, look for the specific property's property description and
- property for IsQueryable flag.
-
-
-
-
- Creates a leaf condition node that represents a comparison of property value and Boolean value.
- Overload method takes a DateTime parameter for the comparison value.
-
- The property to be compared.
- The boolean value against which the property value should be compared.
- Specific condition to be used when comparing the actual value and the expected value of the given property
- SearchCondition based on the given parameters
-
- The search will only work for files that are indexed, as well as the specific properties are indexed. To find
- the properties that are indexed, look for the specific property's property description and
- property for IsQueryable flag.
-
-
-
-
- Creates a leaf condition node that represents a comparison of property value and Floating Point value.
- Overload method takes a DateTime parameter for the comparison value.
-
- The property to be compared.
- The Floating Point value against which the property value should be compared.
- Specific condition to be used when comparing the actual value and the expected value of the given property
- SearchCondition based on the given parameters
-
- The search will only work for files that are indexed, as well as the specific properties are indexed. To find
- the properties that are indexed, look for the specific property's property description and
- property for IsQueryable flag.
-
-
-
-
- Creates a leaf condition node that represents a comparison of property value and Integer value.
- Overload method takes a DateTime parameter for the comparison value.
-
- The property to be compared.
- The Integer value against which the property value should be compared.
- Specific condition to be used when comparing the actual value and the expected value of the given property
- SearchCondition based on the given parameters
-
- The search will only work for files that are indexed, as well as the specific properties are indexed. To find
- the properties that are indexed, look for the specific property's property description and
- property for IsQueryable flag.
-
-
-
-
- Creates a condition node that is a logical conjunction ("AND") or disjunction ("OR")
- of a collection of subconditions.
-
- The SearchConditionType of the condition node.
- Must be either AndCondition or OrCondition.
- TRUE to logically simplify the result, if possible;
- then the result will not necessarily to be of the specified kind. FALSE if the result should
- have exactly the prescribed structure. An application that plans to execute a query based on the
- condition tree would typically benefit from setting this parameter to TRUE.
- Array of subconditions
- New SearchCondition based on the operation
-
-
-
- Creates a condition node that is a logical negation (NOT) of another condition
- (a subnode of this node).
-
- SearchCondition node to be negated.
- True to logically simplify the result if possible; False otherwise.
- In a query builder scenario, simplyfy should typically be set to false.
- New SearchCondition
-
-
-
- Parses an input string that contains Structured Query keywords (using Advanced Query Syntax
- or Natural Query Syntax) and produces a SearchCondition object.
-
- The query to be parsed
- Search condition resulting from the query
- For more information on structured query syntax, visit http://msdn.microsoft.com/en-us/library/bb233500.aspx and
- http://www.microsoft.com/windows/products/winfamily/desktopsearch/technicalresources/advquery.mspx
-
-
-
- Parses an input string that contains Structured Query keywords (using Advanced Query Syntax
- or Natural Query Syntax) and produces a SearchCondition object.
-
- The query to be parsed
- The culture used to select the localized language for keywords.
- Search condition resulting from the query
- For more information on structured query syntax, visit http://msdn.microsoft.com/en-us/library/bb233500.aspx and
- http://www.microsoft.com/windows/products/winfamily/desktopsearch/technicalresources/advquery.mspx
-
-
-
- Create and modify search folders.
-
-
-
-
- Represents the base class for all search-related classes.
-
-
-
-
- Create a simple search folder. Once the appropriate parameters are set,
- the search folder can be enumerated to get the search results.
-
- Specific condition on which to perform the search (property and expected value)
- List of folders/paths to perform the search on. These locations need to be indexed by the system.
-
-
-
- Create a simple search folder. Once the appropiate parameters are set,
- the search folder can be enumerated to get the search results.
-
- Specific condition on which to perform the search (property and expected value)
- List of folders/paths to perform the search on. These locations need to be indexed by the system.
-
-
-
- Creates a list of stack keys, as specified. If this method is not called,
- by default the folder will not be stacked.
-
- Array of canonical names for properties on which the folder is stacked.
- If one of the given canonical names is invalid.
-
-
-
- Creates a list of stack keys, as specified. If this method is not called,
- by default the folder will not be stacked.
-
- Array of property keys on which the folder is stacked.
-
-
-
- Sets the search folder display name.
-
-
-
-
- Sets the search folder icon size.
- The default settings are based on the FolderTypeID which is set by the
- SearchFolder::SetFolderTypeID method.
-
-
-
-
- Sets a search folder type ID, as specified.
-
-
-
-
- Sets folder logical view mode. The default settings are based on the FolderTypeID which is set
- by the SearchFolder::SetFolderTypeID method.
-
- The logical view mode to set.
-
-
-
- Creates a new column list whose columns are all visible,
- given an array of PropertyKey structures. The default is based on FolderTypeID.
-
- This property may not work correctly with the ExplorerBrowser control.
-
-
-
- Creates a list of sort column directions, as specified.
-
- This property may not work correctly with the ExplorerBrowser control.
-
-
-
- Sets a group column, as specified. If no group column is specified, no grouping occurs.
-
- This property may not work correctly with the ExplorerBrowser control.
-
-
-
- Gets the of the search.
- When this property is not set, the resulting search will have no filters applied.
-
-
-
-
- Gets the search scope, as specified using an array of locations to search.
- The search will include this location and all its subcontainers. The default is FOLDERID_Profile
-
-
-
-
- A file in the Shell Namespace
-
-
-
-
- Constructs a new ShellFile object given a file path
-
- The file or folder path
- ShellFile object created using given file path.
-
-
-
- The path for this file
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- A helper class for Shell Objects
-
-
-
-
- Creates a ShellObject given a native IShellItem interface
-
-
- A newly constructed ShellObject object
-
-
-
- Creates a ShellObject given a parsing name
-
-
- A newly constructed ShellObject object
-
-
-
- Constructs a new Shell object from IDList pointer
-
-
-
-
-
-
- Constructs a new Shell object from IDList pointer
-
-
-
-
-
-
-
- Represents a thumbnail or an icon for a ShellObject.
-
-
-
-
- Native shellItem
-
-
-
-
- Internal member to keep track of the current size
-
-
-
-
- Internal constructor that takes in a parent ShellObject.
-
-
-
-
-
- Gets or sets the default size of the thumbnail or icon. The default is 32x32 pixels for icons and
- 256x256 pixels for thumbnails.
-
- If the size specified is larger than the maximum size of 1024x1024 for thumbnails and 256x256 for icons,
- an is thrown.
-
-
-
-
- Gets the thumbnail or icon image in format.
- Null is returned if the ShellObject does not have a thumbnail or icon image.
-
-
-
-
- Gets the thumbnail or icon image in format.
- Null is returned if the ShellObject does not have a thumbnail or icon image.
-
-
-
-
- Gets the thumbnail or icon image in format.
- Null is returned if the ShellObject does not have a thumbnail or icon image.
-
-
-
-
- Gets the thumbnail or icon in small size and format.
-
-
-
-
- Gets the thumbnail or icon in small size and format.
-
-
-
-
- Gets the thumbnail or icon in small size and format.
-
-
-
-
- Gets the thumbnail or icon in Medium size and format.
-
-
-
-
- Gets the thumbnail or icon in medium size and format.
-
-
-
-
- Gets the thumbnail or icon in Medium size and format.
-
-
-
-
- Gets the thumbnail or icon in large size and format.
-
-
-
-
- Gets the thumbnail or icon in large size and format.
-
-
-
-
- Gets the thumbnail or icon in Large size and format.
-
-
-
-
- Gets the thumbnail or icon in extra large size and format.
-
-
-
-
- Gets the thumbnail or icon in Extra Large size and format.
-
-
-
-
- Gets the thumbnail or icon in Extra Large size and format.
-
-
-
-
- Gets or sets a value that determines if the current retrieval option is cache or extract, cache only, or from memory only.
- The default is cache or extract.
-
-
-
-
- Gets or sets a value that determines if the current format option is thumbnail or icon, thumbnail only, or icon only.
- The default is thumbnail or icon.
-
-
-
-
- Gets or sets a value that determines if the user can manually stretch the returned image.
- The default value is false.
-
-
- For example, if the caller passes in 80x80 a 96x96 thumbnail could be returned.
- This could be used as a performance optimization if the caller will need to stretch
- the image themselves anyway. Note that the Shell implementation performs a GDI stretch blit.
- If the caller wants a higher quality image stretch, they should pass this flag and do it themselves.
-
-
-
-
- An ennumerable list of ShellObjects
-
-
-
-
- Creates a ShellObject collection from an IShellItemArray
-
- IShellItemArray pointer
- Indicates whether the collection shouldbe read-only or not
-
-
-
- Creates a ShellObjectCollection from an IDataObject passed during Drop operation.
-
- An object that implements the IDataObject COM interface.
- ShellObjectCollection created from the given IDataObject
-
-
-
- Constructs an empty ShellObjectCollection
-
-
-
-
- Finalizer
-
-
-
-
- Standard Dispose pattern
-
-
-
-
- Standard Dispose patterns
-
- Indicates that this is being called from Dispose(), rather than the finalizer.
-
-
-
- Collection enumeration
-
-
-
-
-
- Builds the data for the CFSTR_SHELLIDLIST Drag and Clipboard data format from the
- ShellObjects in the collection.
-
- A memory stream containing the drag/drop data.
-
-
-
- Returns the index of a particualr shell object in the collection
-
- The item to search for.
- The index of the item found, or -1 if not found.
-
-
-
- Inserts a new shell object into the collection.
-
- The index at which to insert.
- The item to insert.
-
-
-
- Removes the specified ShellObject from the collection
-
- The index to remove at.
-
-
-
- Adds a ShellObject to the collection,
-
- The ShellObject to add.
-
-
-
- Clears the collection of ShellObjects.
-
-
-
-
- Determines if the collection contains a particular ShellObject.
-
- The ShellObject.
- true, if the ShellObject is in the list, false otherwise.
-
-
-
- Copies the ShellObjects in the collection to a ShellObject array.
-
- The destination to copy to.
- The index into the array at which copying will commence.
-
-
-
- Removes a particular ShellObject from the list.
-
- The ShellObject to remove.
- True if the item could be removed, false otherwise.
-
-
-
- Allows for enumeration through the list of ShellObjects in the collection.
-
- The IEnumerator interface to use for enumeration.
-
-
-
- Item count
-
-
-
-
- The collection indexer
-
- The index of the item to retrieve.
- The ShellObject at the specified index
-
-
-
- Retrieves the number of ShellObjects in the collection
-
-
-
-
- If true, the contents of the collection are immutable.
-
-
-
-
- Defines the read-only properties for default shell icon sizes.
-
-
-
-
- The small size property for a 16x16 pixel Shell Icon.
-
-
-
-
- The medium size property for a 32x32 pixel Shell Icon.
-
-
-
-
- The large size property for a 48x48 pixel Shell Icon.
-
-
-
-
- The extra-large size property for a 256x256 pixel Shell Icon.
-
-
-
-
- The maximum size for a Shell Icon, 256x256 pixels.
-
-
-
-
- Defines the read-only properties for default shell thumbnail sizes.
-
-
-
-
- Gets the small size property for a 32x32 pixel Shell Thumbnail.
-
-
-
-
- Gets the medium size property for a 96x96 pixel Shell Thumbnail.
-
-
-
-
- Gets the large size property for a 256x256 pixel Shell Thumbnail.
-
-
-
-
- Gets the extra-large size property for a 1024x1024 pixel Shell Thumbnail.
-
-
-
-
- Maximum size for the Shell Thumbnail, 1024x1024 pixels.
-
-
-
-
- Stores information about how to sort a column that is displayed in the folder view.
-
-
-
-
- Creates a sort column with the specified direction for the given property.
-
- Property key for the property that the user will sort.
- The direction in which the items are sorted.
-
-
-
- Implements the == (equality) operator.
-
- First object to compare.
- Second object to compare.
- True if col1 equals col2; false otherwise.
-
-
-
- Implements the != (unequality) operator.
-
- First object to compare.
- Second object to compare.
- True if col1 does not equals col1; false otherwise.
-
-
-
- Determines if this object is equal to another.
-
- The object to compare
- Returns true if the objects are equal; false otherwise.
-
-
-
- Generates a nearly unique hashcode for this structure.
-
- A hash code.
-
-
-
- The ID of the column by which the user will sort. A PropertyKey structure.
- For example, for the "Name" column, the property key is PKEY_ItemNameDisplay or
- .
-
-
-
-
- The direction in which the items are sorted.
-
-
-
-
- Implements a CommandLink button that can be used in
- WinForms user interfaces.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Gets a System.Windows.Forms.CreateParams on the base class when
- creating a window.
-
-
-
-
- Increase default width.
-
-
-
-
- Specifies the supporting note text
-
-
-
-
- Enable shield icon to be set at design-time.
-
-
-
-
- Indicates whether this feature is supported on the current platform.
-
-
-
-
- Implements a CommandLink button that can be used in WPF user interfaces.
-
-
- CommandLink
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- InitializeComponent
-
-
-
-
- Routed UI command to use for this button
-
-
-
-
- Occurs when the control is clicked.
-
-
-
-
- Specifies the main instruction text
-
-
-
-
- Specifies the supporting note text
-
-
-
-
- Icon to set for the command link button
-
-
-
-
- Indicates if the button is in a checked state
-
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Indicates whether this feature is supported on the current platform.
-
-
-
-
- Internal class that contains interop declarations for
- functions that are not benign and are performance critical.
-
-
-
-
- Event argument for The GlassAvailabilityChanged event
-
-
-
-
- The new GlassAvailable state
-
-
-
-
- Windows Glass Form
- Inherit from this form to be able to enable glass on Windows Form
-
-
-
-
- Makes the background of current window transparent
-
-
-
-
- Excludes a Control from the AeroGlass frame.
-
- The control to exclude.
- Many non-WPF rendered controls (i.e., the ExplorerBrowser control) will not
- render properly on top of an AeroGlass frame.
-
-
-
- Resets the AeroGlass exclusion area.
-
-
-
-
- Catches the DWM messages to this window and fires the appropriate event.
-
-
-
-
-
- Initializes the Form for AeroGlass
-
- The arguments for this event
-
-
-
- Overide OnPaint to paint the background as black.
-
- PaintEventArgs
-
-
-
- Get determines if AeroGlass is enabled on the desktop. Set enables/disables AreoGlass on the desktop.
-
-
-
-
- Fires when the availability of Glass effect changes.
-
-
-
-
- WPF Glass Window
- Inherit from this window class to enable glass on a WPF window
-
-
-
-
- Makes the background of current window transparent from both Wpf and Windows Perspective
-
-
-
-
- Excludes a UI element from the AeroGlass frame.
-
- The element to exclude.
- Many non-WPF rendered controls (i.e., the ExplorerBrowser control) will not
- render properly on top of an AeroGlass frame.
-
-
-
- Resets the AeroGlass exclusion area.
-
-
-
-
- OnSourceInitialized
- Override SourceInitialized to initialize windowHandle for this window.
- A valid windowHandle is available only after the sourceInitialized is completed
-
- EventArgs
-
-
-
- Get determines if AeroGlass is enabled on the desktop. Set enables/disables AreoGlass on the desktop.
-
-
-
-
- Fires when the availability of Glass effect changes.
-
-
-
-
- An exception thrown when an error occurs while dealing with Control objects.
-
-
-
-
- Default constructor.
-
-
-
-
- Initializes an excpetion with a custom message.
-
-
-
-
-
- Initializes an exception with custom message and inner exception.
-
-
-
-
-
-
- Initializes an exception with custom message and error code.
-
-
-
-
-
-
- Initializes an exception with custom message and error code.
-
-
-
-
-
-
- Initializes an exception from serialization info and a context.
-
-
-
-
-
-
- This class is a wrapper around the Windows Explorer Browser control.
-
-
-
-
- Clears the Explorer Browser of existing content, fills it with
- content from the specified container, and adds a new point to the Travel Log.
-
- The shell container to navigate to.
- Will throw if navigation fails for any other reason.
-
-
-
- Navigates within the navigation log. This does not change the set of
- locations in the navigation log.
-
- Forward of Backward
- True if the navigation succeeded, false if it failed for any reason.
-
-
-
- Navigate within the navigation log. This does not change the set of
- locations in the navigation log.
-
- An index into the navigation logs Locations collection.
- True if the navigation succeeded, false if it failed for any reason.
-
-
-
- Initializes the ExplorerBorwser WinForms wrapper.
-
-
-
-
- Displays a placeholder for the explorer browser in design mode
-
- Contains information about the paint event.
-
-
-
- Creates and initializes the native ExplorerBrowser control
-
-
-
-
- Sizes the native control to match the WinForms control wrapper.
-
- Contains information about the size changed event.
-
-
-
- Cleans up the explorer browser events+object when the window is being taken down.
-
- An EventArgs that contains event data.
-
-
-
-
-
- calling service
- requested interface guid
- caller-allocated memory for interface pointer
-
-
-
-
- Controls the visibility of the explorer borwser panes
-
- a guid identifying the pane
- the pane state desired
-
-
-
-
- Returns the current view mode of the browser
-
-
-
-
-
- Gets the IFolderView2 interface from the explorer browser.
-
-
-
-
-
- Gets the selected items in the explorer browser as an IShellItemArray
-
-
-
-
-
- Gets the items in the ExplorerBrowser as an IShellItemArray
-
-
-
-
-
- Options that control how the ExplorerBrowser navigates
-
-
-
-
- Options that control how the content of the ExplorerBorwser looks
-
-
-
-
- The set of ShellObjects in the Explorer Browser
-
-
-
-
- The set of selected ShellObjects in the Explorer Browser
-
-
-
-
- Contains the navigation history of the ExplorerBrowser
-
-
-
-
- The name of the property bag used to persist changes to the ExplorerBrowser's view state.
-
-
-
-
- Fires when the SelectedItems collection changes.
-
-
-
-
- Fires when the Items colection changes.
-
-
-
-
- Fires when a navigation has been initiated, but is not yet complete.
-
-
-
-
- Fires when a navigation has been 'completed': no NavigationPending listener
- has cancelled, and the ExplorerBorwser has created a new view. The view
- will be populated with new items asynchronously, and ItemsChanged will be
- fired to reflect this some time later.
-
-
-
-
- Fires when either a NavigationPending listener cancels the navigation, or
- if the operating system determines that navigation is not possible.
-
-
-
-
- Fires when the ExplorerBorwser view has finished enumerating files.
-
-
-
-
- Fires when the item selected in the view has changed (i.e., a rename ).
- This is not the same as SelectionChanged.
-
-
-
-
- Interaction logic for ExplorerBrowser.xaml
-
-
- ExplorerBrowser
-
-
-
-
- Hosts the ExplorerBrowser WinForms wrapper in this control
-
-
-
-
- To avoid the 'Dispatcher processing has been suspended' InvalidOperationException on Win7,
- the ExplorerBorwser native control is initialized after this control is fully loaded.
-
-
-
-
-
-
- Map changes to the CLR flags to the dependency properties
-
-
-
-
-
-
- Synchronize NavigationLog collection to dependency collection
-
-
-
-
-
-
- Synchronize SelectedItems collection to dependency collection
-
-
-
-
-
-
- The items in the ExplorerBrowser window
-
-
-
-
- The NavigationLog
-
-
-
-
- The selected items in the ExplorerBrowser window
-
-
-
-
- The DependencyProperty for the NavigationTarget property
-
-
-
-
- Disposes the class
-
-
-
-
- Disposes the browser.
-
-
-
-
-
- InitializeComponent
-
-
-
-
- The underlying WinForms control
-
-
-
-
- The items in the ExplorerBrowser window
-
-
-
-
- The selected items in the ExplorerBrowser window
-
-
-
-
- The selected items in the ExplorerBrowser window
-
-
-
-
- The location the explorer browser is navigating to
-
-
-
-
- The view should be left-aligned.
-
-
-
-
- Automatically arrange the elements in the view.
-
-
-
-
- Turns on check mode for the view
-
-
-
-
- When the view is in "tile view mode" the layout of a single item should be extended to the width of the view.
-
-
-
-
- When an item is selected, the item and all its sub-items are highlighted.
-
-
-
-
- The view should not display file names
-
-
-
-
- The view should not save view state in the browser.
-
-
-
-
- Do not display a column header in the view in any view mode.
-
-
-
-
- Only show the column header in details view mode.
-
-
-
-
- The view should not display icons.
-
-
-
-
- Do not show subfolders.
-
-
-
-
- Navigate with a single click
-
-
-
-
- Do not allow more than a single item to be selected.
-
-
-
-
- The size of the thumbnails in the explorer browser
-
-
-
-
- The various view modes of the explorer browser control
-
-
-
-
- Always navigate, even if you are attempting to navigate to the current folder.
-
-
-
-
- Do not navigate further than the initial navigation.
-
-
-
-
- Show/Hide the AdvancedQuery pane on subsequent navigation
-
-
-
-
- Show/Hide the Commands pane on subsequent navigation
-
-
-
-
- Show/Hide the Organize menu in the Commands pane on subsequent navigation
-
-
-
-
- Show/Hide the View menu in the Commands pane on subsequent navigation
-
-
-
-
- Show/Hide the Details pane on subsequent navigation
-
-
-
-
- Show/Hide the Navigation pane on subsequent navigation
-
-
-
-
- Show/Hide the Preview pane on subsequent navigation
-
-
-
-
- Show/Hide the Query pane on subsequent navigation
-
-
-
-
- Navigation log index
-
-
-
-
- These options control how the content of the Explorer Browser
- is rendered.
-
-
-
-
- The viewing mode of the Explorer Browser
-
-
-
-
- The binary representation of the ExplorerBrowser content flags
-
-
-
-
- The view should be left-aligned.
-
-
-
-
- Automatically arrange the elements in the view.
-
-
-
-
- Turns on check mode for the view
-
-
-
-
- When the view is in "tile view mode" the layout of a single item should be extended to the width of the view.
-
-
-
-
- When an item is selected, the item and all its sub-items are highlighted.
-
-
-
-
- The view should not display file names
-
-
-
-
- The view should not save view state in the browser.
-
-
-
-
- Do not display a column header in the view in any view mode.
-
-
-
-
- Only show the column header in details view mode.
-
-
-
-
- The view should not display icons.
-
-
-
-
- Do not show subfolders.
-
-
-
-
- Navigate with a single click
-
-
-
-
- Do not allow more than a single item to be selected.
-
-
-
-
- The size of the thumbnails in pixels
-
-
-
-
- Event argument for The NavigationPending event
-
-
-
-
- The location being navigated to
-
-
-
-
- Set to 'True' to cancel the navigation.
-
-
-
-
- Event argument for The NavigationComplete event
-
-
-
-
- The new location of the explorer browser
-
-
-
-
- Event argument for the NavigatinoFailed event
-
-
-
-
- The location the the browser would have navigated to.
-
-
-
-
- This provides a connection point container compatible dispatch interface for
- hooking into the ExplorerBrowser view.
-
-
-
-
- Default constructor for ExplorerBrowserViewEvents
-
-
-
-
- The view selection has changed
-
-
-
-
- The contents of the view have changed
-
-
-
-
- The enumeration of files in the view is complete
-
-
-
-
- The selected item in the view has changed (not the same as the selection has changed)
-
-
-
-
- Finalizer for ExplorerBrowserViewEvents
-
-
-
-
- Disconnects and disposes object.
-
-
-
-
- Disconnects and disposes object.
-
-
-
-
-
- The navigation log is a history of the locations visited by the explorer browser.
-
-
-
-
- Clears the contents of the navigation log.
-
-
-
-
- The pending navigation log action. null if the user is not navigating
- via the navigation log.
-
-
-
-
- The index into the Locations collection. -1 if the Locations colleciton
- is empty.
-
-
-
-
- Indicates the presence of locations in the log that can be
- reached by calling Navigate(Forward)
-
-
-
-
- Indicates the presence of locations in the log that can be
- reached by calling Navigate(Backward)
-
-
-
-
- The navigation log
-
-
-
-
- An index into the Locations collection. The ShellObject pointed to
- by this index is the current location of the ExplorerBrowser.
-
-
-
-
- Gets the shell object in the Locations collection pointed to
- by CurrentLocationIndex.
-
-
-
-
- Fires when the navigation log changes or
- the current navigation position changes
-
-
-
-
- A navigation traversal request
-
-
-
-
- Indicates the viewing mode of the explorer browser
-
-
-
-
- Choose the best view mode for the folder
-
-
-
-
- (New for Windows7)
-
-
-
-
- Object names and other selected information, such as the size or date last updated, are shown.
-
-
-
-
- The view should display medium-size icons.
-
-
-
-
- Object names are displayed in a list view.
-
-
-
-
- The view should display small icons.
-
-
-
-
- The view should display thumbnail icons.
-
-
-
-
- The view should display icons in a filmstrip format.
-
-
-
-
- The view should display large icons.
-
-
-
-
- Specifies the options that control subsequent navigation.
- Typically use one, or a bitwise combination of these
- flags to specify how the explorer browser navigates.
-
-
-
-
- Always navigate, even if you are attempting to navigate to the current folder.
-
-
-
-
- Do not navigate further than the initial navigation.
-
-
-
-
- Indicates the content options of the explorer browser.
- Typically use one, or a bitwise combination of these
- flags to specify how conent should appear in the
- explorer browser control
-
-
-
-
- No options.
-
-
-
-
- The view should be left-aligned.
-
-
-
-
- Automatically arrange the elements in the view.
-
-
-
-
- Turns on check mode for the view
-
-
-
-
- When the view is set to "Tile" the layout of a single item should be extended to the width of the view.
-
-
-
-
- When an item is selected, the item and all its sub-items are highlighted.
-
-
-
-
- The view should not display file names
-
-
-
-
- The view should not save view state in the browser.
-
-
-
-
- Do not display a column header in the view in any view mode.
-
-
-
-
- Only show the column header in details view mode.
-
-
-
-
- The view should not display icons.
-
-
-
-
- Do not show subfolders.
-
-
-
-
- Navigate with a single click
-
-
-
-
- Do not allow more than a single item to be selected.
-
-
-
-
- Indicates the visibility state of an ExplorerBrowser pane
-
-
-
-
- Allow the explorer browser to determine if this pane is displayed.
-
-
-
-
- Hide the pane
-
-
-
-
- Show the pane
-
-
-
-
- Controls the visibility of the various ExplorerBrowser panes on subsequent navigation
-
-
-
-
- The pane on the left side of the Windows Explorer window that hosts the folders tree and Favorites.
-
-
-
-
- Commands module along the top of the Windows Explorer window.
-
-
-
-
- Organize menu within the commands module.
-
-
-
-
- View menu within the commands module.
-
-
-
-
- Pane showing metadata along the bottom of the Windows Explorer window.
-
-
-
-
- Pane on the right of the Windows Explorer window that shows a large reading preview of the file.
-
-
-
-
- Quick filter buttons to aid in a search.
-
-
-
-
- Additional fields and options to aid in a search.
-
-
-
-
- The direction argument for Navigate
-
-
-
-
- Navigates forward through the navigation log
-
-
-
-
- Navigates backward through the travel log
-
-
-
-
- The event argument for NavigationLogChangedEvent
-
-
-
-
- Indicates CanNavigateForward has changed
-
-
-
-
- Indicates CanNavigateBackward has changed
-
-
-
-
- Indicates the Locations collection has changed
-
-
-
-
- These options control the results subsequent navigations of the ExplorerBrowser
-
-
-
-
- The binary flags that are passed to the explorer browser control's GetOptions/SetOptions methods
-
-
-
-
- Do not navigate further than the initial navigation.
-
-
-
-
- Always navigate, even if you are attempting to navigate to the current folder.
-
-
-
-
- Controls the visibility of the various ExplorerBrowser panes on subsequent navigation
-
-
-
-
- The STGM constants are flags that indicate
- conditions for creating and deleting the object and access modes
- for the object.
-
- You can combine these flags, but you can only choose one flag
- from each group of related flags. Typically one flag from each
- of the access and sharing groups must be specified for all
- functions and methods which use these constants.
-
-
-
-
- Indicates that, in direct mode, each change to a storage
- or stream element is written as it occurs.
-
-
-
-
- Indicates that, in transacted mode, changes are buffered
- and written only if an explicit commit operation is called.
-
-
-
-
- Provides a faster implementation of a compound file
- in a limited, but frequently used, case.
-
-
-
-
- Indicates that the object is read-only,
- meaning that modifications cannot be made.
-
-
-
-
- Enables you to save changes to the object,
- but does not permit access to its data.
-
-
-
-
- Enables access and modification of object data.
-
-
-
-
- Specifies that subsequent openings of the object are
- not denied read or write access.
-
-
-
-
- Prevents others from subsequently opening the object in Read mode.
-
-
-
-
- Prevents others from subsequently opening the object
- for Write or ReadWrite access.
-
-
-
-
- Prevents others from subsequently opening the object in any mode.
-
-
-
-
- Opens the storage object with exclusive access to the most
- recently committed version.
-
-
-
-
- Indicates that the underlying file is to be automatically destroyed when the root
- storage object is released. This feature is most useful for creating temporary files.
-
-
-
-
- Indicates that, in transacted mode, a temporary scratch file is usually used
- to save modifications until the Commit method is called.
- Specifying NoScratch permits the unused portion of the original file
- to be used as work space instead of creating a new file for that purpose.
-
-
-
-
- Indicates that an existing storage object
- or stream should be removed before the new object replaces it.
-
-
-
-
- Creates the new object while preserving existing data in a stream named "Contents".
-
-
-
-
- Causes the create operation to fail if an existing object with the specified name exists.
-
-
-
-
- This flag is used when opening a storage object with Transacted
- and without ShareExclusive or ShareDenyWrite.
- In this case, specifying NoSnapshot prevents the system-provided
- implementation from creating a snapshot copy of the file.
- Instead, changes to the file are written to the end of the file.
-
-
-
-
- Supports direct mode for single-writer, multireader file operations.
-
-
-
-
- Wraps the native Windows MSG structure.
-
-
-
-
- Creates a new instance of the Message struct
-
- Window handle
- Message
- WParam
- LParam
- Time
- Point
-
-
-
- Determines if two messages are equal.
-
- First message
- Second message
- True if first and second message are equal; false otherwise.
-
-
-
- Determines if two messages are not equal.
-
- First message
- Second message
- True if first and second message are not equal; false otherwise.
-
-
-
- Determines if this message is equal to another.
-
- Another message
- True if this message is equal argument; false otherwise.
-
-
-
- Gets a hash code for the message.
-
- Hash code for this message.
-
-
-
- Gets the window handle
-
-
-
-
- Gets the window message
-
-
-
-
- Gets the WParam
-
-
-
-
- Gets the LParam
-
-
-
-
- Gets the time
-
-
-
-
- Gets the point
-
-
-
-
- An exception thrown when an error occurs while dealing with the Property System API.
-
-
-
-
- Default constructor.
-
-
-
-
- Initializes an excpetion with a custom message.
-
-
-
-
-
- Initializes an exception with custom message and inner exception.
-
-
-
-
-
-
- Initializes an exception with custom message and error code.
-
-
-
-
-
-
- Initializes an exception from serialization info and a context.
-
-
-
-
-
-
- Specifies options for the appearance of the
- stock icon.
-
-
-
-
- Retrieve the small version of the icon, as specified by
- SM_CXICON and SM_CYICON system metrics.
-
-
-
-
- Retrieve the small version of the icon, as specified by
- SM_CXSMICON and SM_CYSMICON system metrics.
-
-
-
-
- Retrieve the shell-sized icons (instead of the
- size specified by the system metrics).
-
-
-
-
- Specified that the hIcon member of the SHSTOCKICONINFO
- structure receives a handle to the specified icon.
-
-
-
-
- Specifies that the iSysImageImage member of the SHSTOCKICONINFO
- structure receives the index of the specified
- icon in the system imagelist.
-
-
-
-
- Adds the link overlay to the icon.
-
-
-
-
- Adds the system highlight color to the icon.
-
-
-
-
- The window has a thin-line border.
-
-
-
-
- The window has a title bar (includes the WS_BORDER style).
-
-
-
-
- The window is a child window.
- A window with this style cannot have a menu bar.
- This style cannot be used with the WS_POPUP style.
-
-
-
-
- Same as the WS_CHILD style.
-
-
-
-
- Excludes the area occupied by child windows when drawing occurs within the parent window.
- This style is used when creating the parent window.
-
-
-
-
- Clips child windows relative to each other;
- that is, when a particular child window receives a WM_PAINT message,
- the WS_CLIPSIBLINGS style clips all other overlapping child windows out of the region of the child window to be updated.
- If WS_CLIPSIBLINGS is not specified and child windows overlap, it is possible,
- when drawing within the client area of a child window, to draw within the client area of a neighboring child window.
-
-
-
-
- The window is initially disabled. A disabled window cannot receive input from the user.
- To change this after a window has been created, use the EnableWindow function.
-
-
-
-
- The window has a border of a style typically used with dialog boxes.
- A window with this style cannot have a title bar.
-
-
-
-
- The window is the first control of a group of controls.
- The group consists of this first control and all controls defined after it, up to the next control with the WS_GROUP style.
- The first control in each group usually has the WS_TABSTOP style so that the user can move from group to group.
- The user can subsequently change the keyboard focus from one control in the group to the next control
- in the group by using the direction keys.
-
- You can turn this style on and off to change dialog box navigation.
- To change this style after a window has been created, use the SetWindowLong function.
-
-
-
-
- The window has a horizontal scroll bar.
-
-
-
-
- The window is initially minimized.
- Same as the WS_MINIMIZE style.
-
-
-
-
- The window is initially maximized.
-
-
-
-
- The window has a maximize button.
- Cannot be combined with the WS_EX_CONTEXTHELP style.
- The WS_SYSMENU style must also be specifie
-
-
-
-
- The window is initially minimized.
- Same as the WS_ICONIC style.
-
-
-
-
- The window has a minimize button.
- Cannot be combined with the WS_EX_CONTEXTHELP style.
- The WS_SYSMENU style must also be specified.
-
-
-
-
- The window is an overlapped window.
- An overlapped window has a title bar and a border.
- Same as the WS_TILED style.
-
-
-
-
- The windows is a pop-up window.
- This style cannot be used with the WS_CHILD style.
-
-
-
-
- The window has a sizing border.
- Same as the WS_THICKFRAME style.
-
-
-
-
- The window has a window menu on its title bar.
- The WS_CAPTION style must also be specified.
-
-
-
-
- The window is a control that can receive the keyboard focus when the user presses the TAB key.
- Pressing the TAB key changes the keyboard focus to the next control with the WS_TABSTOP style.
-
- You can turn this style on and off to change dialog box navigation.
- To change this style after a window has been created, use the SetWindowLong function.
- For user-created windows and modeless dialogs to work with tab stops,
- alter the message loop to call the IsDialogMessage function.
-
-
-
-
- The window has a sizing border.
- Same as the WS_SIZEBOX style.
-
-
-
-
- The window is an overlapped window.
- An overlapped window has a title bar and a border.
- Same as the WS_OVERLAPPED style.
-
-
-
-
- The window is initially visible.
-
- This style can be turned on and off by using the ShowWindow or SetWindowPos function.
-
-
-
-
- The window has a vertical scroll bar.
-
-
-
-
- The window is an overlapped window.
- Same as the WS_OVERLAPPEDWINDOW style.
-
-
-
-
- The window is a pop-up window.
- The WS_CAPTION and WS_POPUPWINDOW styles must be combined to make the window menu visible.
-
-
-
-
- The window is an overlapped window. Same as the WS_TILEDWINDOW style.
-
-
-
-
- Represents a registered or known folder in the system.
-
-
-
-
- Gets the path for this known folder.
-
-
-
-
- Gets the category designation for this known folder.
-
-
-
-
- Gets this known folder's canonical name.
-
-
-
-
- Gets this known folder's description.
-
-
-
-
- Gets the unique identifier for this known folder's parent folder.
-
-
-
-
- Gets this known folder's relative path.
-
-
-
-
- Gets this known folder's parsing name.
-
-
-
-
- Gets this known folder's tool tip text.
-
-
-
-
- Gets the resource identifier for this
- known folder's tool tip text.
-
-
-
-
- Gets this known folder's localized name.
-
-
-
-
- Gets the resource identifier for this
- known folder's localized name.
-
-
-
-
- Gets this known folder's security attributes.
-
-
-
-
- Gets this known folder's file attributes,
- such as "read-only".
-
-
-
-
- Gets an value that describes this known folder's behaviors.
-
-
-
-
- Gets the unique identifier for this known folder's type.
-
-
-
-
- Gets a string representation of this known folder's type.
-
-
-
-
- Gets the unique identifier for this known folder.
-
-
-
-
- Gets a value that indicates whether this known folder's path exists on the computer.
-
- If this property value is false,
- the folder might be a virtual folder ( property will
- be for virtual folders)
-
-
-
- Gets a value that states whether this known folder
- can have its path set to a new value,
- including any restrictions on the redirection.
-
-
-
-
- Prepares the browser to be navigated.
-
- A handle to the owner window or control.
- A pointer to a RECT containing the coordinates of the bounding rectangle
- the browser will occupy. The coordinates are relative to hwndParent. If this parameter is NULL,
- then method IExplorerBrowser::SetRect should subsequently be called.
- A pointer to a FOLDERSETTINGS structure that determines how the folder will be
- displayed in the view. If this parameter is NULL, then method IExplorerBrowser::SetFolderSettings
- should be called, otherwise, the default view settings for the folder are used.
-
-
-
-
- Destroys the browser.
-
-
-
-
-
- Sets the size and position of the view windows created by the browser.
-
- A pointer to a DeferWindowPos handle. This paramater can be NULL.
- The coordinates that the browser will occupy.
-
-
-
-
- Sets the name of the property bag.
-
- A pointer to a constant, null-terminated, Unicode string that contains
- the name of the property bag. View state information that is specific to the application of the
- client is stored (persisted) using this name.
-
-
-
-
- Sets the default empty text.
-
- A pointer to a constant, null-terminated, Unicode string that contains
- the empty text.
-
-
-
-
- Sets the folder settings for the current view.
-
- A pointer to a FOLDERSETTINGS structure that contains the folder settings
- to be applied.
-
-
-
-
- Initiates a connection with IExplorerBrowser for event callbacks.
-
- A pointer to the IExplorerBrowserEvents interface of the object to be
- advised of IExplorerBrowser events
- When this method returns, contains a token that uniquely identifies
- the event listener. This allows several event listeners to be subscribed at a time.
-
-
-
-
- Terminates an advisory connection.
-
- A connection token previously returned from IExplorerBrowser::Advise.
- Identifies the connection to be terminated.
-
-
-
-
- Sets the current browser options.
-
- One or more EXPLORER_BROWSER_OPTIONS flags to be set.
-
-
-
-
- Gets the current browser options.
-
- When this method returns, contains the current EXPLORER_BROWSER_OPTIONS
- for the browser.
-
-
-
-
- Browses to a pointer to an item identifier list (PIDL)
-
- A pointer to a const ITEMIDLIST (item identifier list) that specifies an object's
- location as the destination to navigate to. This parameter can be NULL.
- A flag that specifies the category of the pidl. This affects how
- navigation is accomplished
-
-
-
-
- Browse to an object
-
- A pointer to an object to browse to. If the object cannot be browsed,
- an error value is returned.
- A flag that specifies the category of the pidl. This affects how
- navigation is accomplished.
-
-
-
-
- Creates a results folder and fills it with items.
-
- An interface pointer on the source object that will fill the IResultsFolder
- One of the EXPLORER_BROWSER_FILL_FLAGS
-
-
-
-
- Removes all items from the results folder.
-
-
-
-
-
- Gets an interface for the current view of the browser.
-
- A reference to the desired interface ID.
- When this method returns, contains the interface pointer requested in riid.
- This will typically be IShellView or IShellView2.
-
-
-
-
- Internal class that contains interop declarations for
- functions that are not benign and are performance critical.
-
-
-
-
- Specifies behaviors for known folders.
-
-
-
-
- No behaviors are defined.
-
-
-
-
- Prevents a per-user known folder from being
- redirected to a network location.
-
-
-
-
- The known folder can be roamed through PC-to-PC synchronization.
-
-
-
-
- Creates the known folder when the user first logs on.
-
-
-
-
- Specifies the categories for known folders.
-
-
-
-
- The folder category is not specified.
-
-
-
-
- The folder is a virtual folder. Virtual folders are not part
- of the file system. For example, Control Panel and
- Printers are virtual folders. A number of properties
- such as folder path and redirection do not apply to this category.
-
-
-
-
- The folder is fixed. Fixed file system folders are not
- managed by the Shell and are usually given a permanent
- path when the system is installed. For example, the
- Windows and Program Files folders are fixed folders.
- A number of properties such as redirection do not apply
- to this category.
-
-
-
-
- The folder is a common folder. Common folders are
- used for sharing data and settings
- accessible by all users of a system. For example,
- all users share a common Documents folder as well
- as their per-user Documents folder.
-
-
-
-
- Each user has their own copy of the folder. Per-user folders
- are those stored under each user's profile and
- accessible only by that user.
-
-
-
-
- Structure used internally to store property values for
- a known folder. This structure holds the information
- returned in the FOLDER_DEFINITION structure, and
- resources referenced by fields in NativeFolderDefinition,
- such as icon and tool tip.
-
-
-
-
- Contains the GUID identifiers for well-known folders.
-
-
-
-
- Returns the friendly name for a specified folder.
-
- The Guid identifier for a known folder.
- A value.
-
-
-
- Returns a sorted list of name, guid pairs for
- all known folders.
-
-
-
-
-
- Computer
-
-
-
-
- Conflicts
-
-
-
-
- Control Panel
-
-
-
-
- Desktop
-
-
-
-
- Internet Explorer
-
-
-
-
- Network
-
-
-
-
- Printers
-
-
-
-
- Sync Center
-
-
-
-
- Network Connections
-
-
-
-
- Sync Setup
-
-
-
-
- Sync Results
-
-
-
-
- Recycle Bin
-
-
-
-
- Fonts
-
-
-
-
- Startup
-
-
-
-
- Programs
-
-
-
-
- Start Menu
-
-
-
-
- Recent Items
-
-
-
-
- SendTo
-
-
-
-
- Documents
-
-
-
-
- Favorites
-
-
-
-
- Network Shortcuts
-
-
-
-
- Printer Shortcuts
-
-
-
-
- Templates
-
-
-
-
- Startup
-
-
-
-
- Programs
-
-
-
-
- Start Menu
-
-
-
-
- Public Desktop
-
-
-
-
- ProgramData
-
-
-
-
- Templates
-
-
-
-
- Public Documents
-
-
-
-
- Roaming
-
-
-
-
- Local
-
-
-
-
- LocalLow
-
-
-
-
- Temporary Internet Files
-
-
-
-
- Cookies
-
-
-
-
- History
-
-
-
-
- System32
-
-
-
-
- System32
-
-
-
-
- Windows
-
-
-
-
- The user's username (%USERNAME%)
-
-
-
-
- Pictures
-
-
-
-
- Program Files
-
-
-
-
- Common Files
-
-
-
-
- Program Files
-
-
-
-
- Common Files
-
-
-
-
- Program Files
-
-
-
-
- Common Files
-
-
-
-
- Administrative Tools
-
-
-
-
- Administrative Tools
-
-
-
-
- Music
-
-
-
-
- Videos
-
-
-
-
- Public Pictures
-
-
-
-
- Public Music
-
-
-
-
- Public Videos
-
-
-
-
- Resources
-
-
-
-
- None
-
-
-
-
- OEM Links
-
-
-
-
- Temporary Burn Folder
-
-
-
-
- Users
-
-
-
-
- Playlists
-
-
-
-
- Sample Playlists
-
-
-
-
- Sample Music
-
-
-
-
- Sample Pictures
-
-
-
-
- Sample Videos
-
-
-
-
- Slide Shows
-
-
-
-
- Public
-
-
-
-
- Programs and Features
-
-
-
-
- Installed Updates
-
-
-
-
- Get Programs
-
-
-
-
- Downloads
-
-
-
-
- Public Downloads
-
-
-
-
- Searches
-
-
-
-
- Quick Launch
-
-
-
-
- Contacts
-
-
-
-
- Gadgets
-
-
-
-
- Gadgets
-
-
-
-
- Tree property value folder
-
-
-
-
- GameExplorer
-
-
-
-
- GameExplorer
-
-
-
-
- Saved Games
-
-
-
-
- Games
-
-
-
-
- Recorded TV
-
-
-
-
- Microsoft Office Outlook
-
-
-
-
- Offline Files
-
-
-
-
- Links
-
-
-
-
- The user's full name (for instance, Jean Philippe Bagel) entered when the user account was created.
-
-
-
-
- Search home
-
-
-
-
- Original Images
-
-
-
-
- UserProgramFiles
-
-
-
-
- UserProgramFilesCommon
-
-
-
-
- Ringtones
-
-
-
-
- PublicRingtones
-
-
-
-
- UsersLibraries
-
-
-
-
- DocumentsLibrary
-
-
-
-
- MusicLibrary
-
-
-
-
- PicturesLibrary
-
-
-
-
- VideosLibrary
-
-
-
-
- RecordedTVLibrary
-
-
-
-
- OtherUsers
-
-
-
-
- DeviceMetadataStore
-
-
-
-
- Libraries
-
-
-
-
- UserPinned
-
-
-
-
- ImplicitAppShortcuts
-
-
-
-
- The FolderTypes values represent a view template applied to a folder,
- usually based on its intended use and contents.
-
-
-
-
- No particular content type has been detected or specified. This value is not supported in Windows 7 and later systems.
-
-
-
-
- The folder is invalid. There are several things that can cause this judgement: hard disk errors, file system errors, and compression errors among them.
-
-
-
-
- The folder contains document files. These can be of mixed format—.doc, .txt, and others.
-
-
-
-
- Image files, such as .jpg, .tif, or .png files.
-
-
-
-
- Windows 7 and later. The folder contains audio files, such as .mp3 and .wma files.
-
-
-
-
- A list of music files displayed in Icons view. This value is not supported in Windows 7 and later systems.
-
-
-
-
- The folder is the Games folder found in the Start menu.
-
-
-
-
- The Control Panel in category view. This is a virtual folder.
-
-
-
-
- The Control Panel in classic view. This is a virtual folder.
-
-
-
-
- Printers that have been added to the system. This is a virtual folder.
-
-
-
-
- The Recycle Bin. This is a virtual folder.
-
-
-
-
- The software explorer window used by the Add or Remove Programs control panel icon.
-
-
-
-
- The folder is a compressed archive, such as a compressed file with a .zip file name extension.
-
-
-
-
- An e-mail-related folder that contains contact information.
-
-
-
-
- A default library view without a more specific template. This value is not supported in Windows 7 and later systems.
-
-
-
-
- The Network Explorer folder.
-
-
-
-
- The folder is the FOLDERID_UsersFiles folder.
-
-
-
-
- Windows 7 and later. The folder contains search results, but they are of mixed or no specific type.
-
-
-
-
- Windows 7 and later. The folder is a library, but of no specified type.
-
-
-
-
- Windows 7 and later. The folder contains video files. These can be of mixed format—.wmv, .mov, and others.
-
-
-
-
- Windows 7 and later. The view shown when the user clicks the Windows Explorer button on the taskbar.
-
-
-
-
- Windows 7 and later. The homegroup view.
-
-
-
-
- Windows 7 and later. A folder that contains communication-related files such as e-mails, calendar information, and contact information.
-
-
-
-
- Windows 7 and later. The folder contains recorded television broadcasts.
-
-
-
-
- Windows 7 and later. The folder contains saved game states.
-
-
-
-
- Windows 7 and later. The folder contains federated search OpenSearch results.
-
-
-
-
- Windows 7 and later. Before you search.
-
-
-
-
- Windows 7 and later. A user's Searches folder, normally found at C:\Users\username\Searches.
-
-
-
-
- Creates the helper class for known folders.
-
-
-
-
- Returns the native known folder (IKnownFolderNative) given a PID list
-
-
-
-
-
-
- Returns a known folder given a globally unique identifier.
-
- A GUID for the requested known folder.
- A known folder representing the specified name.
- Thrown if the given Known Folder ID is invalid.
-
-
-
- Returns a known folder given a globally unique identifier.
-
- A GUID for the requested known folder.
- A known folder representing the specified name. Returns null if Known Folder is not found or could not be created.
-
-
-
- Given a native KnownFolder (IKnownFolderNative), create the right type of
- IKnownFolder object (FileSystemKnownFolder or NonFileSystemKnownFolder)
-
- Native Known Folder
-
-
-
-
- Returns the known folder given its canonical name.
-
- A non-localized canonical name for the known folder, such as MyComputer.
- A known folder representing the specified name.
- Thrown if the given canonical name is invalid or if the KnownFolder could not be created.
-
-
-
- Returns a known folder given its shell path, such as C:\users\public\documents or
- ::{645FF040-5081-101B-9F08-00AA002F954E} for the Recycle Bin.
-
- The path for the requested known folder; either a physical path or a virtual path.
- A known folder representing the specified name.
-
-
-
- Returns a known folder given its shell namespace parsing name, such as
- ::{645FF040-5081-101B-9F08-00AA002F954E} for the Recycle Bin.
-
- The parsing name (or path) for the requested known folder.
- A known folder representing the specified name.
- Thrown if the given parsing name is invalid.
-
-
-
- Defines properties for known folders that identify the path of standard known folders.
-
-
-
-
- Gets a strongly-typed read-only collection of all the registered known folders.
-
-
-
-
- Gets the metadata for the Computer folder.
-
- An object.
-
-
-
- Gets the metadata for the Conflict folder.
-
- An object.
-
-
-
- Gets the metadata for the ControlPanel folder.
-
- An object.
-
-
-
- Gets the metadata for the Desktop folder.
-
- An object.
-
-
-
- Gets the metadata for the Internet folder.
-
- An object.
-
-
-
- Gets the metadata for the Network folder.
-
- An object.
-
-
-
- Gets the metadata for the Printers folder.
-
- An object.
-
-
-
- Gets the metadata for the SyncManager folder.
-
- An object.
-
-
-
- Gets the metadata for the Connections folder.
-
- An object.
-
-
-
- Gets the metadata for the SyncSetup folder.
-
- An object.
-
-
-
- Gets the metadata for the SyncResults folder.
-
- An object.
-
-
-
- Gets the metadata for the RecycleBin folder.
-
- An object.
-
-
-
- Gets the metadata for the Fonts folder.
-
- An object.
-
-
-
- Gets the metadata for the Startup folder.
-
- An object.
-
-
-
- Gets the metadata for the Programs folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user StartMenu folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user Recent folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user SendTo folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user Documents folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user Favorites folder.
-
- An object.
-
-
-
- Gets the metadata for the NetHood folder.
-
- An object.
-
-
-
- Gets the metadata for the PrintHood folder.
-
- An object.
-
-
-
- Gets the metadata for the Templates folder.
-
- An object.
-
-
-
- Gets the metadata for the CommonStartup folder.
-
- An object.
-
-
-
- Gets the metadata for the CommonPrograms folder.
-
- An object.
-
-
-
- Gets the metadata for the CommonStartMenu folder.
-
- An object.
-
-
-
- Gets the metadata for the PublicDesktop folder.
-
- An object.
-
-
-
- Gets the metadata for the ProgramData folder.
-
- An object.
-
-
-
- Gets the metadata for the CommonTemplates folder.
-
- An object.
-
-
-
- Gets the metadata for the PublicDocuments folder.
-
- An object.
-
-
-
- Gets the metadata for the RoamingAppData folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user LocalAppData
- folder.
-
- An object.
-
-
-
- Gets the metadata for the LocalAppDataLow folder.
-
- An object.
-
-
-
- Gets the metadata for the InternetCache folder.
-
- An object.
-
-
-
- Gets the metadata for the Cookies folder.
-
- An object.
-
-
-
- Gets the metadata for the History folder.
-
- An object.
-
-
-
- Gets the metadata for the System folder.
-
- An object.
-
-
-
- Gets the metadata for the SystemX86
- folder.
-
- An object.
-
-
-
- Gets the metadata for the Windows folder.
-
- An object.
-
-
-
- Gets the metadata for the Profile folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user Pictures folder.
-
- An object.
-
-
-
- Gets the metadata for the ProgramFilesX86 folder.
-
- An object.
-
-
-
- Gets the metadata for the ProgramFilesCommonX86 folder.
-
- An object.
-
-
-
- Gets the metadata for the ProgramsFilesX64 folder.
-
- An object.
-
-
-
- Gets the metadata for the ProgramFilesCommonX64 folder.
-
- An object.
-
-
-
- Gets the metadata for the ProgramFiles folder.
-
- An object.
-
-
-
- Gets the metadata for the ProgramFilesCommon folder.
-
- An object.
-
-
-
- Gets the metadata for the AdminTools folder.
-
- An object.
-
-
-
- Gets the metadata for the CommonAdminTools folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user Music folder.
-
- An object.
-
-
-
- Gets the metadata for the Videos folder.
-
- An object.
-
-
-
- Gets the metadata for the PublicPictures folder.
-
- An object.
-
-
-
- Gets the metadata for the PublicMusic folder.
-
- An object.
-
-
-
- Gets the metadata for the PublicVideos folder.
-
- An object.
-
-
-
- Gets the metadata for the ResourceDir folder.
-
- An object.
-
-
-
- Gets the metadata for the LocalizedResourcesDir folder.
-
- An object.
-
-
-
- Gets the metadata for the CommonOEMLinks folder.
-
- An object.
-
-
-
- Gets the metadata for the CDBurning folder.
-
- An object.
-
-
-
- Gets the metadata for the UserProfiles folder.
-
- An object.
-
-
-
- Gets the metadata for the Playlists folder.
-
- An object.
-
-
-
- Gets the metadata for the SamplePlaylists folder.
-
- An object.
-
-
-
- Gets the metadata for the SampleMusic folder.
-
- An object.
-
-
-
- Gets the metadata for the SamplePictures folder.
-
- An object.
-
-
-
- Gets the metadata for the SampleVideos folder.
-
- An object.
-
-
-
- Gets the metadata for the PhotoAlbums folder.
-
- An object.
-
-
-
- Gets the metadata for the Public folder.
-
- An object.
-
-
-
- Gets the metadata for the ChangeRemovePrograms folder.
-
- An object.
-
-
-
- Gets the metadata for the AppUpdates folder.
-
- An object.
-
-
-
- Gets the metadata for the AddNewPrograms folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user Downloads folder.
-
- An object.
-
-
-
- Gets the metadata for the PublicDownloads folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user SavedSearches folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user QuickLaunch folder.
-
- An object.
-
-
-
- Gets the metadata for the Contacts folder.
-
- An object.
-
-
-
- Gets the metadata for the SidebarParts folder.
-
- An object.
-
-
-
- Gets the metadata for the SidebarDefaultParts folder.
-
- An object.
-
-
-
- Gets the metadata for the TreeProperties folder.
-
- An object.
-
-
-
- Gets the metadata for the PublicGameTasks folder.
-
- An object.
-
-
-
- Gets the metadata for the GameTasks folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user SavedGames folder.
-
- An object.
-
-
-
- Gets the metadata for the Games folder.
-
- An object.
-
-
-
- Gets the metadata for the RecordedTV folder.
-
- An object.
- This folder is not used.
-
-
-
- Gets the metadata for the SearchMapi folder.
-
- An object.
-
-
-
- Gets the metadata for the SearchCsc folder.
-
- An object.
-
-
-
- Gets the metadata for the per-user Links folder.
-
- An object.
-
-
-
- Gets the metadata for the UsersFiles folder.
-
- An object.
-
-
-
- Gets the metadata for the SearchHome folder.
-
- An object.
-
-
-
- Gets the metadata for the OriginalImages folder.
-
- An object.
-
-
-
- Gets the metadata for the UserProgramFiles folder.
-
-
-
-
- Gets the metadata for the UserProgramFilesCommon folder.
-
-
-
-
- Gets the metadata for the Ringtones folder.
-
-
-
-
- Gets the metadata for the PublicRingtones folder.
-
-
-
-
- Gets the metadata for the UsersLibraries folder.
-
-
-
-
- Gets the metadata for the DocumentsLibrary folder.
-
-
-
-
- Gets the metadata for the MusicLibrary folder.
-
-
-
-
- Gets the metadata for the PicturesLibrary folder.
-
-
-
-
- Gets the metadata for the VideosLibrary folder.
-
-
-
-
- Gets the metadata for the RecordedTVLibrary folder.
-
-
-
-
- Gets the metadata for the OtherUsers folder.
-
-
-
-
- Gets the metadata for the DeviceMetadataStore folder.
-
-
-
-
- Gets the metadata for the Libraries folder.
-
-
-
-
- Gets the metadata for the UserPinned folder.
-
-
-
-
- Gets the metadata for the ImplicitAppShortcuts folder.
-
-
-
-
- Internal class to represent the KnownFolder settings/properties
-
-
-
-
- Populates a structure that contains
- this known folder's properties.
-
-
-
-
- Gets the path of this this known folder.
-
-
- Returns false if the folder is virtual, or a boolean
- value that indicates whether this known folder exists.
-
- Native IKnownFolder reference
-
- A containing the path, or if this known folder does not exist.
-
-
-
-
- Gets the path for this known folder.
-
- A object.
-
-
-
- Gets the category designation for this known folder.
-
- A value.
-
-
-
- Gets this known folder's canonical name.
-
- A object.
-
-
-
- Gets this known folder's description.
-
- A object.
-
-
-
- Gets the unique identifier for this known folder's parent folder.
-
- A value.
-
-
-
- Gets this known folder's relative path.
-
- A object.
-
-
-
- Gets this known folder's tool tip text.
-
- A object.
-
-
-
- Gets the resource identifier for this
- known folder's tool tip text.
-
- A object.
-
-
-
- Gets this known folder's localized name.
-
- A object.
-
-
-
- Gets the resource identifier for this
- known folder's localized name.
-
- A object.
-
-
-
- Gets this known folder's security attributes.
-
- A object.
-
-
-
- Gets this known folder's file attributes,
- such as "read-only".
-
- A value.
-
-
-
- Gets an value that describes this known folder's behaviors.
-
- A value.
-
-
-
- Gets the unique identifier for this known folder's type.
-
- A value.
-
-
-
- Gets a string representation of this known folder's type.
-
- A object.
-
-
-
- Gets the unique identifier for this known folder.
-
- A value.
-
-
-
- Gets a value that indicates whether this known folder's path exists on the computer.
-
- A bool value.
- If this property value is false,
- the folder might be a virtual folder ( property will
- be for virtual folders)
-
-
-
- Gets a value that states whether this known folder
- can have its path set to a new value,
- including any restrictions on the redirection.
-
- A value.
-
-
-
- Specifies the redirection capabilities for known folders.
-
-
-
-
- Redirection capability is unknown.
-
-
-
-
- The known folder can be redirected.
-
-
-
-
- The known folder can be redirected.
- Currently, redirection exists only for
- common and user folders; fixed and virtual folders
- cannot be redirected.
-
-
-
-
- Redirection is not allowed.
-
-
-
-
- The folder cannot be redirected because it is
- already redirected by group policy.
-
-
-
-
- The folder cannot be redirected because the policy
- prohibits redirecting this folder.
-
-
-
-
- The folder cannot be redirected because the calling
- application does not have sufficient permissions.
-
-
-
-
- Contains special retrieval options for known folders.
-
-
-
-
- A Serch Connector folder in the Shell Namespace
-
-
-
-
- Indicates whether this feature is supported on the current platform.
-
-
-
-
- CommonFileDialog AddPlace locations
-
-
-
-
- At the bottom of the Favorites or Places list.
-
-
-
-
- At the top of the Favorites or Places list.
-
-
-
-
- One of the values that indicates how the ShellObject DisplayName should look.
-
-
-
-
- Returns the display name relative to the desktop.
-
-
-
-
- Returns the parsing name relative to the parent folder.
-
-
-
-
- Returns the path relative to the parent folder in a
- friendly format as displayed in an address bar.
-
-
-
-
- Returns the parsing name relative to the desktop.
-
-
-
-
- Returns the editing name relative to the parent folder.
-
-
-
-
- Returns the editing name relative to the desktop.
-
-
-
-
- Returns the display name relative to the file system path.
-
-
-
-
- Returns the display name relative to a URL.
-
-
-
-
- Available Library folder types
-
-
-
-
- General Items
-
-
-
-
- Documents
-
-
-
-
- Music
-
-
-
-
- Pictures
-
-
-
-
- Videos
-
-
-
-
- Flags controlling the appearance of a window
-
-
-
-
- Hides the window and activates another window.
-
-
-
-
- Activates and displays the window (including restoring
- it to its original size and position).
-
-
-
-
- Minimizes the window.
-
-
-
-
- Maximizes the window.
-
-
-
-
- Similar to , except that the window
- is not activated.
-
-
-
-
- Activates the window and displays it in its current size
- and position.
-
-
-
-
- Minimizes the window and activates the next top-level window.
-
-
-
-
- Minimizes the window and does not activate it.
-
-
-
-
- Similar to , except that the window is not
- activated.
-
-
-
-
- Activates and displays the window, restoring it to its original
- size and position.
-
-
-
-
- Sets the show state based on the initial value specified when
- the process was created.
-
-
-
-
- Minimizes a window, even if the thread owning the window is not
- responding. Use this only to minimize windows from a different
- thread.
-
-
-
-
- Provides a set of flags to be used with
- to indicate the operation in methods.
-
-
-
-
- An implicit comparison between the value of the property and the value of the constant.
-
-
-
-
- The value of the property and the value of the constant must be equal.
-
-
-
-
- The value of the property and the value of the constant must not be equal.
-
-
-
-
- The value of the property must be less than the value of the constant.
-
-
-
-
- The value of the property must be greater than the value of the constant.
-
-
-
-
- The value of the property must be less than or equal to the value of the constant.
-
-
-
-
- The value of the property must be greater than or equal to the value of the constant.
-
-
-
-
- The value of the property must begin with the value of the constant.
-
-
-
-
- The value of the property must end with the value of the constant.
-
-
-
-
- The value of the property must contain the value of the constant.
-
-
-
-
- The value of the property must not contain the value of the constant.
-
-
-
-
- The value of the property must match the value of the constant, where '?'
- matches any single character and '*' matches any sequence of characters.
-
-
-
-
- The value of the property must contain a word that is the value of the constant.
-
-
-
-
- The value of the property must contain a word that begins with the value of the constant.
-
-
-
-
- The application is free to interpret this in any suitable way.
-
-
-
-
- Set of flags to be used with .
-
-
-
-
- Indicates that the values of the subterms are combined by "AND".
-
-
-
-
- Indicates that the values of the subterms are combined by "OR".
-
-
-
-
- Indicates a "NOT" comparison of subterms.
-
-
-
-
- Indicates that the node is a comparison between a property and a
- constant value using a .
-
-
-
-
- Used to describe the view mode.
-
-
-
-
- The view is not specified.
-
-
-
-
- This should have the same affect as Unspecified.
-
-
-
-
- The minimum valid enumeration value. Used for validation purposes only.
-
-
-
-
- Details view.
-
-
-
-
- Tiles view.
-
-
-
-
- Icons view.
-
-
-
-
- Windows 7 and later. List view.
-
-
-
-
- Windows 7 and later. Content view.
-
-
-
-
- The maximum valid enumeration value. Used for validation purposes only.
-
-
-
-
- The direction in which the items are sorted.
-
-
-
-
- A default value for sort direction, this value should not be used;
- instead use Descending or Ascending.
-
-
-
-
- The items are sorted in descending order. Whether the sort is alphabetical, numerical,
- and so on, is determined by the data type of the column indicated in propkey.
-
-
-
-
- The items are sorted in ascending order. Whether the sort is alphabetical, numerical,
- and so on, is determined by the data type of the column indicated in propkey.
-
-
-
-
- Provides a set of flags to be used with IQueryParser::SetOption and
- IQueryParser::GetOption to indicate individual options.
-
-
-
-
- The value should be VT_LPWSTR and the path to a file containing a schema binary.
-
-
-
-
- The value must be VT_EMPTY (the default) or a VT_UI4 that is an LCID. It is used
- as the locale of contents (not keywords) in the query to be searched for, when no
- other information is available. The default value is the current keyboard locale.
- Retrieving the value always returns a VT_UI4.
-
-
-
-
- This option is used to override the default word breaker used when identifying keywords
- in queries. The default word breaker is chosen according to the language of the keywords
- (cf. SQSO_LANGUAGE_KEYWORDS below). When setting this option, the value should be VT_EMPTY
- for using the default word breaker, or a VT_UNKNOWN with an object supporting
- the IWordBreaker interface. Retrieving the option always returns a VT_UNKNOWN with an object
- supporting the IWordBreaker interface.
-
-
-
-
- The value should be VT_EMPTY or VT_BOOL with VARIANT_TRUE to allow natural query
- syntax (the default) or VT_BOOL with VARIANT_FALSE to allow only advanced query syntax.
- Retrieving the option always returns a VT_BOOL.
- This option is now deprecated, use SQSO_SYNTAX.
-
-
-
-
- The value should be VT_BOOL with VARIANT_TRUE to generate query expressions
- as if each word in the query had a star appended to it (unless followed by punctuation
- other than a parenthesis), or VT_EMPTY or VT_BOOL with VARIANT_FALSE to
- use the words as they are (the default). A word-wheeling application
- will generally want to set this option to true.
- Retrieving the option always returns a VT_BOOL.
-
-
-
-
- Reserved. The value should be VT_EMPTY (the default) or VT_I4.
- Retrieving the option always returns a VT_I4.
-
-
-
-
- The value must be a VT_UI4 that is a LANGID. It defaults to the default user UI language.
-
-
-
-
- The value must be a VT_UI4 that is a STRUCTURED_QUERY_SYNTAX value.
- It defaults to SQS_NATURAL_QUERY_SYNTAX.
-
-
-
-
- The value must be a VT_BLOB that is a copy of a TIME_ZONE_INFORMATION structure.
- It defaults to the current time zone.
-
-
-
-
- This setting decides what connector should be assumed between conditions when none is specified.
- The value must be a VT_UI4 that is a CONDITION_TYPE. Only CT_AND_CONDITION and CT_OR_CONDITION
- are valid. It defaults to CT_AND_CONDITION.
-
-
-
-
- This setting decides whether there are special requirements on the case of connector keywords (such
- as AND or OR). The value must be a VT_UI4 that is a CASE_REQUIREMENT value.
- It defaults to CASE_REQUIREMENT_UPPER_IF_AQS.
-
-
-
-
- Provides a set of flags to be used with IQueryParser::SetMultiOption
- to indicate individual options.
-
-
-
-
- The key should be property name P. The value should be a
- VT_UNKNOWN with an IEnumVARIANT which has two values: a VT_BSTR that is another
- property name Q and a VT_I4 that is a CONDITION_OPERATION cop. A predicate with
- property name P, some operation and a value V will then be replaced by a predicate
- with property name Q, operation cop and value V before further processing happens.
-
-
-
-
- The key should be a value type name V. The value should be a
- VT_LPWSTR with a property name P. A predicate with no property name and a value of type
- V (or any subtype of V) will then use property P.
-
-
-
-
- The key should be a value type name V. The value should be a
- VT_UNKNOWN with a IConditionGenerator G. The GenerateForLeaf method of
- G will then be applied to any predicate with value type V and if it returns a query
- expression, that will be used. If it returns NULL, normal processing will be used
- instead.
-
-
-
-
- The key should be a property name P. The value should be a VT_VECTOR|VT_LPWSTR,
- where each string is a property name. The count must be at least one. This "map" will be
- added to those of the loaded schema and used during resolution. A second call with the
- same key will replace the current map. If the value is VT_NULL, the map will be removed.
-
-
-
-
- Used by IQueryParserManager::SetOption to set parsing options.
- This can be used to specify schemas and localization options.
-
-
-
-
- A VT_LPWSTR containing the name of the file that contains the schema binary.
- The default value is StructuredQuerySchema.bin for the SystemIndex catalog
- and StructuredQuerySchemaTrivial.bin for the trivial catalog.
-
-
-
-
- Either a VT_BOOL or a VT_LPWSTR. If the value is a VT_BOOL and is FALSE,
- a pre-localized schema will not be used. If the value is a VT_BOOL and is TRUE,
- IQueryParserManager will use the pre-localized schema binary in
- "%ALLUSERSPROFILE%\Microsoft\Windows". If the value is a VT_LPWSTR, the value should
- contain the full path of the folder in which the pre-localized schema binary can be found.
- The default value is VT_BOOL with TRUE.
-
-
-
-
- A VT_LPWSTR containing the full path to the folder that contains the
- unlocalized schema binary. The default value is "%SYSTEMROOT%\System32".
-
-
-
-
- A VT_LPWSTR containing the full path to the folder that contains the
- localized schema binary that can be read and written to as needed.
- The default value is "%LOCALAPPDATA%\Microsoft\Windows".
-
-
-
-
- A VT_BOOL. If TRUE, then the paths for pre-localized and localized binaries
- have "\(LCID)" appended to them, where language code identifier (LCID) is
- the decimal locale ID for the localized language. The default is TRUE.
-
-
-
-
- A VT_UNKNOWN with an object supporting ISchemaLocalizerSupport.
- This object will be used instead of the default localizer support object.
-
-
-
-
- A Shell Library in the Shell Namespace
-
-
-
-
- Creates a shell library in the Libraries Known Folder,
- using the given IKnownFolder
-
- KnownFolder from which to create the new Shell Library
- If true , opens the library in read-only mode.
-
-
-
- Creates a shell library in the Libraries Known Folder,
- using the given shell library name.
-
- The name of this library
- Allow overwriting an existing library; if one exists with the same name
-
-
-
- Creates a shell library in a given Known Folder,
- using the given shell library name.
-
- The name of this library
- The known folder
- Override an existing library with the same name
-
-
-
- Creates a shell library in a given local folder,
- using the given shell library name.
-
- The name of this library
- The path to the local folder
- Override an existing library with the same name
-
-
-
- Close the library, and release its associated file system resources
-
-
-
-
- Load the library using a number of options
-
- The name of the library
- If true, loads the library in read-only mode.
- A ShellLibrary Object
-
-
-
- Load the library using a number of options
-
- The name of the library.
- The path to the library.
- If true, opens the library in read-only mode.
- A ShellLibrary Object
-
-
-
- Load the library using a number of options
-
- IShellItem
- read-only flag
- A ShellLibrary Object
-
-
-
- Load the library using a number of options
-
- A known folder.
- If true, opens the library in read-only mode.
- A ShellLibrary Object
-
-
-
- Shows the library management dialog which enables users to mange the library folders and default save location.
-
- The name of the library
- The path to the library.
- The parent window,or IntPtr.Zero for no parent
- A title for the library management dialog, or null to use the library name as the title
- An optional help string to display for the library management dialog
- If true, do not show warning dialogs about locations that cannot be indexed
- If the library is already open in read-write mode, the dialog will not save the changes.
-
-
-
- Shows the library management dialog which enables users to mange the library folders and default save location.
-
- The name of the library
- The parent window,or IntPtr.Zero for no parent
- A title for the library management dialog, or null to use the library name as the title
- An optional help string to display for the library management dialog
- If true, do not show warning dialogs about locations that cannot be indexed
- If the library is already open in read-write mode, the dialog will not save the changes.
-
-
-
- Shows the library management dialog which enables users to mange the library folders and default save location.
-
- A known folder.
- The parent window,or IntPtr.Zero for no parent
- A title for the library management dialog, or null to use the library name as the title
- An optional help string to display for the library management dialog
- If true, do not show warning dialogs about locations that cannot be indexed
- If the library is already open in read-write mode, the dialog will not save the changes.
-
-
-
- Add a new FileSystemFolder or SearchConnector
-
- The folder to add to the library.
-
-
-
- Add an existing folder to this library
-
- The path to the folder to be added to the library.
-
-
-
- Clear all items of this Library
-
-
-
-
- Remove a folder or search connector
-
- The item to remove.
- true if the item was removed.
-
-
-
- Remove a folder or search connector
-
- The path of the item to remove.
- true if the item was removed.
-
-
-
- Release resources
-
- Indicates that this was called from Dispose(), rather than from the finalizer.
-
-
-
- Release resources
-
-
-
-
- Retrieves the collection enumerator.
-
- The enumerator.
-
-
-
- Retrieves the collection enumerator.
-
- The enumerator.
-
-
-
- Determines if an item with the specified path exists in the collection.
-
- The path of the item.
- true if the item exists in the collection.
-
-
-
- Determines if a folder exists in the collection.
-
- The folder.
- true, if the folder exists in the collection.
-
-
-
- Searches for the specified FileSystemFolder and returns the zero-based index of the
- first occurrence within Library list.
-
- The item to search for.
- The index of the item in the collection, or -1 if the item does not exist.
-
-
-
- Inserts a FileSystemFolder at the specified index.
-
- The index to insert at.
- The FileSystemFolder to insert.
-
-
-
- Removes an item at the specified index.
-
- The index to remove.
-
-
-
- Copies the collection to an array.
-
- The array to copy to.
- The index in the array at which to start the copy.
-
-
-
- The name of the library, every library must
- have a name
-
- Will throw if no Icon is set
-
-
-
- The Resource Reference to the icon.
-
-
-
-
- One of predefined Library types
-
- Will throw if no Library Type is set
-
-
-
- The Guid of the Library type
-
- Will throw if no Library Type is set
-
-
-
- By default, this folder is the first location
- added to the library. The default save folder
- is both the default folder where files can
- be saved, and also where the library XML
- file will be saved, if no other path is specified
-
-
-
-
- Whether the library will be pinned to the
- Explorer Navigation Pane
-
-
-
-
- Get a the known folder FOLDERID_Libraries
-
-
-
-
- Retrieves the folder at the specified index
-
- The index of the folder to retrieve.
- A folder.
-
-
-
- The count of the items in the list.
-
-
-
-
- Indicates whether this list is read-only or not.
-
-
-
-
- Indicates whether this feature is supported on the current platform.
-
-
-
-
- Defines the abstract base class for the common file dialogs.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified title.
-
- The title to display in the dialog.
-
-
-
- Tries to set the File(s) Type Combo to match the value in
- 'DefaultExtension'. Only doing this if 'this' is a Save dialog
- as it makes no sense to do this if only Opening a file.
-
-
- The native/IFileDialog instance.
-
-
-
-
- Adds a location, such as a folder, library, search connector, or known folder, to the list of
- places available for a user to open or save items. This method actually adds an item
- to the Favorite Links or Places section of the Open/Save dialog.
-
- The item to add to the places list.
- One of the enumeration values that indicates placement of the item in the list.
-
-
-
- Adds a location (folder, library, search connector, known folder) to the list of
- places available for the user to open or save items. This method actually adds an item
- to the Favorite Links or Places section of the Open/Save dialog. Overload method
- takes in a string for the path.
-
- The item to add to the places list.
- One of the enumeration values that indicates placement of the item in the list.
-
-
-
- Displays the dialog.
-
- Window handle of any top-level window that will own the modal dialog box.
- A object.
-
-
-
- Displays the dialog.
-
- Top-level WPF window that will own the modal dialog box.
- A object.
-
-
-
- Displays the dialog.
-
- A object.
-
-
-
- Removes the current selection.
-
-
-
-
- Returns if change to the colleciton is allowed.
-
- true if collection change is allowed.
-
-
-
- Applies changes to the collection.
-
-
-
-
- Determines if changes to a specific property are allowed.
-
- The name of the property.
- The control propertyName applies to.
- true if the property change is allowed.
-
-
-
- Called when a control currently in the collection
- has a property changed.
-
- The name of the property changed.
- The control whose property has changed.
-
-
-
- Ensures that the user has selected one or more files.
-
-
- The dialog has not been dismissed yet or the dialog was cancelled.
-
-
-
-
- Ensures that the user has selected one or more files.
-
-
- The dialog has not been dismissed yet or the dialog was cancelled.
-
-
-
-
- Throws an exception when the dialog is showing preventing
- a requested change to a property or the visible set of controls.
-
- The message to include in the exception.
- The dialog is in an
- invalid state to perform the requested operation.
-
-
-
- Get the IFileDialogCustomize interface, preparing to add controls.
-
-
-
-
- Raises the event just before the dialog is about to return with a result.
-
- The event data.
-
-
-
- Raises the to stop navigation to a particular location.
-
- Cancelable event arguments.
-
-
-
- Raises the event when the user navigates to a new folder.
-
- The event data.
-
-
-
- Raises the event when the user changes the selection in the dialog's view.
-
- The event data.
-
-
-
- Raises the event when the dialog is opened to notify the
- application of the initial chosen filetype.
-
- The event data.
-
-
-
- Raises the event when the dialog is opened.
-
- The event data.
-
-
-
- Releases the unmanaged resources used by the CommonFileDialog class and optionally
- releases the managed resources.
-
- true to release both managed and unmanaged resources;
- false to release only unmanaged resources.
-
-
-
- Releases the resources used by the current instance of the CommonFileDialog class.
-
-
-
-
- The collection of names selected by the user.
-
-
-
-
- Raised just before the dialog is about to return with a result. Occurs when the user clicks on the Open
- or Save button on a file dialog box.
-
-
-
-
- Raised just before the user navigates to a new folder.
-
-
-
-
- Raised when the user navigates to a new folder.
-
-
-
-
- Raised when the user changes the selection in the dialog's view.
-
-
-
-
- Raised when the dialog is opened to notify the application of the initial chosen filetype.
-
-
-
-
- Raised when the dialog is opening.
-
-
-
-
- Gets the collection of controls for the dialog.
-
-
-
-
- Gets the filters used by the dialog.
-
-
-
-
- Gets or sets the dialog title.
-
- A object.
-
-
-
- Gets or sets a value that determines whether the file must exist beforehand.
-
- A value. true if the file must exist.
- This property cannot be set when the dialog is visible.
-
-
-
- Gets or sets a value that specifies whether the returned file must be in an existing folder.
-
- A value. true if the file must exist.
- This property cannot be set when the dialog is visible.
-
-
- Gets or sets a value that determines whether to validate file names.
-
- A value. true to check for situations that would prevent an application from opening the selected file, such as sharing violations or access denied errors.
- This property cannot be set when the dialog is visible.
-
-
-
-
- Gets or sets a value that determines whether read-only items are returned.
- Default value for CommonOpenFileDialog is true (allow read-only files) and
- CommonSaveFileDialog is false (don't allow read-only files).
-
- A value. true includes read-only items.
- This property cannot be set when the dialog is visible.
-
-
-
- Gets or sets a value that determines the restore directory.
-
-
- This property cannot be set when the dialog is visible.
-
-
-
- Gets or sets a value that controls whether
- to show or hide the list of pinned places that
- the user can choose.
-
- A value. true if the list is visible; otherwise false.
- This property cannot be set when the dialog is visible.
-
-
-
- Gets or sets a value that controls whether to show or hide the list of places where the user has recently opened or saved items.
-
- A value.
- This property cannot be set when the dialog is visible.
-
-
-
- Gets or sets a value that controls whether to show hidden items.
-
- A value.true to show the items; otherwise false.
- This property cannot be set when the dialog is visible.
-
-
-
- Gets or sets a value that controls whether
- properties can be edited.
-
- A value.
-
-
-
- Gets or sets a value that controls whether shortcuts should be treated as their target items, allowing an application to open a .lnk file.
-
- A value. true indicates that shortcuts should be treated as their targets.
- This property cannot be set when the dialog is visible.
-
-
-
- Gets or sets the default file extension to be added to file names. If the value is null
- or string.Empty, the extension is not added to the file names.
-
-
-
-
- Gets the index for the currently selected file type.
-
-
-
-
- Gets the selected filename.
-
- A object.
- This property cannot be used when multiple files are selected.
-
-
-
- Gets the selected item as a ShellObject.
-
- A object.
- This property cannot be used when multiple files
- are selected.
-
-
-
- Gets or sets the initial directory displayed when the dialog is shown.
- A null or empty string indicates that the dialog is using the default directory.
-
- A object.
-
-
-
- Gets or sets a location that is always selected when the dialog is opened,
- regardless of previous user action. A null value implies that the dialog is using
- the default location.
-
-
-
-
- Sets the folder and path used as a default if there is not a recently used folder value available.
-
-
-
-
- Sets the location (ShellContainer
- used as a default if there is not a recently used folder value available.
-
-
-
-
- Gets or sets a value that enables a calling application
- to associate a GUID with a dialog's persisted state.
-
-
-
-
- Default file name.
-
-
-
-
- Indicates whether this feature is supported on the current platform.
-
-
-
-
- Creates the push button controls used by the Common File Dialog.
-
-
-
-
- Defines the properties and constructors for all prominent controls in the Common File Dialog.
-
-
-
-
- Defines an abstract class that supports shared functionality for the
- common file dialog controls.
-
-
-
-
- Holds the text that is displayed for this control.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the text.
-
- The text of the common file dialog control.
-
-
-
- Creates a new instance of this class with the specified name and text.
-
- The name of the common file dialog control.
- The text of the common file dialog control.
-
-
-
- Attach the custom control itself to the specified dialog
-
- the target dialog
-
-
-
- Gets or sets the text string that is displayed on the control.
-
-
-
-
- Gets or sets a value that determines if this control is enabled.
-
-
-
-
- Gets or sets a boolean value that indicates whether
- this control is visible.
-
-
-
-
- Has this control been added to the dialog
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified text.
-
- The text to display for this control.
-
-
-
- Creates a new instance of this class with the specified name and text.
-
- The name of this control.
- The text to display for this control.
-
-
-
- Gets or sets the prominent value of this control.
-
- Only one control can be specified as prominent. If more than one control is specified prominent,
- then an 'E_UNEXPECTED' exception will be thrown when these controls are added to the dialog.
- A group box control can only be specified as prominent if it contains one control and that control is of type 'CommonFileDialogProminentControl'.
-
-
-
-
- Initializes a new instance of this class.
-
-
-
-
- Initializes a new instance of this class with the text only.
-
- The text to display for this control.
-
-
-
- Initializes a new instance of this class with the specified name and text.
-
- The name of this control.
- The text to display for this control.
-
-
-
- Attach the PushButton control to the dialog object
-
- Target dialog
-
-
-
- Occurs when the user clicks the control. This event is routed from COM via the event sink.
-
-
-
-
- Creates the check button controls used by the Common File Dialog.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified text.
-
- The text to display for this control.
-
-
-
- Creates a new instance of this class with the specified name and text.
-
- The name of this control.
- The text to display for this control.
-
-
-
- Creates a new instance of this class with the specified text and check state.
-
- The text to display for this control.
- The check state of this control.
-
-
-
- Creates a new instance of this class with the specified name, text and check state.
-
- The name of this control.
- The text to display for this control.
- The check state of this control.
-
-
-
- Attach the CheckButton control to the dialog object.
-
- the target dialog
-
-
-
- Gets or sets the state of the check box.
-
-
-
-
- Occurs when the user changes the check state.
-
-
-
-
- Creates the ComboBox controls in the Common File Dialog.
-
-
-
-
- Specifies a property, event and method that indexed controls need
- to implement.
-
-
-
- not sure where else to put this, so leaving here for now.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified name.
-
- Text to display for this control
-
-
-
- Raises the SelectedIndexChanged event if this control is
- enabled.
-
- Because this method is defined in an interface, we can either
- have it as public, or make it private and explicitly implement (like below).
- Making it public doesn't really help as its only internal (but can't have this
- internal because of the interface)
-
-
-
-
- Attach the ComboBox control to the dialog object
-
- The target dialog
-
-
-
- Gets the collection of CommonFileDialogComboBoxItem objects.
-
-
-
-
- Gets or sets the current index of the selected item.
-
-
-
-
- Occurs when the SelectedIndex is changed.
-
-
-
- By initializing the SelectedIndexChanged event with an empty
- delegate, it is not necessary to check
- if the SelectedIndexChanged is not null.
-
-
-
-
-
- Creates a ComboBoxItem for the Common File Dialog.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified text.
-
- The text to use for the combo box item.
-
-
-
- Gets or sets the string that is displayed for this item.
-
-
-
-
- Provides a strongly typed collection for dialog controls.
-
- DialogControl
-
-
-
- Inserts an dialog control at the specified index.
-
- The location to insert the control.
- The item to insert.
- A control with
- the same name already exists in this collection -or-
- the control is being hosted by another dialog -or- the associated dialog is
- showing and cannot be modified.
-
-
-
- Removes the control at the specified index.
-
- The location of the control to remove.
-
- The associated dialog is
- showing and cannot be modified.
-
-
-
- Recursively searches for the control who's id matches the value
- passed in the parameter.
-
-
- An integer containing the identifier of the
- control being searched for.
-
- A DialogControl who's id matches the value of the
- parameter.
-
-
-
-
- Recursively searches for a given control id in the
- collection passed via the parameter.
-
-
- A Collection<CommonFileDialogControl>
- An int containing the identifier of the control
- being searched for.
-
- A DialogControl who's Id matches the value of the
- parameter.
-
-
-
-
- Defines the indexer that supports accessing controls by name.
-
-
- Control names are case sensitive.
- This indexer is useful when the dialog is created in XAML
- rather than constructed in code.
-
- The name cannot be null or a zero-length string.
- If there is more than one control with the same name, only the first control will be returned.
-
-
-
- Stores the file extensions used when filtering files in File Open and File Save dialogs.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified display name and
- file extension list.
-
- The name of this filter.
- The list of extensions in
- this filter. See remarks.
- The can use a semicolon(";")
- or comma (",") to separate extensions. Extensions can be prefaced
- with a period (".") or with the file wild card specifier "*.".
-
- The cannot be null or a
- zero-length string.
-
-
-
-
- Internal helper that generates a single filter
- specification for this filter, used by the COM API.
-
- Filter specification for this filter
-
-
-
-
- Returns a string representation for this filter that includes
- the display name and the list of extensions.
-
- A .
-
-
-
- Gets or sets the display name for this filter.
-
-
- The value for this property cannot be set to null or a
- zero-length string.
-
-
-
-
- Gets a collection of the individual extensions
- described by this filter.
-
-
-
-
- Gets or sets a value that controls whether the extensions are displayed.
-
-
-
-
- Provides a strongly typed collection for file dialog filters.
-
-
-
-
- Creates the event data associated with event.
-
-
-
-
-
- Creates a new instance of this class.
-
- The name of the folder.
-
-
-
- Gets or sets the name of the folder.
-
-
-
-
- Represents a group box control for the Common File Dialog.
- note
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Create a new instance of this class with the specified text.
-
- The text to display for this control.
-
-
-
- Creates a new instance of this class with the specified name and text.
-
- The name of this control.
- The text to display for this control.
-
-
-
- Initializes the item collection for this class.
-
-
-
-
- Attach the GroupBox control to the dialog object
-
- Target dialog
-
-
-
- Gets the collection of controls for this group box.
-
-
-
-
- Defines the label controls in the Common File Dialog.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified text.
-
- The text to display for this control.
-
-
-
- Creates a new instance of this class with the specified name and text.
-
- The name of this control.
- The text to display for this control.
-
-
-
- Attach this control to the dialog object
-
- Target dialog
-
-
-
- Defines the menu controls for the Common File Dialog.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified text.
-
- The text to display for this control.
-
-
-
- Creates a new instance of this class with the specified name and text.
-
- The name of this control.
- The text to display for this control.
-
-
-
- Attach the Menu control to the dialog object.
-
- the target dialog
-
-
-
- Gets the collection of CommonFileDialogMenuItem objects.
-
-
-
-
- Creates the CommonFileDialogMenuItem items for the Common File Dialog.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified text.
-
- The text to display for this control.
-
-
-
- Attach this control to the dialog object
-
- Target dialog
-
-
-
- Occurs when a user clicks a menu item.
-
-
-
-
- Represents a radio button list for the Common File Dialog.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified name.
-
- The name of this control.
-
-
-
- Occurs when the user changes the SelectedIndex.
-
- Because this method is defined in an interface, we can either
- have it as public, or make it private and explicitly implement (like below).
- Making it public doesn't really help as its only internal (but can't have this
- internal because of the interface)
-
-
-
-
- Attach the RadioButtonList control to the dialog object
-
- The target dialog
-
-
-
- Gets the collection of CommonFileDialogRadioButtonListItem objects
-
-
-
-
- Gets or sets the current index of the selected item.
-
-
-
-
- Occurs when the user changes the SelectedIndex.
-
-
-
- By initializing the SelectedIndexChanged event with an empty
- delegate, we can skip the test to determine
- if the SelectedIndexChanged is null.
- test.
-
-
-
-
- Represents a list item for the CommonFileDialogRadioButtonList object.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified text.
-
- The string that you want to display for this list item.
-
-
-
- Gets or sets the string that will be displayed for this list item.
-
-
-
-
- Specifies identifiers to indicate the return value of a CommonFileDialog dialog.
-
-
-
-
- Default value for enumeration, a dialog box should never return this value.
-
-
-
-
- The dialog box return value is OK (usually sent from a button labeled OK or Save).
-
-
-
-
- The dialog box return value is Cancel (usually sent from a button labeled Cancel).
-
-
-
-
- Defines the class for the simplest separator controls.
-
-
-
-
- Attach the Separator control to the dialog object
-
- Target dialog
-
-
-
- Defines the class of commonly used file filters.
-
-
-
-
- Gets a value that specifies the filter for *.txt files.
-
-
-
-
- Gets a value that specifies the filter for picture files.
-
-
-
-
- Gets a value that specifies the filter for Microsoft Office files.
-
-
-
-
- Defines the text box controls in the Common File Dialog.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified text.
-
- The text to display for this control.
-
-
-
- Creates a new instance of this class with the specified name and text.
-
- The name of this control.
- The text to display for this control.
-
-
-
- Holds an instance of the customized (/native) dialog and should
- be null until after the Attach() call is made.
-
-
-
-
- Attach the TextBox control to the dialog object
-
- Target dialog
-
-
-
- Gets or sets a value for the text string contained in the CommonFileDialogTextBox.
-
-
-
-
- Creates a Vista or Windows 7 Common File Dialog, allowing the user to select one or more files.
-
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified name.
-
- The name of this dialog.
-
-
-
- Gets a collection of the selected file names.
-
- This property should only be used when the
-
- property is true.
-
-
-
- Gets a collection of the selected items as ShellObject objects.
-
- This property should only be used when the
-
- property is true.
-
-
-
- Gets or sets a value that determines whether the user can select more than one file.
-
-
-
-
- Gets or sets a value that determines whether the user can select folders or files.
- Default value is false.
-
-
-
-
- Gets or sets a value that determines whether the user can select non-filesystem items,
- such as Library, Search Connectors, or Known Folders.
-
-
-
-
- Creates a Vista or Windows 7 Common File Dialog, allowing the user to select the filename and location for a saved file.
-
-
- to save a file. Associated enumeration: .
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified name.
-
- The name of this dialog.
-
-
-
- Sets an item to appear as the initial entry in a Save As dialog.
-
- The initial entry to be set in the dialog.
- The name of the item is displayed in the file name edit box,
- and the containing folder is opened in the view. This would generally be
- used when the application is saving an item that already exists.
-
-
-
- Specifies which properties will be collected in the save dialog.
-
- True to show default properties for the currently selected
- filetype in addition to the properties specified by propertyList. False to show only properties
- specified by pList.
- List of properties to collect. This parameter can be null.
-
-
- SetCollectedPropertyKeys can be called at any time before the dialog is displayed or while it
- is visible. If different properties are to be collected depending on the chosen filetype,
- then SetCollectedProperties can be called in response to CommonFileDialog::FileTypeChanged event.
- Note: By default, no properties are collected in the save dialog.
-
-
-
-
- Gets or sets a value that controls whether to prompt before
- overwriting an existing file of the same name. Default value is true.
-
-
- This property cannot be changed when the dialog is showing.
-
-
-
-
- Gets or sets a value that controls whether to prompt for creation if the item returned in the save dialog does not exist.
-
- Note that this does not actually create the item.
-
- This property cannot be changed when the dialog is showing.
-
-
-
-
- Gets or sets a value that controls whether to the save dialog
- displays in expanded mode.
-
- Expanded mode controls whether the dialog
- shows folders for browsing or hides them.
-
- This property cannot be changed when the dialog is showing.
-
-
-
-
- Gets or sets a value that controls whether the
- returned file name has a file extension that matches the
- currently selected file type. If necessary, the dialog appends the correct
- file extension.
-
-
- This property cannot be changed when the dialog is showing.
-
-
-
-
- Retrieves the set of property values for a saved item or an item in the process of being saved.
-
- Collection of property values collected from the save dialog
- This property can be called while the dialog is showing to retrieve the current
- set of values in the metadata collection pane. It can also be called after the dialog
- has closed, to retrieve the final set of values. The call to this method will fail
- unless property collection has been turned on with a call to SetCollectedPropertyKeys method.
-
-
-
-
- Internal class that contains interop declarations for
- functions that are considered benign but that
- are performance critical.
-
-
- Functions that are benign but not performance critical
- should be located in the NativeMethods class.
-
-
-
-
- An in-memory property store cache
-
-
-
-
- Gets the state of a property stored in the cache
-
-
-
-
-
-
-
- Gets the valeu and state of a property in the cache
-
-
-
-
-
-
-
-
- Sets the state of a property in the cache.
-
-
-
-
-
-
-
- Sets the value and state in the cache.
-
-
-
-
-
-
-
-
- A property store
-
-
-
-
- Gets the number of properties contained in the property store.
-
-
-
-
-
-
- Get a property key located at a specific index.
-
-
-
-
-
-
-
- Gets the value of a property from the store
-
-
-
-
-
-
-
- Sets the value of a property in the store
-
-
-
-
-
-
-
- Commits the changes.
-
-
-
-
-
- Sets the specified iconic thumbnail for the specified window.
- This is typically done in response to a DWM message.
-
- The window handle.
- The thumbnail bitmap.
-
-
-
- Sets the specified peek (live preview) bitmap for the specified
- window. This is typically done in response to a DWM message.
-
- The window handle.
- The thumbnail bitmap.
- Whether to display a standard window
- frame around the bitmap.
-
-
-
- Sets the specified peek (live preview) bitmap for the specified
- window. This is typically done in response to a DWM message.
-
- The window handle.
- The thumbnail bitmap.
- The client area offset at which to display
- the specified bitmap. The rest of the parent window will be
- displayed as "remembered" by the DWM.
- Whether to display a standard window
- frame around the bitmap.
-
-
-
- Call this method to either enable custom previews on the taskbar (second argument as true)
- or to disable (second argument as false). If called with True, the method will call DwmSetWindowAttribute
- for the specific window handle and let DWM know that we will be providing a custom bitmap for the thumbnail
- as well as Aero peek.
-
-
-
-
-
-
- Defines a partial class that implements helper methods for retrieving Shell properties
- using a canonical name, property key, or a strongly-typed property. Also provides
- access to all the strongly-typed system properties and default properties collections.
-
-
-
-
- Returns a property available in the default property collection using
- the given property key.
-
- The property key.
- An IShellProperty.
-
-
-
- Returns a property available in the default property collection using
- the given canonical name.
-
- The canonical name.
- An IShellProperty.
-
-
-
- Returns a strongly typed property available in the default property collection using
- the given property key.
-
- The type of property to retrieve.
- The property key.
- A strongly-typed ShellProperty for the given property key.
-
-
-
- Returns a strongly typed property available in the default property collection using
- the given canonical name.
-
- The type of property to retrieve.
- The canonical name.
- A strongly-typed ShellProperty for the given canonical name.
-
-
-
- Returns the shell property writer used when writing multiple properties.
-
- A ShellPropertyWriter.
- Use the Using pattern with the returned ShellPropertyWriter or
- manually call the Close method on the writer to commit the changes
- and dispose the writer
-
-
-
- Cleans up memory
-
-
-
-
- Cleans up memory
-
-
-
-
- Gets all the properties for the system through an accessor.
-
-
-
-
- Gets the collection of all the default properties for this item.
-
-
-
-
- .System Properties
-
-
-
-
- Base class for all the strongly-typed properties
-
-
-
-
- Name: System.AcquisitionID -- PKEY_AcquisitionID
- Description: Hash to determine acquisition session.
-
- Type: Int32 -- VT_I4
- FormatID: {65A98875-3C80-40AB-ABBC-EFDAF77DBEE2}, 100
-
-
-
-
- Name: System.ApplicationName -- PKEY_ApplicationName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 18 (PIDSI_APPNAME)
-
-
-
-
- Name: System.Author -- PKEY_Author
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 4 (PIDSI_AUTHOR)
-
-
-
-
- Name: System.Capacity -- PKEY_Capacity
- Description: The amount of total space in bytes.
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 3 (PID_VOLUME_CAPACITY) (Filesystem Volume Properties)
-
-
-
-
- Name: System.Category -- PKEY_Category
- Description: Legacy code treats this as VT_LPSTR.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 2 (PIDDSI_CATEGORY)
-
-
-
-
- Name: System.Comment -- PKEY_Comment
- Description: Comments.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 6 (PIDSI_COMMENTS)
-
-
-
-
- Name: System.Company -- PKEY_Company
- Description: The company or publisher.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 15 (PIDDSI_COMPANY)
-
-
-
-
- Name: System.ComputerName -- PKEY_ComputerName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 5 (PID_COMPUTERNAME)
-
-
-
-
- Name: System.ContainedItems -- PKEY_ContainedItems
- Description: The list of type of items, this item contains. For example, this item contains urls, attachments etc.
- This is represented as a vector array of GUIDs where each GUID represents certain type.
-
- Type: Multivalue Guid -- VT_VECTOR | VT_CLSID (For variants: VT_ARRAY | VT_CLSID)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 29
-
-
-
-
- Name: System.ContentStatus -- PKEY_ContentStatus
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 27
-
-
-
-
- Name: System.ContentType -- PKEY_ContentType
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 26
-
-
-
-
- Name: System.Copyright -- PKEY_Copyright
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 11 (PIDMSI_COPYRIGHT)
-
-
-
-
- Name: System.DateAccessed -- PKEY_DateAccessed
- Description: The time of the last access to the item. The Indexing Service friendly name is 'access'.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 16 (PID_STG_ACCESSTIME)
-
-
-
-
- Name: System.DateAcquired -- PKEY_DateAcquired
- Description: The time the file entered the system via acquisition. This is not the same as System.DateImported.
- Examples are when pictures are acquired from a camera, or when music is purchased online.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {2CBAA8F5-D81F-47CA-B17A-F8D822300131}, 100
-
-
-
-
- Name: System.DateArchived -- PKEY_DateArchived
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {43F8D7B7-A444-4F87-9383-52271C9B915C}, 100
-
-
-
-
- Name: System.DateCompleted -- PKEY_DateCompleted
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {72FAB781-ACDA-43E5-B155-B2434F85E678}, 100
-
-
-
-
- Name: System.DateCreated -- PKEY_DateCreated
- Description: The date and time the item was created. The Indexing Service friendly name is 'create'.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 15 (PID_STG_CREATETIME)
-
-
-
-
- Name: System.DateImported -- PKEY_DateImported
- Description: The time the file is imported into a separate database. This is not the same as System.DateAcquired. (Eg, 2003:05:22 13:55:04)
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 18258
-
-
-
-
- Name: System.DateModified -- PKEY_DateModified
- Description: The date and time of the last write to the item. The Indexing Service friendly name is 'write'.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 14 (PID_STG_WRITETIME)
-
-
-
-
- Name: System.DescriptionID -- PKEY_DescriptionID
- Description: The contents of a SHDESCRIPTIONID structure as a buffer of bytes.
-
- Type: Buffer -- VT_VECTOR | VT_UI1 (For variants: VT_ARRAY | VT_UI1)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 2 (PID_DESCRIPTIONID)
-
-
-
-
- Name: System.DueDate -- PKEY_DueDate
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {3F8472B5-E0AF-4DB2-8071-C53FE76AE7CE}, 100
-
-
-
-
- Name: System.EndDate -- PKEY_EndDate
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {C75FAA05-96FD-49E7-9CB4-9F601082D553}, 100
-
-
-
-
- Name: System.FileAllocationSize -- PKEY_FileAllocationSize
- Description:
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 18 (PID_STG_ALLOCSIZE)
-
-
-
-
- Name: System.FileAttributes -- PKEY_FileAttributes
- Description: This is the WIN32_FIND_DATA dwFileAttributes for the file-based item.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 13 (PID_STG_ATTRIBUTES)
-
-
-
-
- Name: System.FileCount -- PKEY_FileCount
- Description:
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 12
-
-
-
-
- Name: System.FileDescription -- PKEY_FileDescription
- Description: This is a user-friendly description of the file.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 3 (PIDVSI_FileDescription)
-
-
-
-
- Name: System.FileExtension -- PKEY_FileExtension
- Description: This is the file extension of the file based item, including the leading period.
-
- If System.FileName is VT_EMPTY, then this property should be too. Otherwise, it should be derived
- appropriately by the data source from System.FileName. If System.FileName does not have a file
- extension, this value should be VT_EMPTY.
-
- To obtain the type of any item (including an item that is not a file), use System.ItemType.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" ".txt"
- "\\server\share\mydir\goodnews.doc" ".doc"
- "\\server\share\numbers.xls" ".xls"
- "\\server\share\folder" VT_EMPTY
- "c:\foo\MyFolder" VT_EMPTY
- [desktop] VT_EMPTY
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E4F10A3C-49E6-405D-8288-A23BD4EEAA6C}, 100
-
-
-
-
- Name: System.FileFRN -- PKEY_FileFRN
- Description: This is the unique file ID, also known as the File Reference Number. For a given file, this is the same value
- as is found in the structure variable FILE_ID_BOTH_DIR_INFO.FileId, via GetFileInformationByHandleEx().
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 21 (PID_STG_FRN)
-
-
-
-
- Name: System.FileName -- PKEY_FileName
- Description: This is the file name (including extension) of the file.
-
- It is possible that the item might not exist on a filesystem (ie, it may not be opened
- using CreateFile). Nonetheless, if the item is represented as a file from the logical sense
- (and its name follows standard Win32 file-naming syntax), then the data source should emit this property.
-
- If an item is not a file, then the value for this property is VT_EMPTY. See
- System.ItemNameDisplay.
-
- This has the same value as System.ParsingName for items that are provided by the Shell's file folder.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "hello.txt"
- "\\server\share\mydir\goodnews.doc" "goodnews.doc"
- "\\server\share\numbers.xls" "numbers.xls"
- "c:\foo\MyFolder" "MyFolder"
- (email message) VT_EMPTY
- (song on portable device) "song.wma"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {41CF5AE0-F75A-4806-BD87-59C7D9248EB9}, 100
-
-
-
-
- Name: System.FileOwner -- PKEY_FileOwner
- Description: This is the owner of the file, according to the file system.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Misc) {9B174B34-40FF-11D2-A27E-00C04FC30871}, 4 (PID_MISC_OWNER)
-
-
-
-
- Name: System.FileVersion -- PKEY_FileVersion
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 4 (PIDVSI_FileVersion)
-
-
-
-
- Name: System.FindData -- PKEY_FindData
- Description: WIN32_FIND_DATAW in buffer of bytes.
-
- Type: Buffer -- VT_VECTOR | VT_UI1 (For variants: VT_ARRAY | VT_UI1)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 0 (PID_FINDDATA)
-
-
-
-
- Name: System.FlagColor -- PKEY_FlagColor
- Description:
-
- Type: UInt16 -- VT_UI2
- FormatID: {67DF94DE-0CA7-4D6F-B792-053A3E4F03CF}, 100
-
-
-
-
- Name: System.FlagColorText -- PKEY_FlagColorText
- Description: This is the user-friendly form of System.FlagColor. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {45EAE747-8E2A-40AE-8CBF-CA52ABA6152A}, 100
-
-
-
-
- Name: System.FlagStatus -- PKEY_FlagStatus
- Description: Status of Flag. Values: (0=none 1=white 2=Red). cdoPR_FLAG_STATUS
-
- Type: Int32 -- VT_I4
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 12
-
-
-
-
- Name: System.FlagStatusText -- PKEY_FlagStatusText
- Description: This is the user-friendly form of System.FlagStatus. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DC54FD2E-189D-4871-AA01-08C2F57A4ABC}, 100
-
-
-
-
- Name: System.FreeSpace -- PKEY_FreeSpace
- Description: The amount of free space in bytes.
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 2 (PID_VOLUME_FREE) (Filesystem Volume Properties)
-
-
-
-
- Name: System.FullText -- PKEY_FullText
- Description: This PKEY is used to specify search terms that should be applied as broadly as possible,
- across all valid properties for the data source(s) being searched. It should not be
- emitted from a data source.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {1E3EE840-BC2B-476C-8237-2ACD1A839B22}, 6
-
-
-
-
- Name: System.Identity -- PKEY_Identity
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A26F4AFC-7346-4299-BE47-EB1AE613139F}, 100
-
-
-
-
- Name: System.ImageParsingName -- PKEY_ImageParsingName
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D7750EE0-C6A4-48EC-B53E-B87B52E6D073}, 100
-
-
-
-
- Name: System.Importance -- PKEY_Importance
- Description:
- Type: Int32 -- VT_I4
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 11
-
-
-
-
- Name: System.ImportanceText -- PKEY_ImportanceText
- Description: This is the user-friendly form of System.Importance. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A3B29791-7713-4E1D-BB40-17DB85F01831}, 100
-
-
-
-
- Name: System.InfoTipText -- PKEY_InfoTipText
- Description: The text (with formatted property values) to show in the infotip.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 17
-
-
-
-
- Name: System.InternalName -- PKEY_InternalName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 5 (PIDVSI_InternalName)
-
-
-
-
- Name: System.IsAttachment -- PKEY_IsAttachment
- Description: Identifies if this item is an attachment.
-
- Type: Boolean -- VT_BOOL
- FormatID: {F23F425C-71A1-4FA8-922F-678EA4A60408}, 100
-
-
-
-
- Name: System.IsDefaultNonOwnerSaveLocation -- PKEY_IsDefaultNonOwnerSaveLocation
- Description: Identifies the default save location for a library for non-owners of the library
-
- Type: Boolean -- VT_BOOL
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 5
-
-
-
-
- Name: System.IsDefaultSaveLocation -- PKEY_IsDefaultSaveLocation
- Description: Identifies the default save location for a library for the owner of the library
-
- Type: Boolean -- VT_BOOL
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 3
-
-
-
-
- Name: System.IsDeleted -- PKEY_IsDeleted
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {5CDA5FC8-33EE-4FF3-9094-AE7BD8868C4D}, 100
-
-
-
-
- Name: System.IsEncrypted -- PKEY_IsEncrypted
- Description: Is the item encrypted?
-
- Type: Boolean -- VT_BOOL
- FormatID: {90E5E14E-648B-4826-B2AA-ACAF790E3513}, 10
-
-
-
-
- Name: System.IsFlagged -- PKEY_IsFlagged
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {5DA84765-E3FF-4278-86B0-A27967FBDD03}, 100
-
-
-
-
- Name: System.IsFlaggedComplete -- PKEY_IsFlaggedComplete
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {A6F360D2-55F9-48DE-B909-620E090A647C}, 100
-
-
-
-
- Name: System.IsIncomplete -- PKEY_IsIncomplete
- Description: Identifies if the message was not completely received for some error condition.
-
- Type: Boolean -- VT_BOOL
- FormatID: {346C8BD1-2E6A-4C45-89A4-61B78E8E700F}, 100
-
-
-
-
- Name: System.IsLocationSupported -- PKEY_IsLocationSupported
- Description: A bool value to know if a location is supported (locally indexable, or remotely indexed).
-
- Type: Boolean -- VT_BOOL
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 8
-
-
-
-
- Name: System.IsPinnedToNameSpaceTree -- PKEY_IsPinnedToNameSpaceTree
- Description: A bool value to know if a shell folder is pinned to the navigation pane
-
- Type: Boolean -- VT_BOOL
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 2
-
-
-
-
- Name: System.IsRead -- PKEY_IsRead
- Description: Has the item been read?
-
- Type: Boolean -- VT_BOOL
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 10
-
-
-
-
- Name: System.IsSearchOnlyItem -- PKEY_IsSearchOnlyItem
- Description: Identifies if a location or a library is search only
-
- Type: Boolean -- VT_BOOL
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 4
-
-
-
-
- Name: System.IsSendToTarget -- PKEY_IsSendToTarget
- Description: Provided by certain shell folders. Return TRUE if the folder is a valid Send To target.
-
- Type: Boolean -- VT_BOOL
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 33
-
-
-
-
- Name: System.IsShared -- PKEY_IsShared
- Description: Is this item shared? This only checks for ACLs that are not inherited.
-
- Type: Boolean -- VT_BOOL
- FormatID: {EF884C5B-2BFE-41BB-AAE5-76EEDF4F9902}, 100
-
-
-
-
- Name: System.ItemAuthors -- PKEY_ItemAuthors
- Description: This is the generic list of authors associated with an item.
-
- For example, the artist name for a track is the item author.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D0A04F0A-462A-48A4-BB2F-3706E88DBD7D}, 100
-
-
-
-
- Name: System.ItemClassType -- PKEY_ItemClassType
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {048658AD-2DB8-41A4-BBB6-AC1EF1207EB1}, 100
-
-
-
-
- Name: System.ItemDate -- PKEY_ItemDate
- Description: This is the main date for an item. The date of interest.
-
- For example, for photos this maps to System.Photo.DateTaken.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {F7DB74B4-4287-4103-AFBA-F1B13DCD75CF}, 100
-
-
-
-
- Name: System.ItemFolderNameDisplay -- PKEY_ItemFolderNameDisplay
- Description: This is the user-friendly display name of the parent folder of an item.
-
- If System.ItemFolderPathDisplay is VT_EMPTY, then this property should be too. Otherwise, it
- should be derived appropriately by the data source from System.ItemFolderPathDisplay.
-
- If the folder is a file folder, the value will be localized if a localized name is available.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "bar"
- "\\server\share\mydir\goodnews.doc" "mydir"
- "\\server\share\numbers.xls" "share"
- "c:\foo\MyFolder" "foo"
- "/Mailbox Account/Inbox/'Re: Hello!'" "Inbox"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 2 (PID_STG_DIRECTORY)
-
-
-
-
- Name: System.ItemFolderPathDisplay -- PKEY_ItemFolderPathDisplay
- Description: This is the user-friendly display path of the parent folder of an item.
-
- If System.ItemPathDisplay is VT_EMPTY, then this property should be too. Otherwise, it should
- be derived appropriately by the data source from System.ItemPathDisplay.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "c:\foo\bar"
- "\\server\share\mydir\goodnews.doc" "\\server\share\mydir"
- "\\server\share\numbers.xls" "\\server\share"
- "c:\foo\MyFolder" "c:\foo"
- "/Mailbox Account/Inbox/'Re: Hello!'" "/Mailbox Account/Inbox"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 6
-
-
-
-
- Name: System.ItemFolderPathDisplayNarrow -- PKEY_ItemFolderPathDisplayNarrow
- Description: This is the user-friendly display path of the parent folder of an item. The format of the string
- should be tailored such that the folder name comes first, to optimize for a narrow viewing column.
-
- If the folder is a file folder, the value includes localized names if they are present.
-
- If System.ItemFolderPathDisplay is VT_EMPTY, then this property should be too. Otherwise, it should
- be derived appropriately by the data source from System.ItemFolderPathDisplay.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "bar (c:\foo)"
- "\\server\share\mydir\goodnews.doc" "mydir (\\server\share)"
- "\\server\share\numbers.xls" "share (\\server)"
- "c:\foo\MyFolder" "foo (c:\)"
- "/Mailbox Account/Inbox/'Re: Hello!'" "Inbox (/Mailbox Account)"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DABD30ED-0043-4789-A7F8-D013A4736622}, 100
-
-
-
-
- Name: System.ItemName -- PKEY_ItemName
- Description: This is the base-name of the System.ItemNameDisplay.
-
- If the item is a file this property
- includes the extension in all cases, and will be localized if a localized name is available.
-
- If the item is a message, then the value of this property does not include the forwarding or
- reply prefixes (see System.ItemNamePrefix).
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6B8DA074-3B5C-43BC-886F-0A2CDCE00B6F}, 100
-
-
-
-
- Name: System.ItemNameDisplay -- PKEY_ItemNameDisplay
- Description: This is the display name in "most complete" form. This is the best effort unique representation
- of the name of an item that makes sense for end users to read. It is the concatentation of
- System.ItemNamePrefix and System.ItemName.
-
- If the item is a file this property
- includes the extension in all cases, and will be localized if a localized name is available.
-
- There are acceptable cases when System.FileName is not VT_EMPTY, yet the value of this property
- is completely different. Email messages are a key example. If the item is an email message,
- the item name is likely the subject. In that case, the value must be the concatenation of the
- System.ItemNamePrefix and System.ItemName. Since the value of System.ItemNamePrefix excludes
- any trailing whitespace, the concatenation must include a whitespace when generating System.ItemNameDisplay.
-
- Note that this property is not guaranteed to be unique, but the idea is to promote the most likely
- candidate that can be unique and also makes sense for end users. For example, for documents, you
- might think about using System.Title as the System.ItemNameDisplay, but in practice the title of
- the documents may not be useful or unique enough to be of value as the sole System.ItemNameDisplay.
- Instead, providing the value of System.FileName as the value of System.ItemNameDisplay is a better
- candidate. In Windows Mail, the emails are stored in the file system as .eml files and the
- System.FileName for those files are not human-friendly as they contain GUIDs. In this example,
- promoting System.Subject as System.ItemNameDisplay makes more sense.
-
- Compatibility notes:
-
- Shell folder implementations on Vista: use PKEY_ItemNameDisplay for the name column when
- you want Explorer to call ISF::GetDisplayNameOf(SHGDN_NORMAL) to get the value of the name. Use
- another PKEY (like PKEY_ItemName) when you want Explorer to call either the folder's property store or
- ISF2::GetDetailsEx in order to get the value of the name.
-
- Shell folder implementations on XP: the first column needs to be the name column, and Explorer
- will call ISF::GetDisplayNameOf to get the value of the name. The PKEY/SCID does not matter.
-
- Example values:
-
- File: "hello.txt"
- Message: "Re: Let's talk about Tom's argyle socks!"
- Device folder: "song.wma"
- Folder: "Documents"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 10 (PID_STG_NAME)
-
-
-
-
- Name: System.ItemNamePrefix -- PKEY_ItemNamePrefix
- Description: This is the prefix of an item, used for email messages.
- where the subject begins with "Re:" which is the prefix.
-
- If the item is a file, then the value of this property is VT_EMPTY.
-
- If the item is a message, then the value of this property is the forwarding or reply
- prefixes (including delimiting colon, but no whitespace), or VT_EMPTY if there is no prefix.
-
- Example values:
-
- System.ItemNamePrefix System.ItemName System.ItemNameDisplay
- --------------------- ------------------- ----------------------
- VT_EMPTY "Great day" "Great day"
- "Re:" "Great day" "Re: Great day"
- "Fwd: " "Monthly budget" "Fwd: Monthly budget"
- VT_EMPTY "accounts.xls" "accounts.xls"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D7313FF1-A77A-401C-8C99-3DBDD68ADD36}, 100
-
-
-
-
- Name: System.ItemParticipants -- PKEY_ItemParticipants
- Description: This is the generic list of people associated with an item and who contributed
- to the item.
-
- For example, this is the combination of people in the To list, Cc list and
- sender of an email message.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D4D0AA16-9948-41A4-AA85-D97FF9646993}, 100
-
-
-
-
- Name: System.ItemPathDisplay -- PKEY_ItemPathDisplay
- Description: This is the user-friendly display path to the item.
-
- If the item is a file or folder this property
- includes the extension in all cases, and will be localized if a localized name is available.
-
- For other items,this is the user-friendly equivalent, assuming the item exists in hierarchical storage.
-
- Unlike System.ItemUrl, this property value does not include the URL scheme.
-
- To parse an item path, use System.ItemUrl or System.ParsingPath. To reference shell
- namespace items using shell APIs, use System.ParsingPath.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "c:\foo\bar\hello.txt"
- "\\server\share\mydir\goodnews.doc" "\\server\share\mydir\goodnews.doc"
- "\\server\share\numbers.xls" "\\server\share\numbers.xls"
- "c:\foo\MyFolder" "c:\foo\MyFolder"
- "/Mailbox Account/Inbox/'Re: Hello!'" "/Mailbox Account/Inbox/'Re: Hello!'"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 7
-
-
-
-
- Name: System.ItemPathDisplayNarrow -- PKEY_ItemPathDisplayNarrow
- Description: This is the user-friendly display path to the item. The format of the string should be
- tailored such that the name comes first, to optimize for a narrow viewing column.
-
- If the item is a file, the value excludes the file extension, and includes localized names if they are present.
- If the item is a message, the value includes the System.ItemNamePrefix.
-
- To parse an item path, use System.ItemUrl or System.ParsingPath.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "hello (c:\foo\bar)"
- "\\server\share\mydir\goodnews.doc" "goodnews (\\server\share\mydir)"
- "\\server\share\folder" "folder (\\server\share)"
- "c:\foo\MyFolder" "MyFolder (c:\foo)"
- "/Mailbox Account/Inbox/'Re: Hello!'" "Re: Hello! (/Mailbox Account/Inbox)"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 8
-
-
-
-
- Name: System.ItemType -- PKEY_ItemType
- Description: This is the canonical type of the item and is intended to be programmatically
- parsed.
-
- If there is no canonical type, the value is VT_EMPTY.
-
- If the item is a file (ie, System.FileName is not VT_EMPTY), the value is the same as
- System.FileExtension.
-
- Use System.ItemTypeText when you want to display the type to end users in a view. (If
- the item is a file, passing the System.ItemType value to PSFormatForDisplay will
- result in the same value as System.ItemTypeText.)
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" ".txt"
- "\\server\share\mydir\goodnews.doc" ".doc"
- "\\server\share\folder" "Directory"
- "c:\foo\MyFolder" "Directory"
- [desktop] "Folder"
- "/Mailbox Account/Inbox/'Re: Hello!'" "MAPI/IPM.Message"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 11
-
-
-
-
- Name: System.ItemTypeText -- PKEY_ItemTypeText
- Description: This is the user friendly type name of the item. This is not intended to be
- programmatically parsed.
-
- If System.ItemType is VT_EMPTY, the value of this property is also VT_EMPTY.
-
- If the item is a file, the value of this property is the same as if you passed the
- file's System.ItemType value to PSFormatForDisplay.
-
- This property should not be confused with System.Kind, where System.Kind is a high-level
- user friendly kind name. For example, for a document, System.Kind = "Document" and
- System.Item.Type = ".doc" and System.Item.TypeText = "Microsoft Word Document"
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "Text File"
- "\\server\share\mydir\goodnews.doc" "Microsoft Word Document"
- "\\server\share\folder" "File Folder"
- "c:\foo\MyFolder" "File Folder"
- "/Mailbox Account/Inbox/'Re: Hello!'" "Outlook E-Mail Message"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 4 (PID_STG_STORAGETYPE)
-
-
-
-
- Name: System.ItemUrl -- PKEY_ItemUrl
- Description: This always represents a well formed URL that points to the item.
-
- To reference shell namespace items using shell APIs, use System.ParsingPath.
-
- Example values:
-
- Files: "file:///c:/foo/bar/hello.txt"
- "csc://{GUID}/..."
- Messages: "mapi://..."
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Query) {49691C90-7E17-101A-A91C-08002B2ECDA9}, 9 (DISPID_QUERY_VIRTUALPATH)
-
-
-
-
- Name: System.Keywords -- PKEY_Keywords
- Description: The keywords for the item. Also referred to as tags.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 5 (PIDSI_KEYWORDS)
-
-
-
-
- Name: System.Kind -- PKEY_Kind
- Description: System.Kind is used to map extensions to various .Search folders.
- Extensions are mapped to Kinds at HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\KindMap
- The list of kinds is not extensible.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {1E3EE840-BC2B-476C-8237-2ACD1A839B22}, 3
-
-
-
-
- Name: System.KindText -- PKEY_KindText
- Description: This is the user-friendly form of System.Kind. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F04BEF95-C585-4197-A2B7-DF46FDC9EE6D}, 100
-
-
-
-
- Name: System.Language -- PKEY_Language
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 28
-
-
-
-
- Name: System.MileageInformation -- PKEY_MileageInformation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FDF84370-031A-4ADD-9E91-0D775F1C6605}, 100
-
-
-
-
- Name: System.MIMEType -- PKEY_MIMEType
- Description: The MIME type. Eg, for EML files: 'message/rfc822'.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0B63E350-9CCC-11D0-BCDB-00805FCCCE04}, 5
-
-
-
-
- Name: System.NamespaceCLSID -- PKEY_NamespaceCLSID
- Description: The CLSID of the name space extension for an item, the object that implements IShellFolder for this item
-
- Type: Guid -- VT_CLSID
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 6
-
-
-
-
- Name: System.Null -- PKEY_Null
- Description:
- Type: Null -- VT_NULL
- FormatID: {00000000-0000-0000-0000-000000000000}, 0
-
-
-
-
- Name: System.OfflineAvailability -- PKEY_OfflineAvailability
- Description:
- Type: UInt32 -- VT_UI4
- FormatID: {A94688B6-7D9F-4570-A648-E3DFC0AB2B3F}, 100
-
-
-
-
- Name: System.OfflineStatus -- PKEY_OfflineStatus
- Description:
- Type: UInt32 -- VT_UI4
- FormatID: {6D24888F-4718-4BDA-AFED-EA0FB4386CD8}, 100
-
-
-
-
- Name: System.OriginalFileName -- PKEY_OriginalFileName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 6
-
-
-
-
- Name: System.OwnerSID -- PKEY_OwnerSID
- Description: SID of the user that owns the library.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 6
-
-
-
-
- Name: System.ParentalRating -- PKEY_ParentalRating
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 21 (PIDMSI_PARENTAL_RATING)
-
-
-
-
- Name: System.ParentalRatingReason -- PKEY_ParentalRatingReason
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {10984E0A-F9F2-4321-B7EF-BAF195AF4319}, 100
-
-
-
-
- Name: System.ParentalRatingsOrganization -- PKEY_ParentalRatingsOrganization
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A7FE0840-1344-46F0-8D37-52ED712A4BF9}, 100
-
-
-
-
- Name: System.ParsingBindContext -- PKEY_ParsingBindContext
- Description: used to get the IBindCtx for an item for parsing
-
- Type: Any -- VT_NULL Legacy code may treat this as VT_UNKNOWN.
- FormatID: {DFB9A04D-362F-4CA3-B30B-0254B17B5B84}, 100
-
-
-
-
- Name: System.ParsingName -- PKEY_ParsingName
- Description: The shell namespace name of an item relative to a parent folder. This name may be passed to
- IShellFolder::ParseDisplayName() of the parent shell folder.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 24
-
-
-
-
- Name: System.ParsingPath -- PKEY_ParsingPath
- Description: This is the shell namespace path to the item. This path may be passed to
- SHParseDisplayName to parse the path to the correct shell folder.
-
- If the item is a file, the value is identical to System.ItemPathDisplay.
-
- If the item cannot be accessed through the shell namespace, this value is VT_EMPTY.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 30
-
-
-
-
- Name: System.PerceivedType -- PKEY_PerceivedType
- Description: The perceived type of a shell item, based upon its canonical type.
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 9
-
-
-
-
- Name: System.PercentFull -- PKEY_PercentFull
- Description: The amount filled as a percentage, multiplied by 100 (ie, the valid range is 0 through 100).
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 5 (Filesystem Volume Properties)
-
-
-
-
- Name: System.Priority -- PKEY_Priority
- Description:
-
- Type: UInt16 -- VT_UI2
- FormatID: {9C1FCF74-2D97-41BA-B4AE-CB2E3661A6E4}, 5
-
-
-
-
- Name: System.PriorityText -- PKEY_PriorityText
- Description: This is the user-friendly form of System.Priority. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D98BE98B-B86B-4095-BF52-9D23B2E0A752}, 100
-
-
-
-
- Name: System.Project -- PKEY_Project
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {39A7F922-477C-48DE-8BC8-B28441E342E3}, 100
-
-
-
-
- Name: System.ProviderItemID -- PKEY_ProviderItemID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F21D9941-81F0-471A-ADEE-4E74B49217ED}, 100
-
-
-
-
- Name: System.Rating -- PKEY_Rating
- Description: Indicates the users preference rating of an item on a scale of 1-99 (1-12 = One Star,
- 13-37 = Two Stars, 38-62 = Three Stars, 63-87 = Four Stars, 88-99 = Five Stars).
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 9 (PIDMSI_RATING)
-
-
-
-
- Name: System.RatingText -- PKEY_RatingText
- Description: This is the user-friendly form of System.Rating. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {90197CA7-FD8F-4E8C-9DA3-B57E1E609295}, 100
-
-
-
-
- Name: System.Sensitivity -- PKEY_Sensitivity
- Description:
-
- Type: UInt16 -- VT_UI2
- FormatID: {F8D3F6AC-4874-42CB-BE59-AB454B30716A}, 100
-
-
-
-
- Name: System.SensitivityText -- PKEY_SensitivityText
- Description: This is the user-friendly form of System.Sensitivity. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D0C7F054-3F72-4725-8527-129A577CB269}, 100
-
-
-
-
- Name: System.SFGAOFlags -- PKEY_SFGAOFlags
- Description: IShellFolder::GetAttributesOf flags, with SFGAO_PKEYSFGAOMASK attributes masked out.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 25
-
-
-
-
- Name: System.SharedWith -- PKEY_SharedWith
- Description: Who is the item shared with?
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {EF884C5B-2BFE-41BB-AAE5-76EEDF4F9902}, 200
-
-
-
-
- Name: System.ShareUserRating -- PKEY_ShareUserRating
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 12 (PIDMSI_SHARE_USER_RATING)
-
-
-
-
- Name: System.SharingStatus -- PKEY_SharingStatus
- Description: What is the item's sharing status (not shared, shared, everyone (homegroup or everyone), or private)?
-
- Type: UInt32 -- VT_UI4
- FormatID: {EF884C5B-2BFE-41BB-AAE5-76EEDF4F9902}, 300
-
-
-
-
- Name: System.SimpleRating -- PKEY_SimpleRating
- Description: Indicates the users preference rating of an item on a scale of 0-5 (0=unrated, 1=One Star, 2=Two Stars, 3=Three Stars,
- 4=Four Stars, 5=Five Stars)
-
- Type: UInt32 -- VT_UI4
- FormatID: {A09F084E-AD41-489F-8076-AA5BE3082BCA}, 100
-
-
-
-
- Name: System.Size -- PKEY_Size
- Description:
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 12 (PID_STG_SIZE)
-
-
-
-
- Name: System.SoftwareUsed -- PKEY_SoftwareUsed
- Description: PropertyTagSoftwareUsed
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 305
-
-
-
-
- Name: System.SourceItem -- PKEY_SourceItem
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {668CDFA5-7A1B-4323-AE4B-E527393A1D81}, 100
-
-
-
-
- Name: System.StartDate -- PKEY_StartDate
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {48FD6EC8-8A12-4CDF-A03E-4EC5A511EDDE}, 100
-
-
-
-
- Name: System.Status -- PKEY_Status
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_IntSite) {000214A1-0000-0000-C000-000000000046}, 9
-
-
-
-
- Name: System.Subject -- PKEY_Subject
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 3 (PIDSI_SUBJECT)
-
-
-
-
- Name: System.Thumbnail -- PKEY_Thumbnail
- Description: A data that represents the thumbnail in VT_CF format.
-
- Type: Clipboard -- VT_CF
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 17 (PIDSI_THUMBNAIL)
-
-
-
-
- Name: System.ThumbnailCacheId -- PKEY_ThumbnailCacheId
- Description: Unique value that can be used as a key to cache thumbnails. The value changes when the name, volume, or data modified
- of an item changes.
-
- Type: UInt64 -- VT_UI8
- FormatID: {446D16B1-8DAD-4870-A748-402EA43D788C}, 100
-
-
-
-
- Name: System.ThumbnailStream -- PKEY_ThumbnailStream
- Description: Data that represents the thumbnail in VT_STREAM format that GDI+/WindowsCodecs supports (jpg, png, etc).
-
- Type: Stream -- VT_STREAM
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 27
-
-
-
-
- Name: System.Title -- PKEY_Title
- Description: Title of item.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 2 (PIDSI_TITLE)
-
-
-
-
- Name: System.TotalFileSize -- PKEY_TotalFileSize
- Description:
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 14
-
-
-
-
- Name: System.Trademarks -- PKEY_Trademarks
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 9 (PIDVSI_Trademarks)
-
-
-
-
- System.AppUserModel Properties
-
-
-
-
- System.Audio Properties
-
-
-
-
- System.Calendar Properties
-
-
-
-
- System.Communication Properties
-
-
-
-
- System.Computer Properties
-
-
-
-
- System.Contact Properties
-
-
-
-
- System.Device Properties
-
-
-
-
- System.DeviceInterface Properties
-
-
-
-
- System.Devices Properties
-
-
-
-
- System.Document Properties
-
-
-
-
- System.DRM Properties
-
-
-
-
- System.GPS Properties
-
-
-
-
- System.Identity Properties
-
-
-
-
- System.IdentityProvider Properties
-
-
-
-
- System.Image Properties
-
-
-
-
- System.Journal Properties
-
-
-
-
- System.LayoutPattern Properties
-
-
-
-
- System.Link Properties
-
-
-
-
- System.Media Properties
-
-
-
-
- System.Message Properties
-
-
-
-
- System.Music Properties
-
-
-
-
- System.Note Properties
-
-
-
-
- System.Photo Properties
-
-
-
-
- System.PropGroup Properties
-
-
-
-
- System.PropList Properties
-
-
-
-
- System.RecordedTV Properties
-
-
-
-
- System.Search Properties
-
-
-
-
- System.Shell Properties
-
-
-
-
- System.Software Properties
-
-
-
-
- System.Sync Properties
-
-
-
-
- System.Task Properties
-
-
-
-
- System.Video Properties
-
-
-
-
- System.Volume Properties
-
-
-
-
- System.AppUserModel Properties
-
-
-
-
- Name: System.AppUserModel.ExcludeFromShowInNewInstall -- PKEY_AppUserModel_ExcludeFromShowInNewInstall
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 8
-
-
-
-
- Name: System.AppUserModel.ID -- PKEY_AppUserModel_ID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 5
-
-
-
-
- Name: System.AppUserModel.IsDestListSeparator -- PKEY_AppUserModel_IsDestListSeparator
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 6
-
-
-
-
- Name: System.AppUserModel.PreventPinning -- PKEY_AppUserModel_PreventPinning
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 9
-
-
-
-
- Name: System.AppUserModel.RelaunchCommand -- PKEY_AppUserModel_RelaunchCommand
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 2
-
-
-
-
- Name: System.AppUserModel.RelaunchDisplayNameResource -- PKEY_AppUserModel_RelaunchDisplayNameResource
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 4
-
-
-
-
- Name: System.AppUserModel.RelaunchIconResource -- PKEY_AppUserModel_RelaunchIconResource
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 3
-
-
-
-
- System.Audio Properties
-
-
-
-
- Name: System.Audio.ChannelCount -- PKEY_Audio_ChannelCount
- Description: Indicates the channel count for the audio file. Values: 1 (mono), 2 (stereo).
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 7 (PIDASI_CHANNEL_COUNT)
-
-
-
-
- Name: System.Audio.Compression -- PKEY_Audio_Compression
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 10 (PIDASI_COMPRESSION)
-
-
-
-
- Name: System.Audio.EncodingBitrate -- PKEY_Audio_EncodingBitrate
- Description: Indicates the average data rate in Hz for the audio file in "bits per second".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 4 (PIDASI_AVG_DATA_RATE)
-
-
-
-
- Name: System.Audio.Format -- PKEY_Audio_Format
- Description: Indicates the format of the audio file.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR) Legacy code may treat this as VT_BSTR.
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 2 (PIDASI_FORMAT)
-
-
-
-
- Name: System.Audio.IsVariableBitRate -- PKEY_Audio_IsVariableBitRate
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {E6822FEE-8C17-4D62-823C-8E9CFCBD1D5C}, 100
-
-
-
-
- Name: System.Audio.PeakValue -- PKEY_Audio_PeakValue
- Description:
- Type: UInt32 -- VT_UI4
- FormatID: {2579E5D0-1116-4084-BD9A-9B4F7CB4DF5E}, 100
-
-
-
-
- Name: System.Audio.SampleRate -- PKEY_Audio_SampleRate
- Description: Indicates the audio sample rate for the audio file in "samples per second".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 5 (PIDASI_SAMPLE_RATE)
-
-
-
-
- Name: System.Audio.SampleSize -- PKEY_Audio_SampleSize
- Description: Indicates the audio sample size for the audio file in "bits per sample".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 6 (PIDASI_SAMPLE_SIZE)
-
-
-
-
- Name: System.Audio.StreamName -- PKEY_Audio_StreamName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 9 (PIDASI_STREAM_NAME)
-
-
-
-
- Name: System.Audio.StreamNumber -- PKEY_Audio_StreamNumber
- Description:
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 8 (PIDASI_STREAM_NUMBER)
-
-
-
-
- System.Calendar Properties
-
-
-
-
- Name: System.Calendar.Duration -- PKEY_Calendar_Duration
- Description: The duration as specified in a string.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {293CA35A-09AA-4DD2-B180-1FE245728A52}, 100
-
-
-
-
- Name: System.Calendar.IsOnline -- PKEY_Calendar_IsOnline
- Description: Identifies if the event is an online event.
-
- Type: Boolean -- VT_BOOL
- FormatID: {BFEE9149-E3E2-49A7-A862-C05988145CEC}, 100
-
-
-
-
- Name: System.Calendar.IsRecurring -- PKEY_Calendar_IsRecurring
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {315B9C8D-80A9-4EF9-AE16-8E746DA51D70}, 100
-
-
-
-
- Name: System.Calendar.Location -- PKEY_Calendar_Location
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F6272D18-CECC-40B1-B26A-3911717AA7BD}, 100
-
-
-
-
- Name: System.Calendar.OptionalAttendeeAddresses -- PKEY_Calendar_OptionalAttendeeAddresses
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D55BAE5A-3892-417A-A649-C6AC5AAAEAB3}, 100
-
-
-
-
- Name: System.Calendar.OptionalAttendeeNames -- PKEY_Calendar_OptionalAttendeeNames
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {09429607-582D-437F-84C3-DE93A2B24C3C}, 100
-
-
-
-
- Name: System.Calendar.OrganizerAddress -- PKEY_Calendar_OrganizerAddress
- Description: Address of the organizer organizing the event.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {744C8242-4DF5-456C-AB9E-014EFB9021E3}, 100
-
-
-
-
- Name: System.Calendar.OrganizerName -- PKEY_Calendar_OrganizerName
- Description: Name of the organizer organizing the event.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {AAA660F9-9865-458E-B484-01BC7FE3973E}, 100
-
-
-
-
- Name: System.Calendar.ReminderTime -- PKEY_Calendar_ReminderTime
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {72FC5BA4-24F9-4011-9F3F-ADD27AFAD818}, 100
-
-
-
-
- Name: System.Calendar.RequiredAttendeeAddresses -- PKEY_Calendar_RequiredAttendeeAddresses
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {0BA7D6C3-568D-4159-AB91-781A91FB71E5}, 100
-
-
-
-
- Name: System.Calendar.RequiredAttendeeNames -- PKEY_Calendar_RequiredAttendeeNames
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {B33AF30B-F552-4584-936C-CB93E5CDA29F}, 100
-
-
-
-
- Name: System.Calendar.Resources -- PKEY_Calendar_Resources
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {00F58A38-C54B-4C40-8696-97235980EAE1}, 100
-
-
-
-
- Name: System.Calendar.ResponseStatus -- PKEY_Calendar_ResponseStatus
- Description: This property stores the status of the user responses to meetings in her calendar.
-
- Type: UInt16 -- VT_UI2
- FormatID: {188C1F91-3C40-4132-9EC5-D8B03B72A8A2}, 100
-
-
-
-
- Name: System.Calendar.ShowTimeAs -- PKEY_Calendar_ShowTimeAs
- Description:
-
- Type: UInt16 -- VT_UI2
- FormatID: {5BF396D4-5EB2-466F-BDE9-2FB3F2361D6E}, 100
-
-
-
-
- Name: System.Calendar.ShowTimeAsText -- PKEY_Calendar_ShowTimeAsText
- Description: This is the user-friendly form of System.Calendar.ShowTimeAs. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {53DA57CF-62C0-45C4-81DE-7610BCEFD7F5}, 100
-
-
-
-
- System.Communication Properties
-
-
-
-
- Name: System.Communication.AccountName -- PKEY_Communication_AccountName
- Description: Account Name
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 9
-
-
-
-
- Name: System.Communication.DateItemExpires -- PKEY_Communication_DateItemExpires
- Description: Date the item expires due to the retention policy.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {428040AC-A177-4C8A-9760-F6F761227F9A}, 100
-
-
-
-
- Name: System.Communication.FollowupIconIndex -- PKEY_Communication_FollowupIconIndex
- Description: This is the icon index used on messages marked for followup.
-
- Type: Int32 -- VT_I4
- FormatID: {83A6347E-6FE4-4F40-BA9C-C4865240D1F4}, 100
-
-
-
-
- Name: System.Communication.HeaderItem -- PKEY_Communication_HeaderItem
- Description: This property will be true if the item is a header item which means the item hasn't been fully downloaded.
-
- Type: Boolean -- VT_BOOL
- FormatID: {C9C34F84-2241-4401-B607-BD20ED75AE7F}, 100
-
-
-
-
- Name: System.Communication.PolicyTag -- PKEY_Communication_PolicyTag
- Description: This a string used to identify the retention policy applied to the item.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {EC0B4191-AB0B-4C66-90B6-C6637CDEBBAB}, 100
-
-
-
-
- Name: System.Communication.SecurityFlags -- PKEY_Communication_SecurityFlags
- Description: Security flags associated with the item to know if the item is encrypted, signed or DRM enabled.
-
- Type: Int32 -- VT_I4
- FormatID: {8619A4B6-9F4D-4429-8C0F-B996CA59E335}, 100
-
-
-
-
- Name: System.Communication.Suffix -- PKEY_Communication_Suffix
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {807B653A-9E91-43EF-8F97-11CE04EE20C5}, 100
-
-
-
-
- Name: System.Communication.TaskStatus -- PKEY_Communication_TaskStatus
- Description:
- Type: UInt16 -- VT_UI2
- FormatID: {BE1A72C6-9A1D-46B7-AFE7-AFAF8CEF4999}, 100
-
-
-
-
- Name: System.Communication.TaskStatusText -- PKEY_Communication_TaskStatusText
- Description: This is the user-friendly form of System.Communication.TaskStatus. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A6744477-C237-475B-A075-54F34498292A}, 100
-
-
-
-
- System.Computer Properties
-
-
-
-
- Name: System.Computer.DecoratedFreeSpace -- PKEY_Computer_DecoratedFreeSpace
- Description: Free space and total space: "%s free of %s"
-
- Type: Multivalue UInt64 -- VT_VECTOR | VT_UI8 (For variants: VT_ARRAY | VT_UI8)
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 7 (Filesystem Volume Properties)
-
-
-
-
- System.Contact Properties
-
-
-
-
- Name: System.Contact.Anniversary -- PKEY_Contact_Anniversary
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {9AD5BADB-CEA7-4470-A03D-B84E51B9949E}, 100
-
-
-
-
- Name: System.Contact.AssistantName -- PKEY_Contact_AssistantName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CD102C9C-5540-4A88-A6F6-64E4981C8CD1}, 100
-
-
-
-
- Name: System.Contact.AssistantTelephone -- PKEY_Contact_AssistantTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9A93244D-A7AD-4FF8-9B99-45EE4CC09AF6}, 100
-
-
-
-
- Name: System.Contact.Birthday -- PKEY_Contact_Birthday
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 47
-
-
-
-
- Name: System.Contact.BusinessAddress -- PKEY_Contact_BusinessAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {730FB6DD-CF7C-426B-A03F-BD166CC9EE24}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressCity -- PKEY_Contact_BusinessAddressCity
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {402B5934-EC5A-48C3-93E6-85E86A2D934E}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressCountry -- PKEY_Contact_BusinessAddressCountry
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {B0B87314-FCF6-4FEB-8DFF-A50DA6AF561C}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressPostalCode -- PKEY_Contact_BusinessAddressPostalCode
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E1D4A09E-D758-4CD1-B6EC-34A8B5A73F80}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressPostOfficeBox -- PKEY_Contact_BusinessAddressPostOfficeBox
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {BC4E71CE-17F9-48D5-BEE9-021DF0EA5409}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressState -- PKEY_Contact_BusinessAddressState
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {446F787F-10C4-41CB-A6C4-4D0343551597}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressStreet -- PKEY_Contact_BusinessAddressStreet
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DDD1460F-C0BF-4553-8CE4-10433C908FB0}, 100
-
-
-
-
- Name: System.Contact.BusinessFaxNumber -- PKEY_Contact_BusinessFaxNumber
- Description: Business fax number of the contact.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {91EFF6F3-2E27-42CA-933E-7C999FBE310B}, 100
-
-
-
-
- Name: System.Contact.BusinessHomePage -- PKEY_Contact_BusinessHomePage
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {56310920-2491-4919-99CE-EADB06FAFDB2}, 100
-
-
-
-
- Name: System.Contact.BusinessTelephone -- PKEY_Contact_BusinessTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6A15E5A0-0A1E-4CD7-BB8C-D2F1B0C929BC}, 100
-
-
-
-
- Name: System.Contact.CallbackTelephone -- PKEY_Contact_CallbackTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {BF53D1C3-49E0-4F7F-8567-5A821D8AC542}, 100
-
-
-
-
- Name: System.Contact.CarTelephone -- PKEY_Contact_CarTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8FDC6DEA-B929-412B-BA90-397A257465FE}, 100
-
-
-
-
- Name: System.Contact.Children -- PKEY_Contact_Children
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D4729704-8EF1-43EF-9024-2BD381187FD5}, 100
-
-
-
-
- Name: System.Contact.CompanyMainTelephone -- PKEY_Contact_CompanyMainTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8589E481-6040-473D-B171-7FA89C2708ED}, 100
-
-
-
-
- Name: System.Contact.Department -- PKEY_Contact_Department
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FC9F7306-FF8F-4D49-9FB6-3FFE5C0951EC}, 100
-
-
-
-
- Name: System.Contact.EmailAddress -- PKEY_Contact_EmailAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F8FA7FA3-D12B-4785-8A4E-691A94F7A3E7}, 100
-
-
-
-
- Name: System.Contact.EmailAddress2 -- PKEY_Contact_EmailAddress2
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {38965063-EDC8-4268-8491-B7723172CF29}, 100
-
-
-
-
- Name: System.Contact.EmailAddress3 -- PKEY_Contact_EmailAddress3
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {644D37B4-E1B3-4BAD-B099-7E7C04966ACA}, 100
-
-
-
-
- Name: System.Contact.EmailAddresses -- PKEY_Contact_EmailAddresses
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {84D8F337-981D-44B3-9615-C7596DBA17E3}, 100
-
-
-
-
- Name: System.Contact.EmailName -- PKEY_Contact_EmailName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CC6F4F24-6083-4BD4-8754-674D0DE87AB8}, 100
-
-
-
-
- Name: System.Contact.FileAsName -- PKEY_Contact_FileAsName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F1A24AA7-9CA7-40F6-89EC-97DEF9FFE8DB}, 100
-
-
-
-
- Name: System.Contact.FirstName -- PKEY_Contact_FirstName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {14977844-6B49-4AAD-A714-A4513BF60460}, 100
-
-
-
-
- Name: System.Contact.FullName -- PKEY_Contact_FullName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {635E9051-50A5-4BA2-B9DB-4ED056C77296}, 100
-
-
-
-
- Name: System.Contact.Gender -- PKEY_Contact_Gender
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {3C8CEE58-D4F0-4CF9-B756-4E5D24447BCD}, 100
-
-
-
-
- Name: System.Contact.GenderValue -- PKEY_Contact_GenderValue
- Description:
- Type: UInt16 -- VT_UI2
- FormatID: {3C8CEE58-D4F0-4CF9-B756-4E5D24447BCD}, 101
-
-
-
-
- Name: System.Contact.Hobbies -- PKEY_Contact_Hobbies
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {5DC2253F-5E11-4ADF-9CFE-910DD01E3E70}, 100
-
-
-
-
- Name: System.Contact.HomeAddress -- PKEY_Contact_HomeAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {98F98354-617A-46B8-8560-5B1B64BF1F89}, 100
-
-
-
-
- Name: System.Contact.HomeAddressCity -- PKEY_Contact_HomeAddressCity
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 65
-
-
-
-
- Name: System.Contact.HomeAddressCountry -- PKEY_Contact_HomeAddressCountry
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {08A65AA1-F4C9-43DD-9DDF-A33D8E7EAD85}, 100
-
-
-
-
- Name: System.Contact.HomeAddressPostalCode -- PKEY_Contact_HomeAddressPostalCode
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8AFCC170-8A46-4B53-9EEE-90BAE7151E62}, 100
-
-
-
-
- Name: System.Contact.HomeAddressPostOfficeBox -- PKEY_Contact_HomeAddressPostOfficeBox
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7B9F6399-0A3F-4B12-89BD-4ADC51C918AF}, 100
-
-
-
-
- Name: System.Contact.HomeAddressState -- PKEY_Contact_HomeAddressState
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C89A23D0-7D6D-4EB8-87D4-776A82D493E5}, 100
-
-
-
-
- Name: System.Contact.HomeAddressStreet -- PKEY_Contact_HomeAddressStreet
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0ADEF160-DB3F-4308-9A21-06237B16FA2A}, 100
-
-
-
-
- Name: System.Contact.HomeFaxNumber -- PKEY_Contact_HomeFaxNumber
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {660E04D6-81AB-4977-A09F-82313113AB26}, 100
-
-
-
-
- Name: System.Contact.HomeTelephone -- PKEY_Contact_HomeTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 20
-
-
-
-
- Name: System.Contact.IMAddress -- PKEY_Contact_IMAddress
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D68DBD8A-3374-4B81-9972-3EC30682DB3D}, 100
-
-
-
-
- Name: System.Contact.Initials -- PKEY_Contact_Initials
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F3D8F40D-50CB-44A2-9718-40CB9119495D}, 100
-
-
-
-
- Name: System.Contact.JobTitle -- PKEY_Contact_JobTitle
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 6
-
-
-
-
- Name: System.Contact.Label -- PKEY_Contact_Label
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {97B0AD89-DF49-49CC-834E-660974FD755B}, 100
-
-
-
-
- Name: System.Contact.LastName -- PKEY_Contact_LastName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8F367200-C270-457C-B1D4-E07C5BCD90C7}, 100
-
-
-
-
- Name: System.Contact.MailingAddress -- PKEY_Contact_MailingAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C0AC206A-827E-4650-95AE-77E2BB74FCC9}, 100
-
-
-
-
- Name: System.Contact.MiddleName -- PKEY_Contact_MiddleName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 71
-
-
-
-
- Name: System.Contact.MobileTelephone -- PKEY_Contact_MobileTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 35
-
-
-
-
- Name: System.Contact.NickName -- PKEY_Contact_NickName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 74
-
-
-
-
- Name: System.Contact.OfficeLocation -- PKEY_Contact_OfficeLocation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 7
-
-
-
-
- Name: System.Contact.OtherAddress -- PKEY_Contact_OtherAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {508161FA-313B-43D5-83A1-C1ACCF68622C}, 100
-
-
-
-
- Name: System.Contact.OtherAddressCity -- PKEY_Contact_OtherAddressCity
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6E682923-7F7B-4F0C-A337-CFCA296687BF}, 100
-
-
-
-
- Name: System.Contact.OtherAddressCountry -- PKEY_Contact_OtherAddressCountry
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8F167568-0AAE-4322-8ED9-6055B7B0E398}, 100
-
-
-
-
- Name: System.Contact.OtherAddressPostalCode -- PKEY_Contact_OtherAddressPostalCode
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {95C656C1-2ABF-4148-9ED3-9EC602E3B7CD}, 100
-
-
-
-
- Name: System.Contact.OtherAddressPostOfficeBox -- PKEY_Contact_OtherAddressPostOfficeBox
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8B26EA41-058F-43F6-AECC-4035681CE977}, 100
-
-
-
-
- Name: System.Contact.OtherAddressState -- PKEY_Contact_OtherAddressState
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {71B377D6-E570-425F-A170-809FAE73E54E}, 100
-
-
-
-
- Name: System.Contact.OtherAddressStreet -- PKEY_Contact_OtherAddressStreet
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FF962609-B7D6-4999-862D-95180D529AEA}, 100
-
-
-
-
- Name: System.Contact.PagerTelephone -- PKEY_Contact_PagerTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D6304E01-F8F5-4F45-8B15-D024A6296789}, 100
-
-
-
-
- Name: System.Contact.PersonalTitle -- PKEY_Contact_PersonalTitle
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 69
-
-
-
-
- Name: System.Contact.PrimaryAddressCity -- PKEY_Contact_PrimaryAddressCity
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C8EA94F0-A9E3-4969-A94B-9C62A95324E0}, 100
-
-
-
-
- Name: System.Contact.PrimaryAddressCountry -- PKEY_Contact_PrimaryAddressCountry
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E53D799D-0F3F-466E-B2FF-74634A3CB7A4}, 100
-
-
-
-
- Name: System.Contact.PrimaryAddressPostalCode -- PKEY_Contact_PrimaryAddressPostalCode
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {18BBD425-ECFD-46EF-B612-7B4A6034EDA0}, 100
-
-
-
-
- Name: System.Contact.PrimaryAddressPostOfficeBox -- PKEY_Contact_PrimaryAddressPostOfficeBox
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DE5EF3C7-46E1-484E-9999-62C5308394C1}, 100
-
-
-
-
- Name: System.Contact.PrimaryAddressState -- PKEY_Contact_PrimaryAddressState
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F1176DFE-7138-4640-8B4C-AE375DC70A6D}, 100
-
-
-
-
- Name: System.Contact.PrimaryAddressStreet -- PKEY_Contact_PrimaryAddressStreet
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {63C25B20-96BE-488F-8788-C09C407AD812}, 100
-
-
-
-
- Name: System.Contact.PrimaryEmailAddress -- PKEY_Contact_PrimaryEmailAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 48
-
-
-
-
- Name: System.Contact.PrimaryTelephone -- PKEY_Contact_PrimaryTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 25
-
-
-
-
- Name: System.Contact.Profession -- PKEY_Contact_Profession
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7268AF55-1CE4-4F6E-A41F-B6E4EF10E4A9}, 100
-
-
-
-
- Name: System.Contact.SpouseName -- PKEY_Contact_SpouseName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9D2408B6-3167-422B-82B0-F583B7A7CFE3}, 100
-
-
-
-
- Name: System.Contact.Suffix -- PKEY_Contact_Suffix
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 73
-
-
-
-
- Name: System.Contact.TelexNumber -- PKEY_Contact_TelexNumber
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C554493C-C1F7-40C1-A76C-EF8C0614003E}, 100
-
-
-
-
- Name: System.Contact.TTYTDDTelephone -- PKEY_Contact_TTYTDDTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {AAF16BAC-2B55-45E6-9F6D-415EB94910DF}, 100
-
-
-
-
- Name: System.Contact.WebPage -- PKEY_Contact_WebPage
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 18
-
-
-
-
- Contact.JA Properties
-
-
-
-
- Contact.JA Properties
-
-
-
-
- Name: System.Contact.JA.CompanyNamePhonetic -- PKEY_Contact_JA_CompanyNamePhonetic
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {897B3694-FE9E-43E6-8066-260F590C0100}, 2
-
-
-
-
- Name: System.Contact.JA.FirstNamePhonetic -- PKEY_Contact_JA_FirstNamePhonetic
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {897B3694-FE9E-43E6-8066-260F590C0100}, 3
-
-
-
-
- Name: System.Contact.JA.LastNamePhonetic -- PKEY_Contact_JA_LastNamePhonetic
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {897B3694-FE9E-43E6-8066-260F590C0100}, 4
-
-
-
-
- System.Device Properties
-
-
-
-
- Name: System.Device.PrinterURL -- PKEY_Device_PrinterURL
- Description: Printer information Printer URL.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0B48F35A-BE6E-4F17-B108-3C4073D1669A}, 15
-
-
-
-
- System.DeviceInterface Properties
-
-
-
-
- Name: System.DeviceInterface.PrinterDriverDirectory -- PKEY_DeviceInterface_PrinterDriverDirectory
- Description: Printer information Printer Driver Directory.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {847C66DE-B8D6-4AF9-ABC3-6F4F926BC039}, 14
-
-
-
-
- Name: System.DeviceInterface.PrinterDriverName -- PKEY_DeviceInterface_PrinterDriverName
- Description: Printer information Driver Name.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {AFC47170-14F5-498C-8F30-B0D19BE449C6}, 11
-
-
-
-
- Name: System.DeviceInterface.PrinterName -- PKEY_DeviceInterface_PrinterName
- Description: Printer information Printer Name.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0A7B84EF-0C27-463F-84EF-06C5070001BE}, 10
-
-
-
-
- Name: System.DeviceInterface.PrinterPortName -- PKEY_DeviceInterface_PrinterPortName
- Description: Printer information Port Name.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {EEC7B761-6F94-41B1-949F-C729720DD13C}, 12
-
-
-
-
- System.Devices Properties
-
-
-
-
- Name: System.Devices.BatteryLife -- PKEY_Devices_BatteryLife
- Description: Remaining battery life of the device as an integer between 0 and 100 percent.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 10
-
-
-
-
- Name: System.Devices.BatteryPlusCharging -- PKEY_Devices_BatteryPlusCharging
- Description: Remaining battery life of the device as an integer between 0 and 100 percent and the device's charging state.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 22
-
-
-
-
- Name: System.Devices.BatteryPlusChargingText -- PKEY_Devices_BatteryPlusChargingText
- Description: Remaining battery life of the device and the device's charging state as a string.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 23
-
-
-
-
- Name: System.Devices.Category -- PKEY_Devices_Category_Desc_Singular
- Description: Singular form of device category.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 91
-
-
-
-
- Name: System.Devices.CategoryGroup -- PKEY_Devices_CategoryGroup_Desc
- Description: Plural form of device category.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 94
-
-
-
-
- Name: System.Devices.CategoryPlural -- PKEY_Devices_Category_Desc_Plural
- Description: Plural form of device category.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 92
-
-
-
-
- Name: System.Devices.ChargingState -- PKEY_Devices_ChargingState
- Description: Boolean value representing if the device is currently charging.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 11
-
-
-
-
- Name: System.Devices.Connected -- PKEY_Devices_IsConnected
- Description: Device connection state. If VARIANT_TRUE, indicates the device is currently connected to the computer.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 55
-
-
-
-
- Name: System.Devices.ContainerId -- PKEY_Devices_ContainerId
- Description: Device container ID.
-
- Type: Guid -- VT_CLSID
- FormatID: {8C7ED206-3F8A-4827-B3AB-AE9E1FAEFC6C}, 2
-
-
-
-
- Name: System.Devices.DefaultTooltip -- PKEY_Devices_DefaultTooltip
- Description: Tooltip for default state
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {880F70A2-6082-47AC-8AAB-A739D1A300C3}, 153
-
-
-
-
- Name: System.Devices.DeviceDescription1 -- PKEY_Devices_DeviceDescription1
- Description: First line of descriptive text about the device.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 81
-
-
-
-
- Name: System.Devices.DeviceDescription2 -- PKEY_Devices_DeviceDescription2
- Description: Second line of descriptive text about the device.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 82
-
-
-
-
- Name: System.Devices.DiscoveryMethod -- PKEY_Devices_DiscoveryMethod
- Description: Device discovery method. This indicates on what transport or physical connection the device is discovered.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 52
-
-
-
-
- Name: System.Devices.FriendlyName -- PKEY_Devices_FriendlyName
- Description: Device friendly name.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {656A3BB3-ECC0-43FD-8477-4AE0404A96CD}, 12288
-
-
-
-
- Name: System.Devices.FunctionPaths -- PKEY_Devices_FunctionPaths
- Description: Available functions for this device.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D08DD4C0-3A9E-462E-8290-7B636B2576B9}, 3
-
-
-
-
- Name: System.Devices.InterfacePaths -- PKEY_Devices_InterfacePaths
- Description: Available interfaces for this device.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D08DD4C0-3A9E-462E-8290-7B636B2576B9}, 2
-
-
-
-
- Name: System.Devices.IsDefault -- PKEY_Devices_IsDefaultDevice
- Description: If VARIANT_TRUE, the device is not working properly.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 86
-
-
-
-
- Name: System.Devices.IsNetworkConnected -- PKEY_Devices_IsNetworkDevice
- Description: If VARIANT_TRUE, the device is not working properly.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 85
-
-
-
-
- Name: System.Devices.IsShared -- PKEY_Devices_IsSharedDevice
- Description: If VARIANT_TRUE, the device is not working properly.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 84
-
-
-
-
- Name: System.Devices.IsSoftwareInstalling -- PKEY_Devices_IsSoftwareInstalling
- Description: If VARIANT_TRUE, the device installer is currently installing software.
-
- Type: Boolean -- VT_BOOL
- FormatID: {83DA6326-97A6-4088-9453-A1923F573B29}, 9
-
-
-
-
- Name: System.Devices.LaunchDeviceStageFromExplorer -- PKEY_Devices_LaunchDeviceStageFromExplorer
- Description: Indicates whether to launch Device Stage or not
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 77
-
-
-
-
- Name: System.Devices.LocalMachine -- PKEY_Devices_IsLocalMachine
- Description: If VARIANT_TRUE, the device in question is actually the computer.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 70
-
-
-
-
- Name: System.Devices.Manufacturer -- PKEY_Devices_Manufacturer
- Description: Device manufacturer.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {656A3BB3-ECC0-43FD-8477-4AE0404A96CD}, 8192
-
-
-
-
- Name: System.Devices.MissedCalls -- PKEY_Devices_MissedCalls
- Description: Number of missed calls on the device.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 5
-
-
-
-
- Name: System.Devices.ModelName -- PKEY_Devices_ModelName
- Description: Model name of the device.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {656A3BB3-ECC0-43FD-8477-4AE0404A96CD}, 8194
-
-
-
-
- Name: System.Devices.ModelNumber -- PKEY_Devices_ModelNumber
- Description: Model number of the device.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {656A3BB3-ECC0-43FD-8477-4AE0404A96CD}, 8195
-
-
-
-
- Name: System.Devices.NetworkedTooltip -- PKEY_Devices_NetworkedTooltip
- Description: Tooltip for connection state
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {880F70A2-6082-47AC-8AAB-A739D1A300C3}, 152
-
-
-
-
- Name: System.Devices.NetworkName -- PKEY_Devices_NetworkName
- Description: Name of the device's network.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 7
-
-
-
-
- Name: System.Devices.NetworkType -- PKEY_Devices_NetworkType
- Description: String representing the type of the device's network.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 8
-
-
-
-
- Name: System.Devices.NewPictures -- PKEY_Devices_NewPictures
- Description: Number of new pictures on the device.
-
- Type: UInt16 -- VT_UI2
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 4
-
-
-
-
- Name: System.Devices.Notification -- PKEY_Devices_Notification
- Description: Device Notification Property.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {06704B0C-E830-4C81-9178-91E4E95A80A0}, 3
-
-
-
-
- Name: System.Devices.NotificationStore -- PKEY_Devices_NotificationStore
- Description: Device Notification Store.
-
- Type: Object -- VT_UNKNOWN
- FormatID: {06704B0C-E830-4C81-9178-91E4E95A80A0}, 2
-
-
-
-
- Name: System.Devices.NotWorkingProperly -- PKEY_Devices_IsNotWorkingProperly
- Description: If VARIANT_TRUE, the device is not working properly.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 83
-
-
-
-
- Name: System.Devices.Paired -- PKEY_Devices_IsPaired
- Description: Device paired state. If VARIANT_TRUE, indicates the device is not paired with the computer.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 56
-
-
-
-
- Name: System.Devices.PrimaryCategory -- PKEY_Devices_PrimaryCategory
- Description: Primary category group for this device.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D08DD4C0-3A9E-462E-8290-7B636B2576B9}, 10
-
-
-
-
- Name: System.Devices.Roaming -- PKEY_Devices_Roaming
- Description: Status indicator used to indicate if the device is roaming.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 9
-
-
-
-
- Name: System.Devices.SafeRemovalRequired -- PKEY_Devices_SafeRemovalRequired
- Description: Indicates if a device requires safe removal or not
-
- Type: Boolean -- VT_BOOL
- FormatID: {AFD97640-86A3-4210-B67C-289C41AABE55}, 2
-
-
-
-
- Name: System.Devices.SharedTooltip -- PKEY_Devices_SharedTooltip
- Description: Tooltip for sharing state
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {880F70A2-6082-47AC-8AAB-A739D1A300C3}, 151
-
-
-
-
- Name: System.Devices.SignalStrength -- PKEY_Devices_SignalStrength
- Description: Device signal strength.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 2
-
-
-
-
- Name: System.Devices.Status1 -- PKEY_Devices_Status1
- Description: 1st line of device status.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D08DD4C0-3A9E-462E-8290-7B636B2576B9}, 257
-
-
-
-
- Name: System.Devices.Status2 -- PKEY_Devices_Status2
- Description: 2nd line of device status.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D08DD4C0-3A9E-462E-8290-7B636B2576B9}, 258
-
-
-
-
- Name: System.Devices.StorageCapacity -- PKEY_Devices_StorageCapacity
- Description: Total storage capacity of the device.
-
- Type: UInt64 -- VT_UI8
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 12
-
-
-
-
- Name: System.Devices.StorageFreeSpace -- PKEY_Devices_StorageFreeSpace
- Description: Total free space of the storage of the device.
-
- Type: UInt64 -- VT_UI8
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 13
-
-
-
-
- Name: System.Devices.StorageFreeSpacePercent -- PKEY_Devices_StorageFreeSpacePercent
- Description: Total free space of the storage of the device as a percentage.
-
- Type: UInt32 -- VT_UI4
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 14
-
-
-
-
- Name: System.Devices.TextMessages -- PKEY_Devices_TextMessages
- Description: Number of unread text messages on the device.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 3
-
-
-
-
- Name: System.Devices.Voicemail -- PKEY_Devices_Voicemail
- Description: Status indicator used to indicate if the device has voicemail.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 6
-
-
-
-
- Devices.Notifications Properties
-
-
-
-
- Devices.Notifications Properties
-
-
-
-
- Name: System.Devices.Notifications.LowBattery -- PKEY_Devices_Notification_LowBattery
- Description: Device Low Battery Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {C4C07F2B-8524-4E66-AE3A-A6235F103BEB}, 2
-
-
-
-
- Name: System.Devices.Notifications.MissedCall -- PKEY_Devices_Notification_MissedCall
- Description: Device Missed Call Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {6614EF48-4EFE-4424-9EDA-C79F404EDF3E}, 2
-
-
-
-
- Name: System.Devices.Notifications.NewMessage -- PKEY_Devices_Notification_NewMessage
- Description: Device New Message Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {2BE9260A-2012-4742-A555-F41B638B7DCB}, 2
-
-
-
-
- Name: System.Devices.Notifications.NewVoicemail -- PKEY_Devices_Notification_NewVoicemail
- Description: Device Voicemail Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {59569556-0A08-4212-95B9-FAE2AD6413DB}, 2
-
-
-
-
- Name: System.Devices.Notifications.StorageFull -- PKEY_Devices_Notification_StorageFull
- Description: Device Storage Full Notification.
-
- Type: UInt64 -- VT_UI8
- FormatID: {A0E00EE1-F0C7-4D41-B8E7-26A7BD8D38B0}, 2
-
-
-
-
- Name: System.Devices.Notifications.StorageFullLinkText -- PKEY_Devices_Notification_StorageFullLinkText
- Description: Link Text for the Device Storage Full Notification.
-
- Type: UInt64 -- VT_UI8
- FormatID: {A0E00EE1-F0C7-4D41-B8E7-26A7BD8D38B0}, 3
-
-
-
-
- System.Document Properties
-
-
-
-
- Name: System.Document.ByteCount -- PKEY_Document_ByteCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 4 (PIDDSI_BYTECOUNT)
-
-
-
-
- Name: System.Document.CharacterCount -- PKEY_Document_CharacterCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 16 (PIDSI_CHARCOUNT)
-
-
-
-
- Name: System.Document.ClientID -- PKEY_Document_ClientID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {276D7BB0-5B34-4FB0-AA4B-158ED12A1809}, 100
-
-
-
-
- Name: System.Document.Contributor -- PKEY_Document_Contributor
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {F334115E-DA1B-4509-9B3D-119504DC7ABB}, 100
-
-
-
-
- Name: System.Document.DateCreated -- PKEY_Document_DateCreated
- Description: This property is stored in the document, not obtained from the file system.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 12 (PIDSI_CREATE_DTM)
-
-
-
-
- Name: System.Document.DatePrinted -- PKEY_Document_DatePrinted
- Description: Legacy name: "DocLastPrinted".
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 11 (PIDSI_LASTPRINTED)
-
-
-
-
- Name: System.Document.DateSaved -- PKEY_Document_DateSaved
- Description: Legacy name: "DocLastSavedTm".
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 13 (PIDSI_LASTSAVE_DTM)
-
-
-
-
- Name: System.Document.Division -- PKEY_Document_Division
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {1E005EE6-BF27-428B-B01C-79676ACD2870}, 100
-
-
-
-
- Name: System.Document.DocumentID -- PKEY_Document_DocumentID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E08805C8-E395-40DF-80D2-54F0D6C43154}, 100
-
-
-
-
- Name: System.Document.HiddenSlideCount -- PKEY_Document_HiddenSlideCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 9 (PIDDSI_HIDDENCOUNT)
-
-
-
-
- Name: System.Document.LastAuthor -- PKEY_Document_LastAuthor
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 8 (PIDSI_LASTAUTHOR)
-
-
-
-
- Name: System.Document.LineCount -- PKEY_Document_LineCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 5 (PIDDSI_LINECOUNT)
-
-
-
-
- Name: System.Document.Manager -- PKEY_Document_Manager
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 14 (PIDDSI_MANAGER)
-
-
-
-
- Name: System.Document.MultimediaClipCount -- PKEY_Document_MultimediaClipCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 10 (PIDDSI_MMCLIPCOUNT)
-
-
-
-
- Name: System.Document.NoteCount -- PKEY_Document_NoteCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 8 (PIDDSI_NOTECOUNT)
-
-
-
-
- Name: System.Document.PageCount -- PKEY_Document_PageCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 14 (PIDSI_PAGECOUNT)
-
-
-
-
- Name: System.Document.ParagraphCount -- PKEY_Document_ParagraphCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 6 (PIDDSI_PARCOUNT)
-
-
-
-
- Name: System.Document.PresentationFormat -- PKEY_Document_PresentationFormat
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 3 (PIDDSI_PRESFORMAT)
-
-
-
-
- Name: System.Document.RevisionNumber -- PKEY_Document_RevisionNumber
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 9 (PIDSI_REVNUMBER)
-
-
-
-
- Name: System.Document.Security -- PKEY_Document_Security
- Description: Access control information, from SummaryInfo propset
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 19
-
-
-
-
- Name: System.Document.SlideCount -- PKEY_Document_SlideCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 7 (PIDDSI_SLIDECOUNT)
-
-
-
-
- Name: System.Document.Template -- PKEY_Document_Template
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 7 (PIDSI_TEMPLATE)
-
-
-
-
- Name: System.Document.TotalEditingTime -- PKEY_Document_TotalEditingTime
- Description: 100ns units, not milliseconds. VT_FILETIME for IPropertySetStorage handlers (legacy)
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 10 (PIDSI_EDITTIME)
-
-
-
-
- Name: System.Document.Version -- PKEY_Document_Version
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 29
-
-
-
-
- Name: System.Document.WordCount -- PKEY_Document_WordCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 15 (PIDSI_WORDCOUNT)
-
-
-
-
- System.DRM Properties
-
-
-
-
- Name: System.DRM.DatePlayExpires -- PKEY_DRM_DatePlayExpires
- Description: Indicates when play expires for digital rights management.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_DRM) {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED}, 6 (PIDDRSI_PLAYEXPIRES)
-
-
-
-
- Name: System.DRM.DatePlayStarts -- PKEY_DRM_DatePlayStarts
- Description: Indicates when play starts for digital rights management.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_DRM) {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED}, 5 (PIDDRSI_PLAYSTARTS)
-
-
-
-
- Name: System.DRM.Description -- PKEY_DRM_Description
- Description: Displays the description for digital rights management.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DRM) {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED}, 3 (PIDDRSI_DESCRIPTION)
-
-
-
-
- Name: System.DRM.IsProtected -- PKEY_DRM_IsProtected
- Description:
-
- Type: Boolean -- VT_BOOL
- FormatID: (FMTID_DRM) {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED}, 2 (PIDDRSI_PROTECTED)
-
-
-
-
- Name: System.DRM.PlayCount -- PKEY_DRM_PlayCount
- Description: Indicates the play count for digital rights management.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_DRM) {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED}, 4 (PIDDRSI_PLAYCOUNT)
-
-
-
-
- System.GPS Properties
-
-
-
-
- Name: System.GPS.Altitude -- PKEY_GPS_Altitude
- Description: Indicates the altitude based on the reference in PKEY_GPS_AltitudeRef. Calculated from PKEY_GPS_AltitudeNumerator and
- PKEY_GPS_AltitudeDenominator
-
- Type: Double -- VT_R8
- FormatID: {827EDB4F-5B73-44A7-891D-FDFFABEA35CA}, 100
-
-
-
-
- Name: System.GPS.AltitudeDenominator -- PKEY_GPS_AltitudeDenominator
- Description: Denominator of PKEY_GPS_Altitude
-
- Type: UInt32 -- VT_UI4
- FormatID: {78342DCB-E358-4145-AE9A-6BFE4E0F9F51}, 100
-
-
-
-
- Name: System.GPS.AltitudeNumerator -- PKEY_GPS_AltitudeNumerator
- Description: Numerator of PKEY_GPS_Altitude
-
- Type: UInt32 -- VT_UI4
- FormatID: {2DAD1EB7-816D-40D3-9EC3-C9773BE2AADE}, 100
-
-
-
-
- Name: System.GPS.AltitudeRef -- PKEY_GPS_AltitudeRef
- Description: Indicates the reference for the altitude property. (eg: above sea level, below sea level, absolute value)
-
- Type: Byte -- VT_UI1
- FormatID: {46AC629D-75EA-4515-867F-6DC4321C5844}, 100
-
-
-
-
- Name: System.GPS.AreaInformation -- PKEY_GPS_AreaInformation
- Description: Represents the name of the GPS area
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {972E333E-AC7E-49F1-8ADF-A70D07A9BCAB}, 100
-
-
-
-
- Name: System.GPS.Date -- PKEY_GPS_Date
- Description: Date and time of the GPS record
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {3602C812-0F3B-45F0-85AD-603468D69423}, 100
-
-
-
-
- Name: System.GPS.DestBearing -- PKEY_GPS_DestBearing
- Description: Indicates the bearing to the destination point. Calculated from PKEY_GPS_DestBearingNumerator and
- PKEY_GPS_DestBearingDenominator.
-
- Type: Double -- VT_R8
- FormatID: {C66D4B3C-E888-47CC-B99F-9DCA3EE34DEA}, 100
-
-
-
-
- Name: System.GPS.DestBearingDenominator -- PKEY_GPS_DestBearingDenominator
- Description: Denominator of PKEY_GPS_DestBearing
-
- Type: UInt32 -- VT_UI4
- FormatID: {7ABCF4F8-7C3F-4988-AC91-8D2C2E97ECA5}, 100
-
-
-
-
- Name: System.GPS.DestBearingNumerator -- PKEY_GPS_DestBearingNumerator
- Description: Numerator of PKEY_GPS_DestBearing
-
- Type: UInt32 -- VT_UI4
- FormatID: {BA3B1DA9-86EE-4B5D-A2A4-A271A429F0CF}, 100
-
-
-
-
- Name: System.GPS.DestBearingRef -- PKEY_GPS_DestBearingRef
- Description: Indicates the reference used for the giving the bearing to the destination point. (eg: true direction, magnetic direction)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9AB84393-2A0F-4B75-BB22-7279786977CB}, 100
-
-
-
-
- Name: System.GPS.DestDistance -- PKEY_GPS_DestDistance
- Description: Indicates the distance to the destination point. Calculated from PKEY_GPS_DestDistanceNumerator and
- PKEY_GPS_DestDistanceDenominator.
-
- Type: Double -- VT_R8
- FormatID: {A93EAE04-6804-4F24-AC81-09B266452118}, 100
-
-
-
-
- Name: System.GPS.DestDistanceDenominator -- PKEY_GPS_DestDistanceDenominator
- Description: Denominator of PKEY_GPS_DestDistance
-
- Type: UInt32 -- VT_UI4
- FormatID: {9BC2C99B-AC71-4127-9D1C-2596D0D7DCB7}, 100
-
-
-
-
- Name: System.GPS.DestDistanceNumerator -- PKEY_GPS_DestDistanceNumerator
- Description: Numerator of PKEY_GPS_DestDistance
-
- Type: UInt32 -- VT_UI4
- FormatID: {2BDA47DA-08C6-4FE1-80BC-A72FC517C5D0}, 100
-
-
-
-
- Name: System.GPS.DestDistanceRef -- PKEY_GPS_DestDistanceRef
- Description: Indicates the unit used to express the distance to the destination. (eg: kilometers, miles, knots)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {ED4DF2D3-8695-450B-856F-F5C1C53ACB66}, 100
-
-
-
-
- Name: System.GPS.DestLatitude -- PKEY_GPS_DestLatitude
- Description: Indicates the latitude of the destination point. This is an array of three values. Index 0 is the degrees, index 1
- is the minutes, index 2 is the seconds. Each is calculated from the values in PKEY_GPS_DestLatitudeNumerator and
- PKEY_GPS_DestLatitudeDenominator.
-
- Type: Multivalue Double -- VT_VECTOR | VT_R8 (For variants: VT_ARRAY | VT_R8)
- FormatID: {9D1D7CC5-5C39-451C-86B3-928E2D18CC47}, 100
-
-
-
-
- Name: System.GPS.DestLatitudeDenominator -- PKEY_GPS_DestLatitudeDenominator
- Description: Denominator of PKEY_GPS_DestLatitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {3A372292-7FCA-49A7-99D5-E47BB2D4E7AB}, 100
-
-
-
-
- Name: System.GPS.DestLatitudeNumerator -- PKEY_GPS_DestLatitudeNumerator
- Description: Numerator of PKEY_GPS_DestLatitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {ECF4B6F6-D5A6-433C-BB92-4076650FC890}, 100
-
-
-
-
- Name: System.GPS.DestLatitudeRef -- PKEY_GPS_DestLatitudeRef
- Description: Indicates whether the latitude destination point is north or south latitude
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CEA820B9-CE61-4885-A128-005D9087C192}, 100
-
-
-
-
- Name: System.GPS.DestLongitude -- PKEY_GPS_DestLongitude
- Description: Indicates the latitude of the destination point. This is an array of three values. Index 0 is the degrees, index 1
- is the minutes, index 2 is the seconds. Each is calculated from the values in PKEY_GPS_DestLongitudeNumerator and
- PKEY_GPS_DestLongitudeDenominator.
-
- Type: Multivalue Double -- VT_VECTOR | VT_R8 (For variants: VT_ARRAY | VT_R8)
- FormatID: {47A96261-CB4C-4807-8AD3-40B9D9DBC6BC}, 100
-
-
-
-
- Name: System.GPS.DestLongitudeDenominator -- PKEY_GPS_DestLongitudeDenominator
- Description: Denominator of PKEY_GPS_DestLongitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {425D69E5-48AD-4900-8D80-6EB6B8D0AC86}, 100
-
-
-
-
- Name: System.GPS.DestLongitudeNumerator -- PKEY_GPS_DestLongitudeNumerator
- Description: Numerator of PKEY_GPS_DestLongitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {A3250282-FB6D-48D5-9A89-DBCACE75CCCF}, 100
-
-
-
-
- Name: System.GPS.DestLongitudeRef -- PKEY_GPS_DestLongitudeRef
- Description: Indicates whether the longitude destination point is east or west longitude
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {182C1EA6-7C1C-4083-AB4B-AC6C9F4ED128}, 100
-
-
-
-
- Name: System.GPS.Differential -- PKEY_GPS_Differential
- Description: Indicates whether differential correction was applied to the GPS receiver
-
- Type: UInt16 -- VT_UI2
- FormatID: {AAF4EE25-BD3B-4DD7-BFC4-47F77BB00F6D}, 100
-
-
-
-
- Name: System.GPS.DOP -- PKEY_GPS_DOP
- Description: Indicates the GPS DOP (data degree of precision). Calculated from PKEY_GPS_DOPNumerator and PKEY_GPS_DOPDenominator
-
- Type: Double -- VT_R8
- FormatID: {0CF8FB02-1837-42F1-A697-A7017AA289B9}, 100
-
-
-
-
- Name: System.GPS.DOPDenominator -- PKEY_GPS_DOPDenominator
- Description: Denominator of PKEY_GPS_DOP
-
- Type: UInt32 -- VT_UI4
- FormatID: {A0BE94C5-50BA-487B-BD35-0654BE8881ED}, 100
-
-
-
-
- Name: System.GPS.DOPNumerator -- PKEY_GPS_DOPNumerator
- Description: Numerator of PKEY_GPS_DOP
-
- Type: UInt32 -- VT_UI4
- FormatID: {47166B16-364F-4AA0-9F31-E2AB3DF449C3}, 100
-
-
-
-
- Name: System.GPS.ImgDirection -- PKEY_GPS_ImgDirection
- Description: Indicates direction of the image when it was captured. Calculated from PKEY_GPS_ImgDirectionNumerator and
- PKEY_GPS_ImgDirectionDenominator.
-
- Type: Double -- VT_R8
- FormatID: {16473C91-D017-4ED9-BA4D-B6BAA55DBCF8}, 100
-
-
-
-
- Name: System.GPS.ImgDirectionDenominator -- PKEY_GPS_ImgDirectionDenominator
- Description: Denominator of PKEY_GPS_ImgDirection
-
- Type: UInt32 -- VT_UI4
- FormatID: {10B24595-41A2-4E20-93C2-5761C1395F32}, 100
-
-
-
-
- Name: System.GPS.ImgDirectionNumerator -- PKEY_GPS_ImgDirectionNumerator
- Description: Numerator of PKEY_GPS_ImgDirection
-
- Type: UInt32 -- VT_UI4
- FormatID: {DC5877C7-225F-45F7-BAC7-E81334B6130A}, 100
-
-
-
-
- Name: System.GPS.ImgDirectionRef -- PKEY_GPS_ImgDirectionRef
- Description: Indicates reference for giving the direction of the image when it was captured. (eg: true direction, magnetic direction)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A4AAA5B7-1AD0-445F-811A-0F8F6E67F6B5}, 100
-
-
-
-
- Name: System.GPS.Latitude -- PKEY_GPS_Latitude
- Description: Indicates the latitude. This is an array of three values. Index 0 is the degrees, index 1 is the minutes, index 2
- is the seconds. Each is calculated from the values in PKEY_GPS_LatitudeNumerator and PKEY_GPS_LatitudeDenominator.
-
- Type: Multivalue Double -- VT_VECTOR | VT_R8 (For variants: VT_ARRAY | VT_R8)
- FormatID: {8727CFFF-4868-4EC6-AD5B-81B98521D1AB}, 100
-
-
-
-
- Name: System.GPS.LatitudeDenominator -- PKEY_GPS_LatitudeDenominator
- Description: Denominator of PKEY_GPS_Latitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {16E634EE-2BFF-497B-BD8A-4341AD39EEB9}, 100
-
-
-
-
- Name: System.GPS.LatitudeNumerator -- PKEY_GPS_LatitudeNumerator
- Description: Numerator of PKEY_GPS_Latitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {7DDAAAD1-CCC8-41AE-B750-B2CB8031AEA2}, 100
-
-
-
-
- Name: System.GPS.LatitudeRef -- PKEY_GPS_LatitudeRef
- Description: Indicates whether latitude is north or south latitude
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {029C0252-5B86-46C7-ACA0-2769FFC8E3D4}, 100
-
-
-
-
- Name: System.GPS.Longitude -- PKEY_GPS_Longitude
- Description: Indicates the longitude. This is an array of three values. Index 0 is the degrees, index 1 is the minutes, index 2
- is the seconds. Each is calculated from the values in PKEY_GPS_LongitudeNumerator and PKEY_GPS_LongitudeDenominator.
-
- Type: Multivalue Double -- VT_VECTOR | VT_R8 (For variants: VT_ARRAY | VT_R8)
- FormatID: {C4C4DBB2-B593-466B-BBDA-D03D27D5E43A}, 100
-
-
-
-
- Name: System.GPS.LongitudeDenominator -- PKEY_GPS_LongitudeDenominator
- Description: Denominator of PKEY_GPS_Longitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {BE6E176C-4534-4D2C-ACE5-31DEDAC1606B}, 100
-
-
-
-
- Name: System.GPS.LongitudeNumerator -- PKEY_GPS_LongitudeNumerator
- Description: Numerator of PKEY_GPS_Longitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {02B0F689-A914-4E45-821D-1DDA452ED2C4}, 100
-
-
-
-
- Name: System.GPS.LongitudeRef -- PKEY_GPS_LongitudeRef
- Description: Indicates whether longitude is east or west longitude
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {33DCF22B-28D5-464C-8035-1EE9EFD25278}, 100
-
-
-
-
- Name: System.GPS.MapDatum -- PKEY_GPS_MapDatum
- Description: Indicates the geodetic survey data used by the GPS receiver
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {2CA2DAE6-EDDC-407D-BEF1-773942ABFA95}, 100
-
-
-
-
- Name: System.GPS.MeasureMode -- PKEY_GPS_MeasureMode
- Description: Indicates the GPS measurement mode. (eg: 2-dimensional, 3-dimensional)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A015ED5D-AAEA-4D58-8A86-3C586920EA0B}, 100
-
-
-
-
- Name: System.GPS.ProcessingMethod -- PKEY_GPS_ProcessingMethod
- Description: Indicates the name of the method used for location finding
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {59D49E61-840F-4AA9-A939-E2099B7F6399}, 100
-
-
-
-
- Name: System.GPS.Satellites -- PKEY_GPS_Satellites
- Description: Indicates the GPS satellites used for measurements
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {467EE575-1F25-4557-AD4E-B8B58B0D9C15}, 100
-
-
-
-
- Name: System.GPS.Speed -- PKEY_GPS_Speed
- Description: Indicates the speed of the GPS receiver movement. Calculated from PKEY_GPS_SpeedNumerator and
- PKEY_GPS_SpeedDenominator.
-
- Type: Double -- VT_R8
- FormatID: {DA5D0862-6E76-4E1B-BABD-70021BD25494}, 100
-
-
-
-
- Name: System.GPS.SpeedDenominator -- PKEY_GPS_SpeedDenominator
- Description: Denominator of PKEY_GPS_Speed
-
- Type: UInt32 -- VT_UI4
- FormatID: {7D122D5A-AE5E-4335-8841-D71E7CE72F53}, 100
-
-
-
-
- Name: System.GPS.SpeedNumerator -- PKEY_GPS_SpeedNumerator
- Description: Numerator of PKEY_GPS_Speed
-
- Type: UInt32 -- VT_UI4
- FormatID: {ACC9CE3D-C213-4942-8B48-6D0820F21C6D}, 100
-
-
-
-
- Name: System.GPS.SpeedRef -- PKEY_GPS_SpeedRef
- Description: Indicates the unit used to express the speed of the GPS receiver movement. (eg: kilometers per hour,
- miles per hour, knots).
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {ECF7F4C9-544F-4D6D-9D98-8AD79ADAF453}, 100
-
-
-
-
- Name: System.GPS.Status -- PKEY_GPS_Status
- Description: Indicates the status of the GPS receiver when the image was recorded. (eg: measurement in progress,
- measurement interoperability).
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {125491F4-818F-46B2-91B5-D537753617B2}, 100
-
-
-
-
- Name: System.GPS.Track -- PKEY_GPS_Track
- Description: Indicates the direction of the GPS receiver movement. Calculated from PKEY_GPS_TrackNumerator and
- PKEY_GPS_TrackDenominator.
-
- Type: Double -- VT_R8
- FormatID: {76C09943-7C33-49E3-9E7E-CDBA872CFADA}, 100
-
-
-
-
- Name: System.GPS.TrackDenominator -- PKEY_GPS_TrackDenominator
- Description: Denominator of PKEY_GPS_Track
-
- Type: UInt32 -- VT_UI4
- FormatID: {C8D1920C-01F6-40C0-AC86-2F3A4AD00770}, 100
-
-
-
-
- Name: System.GPS.TrackNumerator -- PKEY_GPS_TrackNumerator
- Description: Numerator of PKEY_GPS_Track
-
- Type: UInt32 -- VT_UI4
- FormatID: {702926F4-44A6-43E1-AE71-45627116893B}, 100
-
-
-
-
- Name: System.GPS.TrackRef -- PKEY_GPS_TrackRef
- Description: Indicates reference for the direction of the GPS receiver movement. (eg: true direction, magnetic direction)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {35DBE6FE-44C3-4400-AAAE-D2C799C407E8}, 100
-
-
-
-
- Name: System.GPS.VersionID -- PKEY_GPS_VersionID
- Description: Indicates the version of the GPS information
-
- Type: Buffer -- VT_VECTOR | VT_UI1 (For variants: VT_ARRAY | VT_UI1)
- FormatID: {22704DA4-C6B2-4A99-8E56-F16DF8C92599}, 100
-
-
-
-
- System.Identity Properties
-
-
-
-
- Name: System.Identity.Blob -- PKEY_Identity_Blob
- Description: Blob used to import/export identities
-
- Type: Blob -- VT_BLOB
- FormatID: {8C3B93A4-BAED-1A83-9A32-102EE313F6EB}, 100
-
-
-
-
- Name: System.Identity.DisplayName -- PKEY_Identity_DisplayName
- Description: Display Name
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7D683FC9-D155-45A8-BB1F-89D19BCB792F}, 100
-
-
-
-
- Name: System.Identity.IsMeIdentity -- PKEY_Identity_IsMeIdentity
- Description: Is it Me Identity
-
- Type: Boolean -- VT_BOOL
- FormatID: {A4108708-09DF-4377-9DFC-6D99986D5A67}, 100
-
-
-
-
- Name: System.Identity.PrimaryEmailAddress -- PKEY_Identity_PrimaryEmailAddress
- Description: Primary Email Address
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FCC16823-BAED-4F24-9B32-A0982117F7FA}, 100
-
-
-
-
- Name: System.Identity.ProviderID -- PKEY_Identity_ProviderID
- Description: Provider ID
-
- Type: Guid -- VT_CLSID
- FormatID: {74A7DE49-FA11-4D3D-A006-DB7E08675916}, 100
-
-
-
-
- Name: System.Identity.UniqueID -- PKEY_Identity_UniqueID
- Description: Unique ID
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E55FC3B0-2B60-4220-918E-B21E8BF16016}, 100
-
-
-
-
- Name: System.Identity.UserName -- PKEY_Identity_UserName
- Description: Identity User Name
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C4322503-78CA-49C6-9ACC-A68E2AFD7B6B}, 100
-
-
-
-
- System.IdentityProvider Properties
-
-
-
-
- Name: System.IdentityProvider.Name -- PKEY_IdentityProvider_Name
- Description: Identity Provider Name
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {B96EFF7B-35CA-4A35-8607-29E3A54C46EA}, 100
-
-
-
-
- Name: System.IdentityProvider.Picture -- PKEY_IdentityProvider_Picture
- Description: Picture for the Identity Provider
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {2425166F-5642-4864-992F-98FD98F294C3}, 100
-
-
-
-
- System.Image Properties
-
-
-
-
- Name: System.Image.BitDepth -- PKEY_Image_BitDepth
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 7 (PIDISI_BITDEPTH)
-
-
-
-
- Name: System.Image.ColorSpace -- PKEY_Image_ColorSpace
- Description: PropertyTagExifColorSpace
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 40961
-
-
-
-
- Name: System.Image.CompressedBitsPerPixel -- PKEY_Image_CompressedBitsPerPixel
- Description: Calculated from PKEY_Image_CompressedBitsPerPixelNumerator and PKEY_Image_CompressedBitsPerPixelDenominator.
-
- Type: Double -- VT_R8
- FormatID: {364B6FA9-37AB-482A-BE2B-AE02F60D4318}, 100
-
-
-
-
- Name: System.Image.CompressedBitsPerPixelDenominator -- PKEY_Image_CompressedBitsPerPixelDenominator
- Description: Denominator of PKEY_Image_CompressedBitsPerPixel.
-
- Type: UInt32 -- VT_UI4
- FormatID: {1F8844E1-24AD-4508-9DFD-5326A415CE02}, 100
-
-
-
-
- Name: System.Image.CompressedBitsPerPixelNumerator -- PKEY_Image_CompressedBitsPerPixelNumerator
- Description: Numerator of PKEY_Image_CompressedBitsPerPixel.
-
- Type: UInt32 -- VT_UI4
- FormatID: {D21A7148-D32C-4624-8900-277210F79C0F}, 100
-
-
-
-
- Name: System.Image.Compression -- PKEY_Image_Compression
- Description: Indicates the image compression level. PropertyTagCompression.
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 259
-
-
-
-
- Name: System.Image.CompressionText -- PKEY_Image_CompressionText
- Description: This is the user-friendly form of System.Image.Compression. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {3F08E66F-2F44-4BB9-A682-AC35D2562322}, 100
-
-
-
-
- Name: System.Image.Dimensions -- PKEY_Image_Dimensions
- Description: Indicates the dimensions of the image.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 13 (PIDISI_DIMENSIONS)
-
-
-
-
- Name: System.Image.HorizontalResolution -- PKEY_Image_HorizontalResolution
- Description:
-
- Type: Double -- VT_R8
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 5 (PIDISI_RESOLUTIONX)
-
-
-
-
- Name: System.Image.HorizontalSize -- PKEY_Image_HorizontalSize
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 3 (PIDISI_CX)
-
-
-
-
- Name: System.Image.ImageID -- PKEY_Image_ImageID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {10DABE05-32AA-4C29-BF1A-63E2D220587F}, 100
-
-
-
-
- Name: System.Image.ResolutionUnit -- PKEY_Image_ResolutionUnit
- Description:
- Type: Int16 -- VT_I2
- FormatID: {19B51FA6-1F92-4A5C-AB48-7DF0ABD67444}, 100
-
-
-
-
- Name: System.Image.VerticalResolution -- PKEY_Image_VerticalResolution
- Description:
-
- Type: Double -- VT_R8
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 6 (PIDISI_RESOLUTIONY)
-
-
-
-
- Name: System.Image.VerticalSize -- PKEY_Image_VerticalSize
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 4 (PIDISI_CY)
-
-
-
-
- System.Journal Properties
-
-
-
-
- Name: System.Journal.Contacts -- PKEY_Journal_Contacts
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {DEA7C82C-1D89-4A66-9427-A4E3DEBABCB1}, 100
-
-
-
-
- Name: System.Journal.EntryType -- PKEY_Journal_EntryType
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {95BEB1FC-326D-4644-B396-CD3ED90E6DDF}, 100
-
-
-
-
- System.LayoutPattern Properties
-
-
-
-
- Name: System.LayoutPattern.ContentViewModeForBrowse -- PKEY_LayoutPattern_ContentViewModeForBrowse
- Description: Specifies the layout pattern that the content view mode should apply for this item in the context of browsing.
- Register the regvalue under the name of "ContentViewModeLayoutPatternForBrowse".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 500
-
-
-
-
- Name: System.LayoutPattern.ContentViewModeForSearch -- PKEY_LayoutPattern_ContentViewModeForSearch
- Description: Specifies the layout pattern that the content view mode should apply for this item in the context of searching.
- Register the regvalue under the name of "ContentViewModeLayoutPatternForSearch".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 501
-
-
-
-
- System.Link Properties
-
-
-
-
- Name: System.Link.Arguments -- PKEY_Link_Arguments
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {436F2667-14E2-4FEB-B30A-146C53B5B674}, 100
-
-
-
-
- Name: System.Link.Comment -- PKEY_Link_Comment
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_LINK) {B9B4B3FC-2B51-4A42-B5D8-324146AFCF25}, 5
-
-
-
-
- Name: System.Link.DateVisited -- PKEY_Link_DateVisited
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {5CBF2787-48CF-4208-B90E-EE5E5D420294}, 23 (PKEYs relating to URLs. Used by IE History.)
-
-
-
-
- Name: System.Link.Description -- PKEY_Link_Description
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {5CBF2787-48CF-4208-B90E-EE5E5D420294}, 21 (PKEYs relating to URLs. Used by IE History.)
-
-
-
-
- Name: System.Link.Status -- PKEY_Link_Status
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (PSGUID_LINK) {B9B4B3FC-2B51-4A42-B5D8-324146AFCF25}, 3 (PID_LINK_TARGET_TYPE)
-
-
-
-
- Name: System.Link.TargetExtension -- PKEY_Link_TargetExtension
- Description: The file extension of the link target. See System.File.Extension
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {7A7D76F4-B630-4BD7-95FF-37CC51A975C9}, 2
-
-
-
-
- Name: System.Link.TargetParsingPath -- PKEY_Link_TargetParsingPath
- Description: This is the shell namespace path to the target of the link item. This path may be passed to
- SHParseDisplayName to parse the path to the correct shell folder.
-
- If the target item is a file, the value is identical to System.ItemPathDisplay.
-
- If the target item cannot be accessed through the shell namespace, this value is VT_EMPTY.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_LINK) {B9B4B3FC-2B51-4A42-B5D8-324146AFCF25}, 2 (PID_LINK_TARGET)
-
-
-
-
- Name: System.Link.TargetSFGAOFlags -- PKEY_Link_TargetSFGAOFlags
- Description: IShellFolder::GetAttributesOf flags for the target of a link, with SFGAO_PKEYSFGAOMASK
- attributes masked out.
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_LINK) {B9B4B3FC-2B51-4A42-B5D8-324146AFCF25}, 8
-
-
-
-
- Name: System.Link.TargetSFGAOFlagsStrings -- PKEY_Link_TargetSFGAOFlagsStrings
- Description: Expresses the SFGAO flags of a link as string values and is used as a query optimization. See
- PKEY_Shell_SFGAOFlagsStrings for possible values of this.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D6942081-D53B-443D-AD47-5E059D9CD27A}, 3
-
-
-
-
- Name: System.Link.TargetUrl -- PKEY_Link_TargetUrl
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {5CBF2787-48CF-4208-B90E-EE5E5D420294}, 2 (PKEYs relating to URLs. Used by IE History.)
-
-
-
-
- System.Media Properties
-
-
-
-
- Name: System.Media.AuthorUrl -- PKEY_Media_AuthorUrl
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 32 (PIDMSI_AUTHOR_URL)
-
-
-
-
- Name: System.Media.AverageLevel -- PKEY_Media_AverageLevel
- Description:
- Type: UInt32 -- VT_UI4
- FormatID: {09EDD5B6-B301-43C5-9990-D00302EFFD46}, 100
-
-
-
-
- Name: System.Media.ClassPrimaryID -- PKEY_Media_ClassPrimaryID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 13 (PIDMSI_CLASS_PRIMARY_ID)
-
-
-
-
- Name: System.Media.ClassSecondaryID -- PKEY_Media_ClassSecondaryID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 14 (PIDMSI_CLASS_SECONDARY_ID)
-
-
-
-
- Name: System.Media.CollectionGroupID -- PKEY_Media_CollectionGroupID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 24 (PIDMSI_COLLECTION_GROUP_ID)
-
-
-
-
- Name: System.Media.CollectionID -- PKEY_Media_CollectionID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 25 (PIDMSI_COLLECTION_ID)
-
-
-
-
- Name: System.Media.ContentDistributor -- PKEY_Media_ContentDistributor
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 18 (PIDMSI_CONTENTDISTRIBUTOR)
-
-
-
-
- Name: System.Media.ContentID -- PKEY_Media_ContentID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 26 (PIDMSI_CONTENT_ID)
-
-
-
-
- Name: System.Media.CreatorApplication -- PKEY_Media_CreatorApplication
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 27 (PIDMSI_TOOL_NAME)
-
-
-
-
- Name: System.Media.CreatorApplicationVersion -- PKEY_Media_CreatorApplicationVersion
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 28 (PIDMSI_TOOL_VERSION)
-
-
-
-
- Name: System.Media.DateEncoded -- PKEY_Media_DateEncoded
- Description: DateTime is in UTC (in the doc, not file system).
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {2E4B640D-5019-46D8-8881-55414CC5CAA0}, 100
-
-
-
-
- Name: System.Media.DateReleased -- PKEY_Media_DateReleased
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DE41CC29-6971-4290-B472-F59F2E2F31E2}, 100
-
-
-
-
- Name: System.Media.Duration -- PKEY_Media_Duration
- Description: 100ns units, not milliseconds
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 3 (PIDASI_TIMELENGTH)
-
-
-
-
- Name: System.Media.DVDID -- PKEY_Media_DVDID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 15 (PIDMSI_DVDID)
-
-
-
-
- Name: System.Media.EncodedBy -- PKEY_Media_EncodedBy
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 36 (PIDMSI_ENCODED_BY)
-
-
-
-
- Name: System.Media.EncodingSettings -- PKEY_Media_EncodingSettings
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 37 (PIDMSI_ENCODING_SETTINGS)
-
-
-
-
- Name: System.Media.FrameCount -- PKEY_Media_FrameCount
- Description: Indicates the frame count for the image.
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 12 (PIDISI_FRAMECOUNT)
-
-
-
-
- Name: System.Media.MCDI -- PKEY_Media_MCDI
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 16 (PIDMSI_MCDI)
-
-
-
-
- Name: System.Media.MetadataContentProvider -- PKEY_Media_MetadataContentProvider
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 17 (PIDMSI_PROVIDER)
-
-
-
-
- Name: System.Media.Producer -- PKEY_Media_Producer
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 22 (PIDMSI_PRODUCER)
-
-
-
-
- Name: System.Media.PromotionUrl -- PKEY_Media_PromotionUrl
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 33 (PIDMSI_PROMOTION_URL)
-
-
-
-
- Name: System.Media.ProtectionType -- PKEY_Media_ProtectionType
- Description: If media is protected, how is it protected?
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 38
-
-
-
-
- Name: System.Media.ProviderRating -- PKEY_Media_ProviderRating
- Description: Rating (0 - 99) supplied by metadata provider
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 39
-
-
-
-
- Name: System.Media.ProviderStyle -- PKEY_Media_ProviderStyle
- Description: Style of music or video, supplied by metadata provider
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 40
-
-
-
-
- Name: System.Media.Publisher -- PKEY_Media_Publisher
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 30 (PIDMSI_PUBLISHER)
-
-
-
-
- Name: System.Media.SubscriptionContentId -- PKEY_Media_SubscriptionContentId
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9AEBAE7A-9644-487D-A92C-657585ED751A}, 100
-
-
-
-
- Name: System.Media.SubTitle -- PKEY_Media_SubTitle
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 38 (PIDSI_MUSIC_SUB_TITLE)
-
-
-
-
- Name: System.Media.UniqueFileIdentifier -- PKEY_Media_UniqueFileIdentifier
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 35 (PIDMSI_UNIQUE_FILE_IDENTIFIER)
-
-
-
-
- Name: System.Media.UserNoAutoInfo -- PKEY_Media_UserNoAutoInfo
- Description: If true, do NOT alter this file's metadata. Set by user.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 41
-
-
-
-
- Name: System.Media.UserWebUrl -- PKEY_Media_UserWebUrl
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 34 (PIDMSI_USER_WEB_URL)
-
-
-
-
- Name: System.Media.Writer -- PKEY_Media_Writer
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 23 (PIDMSI_WRITER)
-
-
-
-
- Name: System.Media.Year -- PKEY_Media_Year
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 5 (PIDSI_MUSIC_YEAR)
-
-
-
-
- System.Message Properties
-
-
-
-
- Name: System.Message.AttachmentContents -- PKEY_Message_AttachmentContents
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {3143BF7C-80A8-4854-8880-E2E40189BDD0}, 100
-
-
-
-
- Name: System.Message.AttachmentNames -- PKEY_Message_AttachmentNames
- Description: The names of the attachments in a message
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 21
-
-
-
-
- Name: System.Message.BccAddress -- PKEY_Message_BccAddress
- Description: Addresses in Bcc: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 2
-
-
-
-
- Name: System.Message.BccName -- PKEY_Message_BccName
- Description: person names in Bcc: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 3
-
-
-
-
- Name: System.Message.CcAddress -- PKEY_Message_CcAddress
- Description: Addresses in Cc: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 4
-
-
-
-
- Name: System.Message.CcName -- PKEY_Message_CcName
- Description: person names in Cc: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 5
-
-
-
-
- Name: System.Message.ConversationID -- PKEY_Message_ConversationID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DC8F80BD-AF1E-4289-85B6-3DFC1B493992}, 100
-
-
-
-
- Name: System.Message.ConversationIndex -- PKEY_Message_ConversationIndex
- Description:
-
- Type: Buffer -- VT_VECTOR | VT_UI1 (For variants: VT_ARRAY | VT_UI1)
- FormatID: {DC8F80BD-AF1E-4289-85B6-3DFC1B493992}, 101
-
-
-
-
- Name: System.Message.DateReceived -- PKEY_Message_DateReceived
- Description: Date and Time communication was received
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 20
-
-
-
-
- Name: System.Message.DateSent -- PKEY_Message_DateSent
- Description: Date and Time communication was sent
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 19
-
-
-
-
- Name: System.Message.Flags -- PKEY_Message_Flags
- Description: These are flags associated with email messages to know if a read receipt is pending, etc.
- The values stored here by Outlook are defined for PR_MESSAGE_FLAGS on MSDN.
-
- Type: Int32 -- VT_I4
- FormatID: {A82D9EE7-CA67-4312-965E-226BCEA85023}, 100
-
-
-
-
- Name: System.Message.FromAddress -- PKEY_Message_FromAddress
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 13
-
-
-
-
- Name: System.Message.FromName -- PKEY_Message_FromName
- Description: Address in from field as person name
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 14
-
-
-
-
- Name: System.Message.HasAttachments -- PKEY_Message_HasAttachments
- Description:
-
- Type: Boolean -- VT_BOOL
- FormatID: {9C1FCF74-2D97-41BA-B4AE-CB2E3661A6E4}, 8
-
-
-
-
- Name: System.Message.IsFwdOrReply -- PKEY_Message_IsFwdOrReply
- Description:
- Type: Int32 -- VT_I4
- FormatID: {9A9BC088-4F6D-469E-9919-E705412040F9}, 100
-
-
-
-
- Name: System.Message.MessageClass -- PKEY_Message_MessageClass
- Description: What type of outlook msg this is (meeting, task, mail, etc.)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CD9ED458-08CE-418F-A70E-F912C7BB9C5C}, 103
-
-
-
-
- Name: System.Message.ProofInProgress -- PKEY_Message_ProofInProgress
- Description: This property will be true if the message junk email proofing is still in progress.
-
- Type: Boolean -- VT_BOOL
- FormatID: {9098F33C-9A7D-48A8-8DE5-2E1227A64E91}, 100
-
-
-
-
- Name: System.Message.SenderAddress -- PKEY_Message_SenderAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0BE1C8E7-1981-4676-AE14-FDD78F05A6E7}, 100
-
-
-
-
- Name: System.Message.SenderName -- PKEY_Message_SenderName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0DA41CFA-D224-4A18-AE2F-596158DB4B3A}, 100
-
-
-
-
- Name: System.Message.Store -- PKEY_Message_Store
- Description: The store (aka protocol handler) FILE, MAIL, OUTLOOKEXPRESS
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 15
-
-
-
-
- Name: System.Message.ToAddress -- PKEY_Message_ToAddress
- Description: Addresses in To: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 16
-
-
-
-
- Name: System.Message.ToDoFlags -- PKEY_Message_ToDoFlags
- Description: Flags associated with a message flagged to know if it's still active, if it was custom flagged, etc.
-
- Type: Int32 -- VT_I4
- FormatID: {1F856A9F-6900-4ABA-9505-2D5F1B4D66CB}, 100
-
-
-
-
- Name: System.Message.ToDoTitle -- PKEY_Message_ToDoTitle
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {BCCC8A3C-8CEF-42E5-9B1C-C69079398BC7}, 100
-
-
-
-
- Name: System.Message.ToName -- PKEY_Message_ToName
- Description: Person names in To: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 17
-
-
-
-
- System.Music Properties
-
-
-
-
- Name: System.Music.AlbumArtist -- PKEY_Music_AlbumArtist
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 13 (PIDSI_MUSIC_ALBUM_ARTIST)
-
-
-
-
- Name: System.Music.AlbumID -- PKEY_Music_AlbumID
- Description: Concatenation of System.Music.AlbumArtist and System.Music.AlbumTitle, suitable for indexing and display.
- Used to differentiate albums with the same title from different artists.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 100
-
-
-
-
- Name: System.Music.AlbumTitle -- PKEY_Music_AlbumTitle
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 4 (PIDSI_MUSIC_ALBUM)
-
-
-
-
- Name: System.Music.Artist -- PKEY_Music_Artist
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 2 (PIDSI_MUSIC_ARTIST)
-
-
-
-
- Name: System.Music.BeatsPerMinute -- PKEY_Music_BeatsPerMinute
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 35 (PIDSI_MUSIC_BEATS_PER_MINUTE)
-
-
-
-
- Name: System.Music.Composer -- PKEY_Music_Composer
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 19 (PIDMSI_COMPOSER)
-
-
-
-
- Name: System.Music.Conductor -- PKEY_Music_Conductor
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 36 (PIDSI_MUSIC_CONDUCTOR)
-
-
-
-
- Name: System.Music.ContentGroupDescription -- PKEY_Music_ContentGroupDescription
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 33 (PIDSI_MUSIC_CONTENT_GROUP_DESCRIPTION)
-
-
-
-
- Name: System.Music.DisplayArtist -- PKEY_Music_DisplayArtist
- Description: This property returns the best representation of Album Artist for a given music file
- based upon AlbumArtist, ContributingArtist and compilation info.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FD122953-FA93-4EF7-92C3-04C946B2F7C8}, 100
-
-
-
-
- Name: System.Music.Genre -- PKEY_Music_Genre
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 11 (PIDSI_MUSIC_GENRE)
-
-
-
-
- Name: System.Music.InitialKey -- PKEY_Music_InitialKey
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 34 (PIDSI_MUSIC_INITIAL_KEY)
-
-
-
-
- Name: System.Music.IsCompilation -- PKEY_Music_IsCompilation
- Description: Indicates whether the file is part of a compilation.
-
- Type: Boolean -- VT_BOOL
- FormatID: {C449D5CB-9EA4-4809-82E8-AF9D59DED6D1}, 100
-
-
-
-
- Name: System.Music.Lyrics -- PKEY_Music_Lyrics
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 12 (PIDSI_MUSIC_LYRICS)
-
-
-
-
- Name: System.Music.Mood -- PKEY_Music_Mood
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 39 (PIDSI_MUSIC_MOOD)
-
-
-
-
- Name: System.Music.PartOfSet -- PKEY_Music_PartOfSet
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 37 (PIDSI_MUSIC_PART_OF_SET)
-
-
-
-
- Name: System.Music.Period -- PKEY_Music_Period
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 31 (PIDMSI_PERIOD)
-
-
-
-
- Name: System.Music.SynchronizedLyrics -- PKEY_Music_SynchronizedLyrics
- Description:
- Type: Blob -- VT_BLOB
- FormatID: {6B223B6A-162E-4AA9-B39F-05D678FC6D77}, 100
-
-
-
-
- Name: System.Music.TrackNumber -- PKEY_Music_TrackNumber
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 7 (PIDSI_MUSIC_TRACK)
-
-
-
-
- System.Note Properties
-
-
-
-
- Name: System.Note.Color -- PKEY_Note_Color
- Description:
- Type: UInt16 -- VT_UI2
- FormatID: {4776CAFA-BCE4-4CB1-A23E-265E76D8EB11}, 100
-
-
-
-
- Name: System.Note.ColorText -- PKEY_Note_ColorText
- Description: This is the user-friendly form of System.Note.Color. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {46B4E8DE-CDB2-440D-885C-1658EB65B914}, 100
-
-
-
-
- System.Photo Properties
-
-
-
-
- Name: System.Photo.Aperture -- PKEY_Photo_Aperture
- Description: PropertyTagExifAperture. Calculated from PKEY_Photo_ApertureNumerator and PKEY_Photo_ApertureDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37378
-
-
-
-
- Name: System.Photo.ApertureDenominator -- PKEY_Photo_ApertureDenominator
- Description: Denominator of PKEY_Photo_Aperture
-
- Type: UInt32 -- VT_UI4
- FormatID: {E1A9A38B-6685-46BD-875E-570DC7AD7320}, 100
-
-
-
-
- Name: System.Photo.ApertureNumerator -- PKEY_Photo_ApertureNumerator
- Description: Numerator of PKEY_Photo_Aperture
-
- Type: UInt32 -- VT_UI4
- FormatID: {0337ECEC-39FB-4581-A0BD-4C4CC51E9914}, 100
-
-
-
-
- Name: System.Photo.Brightness -- PKEY_Photo_Brightness
- Description: This is the brightness of the photo.
-
- Calculated from PKEY_Photo_BrightnessNumerator and PKEY_Photo_BrightnessDenominator.
-
- The units are "APEX", normally in the range of -99.99 to 99.99. If the numerator of
- the recorded value is FFFFFFFF.H, "Unknown" should be indicated.
-
- Type: Double -- VT_R8
- FormatID: {1A701BF6-478C-4361-83AB-3701BB053C58}, 100 (PropertyTagExifBrightness)
-
-
-
-
- Name: System.Photo.BrightnessDenominator -- PKEY_Photo_BrightnessDenominator
- Description: Denominator of PKEY_Photo_Brightness
-
- Type: UInt32 -- VT_UI4
- FormatID: {6EBE6946-2321-440A-90F0-C043EFD32476}, 100
-
-
-
-
- Name: System.Photo.BrightnessNumerator -- PKEY_Photo_BrightnessNumerator
- Description: Numerator of PKEY_Photo_Brightness
-
- Type: UInt32 -- VT_UI4
- FormatID: {9E7D118F-B314-45A0-8CFB-D654B917C9E9}, 100
-
-
-
-
- Name: System.Photo.CameraManufacturer -- PKEY_Photo_CameraManufacturer
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 271 (PropertyTagEquipMake)
-
-
-
-
- Name: System.Photo.CameraModel -- PKEY_Photo_CameraModel
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 272 (PropertyTagEquipModel)
-
-
-
-
- Name: System.Photo.CameraSerialNumber -- PKEY_Photo_CameraSerialNumber
- Description: Serial number of camera that produced this photo
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 273
-
-
-
-
- Name: System.Photo.Contrast -- PKEY_Photo_Contrast
- Description: This indicates the direction of contrast processing applied by the camera
- when the image was shot.
-
- Type: UInt32 -- VT_UI4
- FormatID: {2A785BA9-8D23-4DED-82E6-60A350C86A10}, 100
-
-
-
-
- Name: System.Photo.ContrastText -- PKEY_Photo_ContrastText
- Description: This is the user-friendly form of System.Photo.Contrast. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {59DDE9F2-5253-40EA-9A8B-479E96C6249A}, 100
-
-
-
-
- Name: System.Photo.DateTaken -- PKEY_Photo_DateTaken
- Description: PropertyTagExifDTOrig
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 36867
-
-
-
-
- Name: System.Photo.DigitalZoom -- PKEY_Photo_DigitalZoom
- Description: PropertyTagExifDigitalZoom. Calculated from PKEY_Photo_DigitalZoomNumerator and PKEY_Photo_DigitalZoomDenominator
-
- Type: Double -- VT_R8
- FormatID: {F85BF840-A925-4BC2-B0C4-8E36B598679E}, 100
-
-
-
-
- Name: System.Photo.DigitalZoomDenominator -- PKEY_Photo_DigitalZoomDenominator
- Description: Denominator of PKEY_Photo_DigitalZoom
-
- Type: UInt32 -- VT_UI4
- FormatID: {745BAF0E-E5C1-4CFB-8A1B-D031A0A52393}, 100
-
-
-
-
- Name: System.Photo.DigitalZoomNumerator -- PKEY_Photo_DigitalZoomNumerator
- Description: Numerator of PKEY_Photo_DigitalZoom
-
- Type: UInt32 -- VT_UI4
- FormatID: {16CBB924-6500-473B-A5BE-F1599BCBE413}, 100
-
-
-
-
- Name: System.Photo.Event -- PKEY_Photo_Event
- Description: The event at which the photo was taken
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 18248
-
-
-
-
- Name: System.Photo.EXIFVersion -- PKEY_Photo_EXIFVersion
- Description: The EXIF version.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D35F743A-EB2E-47F2-A286-844132CB1427}, 100
-
-
-
-
- Name: System.Photo.ExposureBias -- PKEY_Photo_ExposureBias
- Description: PropertyTagExifExposureBias. Calculated from PKEY_Photo_ExposureBiasNumerator and PKEY_Photo_ExposureBiasDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37380
-
-
-
-
- Name: System.Photo.ExposureBiasDenominator -- PKEY_Photo_ExposureBiasDenominator
- Description: Denominator of PKEY_Photo_ExposureBias
-
- Type: Int32 -- VT_I4
- FormatID: {AB205E50-04B7-461C-A18C-2F233836E627}, 100
-
-
-
-
- Name: System.Photo.ExposureBiasNumerator -- PKEY_Photo_ExposureBiasNumerator
- Description: Numerator of PKEY_Photo_ExposureBias
-
- Type: Int32 -- VT_I4
- FormatID: {738BF284-1D87-420B-92CF-5834BF6EF9ED}, 100
-
-
-
-
- Name: System.Photo.ExposureIndex -- PKEY_Photo_ExposureIndex
- Description: PropertyTagExifExposureIndex. Calculated from PKEY_Photo_ExposureIndexNumerator and PKEY_Photo_ExposureIndexDenominator
-
- Type: Double -- VT_R8
- FormatID: {967B5AF8-995A-46ED-9E11-35B3C5B9782D}, 100
-
-
-
-
- Name: System.Photo.ExposureIndexDenominator -- PKEY_Photo_ExposureIndexDenominator
- Description: Denominator of PKEY_Photo_ExposureIndex
-
- Type: UInt32 -- VT_UI4
- FormatID: {93112F89-C28B-492F-8A9D-4BE2062CEE8A}, 100
-
-
-
-
- Name: System.Photo.ExposureIndexNumerator -- PKEY_Photo_ExposureIndexNumerator
- Description: Numerator of PKEY_Photo_ExposureIndex
-
- Type: UInt32 -- VT_UI4
- FormatID: {CDEDCF30-8919-44DF-8F4C-4EB2FFDB8D89}, 100
-
-
-
-
- Name: System.Photo.ExposureProgram -- PKEY_Photo_ExposureProgram
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 34850 (PropertyTagExifExposureProg)
-
-
-
-
- Name: System.Photo.ExposureProgramText -- PKEY_Photo_ExposureProgramText
- Description: This is the user-friendly form of System.Photo.ExposureProgram. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FEC690B7-5F30-4646-AE47-4CAAFBA884A3}, 100
-
-
-
-
- Name: System.Photo.ExposureTime -- PKEY_Photo_ExposureTime
- Description: PropertyTagExifExposureTime. Calculated from PKEY_Photo_ExposureTimeNumerator and PKEY_Photo_ExposureTimeDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 33434
-
-
-
-
- Name: System.Photo.ExposureTimeDenominator -- PKEY_Photo_ExposureTimeDenominator
- Description: Denominator of PKEY_Photo_ExposureTime
-
- Type: UInt32 -- VT_UI4
- FormatID: {55E98597-AD16-42E0-B624-21599A199838}, 100
-
-
-
-
- Name: System.Photo.ExposureTimeNumerator -- PKEY_Photo_ExposureTimeNumerator
- Description: Numerator of PKEY_Photo_ExposureTime
-
- Type: UInt32 -- VT_UI4
- FormatID: {257E44E2-9031-4323-AC38-85C552871B2E}, 100
-
-
-
-
- Name: System.Photo.Flash -- PKEY_Photo_Flash
- Description: PropertyTagExifFlash
-
- Type: Byte -- VT_UI1
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37385
-
-
-
-
- Name: System.Photo.FlashEnergy -- PKEY_Photo_FlashEnergy
- Description: PropertyTagExifFlashEnergy. Calculated from PKEY_Photo_FlashEnergyNumerator and PKEY_Photo_FlashEnergyDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 41483
-
-
-
-
- Name: System.Photo.FlashEnergyDenominator -- PKEY_Photo_FlashEnergyDenominator
- Description: Denominator of PKEY_Photo_FlashEnergy
-
- Type: UInt32 -- VT_UI4
- FormatID: {D7B61C70-6323-49CD-A5FC-C84277162C97}, 100
-
-
-
-
- Name: System.Photo.FlashEnergyNumerator -- PKEY_Photo_FlashEnergyNumerator
- Description: Numerator of PKEY_Photo_FlashEnergy
-
- Type: UInt32 -- VT_UI4
- FormatID: {FCAD3D3D-0858-400F-AAA3-2F66CCE2A6BC}, 100
-
-
-
-
- Name: System.Photo.FlashManufacturer -- PKEY_Photo_FlashManufacturer
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {AABAF6C9-E0C5-4719-8585-57B103E584FE}, 100
-
-
-
-
- Name: System.Photo.FlashModel -- PKEY_Photo_FlashModel
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FE83BB35-4D1A-42E2-916B-06F3E1AF719E}, 100
-
-
-
-
- Name: System.Photo.FlashText -- PKEY_Photo_FlashText
- Description: This is the user-friendly form of System.Photo.Flash. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6B8B68F6-200B-47EA-8D25-D8050F57339F}, 100
-
-
-
-
- Name: System.Photo.FNumber -- PKEY_Photo_FNumber
- Description: PropertyTagExifFNumber. Calculated from PKEY_Photo_FNumberNumerator and PKEY_Photo_FNumberDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 33437
-
-
-
-
- Name: System.Photo.FNumberDenominator -- PKEY_Photo_FNumberDenominator
- Description: Denominator of PKEY_Photo_FNumber
-
- Type: UInt32 -- VT_UI4
- FormatID: {E92A2496-223B-4463-A4E3-30EABBA79D80}, 100
-
-
-
-
- Name: System.Photo.FNumberNumerator -- PKEY_Photo_FNumberNumerator
- Description: Numerator of PKEY_Photo_FNumber
-
- Type: UInt32 -- VT_UI4
- FormatID: {1B97738A-FDFC-462F-9D93-1957E08BE90C}, 100
-
-
-
-
- Name: System.Photo.FocalLength -- PKEY_Photo_FocalLength
- Description: PropertyTagExifFocalLength. Calculated from PKEY_Photo_FocalLengthNumerator and PKEY_Photo_FocalLengthDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37386
-
-
-
-
- Name: System.Photo.FocalLengthDenominator -- PKEY_Photo_FocalLengthDenominator
- Description: Denominator of PKEY_Photo_FocalLength
-
- Type: UInt32 -- VT_UI4
- FormatID: {305BC615-DCA1-44A5-9FD4-10C0BA79412E}, 100
-
-
-
-
- Name: System.Photo.FocalLengthInFilm -- PKEY_Photo_FocalLengthInFilm
- Description:
- Type: UInt16 -- VT_UI2
- FormatID: {A0E74609-B84D-4F49-B860-462BD9971F98}, 100
-
-
-
-
- Name: System.Photo.FocalLengthNumerator -- PKEY_Photo_FocalLengthNumerator
- Description: Numerator of PKEY_Photo_FocalLength
-
- Type: UInt32 -- VT_UI4
- FormatID: {776B6B3B-1E3D-4B0C-9A0E-8FBAF2A8492A}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneXResolution -- PKEY_Photo_FocalPlaneXResolution
- Description: PropertyTagExifFocalXRes. Calculated from PKEY_Photo_FocalPlaneXResolutionNumerator and
- PKEY_Photo_FocalPlaneXResolutionDenominator.
-
- Type: Double -- VT_R8
- FormatID: {CFC08D97-C6F7-4484-89DD-EBEF4356FE76}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneXResolutionDenominator -- PKEY_Photo_FocalPlaneXResolutionDenominator
- Description: Denominator of PKEY_Photo_FocalPlaneXResolution
-
- Type: UInt32 -- VT_UI4
- FormatID: {0933F3F5-4786-4F46-A8E8-D64DD37FA521}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneXResolutionNumerator -- PKEY_Photo_FocalPlaneXResolutionNumerator
- Description: Numerator of PKEY_Photo_FocalPlaneXResolution
-
- Type: UInt32 -- VT_UI4
- FormatID: {DCCB10AF-B4E2-4B88-95F9-031B4D5AB490}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneYResolution -- PKEY_Photo_FocalPlaneYResolution
- Description: PropertyTagExifFocalYRes. Calculated from PKEY_Photo_FocalPlaneYResolutionNumerator and
- PKEY_Photo_FocalPlaneYResolutionDenominator.
-
- Type: Double -- VT_R8
- FormatID: {4FFFE4D0-914F-4AC4-8D6F-C9C61DE169B1}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneYResolutionDenominator -- PKEY_Photo_FocalPlaneYResolutionDenominator
- Description: Denominator of PKEY_Photo_FocalPlaneYResolution
-
- Type: UInt32 -- VT_UI4
- FormatID: {1D6179A6-A876-4031-B013-3347B2B64DC8}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneYResolutionNumerator -- PKEY_Photo_FocalPlaneYResolutionNumerator
- Description: Numerator of PKEY_Photo_FocalPlaneYResolution
-
- Type: UInt32 -- VT_UI4
- FormatID: {A2E541C5-4440-4BA8-867E-75CFC06828CD}, 100
-
-
-
-
- Name: System.Photo.GainControl -- PKEY_Photo_GainControl
- Description: This indicates the degree of overall image gain adjustment.
-
- Calculated from PKEY_Photo_GainControlNumerator and PKEY_Photo_GainControlDenominator.
-
- Type: Double -- VT_R8
- FormatID: {FA304789-00C7-4D80-904A-1E4DCC7265AA}, 100 (PropertyTagExifGainControl)
-
-
-
-
- Name: System.Photo.GainControlDenominator -- PKEY_Photo_GainControlDenominator
- Description: Denominator of PKEY_Photo_GainControl
-
- Type: UInt32 -- VT_UI4
- FormatID: {42864DFD-9DA4-4F77-BDED-4AAD7B256735}, 100
-
-
-
-
- Name: System.Photo.GainControlNumerator -- PKEY_Photo_GainControlNumerator
- Description: Numerator of PKEY_Photo_GainControl
-
- Type: UInt32 -- VT_UI4
- FormatID: {8E8ECF7C-B7B8-4EB8-A63F-0EE715C96F9E}, 100
-
-
-
-
- Name: System.Photo.GainControlText -- PKEY_Photo_GainControlText
- Description: This is the user-friendly form of System.Photo.GainControl. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C06238B2-0BF9-4279-A723-25856715CB9D}, 100
-
-
-
-
- Name: System.Photo.ISOSpeed -- PKEY_Photo_ISOSpeed
- Description: PropertyTagExifISOSpeed
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 34855
-
-
-
-
- Name: System.Photo.LensManufacturer -- PKEY_Photo_LensManufacturer
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E6DDCAF7-29C5-4F0A-9A68-D19412EC7090}, 100
-
-
-
-
- Name: System.Photo.LensModel -- PKEY_Photo_LensModel
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E1277516-2B5F-4869-89B1-2E585BD38B7A}, 100
-
-
-
-
- Name: System.Photo.LightSource -- PKEY_Photo_LightSource
- Description: PropertyTagExifLightSource
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37384
-
-
-
-
- Name: System.Photo.MakerNote -- PKEY_Photo_MakerNote
- Description:
- Type: Buffer -- VT_VECTOR | VT_UI1 (For variants: VT_ARRAY | VT_UI1)
- FormatID: {FA303353-B659-4052-85E9-BCAC79549B84}, 100
-
-
-
-
- Name: System.Photo.MakerNoteOffset -- PKEY_Photo_MakerNoteOffset
- Description:
- Type: UInt64 -- VT_UI8
- FormatID: {813F4124-34E6-4D17-AB3E-6B1F3C2247A1}, 100
-
-
-
-
- Name: System.Photo.MaxAperture -- PKEY_Photo_MaxAperture
- Description: Calculated from PKEY_Photo_MaxApertureNumerator and PKEY_Photo_MaxApertureDenominator
-
- Type: Double -- VT_R8
- FormatID: {08F6D7C2-E3F2-44FC-AF1E-5AA5C81A2D3E}, 100
-
-
-
-
- Name: System.Photo.MaxApertureDenominator -- PKEY_Photo_MaxApertureDenominator
- Description: Denominator of PKEY_Photo_MaxAperture
-
- Type: UInt32 -- VT_UI4
- FormatID: {C77724D4-601F-46C5-9B89-C53F93BCEB77}, 100
-
-
-
-
- Name: System.Photo.MaxApertureNumerator -- PKEY_Photo_MaxApertureNumerator
- Description: Numerator of PKEY_Photo_MaxAperture
-
- Type: UInt32 -- VT_UI4
- FormatID: {C107E191-A459-44C5-9AE6-B952AD4B906D}, 100
-
-
-
-
- Name: System.Photo.MeteringMode -- PKEY_Photo_MeteringMode
- Description: PropertyTagExifMeteringMode
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37383
-
-
-
-
- Name: System.Photo.MeteringModeText -- PKEY_Photo_MeteringModeText
- Description: This is the user-friendly form of System.Photo.MeteringMode. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F628FD8C-7BA8-465A-A65B-C5AA79263A9E}, 100
-
-
-
-
- Name: System.Photo.Orientation -- PKEY_Photo_Orientation
- Description: This is the image orientation viewed in terms of rows and columns.
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 274 (PropertyTagOrientation)
-
-
-
-
- Name: System.Photo.OrientationText -- PKEY_Photo_OrientationText
- Description: This is the user-friendly form of System.Photo.Orientation. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A9EA193C-C511-498A-A06B-58E2776DCC28}, 100
-
-
-
-
- Name: System.Photo.PeopleNames -- PKEY_Photo_PeopleNames
- Description: The people tags on an image.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: {E8309B6E-084C-49B4-B1FC-90A80331B638}, 100
-
-
-
-
- Name: System.Photo.PhotometricInterpretation -- PKEY_Photo_PhotometricInterpretation
- Description: This is the pixel composition. In JPEG compressed data, a JPEG marker is used
- instead of this property.
-
- Type: UInt16 -- VT_UI2
- FormatID: {341796F1-1DF9-4B1C-A564-91BDEFA43877}, 100
-
-
-
-
- Name: System.Photo.PhotometricInterpretationText -- PKEY_Photo_PhotometricInterpretationText
- Description: This is the user-friendly form of System.Photo.PhotometricInterpretation. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {821437D6-9EAB-4765-A589-3B1CBBD22A61}, 100
-
-
-
-
- Name: System.Photo.ProgramMode -- PKEY_Photo_ProgramMode
- Description: This is the class of the program used by the camera to set exposure when the
- picture is taken.
-
- Type: UInt32 -- VT_UI4
- FormatID: {6D217F6D-3F6A-4825-B470-5F03CA2FBE9B}, 100
-
-
-
-
- Name: System.Photo.ProgramModeText -- PKEY_Photo_ProgramModeText
- Description: This is the user-friendly form of System.Photo.ProgramMode. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7FE3AA27-2648-42F3-89B0-454E5CB150C3}, 100
-
-
-
-
- Name: System.Photo.RelatedSoundFile -- PKEY_Photo_RelatedSoundFile
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {318A6B45-087F-4DC2-B8CC-05359551FC9E}, 100
-
-
-
-
- Name: System.Photo.Saturation -- PKEY_Photo_Saturation
- Description: This indicates the direction of saturation processing applied by the camera when
- the image was shot.
-
- Type: UInt32 -- VT_UI4
- FormatID: {49237325-A95A-4F67-B211-816B2D45D2E0}, 100
-
-
-
-
- Name: System.Photo.SaturationText -- PKEY_Photo_SaturationText
- Description: This is the user-friendly form of System.Photo.Saturation. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {61478C08-B600-4A84-BBE4-E99C45F0A072}, 100
-
-
-
-
- Name: System.Photo.Sharpness -- PKEY_Photo_Sharpness
- Description: This indicates the direction of sharpness processing applied by the camera when
- the image was shot.
-
- Type: UInt32 -- VT_UI4
- FormatID: {FC6976DB-8349-4970-AE97-B3C5316A08F0}, 100
-
-
-
-
- Name: System.Photo.SharpnessText -- PKEY_Photo_SharpnessText
- Description: This is the user-friendly form of System.Photo.Sharpness. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {51EC3F47-DD50-421D-8769-334F50424B1E}, 100
-
-
-
-
- Name: System.Photo.ShutterSpeed -- PKEY_Photo_ShutterSpeed
- Description: PropertyTagExifShutterSpeed. Calculated from PKEY_Photo_ShutterSpeedNumerator and PKEY_Photo_ShutterSpeedDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37377
-
-
-
-
- Name: System.Photo.ShutterSpeedDenominator -- PKEY_Photo_ShutterSpeedDenominator
- Description: Denominator of PKEY_Photo_ShutterSpeed
-
- Type: Int32 -- VT_I4
- FormatID: {E13D8975-81C7-4948-AE3F-37CAE11E8FF7}, 100
-
-
-
-
- Name: System.Photo.ShutterSpeedNumerator -- PKEY_Photo_ShutterSpeedNumerator
- Description: Numerator of PKEY_Photo_ShutterSpeed
-
- Type: Int32 -- VT_I4
- FormatID: {16EA4042-D6F4-4BCA-8349-7C78D30FB333}, 100
-
-
-
-
- Name: System.Photo.SubjectDistance -- PKEY_Photo_SubjectDistance
- Description: PropertyTagExifSubjectDist. Calculated from PKEY_Photo_SubjectDistanceNumerator and PKEY_Photo_SubjectDistanceDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37382
-
-
-
-
- Name: System.Photo.SubjectDistanceDenominator -- PKEY_Photo_SubjectDistanceDenominator
- Description: Denominator of PKEY_Photo_SubjectDistance
-
- Type: UInt32 -- VT_UI4
- FormatID: {0C840A88-B043-466D-9766-D4B26DA3FA77}, 100
-
-
-
-
- Name: System.Photo.SubjectDistanceNumerator -- PKEY_Photo_SubjectDistanceNumerator
- Description: Numerator of PKEY_Photo_SubjectDistance
-
- Type: UInt32 -- VT_UI4
- FormatID: {8AF4961C-F526-43E5-AA81-DB768219178D}, 100
-
-
-
-
- Name: System.Photo.TagViewAggregate -- PKEY_Photo_TagViewAggregate
- Description: A read-only aggregation of tag-like properties for use in building views.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: {B812F15D-C2D8-4BBF-BACD-79744346113F}, 100
-
-
-
-
- Name: System.Photo.TranscodedForSync -- PKEY_Photo_TranscodedForSync
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {9A8EBB75-6458-4E82-BACB-35C0095B03BB}, 100
-
-
-
-
- Name: System.Photo.WhiteBalance -- PKEY_Photo_WhiteBalance
- Description: This indicates the white balance mode set when the image was shot.
-
- Type: UInt32 -- VT_UI4
- FormatID: {EE3D3D8A-5381-4CFA-B13B-AAF66B5F4EC9}, 100
-
-
-
-
- Name: System.Photo.WhiteBalanceText -- PKEY_Photo_WhiteBalanceText
- Description: This is the user-friendly form of System.Photo.WhiteBalance. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6336B95E-C7A7-426D-86FD-7AE3D39C84B4}, 100
-
-
-
-
- System.PropGroup Properties
-
-
-
-
- Name: System.PropGroup.Advanced -- PKEY_PropGroup_Advanced
- Description:
- Type: Null -- VT_NULL
- FormatID: {900A403B-097B-4B95-8AE2-071FDAEEB118}, 100
-
-
-
-
- Name: System.PropGroup.Audio -- PKEY_PropGroup_Audio
- Description:
- Type: Null -- VT_NULL
- FormatID: {2804D469-788F-48AA-8570-71B9C187E138}, 100
-
-
-
-
- Name: System.PropGroup.Calendar -- PKEY_PropGroup_Calendar
- Description:
- Type: Null -- VT_NULL
- FormatID: {9973D2B5-BFD8-438A-BA94-5349B293181A}, 100
-
-
-
-
- Name: System.PropGroup.Camera -- PKEY_PropGroup_Camera
- Description:
- Type: Null -- VT_NULL
- FormatID: {DE00DE32-547E-4981-AD4B-542F2E9007D8}, 100
-
-
-
-
- Name: System.PropGroup.Contact -- PKEY_PropGroup_Contact
- Description:
- Type: Null -- VT_NULL
- FormatID: {DF975FD3-250A-4004-858F-34E29A3E37AA}, 100
-
-
-
-
- Name: System.PropGroup.Content -- PKEY_PropGroup_Content
- Description:
- Type: Null -- VT_NULL
- FormatID: {D0DAB0BA-368A-4050-A882-6C010FD19A4F}, 100
-
-
-
-
- Name: System.PropGroup.Description -- PKEY_PropGroup_Description
- Description:
- Type: Null -- VT_NULL
- FormatID: {8969B275-9475-4E00-A887-FF93B8B41E44}, 100
-
-
-
-
- Name: System.PropGroup.FileSystem -- PKEY_PropGroup_FileSystem
- Description:
- Type: Null -- VT_NULL
- FormatID: {E3A7D2C1-80FC-4B40-8F34-30EA111BDC2E}, 100
-
-
-
-
- Name: System.PropGroup.General -- PKEY_PropGroup_General
- Description:
- Type: Null -- VT_NULL
- FormatID: {CC301630-B192-4C22-B372-9F4C6D338E07}, 100
-
-
-
-
- Name: System.PropGroup.GPS -- PKEY_PropGroup_GPS
- Description:
- Type: Null -- VT_NULL
- FormatID: {F3713ADA-90E3-4E11-AAE5-FDC17685B9BE}, 100
-
-
-
-
- Name: System.PropGroup.Image -- PKEY_PropGroup_Image
- Description:
- Type: Null -- VT_NULL
- FormatID: {E3690A87-0FA8-4A2A-9A9F-FCE8827055AC}, 100
-
-
-
-
- Name: System.PropGroup.Media -- PKEY_PropGroup_Media
- Description:
- Type: Null -- VT_NULL
- FormatID: {61872CF7-6B5E-4B4B-AC2D-59DA84459248}, 100
-
-
-
-
- Name: System.PropGroup.MediaAdvanced -- PKEY_PropGroup_MediaAdvanced
- Description:
- Type: Null -- VT_NULL
- FormatID: {8859A284-DE7E-4642-99BA-D431D044B1EC}, 100
-
-
-
-
- Name: System.PropGroup.Message -- PKEY_PropGroup_Message
- Description:
- Type: Null -- VT_NULL
- FormatID: {7FD7259D-16B4-4135-9F97-7C96ECD2FA9E}, 100
-
-
-
-
- Name: System.PropGroup.Music -- PKEY_PropGroup_Music
- Description:
- Type: Null -- VT_NULL
- FormatID: {68DD6094-7216-40F1-A029-43FE7127043F}, 100
-
-
-
-
- Name: System.PropGroup.Origin -- PKEY_PropGroup_Origin
- Description:
- Type: Null -- VT_NULL
- FormatID: {2598D2FB-5569-4367-95DF-5CD3A177E1A5}, 100
-
-
-
-
- Name: System.PropGroup.PhotoAdvanced -- PKEY_PropGroup_PhotoAdvanced
- Description:
- Type: Null -- VT_NULL
- FormatID: {0CB2BF5A-9EE7-4A86-8222-F01E07FDADAF}, 100
-
-
-
-
- Name: System.PropGroup.RecordedTV -- PKEY_PropGroup_RecordedTV
- Description:
- Type: Null -- VT_NULL
- FormatID: {E7B33238-6584-4170-A5C0-AC25EFD9DA56}, 100
-
-
-
-
- Name: System.PropGroup.Video -- PKEY_PropGroup_Video
- Description:
- Type: Null -- VT_NULL
- FormatID: {BEBE0920-7671-4C54-A3EB-49FDDFC191EE}, 100
-
-
-
-
- System.PropList Properties
-
-
-
-
- Name: System.PropList.ConflictPrompt -- PKEY_PropList_ConflictPrompt
- Description: The list of properties to show in the file operation conflict resolution dialog. Properties with empty
- values will not be displayed. Register under the regvalue of "ConflictPrompt".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 11
-
-
-
-
- Name: System.PropList.ContentViewModeForBrowse -- PKEY_PropList_ContentViewModeForBrowse
- Description: The list of properties to show in the content view mode of an item in the context of browsing.
- Register the regvalue under the name of "ContentViewModeForBrowse".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 13
-
-
-
-
- Name: System.PropList.ContentViewModeForSearch -- PKEY_PropList_ContentViewModeForSearch
- Description: The list of properties to show in the content view mode of an item in the context of searching.
- Register the regvalue under the name of "ContentViewModeForSearch".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 14
-
-
-
-
- Name: System.PropList.ExtendedTileInfo -- PKEY_PropList_ExtendedTileInfo
- Description: The list of properties to show in the listview on extended tiles. Register under the regvalue of
- "ExtendedTileInfo".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 9
-
-
-
-
- Name: System.PropList.FileOperationPrompt -- PKEY_PropList_FileOperationPrompt
- Description: The list of properties to show in the file operation confirmation dialog. Properties with empty values
- will not be displayed. If this list is not specified, then the InfoTip property list is used instead.
- Register under the regvalue of "FileOperationPrompt".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 10
-
-
-
-
- Name: System.PropList.FullDetails -- PKEY_PropList_FullDetails
- Description: The list of all the properties to show in the details page. Property groups can be included in this list
- in order to more easily organize the UI. Register under the regvalue of "FullDetails".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 2
-
-
-
-
- Name: System.PropList.InfoTip -- PKEY_PropList_InfoTip
- Description: The list of properties to show in the infotip. Properties with empty values will not be displayed. Register
- under the regvalue of "InfoTip".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 4 (PID_PROPLIST_INFOTIP)
-
-
-
-
- Name: System.PropList.NonPersonal -- PKEY_PropList_NonPersonal
- Description: The list of properties that are considered 'non-personal'. When told to remove all non-personal properties
- from a given file, the system will leave these particular properties untouched. Register under the regvalue
- of "NonPersonal".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {49D1091F-082E-493F-B23F-D2308AA9668C}, 100
-
-
-
-
- Name: System.PropList.PreviewDetails -- PKEY_PropList_PreviewDetails
- Description: The list of properties to display in the preview pane. Register under the regvalue of "PreviewDetails".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 8
-
-
-
-
- Name: System.PropList.PreviewTitle -- PKEY_PropList_PreviewTitle
- Description: The one or two properties to display in the preview pane title section. The optional second property is
- displayed as a subtitle. Register under the regvalue of "PreviewTitle".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 6
-
-
-
-
- Name: System.PropList.QuickTip -- PKEY_PropList_QuickTip
- Description: The list of properties to show in the infotip when the item is on a slow network. Properties with empty
- values will not be displayed. Register under the regvalue of "QuickTip".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 5 (PID_PROPLIST_QUICKTIP)
-
-
-
-
- Name: System.PropList.TileInfo -- PKEY_PropList_TileInfo
- Description: The list of properties to show in the listview on tiles. Register under the regvalue of "TileInfo".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 3 (PID_PROPLIST_TILEINFO)
-
-
-
-
- Name: System.PropList.XPDetailsPanel -- PKEY_PropList_XPDetailsPanel
- Description: The list of properties to display in the XP webview details panel. Obsolete.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_WebView) {F2275480-F782-4291-BD94-F13693513AEC}, 0 (PID_DISPLAY_PROPERTIES)
-
-
-
-
- System.RecordedTV Properties
-
-
-
-
- Name: System.RecordedTV.ChannelNumber -- PKEY_RecordedTV_ChannelNumber
- Description: Example: 42
-
- Type: UInt32 -- VT_UI4
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 7
-
-
-
-
- Name: System.RecordedTV.Credits -- PKEY_RecordedTV_Credits
- Description: Example: "Don Messick/Frank Welker/Casey Kasem/Heather North/Nicole Jaffe;;;"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 4
-
-
-
-
- Name: System.RecordedTV.DateContentExpires -- PKEY_RecordedTV_DateContentExpires
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 15
-
-
-
-
- Name: System.RecordedTV.EpisodeName -- PKEY_RecordedTV_EpisodeName
- Description: Example: "Nowhere to Hyde"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 2
-
-
-
-
- Name: System.RecordedTV.IsATSCContent -- PKEY_RecordedTV_IsATSCContent
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 16
-
-
-
-
- Name: System.RecordedTV.IsClosedCaptioningAvailable -- PKEY_RecordedTV_IsClosedCaptioningAvailable
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 12
-
-
-
-
- Name: System.RecordedTV.IsDTVContent -- PKEY_RecordedTV_IsDTVContent
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 17
-
-
-
-
- Name: System.RecordedTV.IsHDContent -- PKEY_RecordedTV_IsHDContent
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 18
-
-
-
-
- Name: System.RecordedTV.IsRepeatBroadcast -- PKEY_RecordedTV_IsRepeatBroadcast
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 13
-
-
-
-
- Name: System.RecordedTV.IsSAP -- PKEY_RecordedTV_IsSAP
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 14
-
-
-
-
- Name: System.RecordedTV.NetworkAffiliation -- PKEY_RecordedTV_NetworkAffiliation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {2C53C813-FB63-4E22-A1AB-0B331CA1E273}, 100
-
-
-
-
- Name: System.RecordedTV.OriginalBroadcastDate -- PKEY_RecordedTV_OriginalBroadcastDate
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {4684FE97-8765-4842-9C13-F006447B178C}, 100
-
-
-
-
- Name: System.RecordedTV.ProgramDescription -- PKEY_RecordedTV_ProgramDescription
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 3
-
-
-
-
- Name: System.RecordedTV.RecordingTime -- PKEY_RecordedTV_RecordingTime
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {A5477F61-7A82-4ECA-9DDE-98B69B2479B3}, 100
-
-
-
-
- Name: System.RecordedTV.StationCallSign -- PKEY_RecordedTV_StationCallSign
- Description: Example: "TOONP"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 5
-
-
-
-
- Name: System.RecordedTV.StationName -- PKEY_RecordedTV_StationName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {1B5439E7-EBA1-4AF8-BDD7-7AF1D4549493}, 100
-
-
-
-
- System.Search Properties
-
-
-
-
- Name: System.Search.AutoSummary -- PKEY_Search_AutoSummary
- Description: General Summary of the document.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {560C36C0-503A-11CF-BAA1-00004C752A9A}, 2
-
-
-
-
- Name: System.Search.ContainerHash -- PKEY_Search_ContainerHash
- Description: Hash code used to identify attachments to be deleted based on a common container url
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {BCEEE283-35DF-4D53-826A-F36A3EEFC6BE}, 100
-
-
-
-
- Name: System.Search.Contents -- PKEY_Search_Contents
- Description: The contents of the item. This property is for query restrictions only; it cannot be retrieved in a
- query result. The Indexing Service friendly name is 'contents'.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 19 (PID_STG_CONTENTS)
-
-
-
-
- Name: System.Search.EntryID -- PKEY_Search_EntryID
- Description: The entry ID for an item within a given catalog in the Windows Search Index.
- This value may be recycled, and therefore is not considered unique over time.
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_Query) {49691C90-7E17-101A-A91C-08002B2ECDA9}, 5 (PROPID_QUERY_WORKID)
-
-
-
-
- Name: System.Search.ExtendedProperties -- PKEY_Search_ExtendedProperties
- Description:
- Type: Blob -- VT_BLOB
- FormatID: {7B03B546-FA4F-4A52-A2FE-03D5311E5865}, 100
-
-
-
-
- Name: System.Search.GatherTime -- PKEY_Search_GatherTime
- Description: The Datetime that the Windows Search Gatherer process last pushed properties of this document to the Windows Search Gatherer Plugins.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {0B63E350-9CCC-11D0-BCDB-00805FCCCE04}, 8
-
-
-
-
- Name: System.Search.HitCount -- PKEY_Search_HitCount
- Description: When using CONTAINS over the Windows Search Index, this is the number of matches of the term.
- If there are multiple CONTAINS, an AND computes the min number of hits and an OR the max number of hits.
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_Query) {49691C90-7E17-101A-A91C-08002B2ECDA9}, 4 (PROPID_QUERY_HITCOUNT)
-
-
-
-
- Name: System.Search.IsClosedDirectory -- PKEY_Search_IsClosedDirectory
- Description: If this property is emitted with a value of TRUE, then it indicates that this URL's last modified time applies to all of it's children, and if this URL is deleted then all of it's children are deleted as well. For example, this would be emitted as TRUE when emitting the URL of an email so that all attachments are tied to the last modified time of that email.
-
- Type: Boolean -- VT_BOOL
- FormatID: {0B63E343-9CCC-11D0-BCDB-00805FCCCE04}, 23
-
-
-
-
- Name: System.Search.IsFullyContained -- PKEY_Search_IsFullyContained
- Description: Any child URL of a URL which has System.Search.IsClosedDirectory=TRUE must emit System.Search.IsFullyContained=TRUE. This ensures that the URL is not deleted at the end of a crawl because it hasn't been visited (which is the normal mechanism for detecting deletes). For example an email attachment would emit this property
-
- Type: Boolean -- VT_BOOL
- FormatID: {0B63E343-9CCC-11D0-BCDB-00805FCCCE04}, 24
-
-
-
-
- Name: System.Search.QueryFocusedSummary -- PKEY_Search_QueryFocusedSummary
- Description: Query Focused Summary of the document.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {560C36C0-503A-11CF-BAA1-00004C752A9A}, 3
-
-
-
-
- Name: System.Search.QueryFocusedSummaryWithFallback -- PKEY_Search_QueryFocusedSummaryWithFallback
- Description: Query Focused Summary of the document, if none is available it returns the AutoSummary.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {560C36C0-503A-11CF-BAA1-00004C752A9A}, 4
-
-
-
-
- Name: System.Search.Rank -- PKEY_Search_Rank
- Description: Relevance rank of row. Ranges from 0-1000. Larger numbers = better matches. Query-time only.
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_Query) {49691C90-7E17-101A-A91C-08002B2ECDA9}, 3 (PROPID_QUERY_RANK)
-
-
-
-
- Name: System.Search.Store -- PKEY_Search_Store
- Description: The identifier for the protocol handler that produced this item. (E.g. MAPI, CSC, FILE etc.)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A06992B3-8CAF-4ED7-A547-B259E32AC9FC}, 100
-
-
-
-
- Name: System.Search.UrlToIndex -- PKEY_Search_UrlToIndex
- Description: This property should be emitted by a container IFilter for each child URL within the container. The children will eventually be crawled by the indexer if they are within scope.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0B63E343-9CCC-11D0-BCDB-00805FCCCE04}, 2
-
-
-
-
- Name: System.Search.UrlToIndexWithModificationTime -- PKEY_Search_UrlToIndexWithModificationTime
- Description: This property is the same as System.Search.UrlToIndex except that it includes the time the URL was last modified. This is an optimization for the indexer as it doesn't have to call back into the protocol handler to ask for this information to determine if the content needs to be indexed again. The property is a vector with two elements, a VT_LPWSTR with the URL and a VT_FILETIME for the last modified time.
-
- Type: Multivalue Any -- VT_VECTOR | VT_NULL (For variants: VT_ARRAY | VT_NULL)
- FormatID: {0B63E343-9CCC-11D0-BCDB-00805FCCCE04}, 12
-
-
-
-
- System.Shell Properties
-
-
-
-
- Name: System.Shell.OmitFromView -- PKEY_Shell_OmitFromView
- Description: Set this to a string value of 'True' to omit this item from shell views
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DE35258C-C695-4CBC-B982-38B0AD24CED0}, 2
-
-
-
-
- Name: System.Shell.SFGAOFlagsStrings -- PKEY_Shell_SFGAOFlagsStrings
- Description: Expresses the SFGAO flags as string values and is used as a query optimization.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D6942081-D53B-443D-AD47-5E059D9CD27A}, 2
-
-
-
-
- System.Software Properties
-
-
-
-
- Name: System.Software.DateLastUsed -- PKEY_Software_DateLastUsed
- Description:
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {841E4F90-FF59-4D16-8947-E81BBFFAB36D}, 16
-
-
-
-
- Name: System.Software.ProductName -- PKEY_Software_ProductName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 7
-
-
-
-
- System.Sync Properties
-
-
-
-
- Name: System.Sync.Comments -- PKEY_Sync_Comments
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 13
-
-
-
-
- Name: System.Sync.ConflictDescription -- PKEY_Sync_ConflictDescription
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CE50C159-2FB8-41FD-BE68-D3E042E274BC}, 4
-
-
-
-
- Name: System.Sync.ConflictFirstLocation -- PKEY_Sync_ConflictFirstLocation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CE50C159-2FB8-41FD-BE68-D3E042E274BC}, 6
-
-
-
-
- Name: System.Sync.ConflictSecondLocation -- PKEY_Sync_ConflictSecondLocation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CE50C159-2FB8-41FD-BE68-D3E042E274BC}, 7
-
-
-
-
- Name: System.Sync.HandlerCollectionID -- PKEY_Sync_HandlerCollectionID
- Description:
- Type: Guid -- VT_CLSID
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 2
-
-
-
-
- Name: System.Sync.HandlerID -- PKEY_Sync_HandlerID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 3
-
-
-
-
- Name: System.Sync.HandlerName -- PKEY_Sync_HandlerName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CE50C159-2FB8-41FD-BE68-D3E042E274BC}, 2
-
-
-
-
- Name: System.Sync.HandlerType -- PKEY_Sync_HandlerType
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 8
-
-
-
-
- Name: System.Sync.HandlerTypeLabel -- PKEY_Sync_HandlerTypeLabel
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 9
-
-
-
-
- Name: System.Sync.ItemID -- PKEY_Sync_ItemID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 6
-
-
-
-
- Name: System.Sync.ItemName -- PKEY_Sync_ItemName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CE50C159-2FB8-41FD-BE68-D3E042E274BC}, 3
-
-
-
-
- Name: System.Sync.ProgressPercentage -- PKEY_Sync_ProgressPercentage
- Description: An integer value between 0 and 100 representing the percentage completed.
-
- Type: UInt32 -- VT_UI4
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 23
-
-
-
-
- Name: System.Sync.State -- PKEY_Sync_State
- Description: Sync state.
-
- Type: UInt32 -- VT_UI4
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 24
-
-
-
-
- Name: System.Sync.Status -- PKEY_Sync_Status
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 10
-
-
-
-
- System.Task Properties
-
-
-
-
- Name: System.Task.BillingInformation -- PKEY_Task_BillingInformation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D37D52C6-261C-4303-82B3-08B926AC6F12}, 100
-
-
-
-
- Name: System.Task.CompletionStatus -- PKEY_Task_CompletionStatus
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {084D8A0A-E6D5-40DE-BF1F-C8820E7C877C}, 100
-
-
-
-
- Name: System.Task.Owner -- PKEY_Task_Owner
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {08C7CC5F-60F2-4494-AD75-55E3E0B5ADD0}, 100
-
-
-
-
- System.Video Properties
-
-
-
-
- Name: System.Video.Compression -- PKEY_Video_Compression
- Description: Indicates the level of compression for the video stream. "Compression".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 10 (PIDVSI_COMPRESSION)
-
-
-
-
- Name: System.Video.Director -- PKEY_Video_Director
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 20 (PIDMSI_DIRECTOR)
-
-
-
-
- Name: System.Video.EncodingBitrate -- PKEY_Video_EncodingBitrate
- Description: Indicates the data rate in "bits per second" for the video stream. "DataRate".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 8 (PIDVSI_DATA_RATE)
-
-
-
-
- Name: System.Video.FourCC -- PKEY_Video_FourCC
- Description: Indicates the 4CC for the video stream.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 44
-
-
-
-
- Name: System.Video.FrameHeight -- PKEY_Video_FrameHeight
- Description: Indicates the frame height for the video stream.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 4
-
-
-
-
- Name: System.Video.FrameRate -- PKEY_Video_FrameRate
- Description: Indicates the frame rate in "frames per millisecond" for the video stream. "FrameRate".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 6 (PIDVSI_FRAME_RATE)
-
-
-
-
- Name: System.Video.FrameWidth -- PKEY_Video_FrameWidth
- Description: Indicates the frame width for the video stream.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 3
-
-
-
-
- Name: System.Video.HorizontalAspectRatio -- PKEY_Video_HorizontalAspectRatio
- Description: Indicates the horizontal portion of the aspect ratio. The X portion of XX:YY,
- like 16:9.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 42
-
-
-
-
- Name: System.Video.SampleSize -- PKEY_Video_SampleSize
- Description: Indicates the sample size in bits for the video stream. "SampleSize".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 9 (PIDVSI_SAMPLE_SIZE)
-
-
-
-
- Name: System.Video.StreamName -- PKEY_Video_StreamName
- Description: Indicates the name for the video stream. "StreamName".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 2 (PIDVSI_STREAM_NAME)
-
-
-
-
- Name: System.Video.StreamNumber -- PKEY_Video_StreamNumber
- Description: "Stream Number".
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 11 (PIDVSI_STREAM_NUMBER)
-
-
-
-
- Name: System.Video.TotalBitrate -- PKEY_Video_TotalBitrate
- Description: Indicates the total data rate in "bits per second" for all video and audio streams.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 43 (PIDVSI_TOTAL_BITRATE)
-
-
-
-
- Name: System.Video.TranscodedForSync -- PKEY_Video_TranscodedForSync
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 46
-
-
-
-
- Name: System.Video.VerticalAspectRatio -- PKEY_Video_VerticalAspectRatio
- Description: Indicates the vertical portion of the aspect ratio. The Y portion of
- XX:YY, like 16:9.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 45
-
-
-
-
- System.Volume Properties
-
-
-
-
- Name: System.Volume.FileSystem -- PKEY_Volume_FileSystem
- Description: Indicates the filesystem of the volume.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 4 (PID_VOLUME_FILESYSTEM) (Filesystem Volume Properties)
-
-
-
-
- Name: System.Volume.IsMappedDrive -- PKEY_Volume_IsMappedDrive
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {149C0B69-2C2D-48FC-808F-D318D78C4636}, 2
-
-
-
-
- Name: System.Volume.IsRoot -- PKEY_Volume_IsRoot
- Description:
-
- Type: Boolean -- VT_BOOL
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 10 (Filesystem Volume Properties)
-
-
-
-
- Property store cache state
-
-
-
-
- Contained in file, not updated.
-
-
-
-
- Not contained in file.
-
-
-
-
- Contained in file, has been updated since file was consumed.
-
-
-
-
- Delineates the format of a property string.
-
-
- Typically use one, or a bitwise combination of
- these flags, to specify the format. Some flags are mutually exclusive,
- so combinations like ShortTime | LongTime | HideTime are not allowed.
-
-
-
-
- The format settings specified in the property's .propdesc file.
-
-
-
-
- The value preceded with the property's display name.
-
-
- This flag is ignored when the hideLabelPrefix attribute of the labelInfo element
- in the property's .propinfo file is set to true.
-
-
-
-
- The string treated as a file name.
-
-
-
-
- The sizes displayed in kilobytes (KB), regardless of size.
-
-
- This flag applies to properties of Integer types and aligns the values in the column.
-
-
-
-
- Reserved.
-
-
-
-
- The time displayed as 'hh:mm am/pm'.
-
-
-
-
- The time displayed as 'hh:mm:ss am/pm'.
-
-
-
-
- The time portion of date/time hidden.
-
-
-
-
- The date displayed as 'MM/DD/YY'. For example, '3/21/04'.
-
-
-
-
- The date displayed as 'DayOfWeek Month day, year'.
- For example, 'Monday, March 21, 2004'.
-
-
-
-
- The date portion of date/time hidden.
-
-
-
-
- The friendly date descriptions, such as "Yesterday".
-
-
-
-
- The text displayed in a text box as a cue for the user, such as 'Enter your name'.
-
-
- The invitation text is returned if formatting failed or the value was empty.
- Invitation text is text displayed in a text box as a cue for the user,
- Formatting can fail if the data entered
- is not of an expected type, such as putting alpha characters in
- a phone number field.
-
-
-
-
- This flag requires UseEditInvitation to also be specified. When the
- formatting flags are ReadOnly | UseEditInvitation and the algorithm
- would have shown invitation text, a string is returned that indicates
- the value is "Unknown" instead of the invitation text.
-
-
-
-
- The detection of the reading order is not automatic. Useful when converting
- to ANSI to omit the Unicode reading order characters.
-
-
-
-
- Smart display of DateTime values
-
-
-
-
- Specifies the display types for a property.
-
-
-
-
- The String Display. This is the default if the property doesn't specify a display type.
-
-
-
-
- The Number Display.
-
-
-
-
- The Boolean Display.
-
-
-
-
- The DateTime Display.
-
-
-
-
- The Enumerated Display.
-
-
-
-
- Property Aggregation Type
-
-
-
-
- The string "Multiple Values" is displayed.
-
-
-
-
- The first value in the selection is displayed.
-
-
-
-
- The sum of the selected values is displayed. This flag is never returned
- for data types VT_LPWSTR, VT_BOOL, and VT_FILETIME.
-
-
-
-
- The numerical average of the selected values is displayed. This flag
- is never returned for data types VT_LPWSTR, VT_BOOL, and VT_FILETIME.
-
-
-
-
- The date range of the selected values is displayed. This flag is only
- returned for values of the VT_FILETIME data type.
-
-
-
-
- A concatenated string of all the values is displayed. The order of
- individual values in the string is undefined. The concatenated
- string omits duplicate values; if a value occurs more than once,
- it only appears a single time in the concatenated string.
-
-
-
-
- The highest of the selected values is displayed.
-
-
-
-
- The lowest of the selected values is displayed.
-
-
-
-
- Property Enumeration Types
-
-
-
-
- Use DisplayText and either RangeMinValue or RangeSetValue.
-
-
-
-
- Use DisplayText and either RangeMinValue or RangeSetValue
-
-
-
-
- Use DisplayText
-
-
-
-
- Use Value or RangeMinValue
-
-
-
-
- Describes how a property should be treated for display purposes.
-
-
-
-
- Default value
-
-
-
-
- The value is displayed as a string.
-
-
-
-
- The value is displayed as an integer.
-
-
-
-
- The value is displayed as a date/time.
-
-
-
-
- A mask for display type values StringType, IntegerType, and DateType.
-
-
-
-
- The column should be on by default in Details view.
-
-
-
-
- Will be slow to compute. Perform on a background thread.
-
-
-
-
- Provided by a handler, not the folder.
-
-
-
-
- Not displayed in the context menu, but is listed in the More... dialog.
-
-
-
-
- Not displayed in the user interface (UI).
-
-
-
-
- VarCmp produces same result as IShellFolder::CompareIDs.
-
-
-
-
- PSFormatForDisplay produces same result as IShellFolder::CompareIDs.
-
-
-
-
- Do not sort folders separately.
-
-
-
-
- Only displayed in the UI.
-
-
-
-
- Marks columns with values that should be read in a batch.
-
-
-
-
- Grouping is disabled for this column.
-
-
-
-
- Can't resize the column.
-
-
-
-
- The width is the same in all dots per inch (dpi)s.
-
-
-
-
- Fixed width and height ratio.
-
-
-
-
- Filters out new display flags.
-
-
-
-
- Specifies the condition type to use when displaying the property in the query builder user interface (UI).
-
-
-
-
- The default condition type.
-
-
-
-
- The string type.
-
-
-
-
- The size type.
-
-
-
-
- The date/time type.
-
-
-
-
- The Boolean type.
-
-
-
-
- The number type.
-
-
-
-
- Provides a set of flags to be used with IConditionFactory,
- ICondition, and IConditionGenerator to indicate the operation.
-
-
-
-
- The implicit comparison between the value of the property and the value of the constant.
-
-
-
-
- The value of the property and the value of the constant must be equal.
-
-
-
-
- The value of the property and the value of the constant must not be equal.
-
-
-
-
- The value of the property must be less than the value of the constant.
-
-
-
-
- The value of the property must be greater than the value of the constant.
-
-
-
-
- The value of the property must be less than or equal to the value of the constant.
-
-
-
-
- The value of the property must be greater than or equal to the value of the constant.
-
-
-
-
- The value of the property must begin with the value of the constant.
-
-
-
-
- The value of the property must end with the value of the constant.
-
-
-
-
- The value of the property must contain the value of the constant.
-
-
-
-
- The value of the property must not contain the value of the constant.
-
-
-
-
- The value of the property must match the value of the constant, where '?' matches any single character and '*' matches any sequence of characters.
-
-
-
-
- The value of the property must contain a word that is the value of the constant.
-
-
-
-
- The value of the property must contain a word that begins with the value of the constant.
-
-
-
-
- The application is free to interpret this in any suitable way.
-
-
-
-
- Specifies the property description grouping ranges.
-
-
-
-
- The individual values.
-
-
-
-
- The static alphanumeric ranges.
-
-
-
-
- The static size ranges.
-
-
-
-
- The dynamically-created ranges.
-
-
-
-
- The month and year groups.
-
-
-
-
- The percent groups.
-
-
-
-
- The enumerated groups.
-
-
-
-
- Describes the particular wordings of sort offerings.
-
-
- Note that the strings shown are English versions only;
- localized strings are used for other locales.
-
-
-
-
- The default ascending or descending property sort, "Sort going up", "Sort going down".
-
-
-
-
- The alphabetical sort, "A on top", "Z on top".
-
-
-
-
- The numerical sort, "Lowest on top", "Highest on top".
-
-
-
-
- The size sort, "Smallest on top", "Largest on top".
-
-
-
-
- The chronological sort, "Oldest on top", "Newest on top".
-
-
-
-
- Describes the attributes of the typeInfo element in the property's .propdesc file.
-
-
-
-
- The property uses the default values for all attributes.
-
-
-
-
- The property can have multiple values.
-
-
- These values are stored as a VT_VECTOR in the PROPVARIANT structure.
- This value is set by the multipleValues attribute of the typeInfo element in the property's .propdesc file.
-
-
-
-
- This property cannot be written to.
-
-
- This value is set by the isInnate attribute of the typeInfo element in the property's .propdesc file.
-
-
-
-
- The property is a group heading.
-
-
- This value is set by the isGroup attribute of the typeInfo element in the property's .propdesc file.
-
-
-
-
- The user can group by this property.
-
-
- This value is set by the canGroupBy attribute of the typeInfo element in the property's .propdesc file.
-
-
-
-
- The user can stack by this property.
-
-
- This value is set by the canStackBy attribute of the typeInfo element in the property's .propdesc file.
-
-
-
-
- This property contains a hierarchy.
-
-
- This value is set by the isTreeProperty attribute of the typeInfo element in the property's .propdesc file.
-
-
-
-
- Include this property in any full text query that is performed.
-
-
- This value is set by the includeInFullTextQuery attribute of the typeInfo element in the property's .propdesc file.
-
-
-
-
- This property is meant to be viewed by the user.
-
-
- This influences whether the property shows up in the "Choose Columns" dialog, for example.
- This value is set by the isViewable attribute of the typeInfo element in the property's .propdesc file.
-
-
-
-
- This property is included in the list of properties that can be queried.
-
-
- A queryable property must also be viewable.
- This influences whether the property shows up in the query builder UI.
- This value is set by the isQueryable attribute of the typeInfo element in the property's .propdesc file.
-
-
-
-
- Used with an innate property (that is, a value calculated from other property values) to indicate that it can be deleted.
-
-
- Windows Vista with Service Pack 1 (SP1) and later.
- This value is used by the Remove Properties user interface (UI) to determine whether to display a check box next to an property that allows that property to be selected for removal.
- Note that a property that is not innate can always be purged regardless of the presence or absence of this flag.
-
-
-
-
- This property is owned by the system.
-
-
-
-
- A mask used to retrieve all flags.
-
-
-
-
- Associates property names with property description list strings.
-
-
-
-
- The property is shown by default.
-
-
-
-
- The property is centered.
-
-
-
-
- The property is right aligned.
-
-
-
-
- The property is shown as the beginning of the next collection of properties in the view.
-
-
-
-
- The remainder of the view area is filled with the content of this property.
-
-
-
-
- The property is reverse sorted if it is a property in a list of sorted properties.
-
-
-
-
- The property is only shown if it is present.
-
-
-
-
- The property is shown by default in a view (where applicable).
-
-
-
-
- The property is shown by default in primary column selection user interface (UI).
-
-
-
-
- The property is shown by default in secondary column selection UI.
-
-
-
-
- The label is hidden if the view is normally inclined to show the label.
-
-
-
-
- The property is not displayed as a column in the UI.
-
-
-
-
- The property is wrapped to the next row.
-
-
-
-
- A mask used to retrieve all flags.
-
-
-
-
- Defines the enumeration values for a property type.
-
-
-
-
- Gets display text from an enumeration information structure.
-
-
-
-
- Gets an enumeration type from an enumeration information structure.
-
-
-
-
- Gets a minimum value from an enumeration information structure.
-
-
-
-
- Gets a set value from an enumeration information structure.
-
-
-
-
- Gets a value from an enumeration information structure.
-
-
-
-
- Represents a registered file system Known Folder
-
-
-
-
- Release resources
-
- Indicates that this mothod is being called from Dispose() rather than the finalizer.
-
-
-
- Gets the path for this known folder.
-
- A object.
-
-
-
- Gets the category designation for this known folder.
-
- A value.
-
-
-
- Gets this known folder's canonical name.
-
- A object.
-
-
-
- Gets this known folder's description.
-
- A object.
-
-
-
- Gets the unique identifier for this known folder's parent folder.
-
- A value.
-
-
-
- Gets this known folder's relative path.
-
- A object.
-
-
-
- Gets this known folder's parsing name.
-
- A object.
-
-
-
- Gets this known folder's tool tip text.
-
- A object.
-
-
-
- Gets the resource identifier for this
- known folder's tool tip text.
-
- A object.
-
-
-
- Gets this known folder's localized name.
-
- A object.
-
-
-
- Gets the resource identifier for this
- known folder's localized name.
-
- A object.
-
-
-
- Gets this known folder's security attributes.
-
- A object.
-
-
-
- Gets this known folder's file attributes,
- such as "read-only".
-
- A value.
-
-
-
- Gets an value that describes this known folder's behaviors.
-
- A value.
-
-
-
- Gets the unique identifier for this known folder's type.
-
- A value.
-
-
-
- Gets a string representation of this known folder's type.
-
- A object.
-
-
-
- Gets the unique identifier for this known folder.
-
- A value.
-
-
-
- Gets a value that indicates whether this known folder's path exists on the computer.
-
- A bool value.
- If this property value is false,
- the folder might be a virtual folder ( property will
- be for virtual folders)
-
-
-
- Gets a value that states whether this known folder
- can have its path set to a new value,
- including any restrictions on the redirection.
-
- A value.
-
-
-
- Represents a non filesystem item (e.g. virtual items inside Control Panel)
-
-
-
-
- Represents a Non FileSystem folder (e.g. My Computer, Control Panel)
-
-
-
-
- Represents a registered non file system Known Folder
-
-
-
-
- Release resources
-
- Indicates that this mothod is being called from Dispose() rather than the finalizer.
-
-
-
- Gets the path for this known folder.
-
- A object.
-
-
-
- Gets the category designation for this known folder.
-
- A value.
-
-
-
- Gets this known folder's canonical name.
-
- A object.
-
-
-
- Gets this known folder's description.
-
- A object.
-
-
-
- Gets the unique identifier for this known folder's parent folder.
-
- A value.
-
-
-
- Gets this known folder's relative path.
-
- A object.
-
-
-
- Gets this known folder's parsing name.
-
- A object.
-
-
-
- Gets this known folder's tool tip text.
-
- A object.
-
-
-
- Gets the resource identifier for this
- known folder's tool tip text.
-
- A object.
-
-
-
- Gets this known folder's localized name.
-
- A object.
-
-
-
- Gets the resource identifier for this
- known folder's localized name.
-
- A object.
-
-
-
- Gets this known folder's security attributes.
-
- A object.
-
-
-
- Gets this known folder's file attributes,
- such as "read-only".
-
- A value.
-
-
-
- Gets an value that describes this known folder's behaviors.
-
- A value.
-
-
-
- Gets the unique identifier for this known folder's type.
-
- A value.
-
-
-
- Gets a string representation of this known folder's type.
-
- A object.
-
-
-
- Gets the unique identifier for this known folder.
-
- A value.
-
-
-
- Gets a value that indicates whether this known folder's path exists on the computer.
-
- A bool value.
- If this property value is false,
- the folder might be a virtual folder ( property will
- be for virtual folders)
-
-
-
- Gets a value that states whether this known folder
- can have its path set to a new value,
- including any restrictions on the redirection.
-
- A value.
-
-
-
- Represents the different retrieval options for the thumbnail or icon,
- such as extracting the thumbnail or icon from a file,
- from the cache only, or from memory only.
-
-
-
-
- The default behavior loads a thumbnail. If there is no thumbnail for the current ShellItem,
- the icon is retrieved. The thumbnail or icon is extracted if it is not currently cached.
-
-
-
-
- The CacheOnly behavior returns a cached thumbnail if it is available. Allows access to the disk,
- but only to retrieve a cached item. If no cached thumbnail is available, a cached per-instance icon is returned but
- a thumbnail or icon is not extracted.
-
-
-
-
- The MemoryOnly behavior returns the item only if it is in memory. The disk is not accessed even if the item is cached.
- Note that this only returns an already-cached icon and can fall back to a per-class icon if
- an item has a per-instance icon that has not been cached yet. Retrieving a thumbnail,
- even if it is cached, always requires the disk to be accessed, so this method should not be
- called from the user interface (UI) thread without passing ShellThumbnailCacheOptions.MemoryOnly.
-
-
-
-
- Represents the format options for the thumbnails and icons.
-
-
-
-
- The default behavior loads a thumbnail. An HBITMAP for the icon of the item is retrieved if there is no thumbnail for the current Shell Item.
-
-
-
-
- The ThumbnailOnly behavior returns only the thumbnails, never the icon. Note that not all items have thumbnails
- so ShellThumbnailFormatOption.ThumbnailOnly can fail in these cases.
-
-
-
-
- The IconOnly behavior returns only the icon, never the thumbnail.
-
-
-
-
- Represents a link to existing FileSystem or Virtual item.
-
-
-
-
- Path for this file e.g. c:\Windows\file.txt,
-
-
-
-
- The path for this link
-
-
-
-
- Gets the location to which this link points to.
-
-
-
-
- Gets the ShellObject to which this link points to.
-
-
-
-
- Gets or sets the link's title
-
-
-
-
- Gets the arguments associated with this link.
-
-
-
-
- Gets the comments associated with this link.
-
-
-
-
- Factory class for creating typed ShellProperties.
- Generates/caches expressions to create generic ShellProperties.
-
-
-
-
- Creates a generic ShellProperty.
-
- PropertyKey
- Shell object from which to get property
- ShellProperty matching type of value in property.
-
-
-
- Creates a generic ShellProperty.
-
- PropertyKey
- IPropertyStore from which to get property
- ShellProperty matching type of value in property.
-
-
-
- Converts VarEnum to its associated .net Type.
-
- VarEnum value
- Associated .net equivelent.
-
-
-
- Creates a property writer capable of setting multiple properties for a given ShellObject.
-
-
-
-
- Writes the given property key and value.
-
- The property key.
- The value associated with the key.
-
-
-
- Writes the given property key and value. To allow truncation of the given value, set allowTruncatedValue
- to true.
-
- The property key.
- The value associated with the key.
- True to allow truncation (default); otherwise False.
- If the writable property store is already
- closed.
- If AllowTruncatedValue is set to false
- and while setting the value on the property it had to be truncated in a string or rounded in
- a numeric value.
-
-
-
- Writes the specified property given the canonical name and a value.
-
- The canonical name.
- The property value.
-
-
-
- Writes the specified property given the canonical name and a value. To allow truncation of the given value, set allowTruncatedValue
- to true.
-
- The canonical name.
- The property value.
- True to allow truncation (default); otherwise False.
- If the given canonical name is not valid.
-
-
-
- Writes the specified property using an IShellProperty and a value.
-
- The property name.
- The property value.
-
-
-
- Writes the specified property given an IShellProperty and a value. To allow truncation of the given value, set allowTruncatedValue
- to true.
-
- The property name.
- The property value.
- True to allow truncation (default); otherwise False.
-
-
-
- Writes the specified property using a strongly-typed ShellProperty and a value.
-
- The type of the property name.
- The property name.
- The property value.
-
-
-
- Writes the specified property given a strongly-typed ShellProperty and a value. To allow truncation of the given value, set allowTruncatedValue
- to true.
-
- The type of the property name.
- The property name.
- The property value.
- True to allow truncation (default); otherwise False.
-
-
-
- Release the native objects.
-
-
-
-
-
-
-
-
-
- Release the native and managed objects.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
-
- Call this method to commit the writes (calls to WriteProperty method)
- and dispose off the writer.
-
-
-
-
- Reference to parent ShellObject (associated with this writer)
-
-
-
-
- Provides easy access to all the system properties (property keys and their descriptions)
-
-
-
-
- Returns the property description for a given property key.
-
- Property key of the property whose description is required.
- Property Description for a given property key
-
-
-
- Gets the property description for a given property's canonical name.
-
- Canonical name of the property whose description is required.
- Property Description for a given property key
-
-
-
- System Properties
-
-
-
-
- Name: System.AcquisitionID -- PKEY_AcquisitionID
- Description: Hash to determine acquisition session.
-
- Type: Int32 -- VT_I4
- FormatID: {65A98875-3C80-40AB-ABBC-EFDAF77DBEE2}, 100
-
-
-
-
- Name: System.ApplicationName -- PKEY_ApplicationName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 18 (PIDSI_APPNAME)
-
-
-
-
- Name: System.Author -- PKEY_Author
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 4 (PIDSI_AUTHOR)
-
-
-
-
- Name: System.Capacity -- PKEY_Capacity
- Description: The amount of total space in bytes.
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 3 (PID_VOLUME_CAPACITY) (Filesystem Volume Properties)
-
-
-
-
- Name: System.Category -- PKEY_Category
- Description: Legacy code treats this as VT_LPSTR.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 2 (PIDDSI_CATEGORY)
-
-
-
-
- Name: System.Comment -- PKEY_Comment
- Description: Comments.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 6 (PIDSI_COMMENTS)
-
-
-
-
- Name: System.Company -- PKEY_Company
- Description: The company or publisher.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 15 (PIDDSI_COMPANY)
-
-
-
-
- Name: System.ComputerName -- PKEY_ComputerName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 5 (PID_COMPUTERNAME)
-
-
-
-
- Name: System.ContainedItems -- PKEY_ContainedItems
- Description: The list of type of items, this item contains. For example, this item contains urls, attachments etc.
- This is represented as a vector array of GUIDs where each GUID represents certain type.
-
- Type: Multivalue Guid -- VT_VECTOR | VT_CLSID (For variants: VT_ARRAY | VT_CLSID)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 29
-
-
-
-
- Name: System.ContentStatus -- PKEY_ContentStatus
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 27
-
-
-
-
- Name: System.ContentType -- PKEY_ContentType
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 26
-
-
-
-
- Name: System.Copyright -- PKEY_Copyright
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 11 (PIDMSI_COPYRIGHT)
-
-
-
-
- Name: System.DateAccessed -- PKEY_DateAccessed
- Description: The time of the last access to the item. The Indexing Service friendly name is 'access'.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 16 (PID_STG_ACCESSTIME)
-
-
-
-
- Name: System.DateAcquired -- PKEY_DateAcquired
- Description: The time the file entered the system via acquisition. This is not the same as System.DateImported.
- Examples are when pictures are acquired from a camera, or when music is purchased online.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {2CBAA8F5-D81F-47CA-B17A-F8D822300131}, 100
-
-
-
-
- Name: System.DateArchived -- PKEY_DateArchived
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {43F8D7B7-A444-4F87-9383-52271C9B915C}, 100
-
-
-
-
- Name: System.DateCompleted -- PKEY_DateCompleted
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {72FAB781-ACDA-43E5-B155-B2434F85E678}, 100
-
-
-
-
- Name: System.DateCreated -- PKEY_DateCreated
- Description: The date and time the item was created. The Indexing Service friendly name is 'create'.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 15 (PID_STG_CREATETIME)
-
-
-
-
- Name: System.DateImported -- PKEY_DateImported
- Description: The time the file is imported into a separate database. This is not the same as System.DateAcquired. (Eg, 2003:05:22 13:55:04)
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 18258
-
-
-
-
- Name: System.DateModified -- PKEY_DateModified
- Description: The date and time of the last write to the item. The Indexing Service friendly name is 'write'.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 14 (PID_STG_WRITETIME)
-
-
-
-
- Name: System.DescriptionID -- PKEY_DescriptionID
- Description: The contents of a SHDESCRIPTIONID structure as a buffer of bytes.
-
- Type: Buffer -- VT_VECTOR | VT_UI1 (For variants: VT_ARRAY | VT_UI1)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 2 (PID_DESCRIPTIONID)
-
-
-
-
- Name: System.DueDate -- PKEY_DueDate
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {3F8472B5-E0AF-4DB2-8071-C53FE76AE7CE}, 100
-
-
-
-
- Name: System.EndDate -- PKEY_EndDate
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {C75FAA05-96FD-49E7-9CB4-9F601082D553}, 100
-
-
-
-
- Name: System.FileAllocationSize -- PKEY_FileAllocationSize
- Description:
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 18 (PID_STG_ALLOCSIZE)
-
-
-
-
- Name: System.FileAttributes -- PKEY_FileAttributes
- Description: This is the WIN32_FIND_DATA dwFileAttributes for the file-based item.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 13 (PID_STG_ATTRIBUTES)
-
-
-
-
- Name: System.FileCount -- PKEY_FileCount
- Description:
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 12
-
-
-
-
- Name: System.FileDescription -- PKEY_FileDescription
- Description: This is a user-friendly description of the file.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 3 (PIDVSI_FileDescription)
-
-
-
-
- Name: System.FileExtension -- PKEY_FileExtension
- Description: This is the file extension of the file based item, including the leading period.
-
- If System.FileName is VT_EMPTY, then this property should be too. Otherwise, it should be derived
- appropriately by the data source from System.FileName. If System.FileName does not have a file
- extension, this value should be VT_EMPTY.
-
- To obtain the type of any item (including an item that is not a file), use System.ItemType.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" ".txt"
- "\\server\share\mydir\goodnews.doc" ".doc"
- "\\server\share\numbers.xls" ".xls"
- "\\server\share\folder" VT_EMPTY
- "c:\foo\MyFolder" VT_EMPTY
- [desktop] VT_EMPTY
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E4F10A3C-49E6-405D-8288-A23BD4EEAA6C}, 100
-
-
-
-
- Name: System.FileFRN -- PKEY_FileFRN
- Description: This is the unique file ID, also known as the File Reference Number. For a given file, this is the same value
- as is found in the structure variable FILE_ID_BOTH_DIR_INFO.FileId, via GetFileInformationByHandleEx().
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 21 (PID_STG_FRN)
-
-
-
-
- Name: System.FileName -- PKEY_FileName
- Description: This is the file name (including extension) of the file.
-
- It is possible that the item might not exist on a filesystem (ie, it may not be opened
- using CreateFile). Nonetheless, if the item is represented as a file from the logical sense
- (and its name follows standard Win32 file-naming syntax), then the data source should emit this property.
-
- If an item is not a file, then the value for this property is VT_EMPTY. See
- System.ItemNameDisplay.
-
- This has the same value as System.ParsingName for items that are provided by the Shell's file folder.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "hello.txt"
- "\\server\share\mydir\goodnews.doc" "goodnews.doc"
- "\\server\share\numbers.xls" "numbers.xls"
- "c:\foo\MyFolder" "MyFolder"
- (email message) VT_EMPTY
- (song on portable device) "song.wma"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {41CF5AE0-F75A-4806-BD87-59C7D9248EB9}, 100
-
-
-
-
- Name: System.FileOwner -- PKEY_FileOwner
- Description: This is the owner of the file, according to the file system.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Misc) {9B174B34-40FF-11D2-A27E-00C04FC30871}, 4 (PID_MISC_OWNER)
-
-
-
-
- Name: System.FileVersion -- PKEY_FileVersion
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 4 (PIDVSI_FileVersion)
-
-
-
-
- Name: System.FindData -- PKEY_FindData
- Description: WIN32_FIND_DATAW in buffer of bytes.
-
- Type: Buffer -- VT_VECTOR | VT_UI1 (For variants: VT_ARRAY | VT_UI1)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 0 (PID_FINDDATA)
-
-
-
-
- Name: System.FlagColor -- PKEY_FlagColor
- Description:
-
- Type: UInt16 -- VT_UI2
- FormatID: {67DF94DE-0CA7-4D6F-B792-053A3E4F03CF}, 100
-
-
-
-
- Name: System.FlagColorText -- PKEY_FlagColorText
- Description: This is the user-friendly form of System.FlagColor. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {45EAE747-8E2A-40AE-8CBF-CA52ABA6152A}, 100
-
-
-
-
- Name: System.FlagStatus -- PKEY_FlagStatus
- Description: Status of Flag. Values: (0=none 1=white 2=Red). cdoPR_FLAG_STATUS
-
- Type: Int32 -- VT_I4
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 12
-
-
-
-
- Name: System.FlagStatusText -- PKEY_FlagStatusText
- Description: This is the user-friendly form of System.FlagStatus. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DC54FD2E-189D-4871-AA01-08C2F57A4ABC}, 100
-
-
-
-
- Name: System.FreeSpace -- PKEY_FreeSpace
- Description: The amount of free space in bytes.
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 2 (PID_VOLUME_FREE) (Filesystem Volume Properties)
-
-
-
-
- Name: System.FullText -- PKEY_FullText
- Description: This PKEY is used to specify search terms that should be applied as broadly as possible,
- across all valid properties for the data source(s) being searched. It should not be
- emitted from a data source.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {1E3EE840-BC2B-476C-8237-2ACD1A839B22}, 6
-
-
-
-
- Name: System.Identity -- PKEY_Identity
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A26F4AFC-7346-4299-BE47-EB1AE613139F}, 100
-
-
-
-
- Name: System.ImageParsingName -- PKEY_ImageParsingName
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D7750EE0-C6A4-48EC-B53E-B87B52E6D073}, 100
-
-
-
-
- Name: System.Importance -- PKEY_Importance
- Description:
- Type: Int32 -- VT_I4
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 11
-
-
-
-
- Name: System.ImportanceText -- PKEY_ImportanceText
- Description: This is the user-friendly form of System.Importance. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A3B29791-7713-4E1D-BB40-17DB85F01831}, 100
-
-
-
-
- Name: System.InfoTipText -- PKEY_InfoTipText
- Description: The text (with formatted property values) to show in the infotip.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 17
-
-
-
-
- Name: System.InternalName -- PKEY_InternalName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 5 (PIDVSI_InternalName)
-
-
-
-
- Name: System.IsAttachment -- PKEY_IsAttachment
- Description: Identifies if this item is an attachment.
-
- Type: Boolean -- VT_BOOL
- FormatID: {F23F425C-71A1-4FA8-922F-678EA4A60408}, 100
-
-
-
-
- Name: System.IsDefaultNonOwnerSaveLocation -- PKEY_IsDefaultNonOwnerSaveLocation
- Description: Identifies the default save location for a library for non-owners of the library
-
- Type: Boolean -- VT_BOOL
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 5
-
-
-
-
- Name: System.IsDefaultSaveLocation -- PKEY_IsDefaultSaveLocation
- Description: Identifies the default save location for a library for the owner of the library
-
- Type: Boolean -- VT_BOOL
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 3
-
-
-
-
- Name: System.IsDeleted -- PKEY_IsDeleted
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {5CDA5FC8-33EE-4FF3-9094-AE7BD8868C4D}, 100
-
-
-
-
- Name: System.IsEncrypted -- PKEY_IsEncrypted
- Description: Is the item encrypted?
-
- Type: Boolean -- VT_BOOL
- FormatID: {90E5E14E-648B-4826-B2AA-ACAF790E3513}, 10
-
-
-
-
- Name: System.IsFlagged -- PKEY_IsFlagged
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {5DA84765-E3FF-4278-86B0-A27967FBDD03}, 100
-
-
-
-
- Name: System.IsFlaggedComplete -- PKEY_IsFlaggedComplete
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {A6F360D2-55F9-48DE-B909-620E090A647C}, 100
-
-
-
-
- Name: System.IsIncomplete -- PKEY_IsIncomplete
- Description: Identifies if the message was not completely received for some error condition.
-
- Type: Boolean -- VT_BOOL
- FormatID: {346C8BD1-2E6A-4C45-89A4-61B78E8E700F}, 100
-
-
-
-
- Name: System.IsLocationSupported -- PKEY_IsLocationSupported
- Description: A bool value to know if a location is supported (locally indexable, or remotely indexed).
-
- Type: Boolean -- VT_BOOL
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 8
-
-
-
-
- Name: System.IsPinnedToNameSpaceTree -- PKEY_IsPinnedToNameSpaceTree
- Description: A bool value to know if a shell folder is pinned to the navigation pane
-
- Type: Boolean -- VT_BOOL
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 2
-
-
-
-
- Name: System.IsRead -- PKEY_IsRead
- Description: Has the item been read?
-
- Type: Boolean -- VT_BOOL
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 10
-
-
-
-
- Name: System.IsSearchOnlyItem -- PKEY_IsSearchOnlyItem
- Description: Identifies if a location or a library is search only
-
- Type: Boolean -- VT_BOOL
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 4
-
-
-
-
- Name: System.IsSendToTarget -- PKEY_IsSendToTarget
- Description: Provided by certain shell folders. Return TRUE if the folder is a valid Send To target.
-
- Type: Boolean -- VT_BOOL
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 33
-
-
-
-
- Name: System.IsShared -- PKEY_IsShared
- Description: Is this item shared? This only checks for ACLs that are not inherited.
-
- Type: Boolean -- VT_BOOL
- FormatID: {EF884C5B-2BFE-41BB-AAE5-76EEDF4F9902}, 100
-
-
-
-
- Name: System.ItemAuthors -- PKEY_ItemAuthors
- Description: This is the generic list of authors associated with an item.
-
- For example, the artist name for a track is the item author.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D0A04F0A-462A-48A4-BB2F-3706E88DBD7D}, 100
-
-
-
-
- Name: System.ItemClassType -- PKEY_ItemClassType
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {048658AD-2DB8-41A4-BBB6-AC1EF1207EB1}, 100
-
-
-
-
- Name: System.ItemDate -- PKEY_ItemDate
- Description: This is the main date for an item. The date of interest.
-
- For example, for photos this maps to System.Photo.DateTaken.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {F7DB74B4-4287-4103-AFBA-F1B13DCD75CF}, 100
-
-
-
-
- Name: System.ItemFolderNameDisplay -- PKEY_ItemFolderNameDisplay
- Description: This is the user-friendly display name of the parent folder of an item.
-
- If System.ItemFolderPathDisplay is VT_EMPTY, then this property should be too. Otherwise, it
- should be derived appropriately by the data source from System.ItemFolderPathDisplay.
-
- If the folder is a file folder, the value will be localized if a localized name is available.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "bar"
- "\\server\share\mydir\goodnews.doc" "mydir"
- "\\server\share\numbers.xls" "share"
- "c:\foo\MyFolder" "foo"
- "/Mailbox Account/Inbox/'Re: Hello!'" "Inbox"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 2 (PID_STG_DIRECTORY)
-
-
-
-
- Name: System.ItemFolderPathDisplay -- PKEY_ItemFolderPathDisplay
- Description: This is the user-friendly display path of the parent folder of an item.
-
- If System.ItemPathDisplay is VT_EMPTY, then this property should be too. Otherwise, it should
- be derived appropriately by the data source from System.ItemPathDisplay.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "c:\foo\bar"
- "\\server\share\mydir\goodnews.doc" "\\server\share\mydir"
- "\\server\share\numbers.xls" "\\server\share"
- "c:\foo\MyFolder" "c:\foo"
- "/Mailbox Account/Inbox/'Re: Hello!'" "/Mailbox Account/Inbox"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 6
-
-
-
-
- Name: System.ItemFolderPathDisplayNarrow -- PKEY_ItemFolderPathDisplayNarrow
- Description: This is the user-friendly display path of the parent folder of an item. The format of the string
- should be tailored such that the folder name comes first, to optimize for a narrow viewing column.
-
- If the folder is a file folder, the value includes localized names if they are present.
-
- If System.ItemFolderPathDisplay is VT_EMPTY, then this property should be too. Otherwise, it should
- be derived appropriately by the data source from System.ItemFolderPathDisplay.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "bar (c:\foo)"
- "\\server\share\mydir\goodnews.doc" "mydir (\\server\share)"
- "\\server\share\numbers.xls" "share (\\server)"
- "c:\foo\MyFolder" "foo (c:\)"
- "/Mailbox Account/Inbox/'Re: Hello!'" "Inbox (/Mailbox Account)"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DABD30ED-0043-4789-A7F8-D013A4736622}, 100
-
-
-
-
- Name: System.ItemName -- PKEY_ItemName
- Description: This is the base-name of the System.ItemNameDisplay.
-
- If the item is a file this property
- includes the extension in all cases, and will be localized if a localized name is available.
-
- If the item is a message, then the value of this property does not include the forwarding or
- reply prefixes (see System.ItemNamePrefix).
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6B8DA074-3B5C-43BC-886F-0A2CDCE00B6F}, 100
-
-
-
-
- Name: System.ItemNameDisplay -- PKEY_ItemNameDisplay
- Description: This is the display name in "most complete" form. This is the best effort unique representation
- of the name of an item that makes sense for end users to read. It is the concatentation of
- System.ItemNamePrefix and System.ItemName.
-
- If the item is a file this property
- includes the extension in all cases, and will be localized if a localized name is available.
-
- There are acceptable cases when System.FileName is not VT_EMPTY, yet the value of this property
- is completely different. Email messages are a key example. If the item is an email message,
- the item name is likely the subject. In that case, the value must be the concatenation of the
- System.ItemNamePrefix and System.ItemName. Since the value of System.ItemNamePrefix excludes
- any trailing whitespace, the concatenation must include a whitespace when generating System.ItemNameDisplay.
-
- Note that this property is not guaranteed to be unique, but the idea is to promote the most likely
- candidate that can be unique and also makes sense for end users. For example, for documents, you
- might think about using System.Title as the System.ItemNameDisplay, but in practice the title of
- the documents may not be useful or unique enough to be of value as the sole System.ItemNameDisplay.
- Instead, providing the value of System.FileName as the value of System.ItemNameDisplay is a better
- candidate. In Windows Mail, the emails are stored in the file system as .eml files and the
- System.FileName for those files are not human-friendly as they contain GUIDs. In this example,
- promoting System.Subject as System.ItemNameDisplay makes more sense.
-
- Compatibility notes:
-
- Shell folder implementations on Vista: use PKEY_ItemNameDisplay for the name column when
- you want Explorer to call ISF::GetDisplayNameOf(SHGDN_NORMAL) to get the value of the name. Use
- another PKEY (like PKEY_ItemName) when you want Explorer to call either the folder's property store or
- ISF2::GetDetailsEx in order to get the value of the name.
-
- Shell folder implementations on XP: the first column needs to be the name column, and Explorer
- will call ISF::GetDisplayNameOf to get the value of the name. The PKEY/SCID does not matter.
-
- Example values:
-
- File: "hello.txt"
- Message: "Re: Let's talk about Tom's argyle socks!"
- Device folder: "song.wma"
- Folder: "Documents"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 10 (PID_STG_NAME)
-
-
-
-
- Name: System.ItemNamePrefix -- PKEY_ItemNamePrefix
- Description: This is the prefix of an item, used for email messages.
- where the subject begins with "Re:" which is the prefix.
-
- If the item is a file, then the value of this property is VT_EMPTY.
-
- If the item is a message, then the value of this property is the forwarding or reply
- prefixes (including delimiting colon, but no whitespace), or VT_EMPTY if there is no prefix.
-
- Example values:
-
- System.ItemNamePrefix System.ItemName System.ItemNameDisplay
- --------------------- ------------------- ----------------------
- VT_EMPTY "Great day" "Great day"
- "Re:" "Great day" "Re: Great day"
- "Fwd: " "Monthly budget" "Fwd: Monthly budget"
- VT_EMPTY "accounts.xls" "accounts.xls"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D7313FF1-A77A-401C-8C99-3DBDD68ADD36}, 100
-
-
-
-
- Name: System.ItemParticipants -- PKEY_ItemParticipants
- Description: This is the generic list of people associated with an item and who contributed
- to the item.
-
- For example, this is the combination of people in the To list, Cc list and
- sender of an email message.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D4D0AA16-9948-41A4-AA85-D97FF9646993}, 100
-
-
-
-
- Name: System.ItemPathDisplay -- PKEY_ItemPathDisplay
- Description: This is the user-friendly display path to the item.
-
- If the item is a file or folder this property
- includes the extension in all cases, and will be localized if a localized name is available.
-
- For other items,this is the user-friendly equivalent, assuming the item exists in hierarchical storage.
-
- Unlike System.ItemUrl, this property value does not include the URL scheme.
-
- To parse an item path, use System.ItemUrl or System.ParsingPath. To reference shell
- namespace items using shell APIs, use System.ParsingPath.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "c:\foo\bar\hello.txt"
- "\\server\share\mydir\goodnews.doc" "\\server\share\mydir\goodnews.doc"
- "\\server\share\numbers.xls" "\\server\share\numbers.xls"
- "c:\foo\MyFolder" "c:\foo\MyFolder"
- "/Mailbox Account/Inbox/'Re: Hello!'" "/Mailbox Account/Inbox/'Re: Hello!'"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 7
-
-
-
-
- Name: System.ItemPathDisplayNarrow -- PKEY_ItemPathDisplayNarrow
- Description: This is the user-friendly display path to the item. The format of the string should be
- tailored such that the name comes first, to optimize for a narrow viewing column.
-
- If the item is a file, the value excludes the file extension, and includes localized names if they are present.
- If the item is a message, the value includes the System.ItemNamePrefix.
-
- To parse an item path, use System.ItemUrl or System.ParsingPath.
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "hello (c:\foo\bar)"
- "\\server\share\mydir\goodnews.doc" "goodnews (\\server\share\mydir)"
- "\\server\share\folder" "folder (\\server\share)"
- "c:\foo\MyFolder" "MyFolder (c:\foo)"
- "/Mailbox Account/Inbox/'Re: Hello!'" "Re: Hello! (/Mailbox Account/Inbox)"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 8
-
-
-
-
- Name: System.ItemType -- PKEY_ItemType
- Description: This is the canonical type of the item and is intended to be programmatically
- parsed.
-
- If there is no canonical type, the value is VT_EMPTY.
-
- If the item is a file (ie, System.FileName is not VT_EMPTY), the value is the same as
- System.FileExtension.
-
- Use System.ItemTypeText when you want to display the type to end users in a view. (If
- the item is a file, passing the System.ItemType value to PSFormatForDisplay will
- result in the same value as System.ItemTypeText.)
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" ".txt"
- "\\server\share\mydir\goodnews.doc" ".doc"
- "\\server\share\folder" "Directory"
- "c:\foo\MyFolder" "Directory"
- [desktop] "Folder"
- "/Mailbox Account/Inbox/'Re: Hello!'" "MAPI/IPM.Message"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 11
-
-
-
-
- Name: System.ItemTypeText -- PKEY_ItemTypeText
- Description: This is the user friendly type name of the item. This is not intended to be
- programmatically parsed.
-
- If System.ItemType is VT_EMPTY, the value of this property is also VT_EMPTY.
-
- If the item is a file, the value of this property is the same as if you passed the
- file's System.ItemType value to PSFormatForDisplay.
-
- This property should not be confused with System.Kind, where System.Kind is a high-level
- user friendly kind name. For example, for a document, System.Kind = "Document" and
- System.Item.Type = ".doc" and System.Item.TypeText = "Microsoft Word Document"
-
- Example values:
-
- If the path is... The property value is...
- ----------------- ------------------------
- "c:\foo\bar\hello.txt" "Text File"
- "\\server\share\mydir\goodnews.doc" "Microsoft Word Document"
- "\\server\share\folder" "File Folder"
- "c:\foo\MyFolder" "File Folder"
- "/Mailbox Account/Inbox/'Re: Hello!'" "Outlook E-Mail Message"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 4 (PID_STG_STORAGETYPE)
-
-
-
-
- Name: System.ItemUrl -- PKEY_ItemUrl
- Description: This always represents a well formed URL that points to the item.
-
- To reference shell namespace items using shell APIs, use System.ParsingPath.
-
- Example values:
-
- Files: "file:///c:/foo/bar/hello.txt"
- "csc://{GUID}/..."
- Messages: "mapi://..."
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Query) {49691C90-7E17-101A-A91C-08002B2ECDA9}, 9 (DISPID_QUERY_VIRTUALPATH)
-
-
-
-
- Name: System.Keywords -- PKEY_Keywords
- Description: The keywords for the item. Also referred to as tags.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 5 (PIDSI_KEYWORDS)
-
-
-
-
- Name: System.Kind -- PKEY_Kind
- Description: System.Kind is used to map extensions to various .Search folders.
- Extensions are mapped to Kinds at HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\KindMap
- The list of kinds is not extensible.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {1E3EE840-BC2B-476C-8237-2ACD1A839B22}, 3
-
-
-
-
- Name: System.KindText -- PKEY_KindText
- Description: This is the user-friendly form of System.Kind. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F04BEF95-C585-4197-A2B7-DF46FDC9EE6D}, 100
-
-
-
-
- Name: System.Language -- PKEY_Language
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 28
-
-
-
-
- Name: System.MileageInformation -- PKEY_MileageInformation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FDF84370-031A-4ADD-9E91-0D775F1C6605}, 100
-
-
-
-
- Name: System.MIMEType -- PKEY_MIMEType
- Description: The MIME type. Eg, for EML files: 'message/rfc822'.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0B63E350-9CCC-11D0-BCDB-00805FCCCE04}, 5
-
-
-
-
- Name: System.NamespaceCLSID -- PKEY_NamespaceCLSID
- Description: The CLSID of the name space extension for an item, the object that implements IShellFolder for this item
-
- Type: Guid -- VT_CLSID
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 6
-
-
-
-
- Name: System.Null -- PKEY_Null
- Description:
- Type: Null -- VT_NULL
- FormatID: {00000000-0000-0000-0000-000000000000}, 0
-
-
-
-
- Name: System.OfflineAvailability -- PKEY_OfflineAvailability
- Description:
- Type: UInt32 -- VT_UI4
- FormatID: {A94688B6-7D9F-4570-A648-E3DFC0AB2B3F}, 100
-
-
-
-
- Name: System.OfflineStatus -- PKEY_OfflineStatus
- Description:
- Type: UInt32 -- VT_UI4
- FormatID: {6D24888F-4718-4BDA-AFED-EA0FB4386CD8}, 100
-
-
-
-
- Name: System.OriginalFileName -- PKEY_OriginalFileName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 6
-
-
-
-
- Name: System.OwnerSID -- PKEY_OwnerSID
- Description: SID of the user that owns the library.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {5D76B67F-9B3D-44BB-B6AE-25DA4F638A67}, 6
-
-
-
-
- Name: System.ParentalRating -- PKEY_ParentalRating
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 21 (PIDMSI_PARENTAL_RATING)
-
-
-
-
- Name: System.ParentalRatingReason -- PKEY_ParentalRatingReason
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {10984E0A-F9F2-4321-B7EF-BAF195AF4319}, 100
-
-
-
-
- Name: System.ParentalRatingsOrganization -- PKEY_ParentalRatingsOrganization
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A7FE0840-1344-46F0-8D37-52ED712A4BF9}, 100
-
-
-
-
- Name: System.ParsingBindContext -- PKEY_ParsingBindContext
- Description: used to get the IBindCtx for an item for parsing
-
- Type: Any -- VT_NULL Legacy code may treat this as VT_UNKNOWN.
- FormatID: {DFB9A04D-362F-4CA3-B30B-0254B17B5B84}, 100
-
-
-
-
- Name: System.ParsingName -- PKEY_ParsingName
- Description: The shell namespace name of an item relative to a parent folder. This name may be passed to
- IShellFolder::ParseDisplayName() of the parent shell folder.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 24
-
-
-
-
- Name: System.ParsingPath -- PKEY_ParsingPath
- Description: This is the shell namespace path to the item. This path may be passed to
- SHParseDisplayName to parse the path to the correct shell folder.
-
- If the item is a file, the value is identical to System.ItemPathDisplay.
-
- If the item cannot be accessed through the shell namespace, this value is VT_EMPTY.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 30
-
-
-
-
- Name: System.PerceivedType -- PKEY_PerceivedType
- Description: The perceived type of a shell item, based upon its canonical type.
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 9
-
-
-
-
- Name: System.PercentFull -- PKEY_PercentFull
- Description: The amount filled as a percentage, multiplied by 100 (ie, the valid range is 0 through 100).
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 5 (Filesystem Volume Properties)
-
-
-
-
- Name: System.Priority -- PKEY_Priority
- Description:
-
- Type: UInt16 -- VT_UI2
- FormatID: {9C1FCF74-2D97-41BA-B4AE-CB2E3661A6E4}, 5
-
-
-
-
- Name: System.PriorityText -- PKEY_PriorityText
- Description: This is the user-friendly form of System.Priority. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D98BE98B-B86B-4095-BF52-9D23B2E0A752}, 100
-
-
-
-
- Name: System.Project -- PKEY_Project
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {39A7F922-477C-48DE-8BC8-B28441E342E3}, 100
-
-
-
-
- Name: System.ProviderItemID -- PKEY_ProviderItemID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F21D9941-81F0-471A-ADEE-4E74B49217ED}, 100
-
-
-
-
- Name: System.Rating -- PKEY_Rating
- Description: Indicates the users preference rating of an item on a scale of 1-99 (1-12 = One Star,
- 13-37 = Two Stars, 38-62 = Three Stars, 63-87 = Four Stars, 88-99 = Five Stars).
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 9 (PIDMSI_RATING)
-
-
-
-
- Name: System.RatingText -- PKEY_RatingText
- Description: This is the user-friendly form of System.Rating. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {90197CA7-FD8F-4E8C-9DA3-B57E1E609295}, 100
-
-
-
-
- Name: System.Sensitivity -- PKEY_Sensitivity
- Description:
-
- Type: UInt16 -- VT_UI2
- FormatID: {F8D3F6AC-4874-42CB-BE59-AB454B30716A}, 100
-
-
-
-
- Name: System.SensitivityText -- PKEY_SensitivityText
- Description: This is the user-friendly form of System.Sensitivity. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D0C7F054-3F72-4725-8527-129A577CB269}, 100
-
-
-
-
- Name: System.SFGAOFlags -- PKEY_SFGAOFlags
- Description: IShellFolder::GetAttributesOf flags, with SFGAO_PKEYSFGAOMASK attributes masked out.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 25
-
-
-
-
- Name: System.SharedWith -- PKEY_SharedWith
- Description: Who is the item shared with?
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {EF884C5B-2BFE-41BB-AAE5-76EEDF4F9902}, 200
-
-
-
-
- Name: System.ShareUserRating -- PKEY_ShareUserRating
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 12 (PIDMSI_SHARE_USER_RATING)
-
-
-
-
- Name: System.SharingStatus -- PKEY_SharingStatus
- Description: What is the item's sharing status (not shared, shared, everyone (homegroup or everyone), or private)?
-
- Type: UInt32 -- VT_UI4
- FormatID: {EF884C5B-2BFE-41BB-AAE5-76EEDF4F9902}, 300
-
-
-
-
- Name: System.SimpleRating -- PKEY_SimpleRating
- Description: Indicates the users preference rating of an item on a scale of 0-5 (0=unrated, 1=One Star, 2=Two Stars, 3=Three Stars,
- 4=Four Stars, 5=Five Stars)
-
- Type: UInt32 -- VT_UI4
- FormatID: {A09F084E-AD41-489F-8076-AA5BE3082BCA}, 100
-
-
-
-
- Name: System.Size -- PKEY_Size
- Description:
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 12 (PID_STG_SIZE)
-
-
-
-
- Name: System.SoftwareUsed -- PKEY_SoftwareUsed
- Description: PropertyTagSoftwareUsed
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 305
-
-
-
-
- Name: System.SourceItem -- PKEY_SourceItem
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {668CDFA5-7A1B-4323-AE4B-E527393A1D81}, 100
-
-
-
-
- Name: System.StartDate -- PKEY_StartDate
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {48FD6EC8-8A12-4CDF-A03E-4EC5A511EDDE}, 100
-
-
-
-
- Name: System.Status -- PKEY_Status
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_IntSite) {000214A1-0000-0000-C000-000000000046}, 9
-
-
-
-
- Name: System.Subject -- PKEY_Subject
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 3 (PIDSI_SUBJECT)
-
-
-
-
- Name: System.Thumbnail -- PKEY_Thumbnail
- Description: A data that represents the thumbnail in VT_CF format.
-
- Type: Clipboard -- VT_CF
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 17 (PIDSI_THUMBNAIL)
-
-
-
-
- Name: System.ThumbnailCacheId -- PKEY_ThumbnailCacheId
- Description: Unique value that can be used as a key to cache thumbnails. The value changes when the name, volume, or data modified
- of an item changes.
-
- Type: UInt64 -- VT_UI8
- FormatID: {446D16B1-8DAD-4870-A748-402EA43D788C}, 100
-
-
-
-
- Name: System.ThumbnailStream -- PKEY_ThumbnailStream
- Description: Data that represents the thumbnail in VT_STREAM format that GDI+/WindowsCodecs supports (jpg, png, etc).
-
- Type: Stream -- VT_STREAM
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 27
-
-
-
-
- Name: System.Title -- PKEY_Title
- Description: Title of item.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 2 (PIDSI_TITLE)
-
-
-
-
- Name: System.TotalFileSize -- PKEY_TotalFileSize
- Description:
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_ShellDetails) {28636AA6-953D-11D2-B5D6-00C04FD918D0}, 14
-
-
-
-
- Name: System.Trademarks -- PKEY_Trademarks
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 9 (PIDVSI_Trademarks)
-
-
-
-
- AppUserModel Properties
-
-
-
-
- Name: System.AppUserModel.ExcludeFromShowInNewInstall -- PKEY_AppUserModel_ExcludeFromShowInNewInstall
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 8
-
-
-
-
- Name: System.AppUserModel.ID -- PKEY_AppUserModel_ID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 5
-
-
-
-
- Name: System.AppUserModel.IsDestListSeparator -- PKEY_AppUserModel_IsDestListSeparator
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 6
-
-
-
-
- Name: System.AppUserModel.PreventPinning -- PKEY_AppUserModel_PreventPinning
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 9
-
-
-
-
- Name: System.AppUserModel.RelaunchCommand -- PKEY_AppUserModel_RelaunchCommand
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 2
-
-
-
-
- Name: System.AppUserModel.RelaunchDisplayNameResource -- PKEY_AppUserModel_RelaunchDisplayNameResource
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 4
-
-
-
-
- Name: System.AppUserModel.RelaunchIconResource -- PKEY_AppUserModel_RelaunchIconResource
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 3
-
-
-
-
- Audio Properties
-
-
-
-
- Name: System.Audio.ChannelCount -- PKEY_Audio_ChannelCount
- Description: Indicates the channel count for the audio file. Values: 1 (mono), 2 (stereo).
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 7 (PIDASI_CHANNEL_COUNT)
-
-
-
-
- Name: System.Audio.Compression -- PKEY_Audio_Compression
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 10 (PIDASI_COMPRESSION)
-
-
-
-
- Name: System.Audio.EncodingBitrate -- PKEY_Audio_EncodingBitrate
- Description: Indicates the average data rate in Hz for the audio file in "bits per second".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 4 (PIDASI_AVG_DATA_RATE)
-
-
-
-
- Name: System.Audio.Format -- PKEY_Audio_Format
- Description: Indicates the format of the audio file.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR) Legacy code may treat this as VT_BSTR.
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 2 (PIDASI_FORMAT)
-
-
-
-
- Name: System.Audio.IsVariableBitRate -- PKEY_Audio_IsVariableBitRate
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {E6822FEE-8C17-4D62-823C-8E9CFCBD1D5C}, 100
-
-
-
-
- Name: System.Audio.PeakValue -- PKEY_Audio_PeakValue
- Description:
- Type: UInt32 -- VT_UI4
- FormatID: {2579E5D0-1116-4084-BD9A-9B4F7CB4DF5E}, 100
-
-
-
-
- Name: System.Audio.SampleRate -- PKEY_Audio_SampleRate
- Description: Indicates the audio sample rate for the audio file in "samples per second".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 5 (PIDASI_SAMPLE_RATE)
-
-
-
-
- Name: System.Audio.SampleSize -- PKEY_Audio_SampleSize
- Description: Indicates the audio sample size for the audio file in "bits per sample".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 6 (PIDASI_SAMPLE_SIZE)
-
-
-
-
- Name: System.Audio.StreamName -- PKEY_Audio_StreamName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 9 (PIDASI_STREAM_NAME)
-
-
-
-
- Name: System.Audio.StreamNumber -- PKEY_Audio_StreamNumber
- Description:
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 8 (PIDASI_STREAM_NUMBER)
-
-
-
-
- Calendar Properties
-
-
-
-
- Name: System.Calendar.Duration -- PKEY_Calendar_Duration
- Description: The duration as specified in a string.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {293CA35A-09AA-4DD2-B180-1FE245728A52}, 100
-
-
-
-
- Name: System.Calendar.IsOnline -- PKEY_Calendar_IsOnline
- Description: Identifies if the event is an online event.
-
- Type: Boolean -- VT_BOOL
- FormatID: {BFEE9149-E3E2-49A7-A862-C05988145CEC}, 100
-
-
-
-
- Name: System.Calendar.IsRecurring -- PKEY_Calendar_IsRecurring
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {315B9C8D-80A9-4EF9-AE16-8E746DA51D70}, 100
-
-
-
-
- Name: System.Calendar.Location -- PKEY_Calendar_Location
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F6272D18-CECC-40B1-B26A-3911717AA7BD}, 100
-
-
-
-
- Name: System.Calendar.OptionalAttendeeAddresses -- PKEY_Calendar_OptionalAttendeeAddresses
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D55BAE5A-3892-417A-A649-C6AC5AAAEAB3}, 100
-
-
-
-
- Name: System.Calendar.OptionalAttendeeNames -- PKEY_Calendar_OptionalAttendeeNames
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {09429607-582D-437F-84C3-DE93A2B24C3C}, 100
-
-
-
-
- Name: System.Calendar.OrganizerAddress -- PKEY_Calendar_OrganizerAddress
- Description: Address of the organizer organizing the event.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {744C8242-4DF5-456C-AB9E-014EFB9021E3}, 100
-
-
-
-
- Name: System.Calendar.OrganizerName -- PKEY_Calendar_OrganizerName
- Description: Name of the organizer organizing the event.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {AAA660F9-9865-458E-B484-01BC7FE3973E}, 100
-
-
-
-
- Name: System.Calendar.ReminderTime -- PKEY_Calendar_ReminderTime
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {72FC5BA4-24F9-4011-9F3F-ADD27AFAD818}, 100
-
-
-
-
- Name: System.Calendar.RequiredAttendeeAddresses -- PKEY_Calendar_RequiredAttendeeAddresses
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {0BA7D6C3-568D-4159-AB91-781A91FB71E5}, 100
-
-
-
-
- Name: System.Calendar.RequiredAttendeeNames -- PKEY_Calendar_RequiredAttendeeNames
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {B33AF30B-F552-4584-936C-CB93E5CDA29F}, 100
-
-
-
-
- Name: System.Calendar.Resources -- PKEY_Calendar_Resources
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {00F58A38-C54B-4C40-8696-97235980EAE1}, 100
-
-
-
-
- Name: System.Calendar.ResponseStatus -- PKEY_Calendar_ResponseStatus
- Description: This property stores the status of the user responses to meetings in her calendar.
-
- Type: UInt16 -- VT_UI2
- FormatID: {188C1F91-3C40-4132-9EC5-D8B03B72A8A2}, 100
-
-
-
-
- Name: System.Calendar.ShowTimeAs -- PKEY_Calendar_ShowTimeAs
- Description:
-
- Type: UInt16 -- VT_UI2
- FormatID: {5BF396D4-5EB2-466F-BDE9-2FB3F2361D6E}, 100
-
-
-
-
- Name: System.Calendar.ShowTimeAsText -- PKEY_Calendar_ShowTimeAsText
- Description: This is the user-friendly form of System.Calendar.ShowTimeAs. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {53DA57CF-62C0-45C4-81DE-7610BCEFD7F5}, 100
-
-
-
-
- Communication Properties
-
-
-
-
- Name: System.Communication.AccountName -- PKEY_Communication_AccountName
- Description: Account Name
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 9
-
-
-
-
- Name: System.Communication.DateItemExpires -- PKEY_Communication_DateItemExpires
- Description: Date the item expires due to the retention policy.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {428040AC-A177-4C8A-9760-F6F761227F9A}, 100
-
-
-
-
- Name: System.Communication.FollowupIconIndex -- PKEY_Communication_FollowupIconIndex
- Description: This is the icon index used on messages marked for followup.
-
- Type: Int32 -- VT_I4
- FormatID: {83A6347E-6FE4-4F40-BA9C-C4865240D1F4}, 100
-
-
-
-
- Name: System.Communication.HeaderItem -- PKEY_Communication_HeaderItem
- Description: This property will be true if the item is a header item which means the item hasn't been fully downloaded.
-
- Type: Boolean -- VT_BOOL
- FormatID: {C9C34F84-2241-4401-B607-BD20ED75AE7F}, 100
-
-
-
-
- Name: System.Communication.PolicyTag -- PKEY_Communication_PolicyTag
- Description: This a string used to identify the retention policy applied to the item.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {EC0B4191-AB0B-4C66-90B6-C6637CDEBBAB}, 100
-
-
-
-
- Name: System.Communication.SecurityFlags -- PKEY_Communication_SecurityFlags
- Description: Security flags associated with the item to know if the item is encrypted, signed or DRM enabled.
-
- Type: Int32 -- VT_I4
- FormatID: {8619A4B6-9F4D-4429-8C0F-B996CA59E335}, 100
-
-
-
-
- Name: System.Communication.Suffix -- PKEY_Communication_Suffix
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {807B653A-9E91-43EF-8F97-11CE04EE20C5}, 100
-
-
-
-
- Name: System.Communication.TaskStatus -- PKEY_Communication_TaskStatus
- Description:
- Type: UInt16 -- VT_UI2
- FormatID: {BE1A72C6-9A1D-46B7-AFE7-AFAF8CEF4999}, 100
-
-
-
-
- Name: System.Communication.TaskStatusText -- PKEY_Communication_TaskStatusText
- Description: This is the user-friendly form of System.Communication.TaskStatus. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A6744477-C237-475B-A075-54F34498292A}, 100
-
-
-
-
- Computer Properties
-
-
-
-
- Name: System.Computer.DecoratedFreeSpace -- PKEY_Computer_DecoratedFreeSpace
- Description: Free space and total space: "%s free of %s"
-
- Type: Multivalue UInt64 -- VT_VECTOR | VT_UI8 (For variants: VT_ARRAY | VT_UI8)
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 7 (Filesystem Volume Properties)
-
-
-
-
- Contact Properties
-
-
-
-
- Name: System.Contact.Anniversary -- PKEY_Contact_Anniversary
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {9AD5BADB-CEA7-4470-A03D-B84E51B9949E}, 100
-
-
-
-
- Name: System.Contact.AssistantName -- PKEY_Contact_AssistantName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CD102C9C-5540-4A88-A6F6-64E4981C8CD1}, 100
-
-
-
-
- Name: System.Contact.AssistantTelephone -- PKEY_Contact_AssistantTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9A93244D-A7AD-4FF8-9B99-45EE4CC09AF6}, 100
-
-
-
-
- Name: System.Contact.Birthday -- PKEY_Contact_Birthday
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 47
-
-
-
-
- Name: System.Contact.BusinessAddress -- PKEY_Contact_BusinessAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {730FB6DD-CF7C-426B-A03F-BD166CC9EE24}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressCity -- PKEY_Contact_BusinessAddressCity
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {402B5934-EC5A-48C3-93E6-85E86A2D934E}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressCountry -- PKEY_Contact_BusinessAddressCountry
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {B0B87314-FCF6-4FEB-8DFF-A50DA6AF561C}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressPostalCode -- PKEY_Contact_BusinessAddressPostalCode
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E1D4A09E-D758-4CD1-B6EC-34A8B5A73F80}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressPostOfficeBox -- PKEY_Contact_BusinessAddressPostOfficeBox
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {BC4E71CE-17F9-48D5-BEE9-021DF0EA5409}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressState -- PKEY_Contact_BusinessAddressState
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {446F787F-10C4-41CB-A6C4-4D0343551597}, 100
-
-
-
-
- Name: System.Contact.BusinessAddressStreet -- PKEY_Contact_BusinessAddressStreet
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DDD1460F-C0BF-4553-8CE4-10433C908FB0}, 100
-
-
-
-
- Name: System.Contact.BusinessFaxNumber -- PKEY_Contact_BusinessFaxNumber
- Description: Business fax number of the contact.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {91EFF6F3-2E27-42CA-933E-7C999FBE310B}, 100
-
-
-
-
- Name: System.Contact.BusinessHomePage -- PKEY_Contact_BusinessHomePage
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {56310920-2491-4919-99CE-EADB06FAFDB2}, 100
-
-
-
-
- Name: System.Contact.BusinessTelephone -- PKEY_Contact_BusinessTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6A15E5A0-0A1E-4CD7-BB8C-D2F1B0C929BC}, 100
-
-
-
-
- Name: System.Contact.CallbackTelephone -- PKEY_Contact_CallbackTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {BF53D1C3-49E0-4F7F-8567-5A821D8AC542}, 100
-
-
-
-
- Name: System.Contact.CarTelephone -- PKEY_Contact_CarTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8FDC6DEA-B929-412B-BA90-397A257465FE}, 100
-
-
-
-
- Name: System.Contact.Children -- PKEY_Contact_Children
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D4729704-8EF1-43EF-9024-2BD381187FD5}, 100
-
-
-
-
- Name: System.Contact.CompanyMainTelephone -- PKEY_Contact_CompanyMainTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8589E481-6040-473D-B171-7FA89C2708ED}, 100
-
-
-
-
- Name: System.Contact.Department -- PKEY_Contact_Department
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FC9F7306-FF8F-4D49-9FB6-3FFE5C0951EC}, 100
-
-
-
-
- Name: System.Contact.EmailAddress -- PKEY_Contact_EmailAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F8FA7FA3-D12B-4785-8A4E-691A94F7A3E7}, 100
-
-
-
-
- Name: System.Contact.EmailAddress2 -- PKEY_Contact_EmailAddress2
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {38965063-EDC8-4268-8491-B7723172CF29}, 100
-
-
-
-
- Name: System.Contact.EmailAddress3 -- PKEY_Contact_EmailAddress3
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {644D37B4-E1B3-4BAD-B099-7E7C04966ACA}, 100
-
-
-
-
- Name: System.Contact.EmailAddresses -- PKEY_Contact_EmailAddresses
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {84D8F337-981D-44B3-9615-C7596DBA17E3}, 100
-
-
-
-
- Name: System.Contact.EmailName -- PKEY_Contact_EmailName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CC6F4F24-6083-4BD4-8754-674D0DE87AB8}, 100
-
-
-
-
- Name: System.Contact.FileAsName -- PKEY_Contact_FileAsName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F1A24AA7-9CA7-40F6-89EC-97DEF9FFE8DB}, 100
-
-
-
-
- Name: System.Contact.FirstName -- PKEY_Contact_FirstName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {14977844-6B49-4AAD-A714-A4513BF60460}, 100
-
-
-
-
- Name: System.Contact.FullName -- PKEY_Contact_FullName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {635E9051-50A5-4BA2-B9DB-4ED056C77296}, 100
-
-
-
-
- Name: System.Contact.Gender -- PKEY_Contact_Gender
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {3C8CEE58-D4F0-4CF9-B756-4E5D24447BCD}, 100
-
-
-
-
- Name: System.Contact.GenderValue -- PKEY_Contact_GenderValue
- Description:
- Type: UInt16 -- VT_UI2
- FormatID: {3C8CEE58-D4F0-4CF9-B756-4E5D24447BCD}, 101
-
-
-
-
- Name: System.Contact.Hobbies -- PKEY_Contact_Hobbies
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {5DC2253F-5E11-4ADF-9CFE-910DD01E3E70}, 100
-
-
-
-
- Name: System.Contact.HomeAddress -- PKEY_Contact_HomeAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {98F98354-617A-46B8-8560-5B1B64BF1F89}, 100
-
-
-
-
- Name: System.Contact.HomeAddressCity -- PKEY_Contact_HomeAddressCity
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 65
-
-
-
-
- Name: System.Contact.HomeAddressCountry -- PKEY_Contact_HomeAddressCountry
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {08A65AA1-F4C9-43DD-9DDF-A33D8E7EAD85}, 100
-
-
-
-
- Name: System.Contact.HomeAddressPostalCode -- PKEY_Contact_HomeAddressPostalCode
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8AFCC170-8A46-4B53-9EEE-90BAE7151E62}, 100
-
-
-
-
- Name: System.Contact.HomeAddressPostOfficeBox -- PKEY_Contact_HomeAddressPostOfficeBox
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7B9F6399-0A3F-4B12-89BD-4ADC51C918AF}, 100
-
-
-
-
- Name: System.Contact.HomeAddressState -- PKEY_Contact_HomeAddressState
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C89A23D0-7D6D-4EB8-87D4-776A82D493E5}, 100
-
-
-
-
- Name: System.Contact.HomeAddressStreet -- PKEY_Contact_HomeAddressStreet
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0ADEF160-DB3F-4308-9A21-06237B16FA2A}, 100
-
-
-
-
- Name: System.Contact.HomeFaxNumber -- PKEY_Contact_HomeFaxNumber
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {660E04D6-81AB-4977-A09F-82313113AB26}, 100
-
-
-
-
- Name: System.Contact.HomeTelephone -- PKEY_Contact_HomeTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 20
-
-
-
-
- Name: System.Contact.IMAddress -- PKEY_Contact_IMAddress
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D68DBD8A-3374-4B81-9972-3EC30682DB3D}, 100
-
-
-
-
- Name: System.Contact.Initials -- PKEY_Contact_Initials
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F3D8F40D-50CB-44A2-9718-40CB9119495D}, 100
-
-
-
-
- Name: System.Contact.JobTitle -- PKEY_Contact_JobTitle
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 6
-
-
-
-
- Name: System.Contact.Label -- PKEY_Contact_Label
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {97B0AD89-DF49-49CC-834E-660974FD755B}, 100
-
-
-
-
- Name: System.Contact.LastName -- PKEY_Contact_LastName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8F367200-C270-457C-B1D4-E07C5BCD90C7}, 100
-
-
-
-
- Name: System.Contact.MailingAddress -- PKEY_Contact_MailingAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C0AC206A-827E-4650-95AE-77E2BB74FCC9}, 100
-
-
-
-
- Name: System.Contact.MiddleName -- PKEY_Contact_MiddleName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 71
-
-
-
-
- Name: System.Contact.MobileTelephone -- PKEY_Contact_MobileTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 35
-
-
-
-
- Name: System.Contact.NickName -- PKEY_Contact_NickName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 74
-
-
-
-
- Name: System.Contact.OfficeLocation -- PKEY_Contact_OfficeLocation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 7
-
-
-
-
- Name: System.Contact.OtherAddress -- PKEY_Contact_OtherAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {508161FA-313B-43D5-83A1-C1ACCF68622C}, 100
-
-
-
-
- Name: System.Contact.OtherAddressCity -- PKEY_Contact_OtherAddressCity
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6E682923-7F7B-4F0C-A337-CFCA296687BF}, 100
-
-
-
-
- Name: System.Contact.OtherAddressCountry -- PKEY_Contact_OtherAddressCountry
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8F167568-0AAE-4322-8ED9-6055B7B0E398}, 100
-
-
-
-
- Name: System.Contact.OtherAddressPostalCode -- PKEY_Contact_OtherAddressPostalCode
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {95C656C1-2ABF-4148-9ED3-9EC602E3B7CD}, 100
-
-
-
-
- Name: System.Contact.OtherAddressPostOfficeBox -- PKEY_Contact_OtherAddressPostOfficeBox
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {8B26EA41-058F-43F6-AECC-4035681CE977}, 100
-
-
-
-
- Name: System.Contact.OtherAddressState -- PKEY_Contact_OtherAddressState
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {71B377D6-E570-425F-A170-809FAE73E54E}, 100
-
-
-
-
- Name: System.Contact.OtherAddressStreet -- PKEY_Contact_OtherAddressStreet
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FF962609-B7D6-4999-862D-95180D529AEA}, 100
-
-
-
-
- Name: System.Contact.PagerTelephone -- PKEY_Contact_PagerTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D6304E01-F8F5-4F45-8B15-D024A6296789}, 100
-
-
-
-
- Name: System.Contact.PersonalTitle -- PKEY_Contact_PersonalTitle
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 69
-
-
-
-
- Name: System.Contact.PrimaryAddressCity -- PKEY_Contact_PrimaryAddressCity
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C8EA94F0-A9E3-4969-A94B-9C62A95324E0}, 100
-
-
-
-
- Name: System.Contact.PrimaryAddressCountry -- PKEY_Contact_PrimaryAddressCountry
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E53D799D-0F3F-466E-B2FF-74634A3CB7A4}, 100
-
-
-
-
- Name: System.Contact.PrimaryAddressPostalCode -- PKEY_Contact_PrimaryAddressPostalCode
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {18BBD425-ECFD-46EF-B612-7B4A6034EDA0}, 100
-
-
-
-
- Name: System.Contact.PrimaryAddressPostOfficeBox -- PKEY_Contact_PrimaryAddressPostOfficeBox
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DE5EF3C7-46E1-484E-9999-62C5308394C1}, 100
-
-
-
-
- Name: System.Contact.PrimaryAddressState -- PKEY_Contact_PrimaryAddressState
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F1176DFE-7138-4640-8B4C-AE375DC70A6D}, 100
-
-
-
-
- Name: System.Contact.PrimaryAddressStreet -- PKEY_Contact_PrimaryAddressStreet
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {63C25B20-96BE-488F-8788-C09C407AD812}, 100
-
-
-
-
- Name: System.Contact.PrimaryEmailAddress -- PKEY_Contact_PrimaryEmailAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 48
-
-
-
-
- Name: System.Contact.PrimaryTelephone -- PKEY_Contact_PrimaryTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 25
-
-
-
-
- Name: System.Contact.Profession -- PKEY_Contact_Profession
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7268AF55-1CE4-4F6E-A41F-B6E4EF10E4A9}, 100
-
-
-
-
- Name: System.Contact.SpouseName -- PKEY_Contact_SpouseName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9D2408B6-3167-422B-82B0-F583B7A7CFE3}, 100
-
-
-
-
- Name: System.Contact.Suffix -- PKEY_Contact_Suffix
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {176DC63C-2688-4E89-8143-A347800F25E9}, 73
-
-
-
-
- Name: System.Contact.TelexNumber -- PKEY_Contact_TelexNumber
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C554493C-C1F7-40C1-A76C-EF8C0614003E}, 100
-
-
-
-
- Name: System.Contact.TTYTDDTelephone -- PKEY_Contact_TTYTDDTelephone
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {AAF16BAC-2B55-45E6-9F6D-415EB94910DF}, 100
-
-
-
-
- Name: System.Contact.WebPage -- PKEY_Contact_WebPage
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 18
-
-
-
-
- JA Properties
-
-
-
-
- Name: System.Contact.JA.CompanyNamePhonetic -- PKEY_Contact_JA_CompanyNamePhonetic
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {897B3694-FE9E-43E6-8066-260F590C0100}, 2
-
-
-
-
- Name: System.Contact.JA.FirstNamePhonetic -- PKEY_Contact_JA_FirstNamePhonetic
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {897B3694-FE9E-43E6-8066-260F590C0100}, 3
-
-
-
-
- Name: System.Contact.JA.LastNamePhonetic -- PKEY_Contact_JA_LastNamePhonetic
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {897B3694-FE9E-43E6-8066-260F590C0100}, 4
-
-
-
-
- JA Properties
-
-
-
-
- Name: System.Contact.JA.CompanyNamePhonetic -- PKEY_Contact_JA_CompanyNamePhonetic
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {897B3694-FE9E-43E6-8066-260F590C0100}, 2
-
-
-
-
- Name: System.Contact.JA.FirstNamePhonetic -- PKEY_Contact_JA_FirstNamePhonetic
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {897B3694-FE9E-43E6-8066-260F590C0100}, 3
-
-
-
-
- Name: System.Contact.JA.LastNamePhonetic -- PKEY_Contact_JA_LastNamePhonetic
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {897B3694-FE9E-43E6-8066-260F590C0100}, 4
-
-
-
-
- Device Properties
-
-
-
-
- Name: System.Device.PrinterURL -- PKEY_Device_PrinterURL
- Description: Printer information Printer URL.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0B48F35A-BE6E-4F17-B108-3C4073D1669A}, 15
-
-
-
-
- DeviceInterface Properties
-
-
-
-
- Name: System.DeviceInterface.PrinterDriverDirectory -- PKEY_DeviceInterface_PrinterDriverDirectory
- Description: Printer information Printer Driver Directory.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {847C66DE-B8D6-4AF9-ABC3-6F4F926BC039}, 14
-
-
-
-
- Name: System.DeviceInterface.PrinterDriverName -- PKEY_DeviceInterface_PrinterDriverName
- Description: Printer information Driver Name.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {AFC47170-14F5-498C-8F30-B0D19BE449C6}, 11
-
-
-
-
- Name: System.DeviceInterface.PrinterName -- PKEY_DeviceInterface_PrinterName
- Description: Printer information Printer Name.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0A7B84EF-0C27-463F-84EF-06C5070001BE}, 10
-
-
-
-
- Name: System.DeviceInterface.PrinterPortName -- PKEY_DeviceInterface_PrinterPortName
- Description: Printer information Port Name.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {EEC7B761-6F94-41B1-949F-C729720DD13C}, 12
-
-
-
-
- Devices Properties
-
-
-
-
- Name: System.Devices.BatteryLife -- PKEY_Devices_BatteryLife
- Description: Remaining battery life of the device as an integer between 0 and 100 percent.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 10
-
-
-
-
- Name: System.Devices.BatteryPlusCharging -- PKEY_Devices_BatteryPlusCharging
- Description: Remaining battery life of the device as an integer between 0 and 100 percent and the device's charging state.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 22
-
-
-
-
- Name: System.Devices.BatteryPlusChargingText -- PKEY_Devices_BatteryPlusChargingText
- Description: Remaining battery life of the device and the device's charging state as a string.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 23
-
-
-
-
- Name: System.Devices.Category -- PKEY_Devices_Category_Desc_Singular
- Description: Singular form of device category.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 91
-
-
-
-
- Name: System.Devices.CategoryGroup -- PKEY_Devices_CategoryGroup_Desc
- Description: Plural form of device category.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 94
-
-
-
-
- Name: System.Devices.CategoryPlural -- PKEY_Devices_Category_Desc_Plural
- Description: Plural form of device category.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 92
-
-
-
-
- Name: System.Devices.ChargingState -- PKEY_Devices_ChargingState
- Description: Boolean value representing if the device is currently charging.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 11
-
-
-
-
- Name: System.Devices.Connected -- PKEY_Devices_IsConnected
- Description: Device connection state. If VARIANT_TRUE, indicates the device is currently connected to the computer.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 55
-
-
-
-
- Name: System.Devices.ContainerId -- PKEY_Devices_ContainerId
- Description: Device container ID.
-
- Type: Guid -- VT_CLSID
- FormatID: {8C7ED206-3F8A-4827-B3AB-AE9E1FAEFC6C}, 2
-
-
-
-
- Name: System.Devices.DefaultTooltip -- PKEY_Devices_DefaultTooltip
- Description: Tooltip for default state
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {880F70A2-6082-47AC-8AAB-A739D1A300C3}, 153
-
-
-
-
- Name: System.Devices.DeviceDescription1 -- PKEY_Devices_DeviceDescription1
- Description: First line of descriptive text about the device.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 81
-
-
-
-
- Name: System.Devices.DeviceDescription2 -- PKEY_Devices_DeviceDescription2
- Description: Second line of descriptive text about the device.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 82
-
-
-
-
- Name: System.Devices.DiscoveryMethod -- PKEY_Devices_DiscoveryMethod
- Description: Device discovery method. This indicates on what transport or physical connection the device is discovered.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 52
-
-
-
-
- Name: System.Devices.FriendlyName -- PKEY_Devices_FriendlyName
- Description: Device friendly name.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {656A3BB3-ECC0-43FD-8477-4AE0404A96CD}, 12288
-
-
-
-
- Name: System.Devices.FunctionPaths -- PKEY_Devices_FunctionPaths
- Description: Available functions for this device.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D08DD4C0-3A9E-462E-8290-7B636B2576B9}, 3
-
-
-
-
- Name: System.Devices.InterfacePaths -- PKEY_Devices_InterfacePaths
- Description: Available interfaces for this device.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D08DD4C0-3A9E-462E-8290-7B636B2576B9}, 2
-
-
-
-
- Name: System.Devices.IsDefault -- PKEY_Devices_IsDefaultDevice
- Description: If VARIANT_TRUE, the device is not working properly.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 86
-
-
-
-
- Name: System.Devices.IsNetworkConnected -- PKEY_Devices_IsNetworkDevice
- Description: If VARIANT_TRUE, the device is not working properly.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 85
-
-
-
-
- Name: System.Devices.IsShared -- PKEY_Devices_IsSharedDevice
- Description: If VARIANT_TRUE, the device is not working properly.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 84
-
-
-
-
- Name: System.Devices.IsSoftwareInstalling -- PKEY_Devices_IsSoftwareInstalling
- Description: If VARIANT_TRUE, the device installer is currently installing software.
-
- Type: Boolean -- VT_BOOL
- FormatID: {83DA6326-97A6-4088-9453-A1923F573B29}, 9
-
-
-
-
- Name: System.Devices.LaunchDeviceStageFromExplorer -- PKEY_Devices_LaunchDeviceStageFromExplorer
- Description: Indicates whether to launch Device Stage or not
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 77
-
-
-
-
- Name: System.Devices.LocalMachine -- PKEY_Devices_IsLocalMachine
- Description: If VARIANT_TRUE, the device in question is actually the computer.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 70
-
-
-
-
- Name: System.Devices.Manufacturer -- PKEY_Devices_Manufacturer
- Description: Device manufacturer.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {656A3BB3-ECC0-43FD-8477-4AE0404A96CD}, 8192
-
-
-
-
- Name: System.Devices.MissedCalls -- PKEY_Devices_MissedCalls
- Description: Number of missed calls on the device.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 5
-
-
-
-
- Name: System.Devices.ModelName -- PKEY_Devices_ModelName
- Description: Model name of the device.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {656A3BB3-ECC0-43FD-8477-4AE0404A96CD}, 8194
-
-
-
-
- Name: System.Devices.ModelNumber -- PKEY_Devices_ModelNumber
- Description: Model number of the device.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {656A3BB3-ECC0-43FD-8477-4AE0404A96CD}, 8195
-
-
-
-
- Name: System.Devices.NetworkedTooltip -- PKEY_Devices_NetworkedTooltip
- Description: Tooltip for connection state
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {880F70A2-6082-47AC-8AAB-A739D1A300C3}, 152
-
-
-
-
- Name: System.Devices.NetworkName -- PKEY_Devices_NetworkName
- Description: Name of the device's network.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 7
-
-
-
-
- Name: System.Devices.NetworkType -- PKEY_Devices_NetworkType
- Description: String representing the type of the device's network.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 8
-
-
-
-
- Name: System.Devices.NewPictures -- PKEY_Devices_NewPictures
- Description: Number of new pictures on the device.
-
- Type: UInt16 -- VT_UI2
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 4
-
-
-
-
- Name: System.Devices.Notification -- PKEY_Devices_Notification
- Description: Device Notification Property.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {06704B0C-E830-4C81-9178-91E4E95A80A0}, 3
-
-
-
-
- Name: System.Devices.NotificationStore -- PKEY_Devices_NotificationStore
- Description: Device Notification Store.
-
- Type: Object -- VT_UNKNOWN
- FormatID: {06704B0C-E830-4C81-9178-91E4E95A80A0}, 2
-
-
-
-
- Name: System.Devices.NotWorkingProperly -- PKEY_Devices_IsNotWorkingProperly
- Description: If VARIANT_TRUE, the device is not working properly.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 83
-
-
-
-
- Name: System.Devices.Paired -- PKEY_Devices_IsPaired
- Description: Device paired state. If VARIANT_TRUE, indicates the device is not paired with the computer.
-
- Type: Boolean -- VT_BOOL
- FormatID: {78C34FC8-104A-4ACA-9EA4-524D52996E57}, 56
-
-
-
-
- Name: System.Devices.PrimaryCategory -- PKEY_Devices_PrimaryCategory
- Description: Primary category group for this device.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D08DD4C0-3A9E-462E-8290-7B636B2576B9}, 10
-
-
-
-
- Name: System.Devices.Roaming -- PKEY_Devices_Roaming
- Description: Status indicator used to indicate if the device is roaming.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 9
-
-
-
-
- Name: System.Devices.SafeRemovalRequired -- PKEY_Devices_SafeRemovalRequired
- Description: Indicates if a device requires safe removal or not
-
- Type: Boolean -- VT_BOOL
- FormatID: {AFD97640-86A3-4210-B67C-289C41AABE55}, 2
-
-
-
-
- Name: System.Devices.SharedTooltip -- PKEY_Devices_SharedTooltip
- Description: Tooltip for sharing state
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {880F70A2-6082-47AC-8AAB-A739D1A300C3}, 151
-
-
-
-
- Name: System.Devices.SignalStrength -- PKEY_Devices_SignalStrength
- Description: Device signal strength.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 2
-
-
-
-
- Name: System.Devices.Status1 -- PKEY_Devices_Status1
- Description: 1st line of device status.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D08DD4C0-3A9E-462E-8290-7B636B2576B9}, 257
-
-
-
-
- Name: System.Devices.Status2 -- PKEY_Devices_Status2
- Description: 2nd line of device status.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D08DD4C0-3A9E-462E-8290-7B636B2576B9}, 258
-
-
-
-
- Name: System.Devices.StorageCapacity -- PKEY_Devices_StorageCapacity
- Description: Total storage capacity of the device.
-
- Type: UInt64 -- VT_UI8
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 12
-
-
-
-
- Name: System.Devices.StorageFreeSpace -- PKEY_Devices_StorageFreeSpace
- Description: Total free space of the storage of the device.
-
- Type: UInt64 -- VT_UI8
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 13
-
-
-
-
- Name: System.Devices.StorageFreeSpacePercent -- PKEY_Devices_StorageFreeSpacePercent
- Description: Total free space of the storage of the device as a percentage.
-
- Type: UInt32 -- VT_UI4
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 14
-
-
-
-
- Name: System.Devices.TextMessages -- PKEY_Devices_TextMessages
- Description: Number of unread text messages on the device.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 3
-
-
-
-
- Name: System.Devices.Voicemail -- PKEY_Devices_Voicemail
- Description: Status indicator used to indicate if the device has voicemail.
-
- Type: Byte -- VT_UI1
- FormatID: {49CD1F76-5626-4B17-A4E8-18B4AA1A2213}, 6
-
-
-
-
- Notifications Properties
-
-
-
-
- Name: System.Devices.Notifications.LowBattery -- PKEY_Devices_Notification_LowBattery
- Description: Device Low Battery Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {C4C07F2B-8524-4E66-AE3A-A6235F103BEB}, 2
-
-
-
-
- Name: System.Devices.Notifications.MissedCall -- PKEY_Devices_Notification_MissedCall
- Description: Device Missed Call Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {6614EF48-4EFE-4424-9EDA-C79F404EDF3E}, 2
-
-
-
-
- Name: System.Devices.Notifications.NewMessage -- PKEY_Devices_Notification_NewMessage
- Description: Device New Message Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {2BE9260A-2012-4742-A555-F41B638B7DCB}, 2
-
-
-
-
- Name: System.Devices.Notifications.NewVoicemail -- PKEY_Devices_Notification_NewVoicemail
- Description: Device Voicemail Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {59569556-0A08-4212-95B9-FAE2AD6413DB}, 2
-
-
-
-
- Name: System.Devices.Notifications.StorageFull -- PKEY_Devices_Notification_StorageFull
- Description: Device Storage Full Notification.
-
- Type: UInt64 -- VT_UI8
- FormatID: {A0E00EE1-F0C7-4D41-B8E7-26A7BD8D38B0}, 2
-
-
-
-
- Name: System.Devices.Notifications.StorageFullLinkText -- PKEY_Devices_Notification_StorageFullLinkText
- Description: Link Text for the Device Storage Full Notification.
-
- Type: UInt64 -- VT_UI8
- FormatID: {A0E00EE1-F0C7-4D41-B8E7-26A7BD8D38B0}, 3
-
-
-
-
- Notifications Properties
-
-
-
-
- Name: System.Devices.Notifications.LowBattery -- PKEY_Devices_Notification_LowBattery
- Description: Device Low Battery Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {C4C07F2B-8524-4E66-AE3A-A6235F103BEB}, 2
-
-
-
-
- Name: System.Devices.Notifications.MissedCall -- PKEY_Devices_Notification_MissedCall
- Description: Device Missed Call Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {6614EF48-4EFE-4424-9EDA-C79F404EDF3E}, 2
-
-
-
-
- Name: System.Devices.Notifications.NewMessage -- PKEY_Devices_Notification_NewMessage
- Description: Device New Message Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {2BE9260A-2012-4742-A555-F41B638B7DCB}, 2
-
-
-
-
- Name: System.Devices.Notifications.NewVoicemail -- PKEY_Devices_Notification_NewVoicemail
- Description: Device Voicemail Notification.
-
- Type: Byte -- VT_UI1
- FormatID: {59569556-0A08-4212-95B9-FAE2AD6413DB}, 2
-
-
-
-
- Name: System.Devices.Notifications.StorageFull -- PKEY_Devices_Notification_StorageFull
- Description: Device Storage Full Notification.
-
- Type: UInt64 -- VT_UI8
- FormatID: {A0E00EE1-F0C7-4D41-B8E7-26A7BD8D38B0}, 2
-
-
-
-
- Name: System.Devices.Notifications.StorageFullLinkText -- PKEY_Devices_Notification_StorageFullLinkText
- Description: Link Text for the Device Storage Full Notification.
-
- Type: UInt64 -- VT_UI8
- FormatID: {A0E00EE1-F0C7-4D41-B8E7-26A7BD8D38B0}, 3
-
-
-
-
- Document Properties
-
-
-
-
- Name: System.Document.ByteCount -- PKEY_Document_ByteCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 4 (PIDDSI_BYTECOUNT)
-
-
-
-
- Name: System.Document.CharacterCount -- PKEY_Document_CharacterCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 16 (PIDSI_CHARCOUNT)
-
-
-
-
- Name: System.Document.ClientID -- PKEY_Document_ClientID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {276D7BB0-5B34-4FB0-AA4B-158ED12A1809}, 100
-
-
-
-
- Name: System.Document.Contributor -- PKEY_Document_Contributor
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {F334115E-DA1B-4509-9B3D-119504DC7ABB}, 100
-
-
-
-
- Name: System.Document.DateCreated -- PKEY_Document_DateCreated
- Description: This property is stored in the document, not obtained from the file system.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 12 (PIDSI_CREATE_DTM)
-
-
-
-
- Name: System.Document.DatePrinted -- PKEY_Document_DatePrinted
- Description: Legacy name: "DocLastPrinted".
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 11 (PIDSI_LASTPRINTED)
-
-
-
-
- Name: System.Document.DateSaved -- PKEY_Document_DateSaved
- Description: Legacy name: "DocLastSavedTm".
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 13 (PIDSI_LASTSAVE_DTM)
-
-
-
-
- Name: System.Document.Division -- PKEY_Document_Division
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {1E005EE6-BF27-428B-B01C-79676ACD2870}, 100
-
-
-
-
- Name: System.Document.DocumentID -- PKEY_Document_DocumentID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E08805C8-E395-40DF-80D2-54F0D6C43154}, 100
-
-
-
-
- Name: System.Document.HiddenSlideCount -- PKEY_Document_HiddenSlideCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 9 (PIDDSI_HIDDENCOUNT)
-
-
-
-
- Name: System.Document.LastAuthor -- PKEY_Document_LastAuthor
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 8 (PIDSI_LASTAUTHOR)
-
-
-
-
- Name: System.Document.LineCount -- PKEY_Document_LineCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 5 (PIDDSI_LINECOUNT)
-
-
-
-
- Name: System.Document.Manager -- PKEY_Document_Manager
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 14 (PIDDSI_MANAGER)
-
-
-
-
- Name: System.Document.MultimediaClipCount -- PKEY_Document_MultimediaClipCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 10 (PIDDSI_MMCLIPCOUNT)
-
-
-
-
- Name: System.Document.NoteCount -- PKEY_Document_NoteCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 8 (PIDDSI_NOTECOUNT)
-
-
-
-
- Name: System.Document.PageCount -- PKEY_Document_PageCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 14 (PIDSI_PAGECOUNT)
-
-
-
-
- Name: System.Document.ParagraphCount -- PKEY_Document_ParagraphCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 6 (PIDDSI_PARCOUNT)
-
-
-
-
- Name: System.Document.PresentationFormat -- PKEY_Document_PresentationFormat
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 3 (PIDDSI_PRESFORMAT)
-
-
-
-
- Name: System.Document.RevisionNumber -- PKEY_Document_RevisionNumber
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 9 (PIDSI_REVNUMBER)
-
-
-
-
- Name: System.Document.Security -- PKEY_Document_Security
- Description: Access control information, from SummaryInfo propset
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 19
-
-
-
-
- Name: System.Document.SlideCount -- PKEY_Document_SlideCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 7 (PIDDSI_SLIDECOUNT)
-
-
-
-
- Name: System.Document.Template -- PKEY_Document_Template
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 7 (PIDSI_TEMPLATE)
-
-
-
-
- Name: System.Document.TotalEditingTime -- PKEY_Document_TotalEditingTime
- Description: 100ns units, not milliseconds. VT_FILETIME for IPropertySetStorage handlers (legacy)
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 10 (PIDSI_EDITTIME)
-
-
-
-
- Name: System.Document.Version -- PKEY_Document_Version
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DocumentSummaryInformation) {D5CDD502-2E9C-101B-9397-08002B2CF9AE}, 29
-
-
-
-
- Name: System.Document.WordCount -- PKEY_Document_WordCount
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_SummaryInformation) {F29F85E0-4FF9-1068-AB91-08002B27B3D9}, 15 (PIDSI_WORDCOUNT)
-
-
-
-
- DRM Properties
-
-
-
-
- Name: System.DRM.DatePlayExpires -- PKEY_DRM_DatePlayExpires
- Description: Indicates when play expires for digital rights management.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_DRM) {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED}, 6 (PIDDRSI_PLAYEXPIRES)
-
-
-
-
- Name: System.DRM.DatePlayStarts -- PKEY_DRM_DatePlayStarts
- Description: Indicates when play starts for digital rights management.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_DRM) {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED}, 5 (PIDDRSI_PLAYSTARTS)
-
-
-
-
- Name: System.DRM.Description -- PKEY_DRM_Description
- Description: Displays the description for digital rights management.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_DRM) {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED}, 3 (PIDDRSI_DESCRIPTION)
-
-
-
-
- Name: System.DRM.IsProtected -- PKEY_DRM_IsProtected
- Description:
-
- Type: Boolean -- VT_BOOL
- FormatID: (FMTID_DRM) {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED}, 2 (PIDDRSI_PROTECTED)
-
-
-
-
- Name: System.DRM.PlayCount -- PKEY_DRM_PlayCount
- Description: Indicates the play count for digital rights management.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_DRM) {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED}, 4 (PIDDRSI_PLAYCOUNT)
-
-
-
-
- GPS Properties
-
-
-
-
- Name: System.GPS.Altitude -- PKEY_GPS_Altitude
- Description: Indicates the altitude based on the reference in PKEY_GPS_AltitudeRef. Calculated from PKEY_GPS_AltitudeNumerator and
- PKEY_GPS_AltitudeDenominator
-
- Type: Double -- VT_R8
- FormatID: {827EDB4F-5B73-44A7-891D-FDFFABEA35CA}, 100
-
-
-
-
- Name: System.GPS.AltitudeDenominator -- PKEY_GPS_AltitudeDenominator
- Description: Denominator of PKEY_GPS_Altitude
-
- Type: UInt32 -- VT_UI4
- FormatID: {78342DCB-E358-4145-AE9A-6BFE4E0F9F51}, 100
-
-
-
-
- Name: System.GPS.AltitudeNumerator -- PKEY_GPS_AltitudeNumerator
- Description: Numerator of PKEY_GPS_Altitude
-
- Type: UInt32 -- VT_UI4
- FormatID: {2DAD1EB7-816D-40D3-9EC3-C9773BE2AADE}, 100
-
-
-
-
- Name: System.GPS.AltitudeRef -- PKEY_GPS_AltitudeRef
- Description: Indicates the reference for the altitude property. (eg: above sea level, below sea level, absolute value)
-
- Type: Byte -- VT_UI1
- FormatID: {46AC629D-75EA-4515-867F-6DC4321C5844}, 100
-
-
-
-
- Name: System.GPS.AreaInformation -- PKEY_GPS_AreaInformation
- Description: Represents the name of the GPS area
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {972E333E-AC7E-49F1-8ADF-A70D07A9BCAB}, 100
-
-
-
-
- Name: System.GPS.Date -- PKEY_GPS_Date
- Description: Date and time of the GPS record
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {3602C812-0F3B-45F0-85AD-603468D69423}, 100
-
-
-
-
- Name: System.GPS.DestBearing -- PKEY_GPS_DestBearing
- Description: Indicates the bearing to the destination point. Calculated from PKEY_GPS_DestBearingNumerator and
- PKEY_GPS_DestBearingDenominator.
-
- Type: Double -- VT_R8
- FormatID: {C66D4B3C-E888-47CC-B99F-9DCA3EE34DEA}, 100
-
-
-
-
- Name: System.GPS.DestBearingDenominator -- PKEY_GPS_DestBearingDenominator
- Description: Denominator of PKEY_GPS_DestBearing
-
- Type: UInt32 -- VT_UI4
- FormatID: {7ABCF4F8-7C3F-4988-AC91-8D2C2E97ECA5}, 100
-
-
-
-
- Name: System.GPS.DestBearingNumerator -- PKEY_GPS_DestBearingNumerator
- Description: Numerator of PKEY_GPS_DestBearing
-
- Type: UInt32 -- VT_UI4
- FormatID: {BA3B1DA9-86EE-4B5D-A2A4-A271A429F0CF}, 100
-
-
-
-
- Name: System.GPS.DestBearingRef -- PKEY_GPS_DestBearingRef
- Description: Indicates the reference used for the giving the bearing to the destination point. (eg: true direction, magnetic direction)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9AB84393-2A0F-4B75-BB22-7279786977CB}, 100
-
-
-
-
- Name: System.GPS.DestDistance -- PKEY_GPS_DestDistance
- Description: Indicates the distance to the destination point. Calculated from PKEY_GPS_DestDistanceNumerator and
- PKEY_GPS_DestDistanceDenominator.
-
- Type: Double -- VT_R8
- FormatID: {A93EAE04-6804-4F24-AC81-09B266452118}, 100
-
-
-
-
- Name: System.GPS.DestDistanceDenominator -- PKEY_GPS_DestDistanceDenominator
- Description: Denominator of PKEY_GPS_DestDistance
-
- Type: UInt32 -- VT_UI4
- FormatID: {9BC2C99B-AC71-4127-9D1C-2596D0D7DCB7}, 100
-
-
-
-
- Name: System.GPS.DestDistanceNumerator -- PKEY_GPS_DestDistanceNumerator
- Description: Numerator of PKEY_GPS_DestDistance
-
- Type: UInt32 -- VT_UI4
- FormatID: {2BDA47DA-08C6-4FE1-80BC-A72FC517C5D0}, 100
-
-
-
-
- Name: System.GPS.DestDistanceRef -- PKEY_GPS_DestDistanceRef
- Description: Indicates the unit used to express the distance to the destination. (eg: kilometers, miles, knots)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {ED4DF2D3-8695-450B-856F-F5C1C53ACB66}, 100
-
-
-
-
- Name: System.GPS.DestLatitude -- PKEY_GPS_DestLatitude
- Description: Indicates the latitude of the destination point. This is an array of three values. Index 0 is the degrees, index 1
- is the minutes, index 2 is the seconds. Each is calculated from the values in PKEY_GPS_DestLatitudeNumerator and
- PKEY_GPS_DestLatitudeDenominator.
-
- Type: Multivalue Double -- VT_VECTOR | VT_R8 (For variants: VT_ARRAY | VT_R8)
- FormatID: {9D1D7CC5-5C39-451C-86B3-928E2D18CC47}, 100
-
-
-
-
- Name: System.GPS.DestLatitudeDenominator -- PKEY_GPS_DestLatitudeDenominator
- Description: Denominator of PKEY_GPS_DestLatitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {3A372292-7FCA-49A7-99D5-E47BB2D4E7AB}, 100
-
-
-
-
- Name: System.GPS.DestLatitudeNumerator -- PKEY_GPS_DestLatitudeNumerator
- Description: Numerator of PKEY_GPS_DestLatitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {ECF4B6F6-D5A6-433C-BB92-4076650FC890}, 100
-
-
-
-
- Name: System.GPS.DestLatitudeRef -- PKEY_GPS_DestLatitudeRef
- Description: Indicates whether the latitude destination point is north or south latitude
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CEA820B9-CE61-4885-A128-005D9087C192}, 100
-
-
-
-
- Name: System.GPS.DestLongitude -- PKEY_GPS_DestLongitude
- Description: Indicates the latitude of the destination point. This is an array of three values. Index 0 is the degrees, index 1
- is the minutes, index 2 is the seconds. Each is calculated from the values in PKEY_GPS_DestLongitudeNumerator and
- PKEY_GPS_DestLongitudeDenominator.
-
- Type: Multivalue Double -- VT_VECTOR | VT_R8 (For variants: VT_ARRAY | VT_R8)
- FormatID: {47A96261-CB4C-4807-8AD3-40B9D9DBC6BC}, 100
-
-
-
-
- Name: System.GPS.DestLongitudeDenominator -- PKEY_GPS_DestLongitudeDenominator
- Description: Denominator of PKEY_GPS_DestLongitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {425D69E5-48AD-4900-8D80-6EB6B8D0AC86}, 100
-
-
-
-
- Name: System.GPS.DestLongitudeNumerator -- PKEY_GPS_DestLongitudeNumerator
- Description: Numerator of PKEY_GPS_DestLongitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {A3250282-FB6D-48D5-9A89-DBCACE75CCCF}, 100
-
-
-
-
- Name: System.GPS.DestLongitudeRef -- PKEY_GPS_DestLongitudeRef
- Description: Indicates whether the longitude destination point is east or west longitude
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {182C1EA6-7C1C-4083-AB4B-AC6C9F4ED128}, 100
-
-
-
-
- Name: System.GPS.Differential -- PKEY_GPS_Differential
- Description: Indicates whether differential correction was applied to the GPS receiver
-
- Type: UInt16 -- VT_UI2
- FormatID: {AAF4EE25-BD3B-4DD7-BFC4-47F77BB00F6D}, 100
-
-
-
-
- Name: System.GPS.DOP -- PKEY_GPS_DOP
- Description: Indicates the GPS DOP (data degree of precision). Calculated from PKEY_GPS_DOPNumerator and PKEY_GPS_DOPDenominator
-
- Type: Double -- VT_R8
- FormatID: {0CF8FB02-1837-42F1-A697-A7017AA289B9}, 100
-
-
-
-
- Name: System.GPS.DOPDenominator -- PKEY_GPS_DOPDenominator
- Description: Denominator of PKEY_GPS_DOP
-
- Type: UInt32 -- VT_UI4
- FormatID: {A0BE94C5-50BA-487B-BD35-0654BE8881ED}, 100
-
-
-
-
- Name: System.GPS.DOPNumerator -- PKEY_GPS_DOPNumerator
- Description: Numerator of PKEY_GPS_DOP
-
- Type: UInt32 -- VT_UI4
- FormatID: {47166B16-364F-4AA0-9F31-E2AB3DF449C3}, 100
-
-
-
-
- Name: System.GPS.ImgDirection -- PKEY_GPS_ImgDirection
- Description: Indicates direction of the image when it was captured. Calculated from PKEY_GPS_ImgDirectionNumerator and
- PKEY_GPS_ImgDirectionDenominator.
-
- Type: Double -- VT_R8
- FormatID: {16473C91-D017-4ED9-BA4D-B6BAA55DBCF8}, 100
-
-
-
-
- Name: System.GPS.ImgDirectionDenominator -- PKEY_GPS_ImgDirectionDenominator
- Description: Denominator of PKEY_GPS_ImgDirection
-
- Type: UInt32 -- VT_UI4
- FormatID: {10B24595-41A2-4E20-93C2-5761C1395F32}, 100
-
-
-
-
- Name: System.GPS.ImgDirectionNumerator -- PKEY_GPS_ImgDirectionNumerator
- Description: Numerator of PKEY_GPS_ImgDirection
-
- Type: UInt32 -- VT_UI4
- FormatID: {DC5877C7-225F-45F7-BAC7-E81334B6130A}, 100
-
-
-
-
- Name: System.GPS.ImgDirectionRef -- PKEY_GPS_ImgDirectionRef
- Description: Indicates reference for giving the direction of the image when it was captured. (eg: true direction, magnetic direction)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A4AAA5B7-1AD0-445F-811A-0F8F6E67F6B5}, 100
-
-
-
-
- Name: System.GPS.Latitude -- PKEY_GPS_Latitude
- Description: Indicates the latitude. This is an array of three values. Index 0 is the degrees, index 1 is the minutes, index 2
- is the seconds. Each is calculated from the values in PKEY_GPS_LatitudeNumerator and PKEY_GPS_LatitudeDenominator.
-
- Type: Multivalue Double -- VT_VECTOR | VT_R8 (For variants: VT_ARRAY | VT_R8)
- FormatID: {8727CFFF-4868-4EC6-AD5B-81B98521D1AB}, 100
-
-
-
-
- Name: System.GPS.LatitudeDenominator -- PKEY_GPS_LatitudeDenominator
- Description: Denominator of PKEY_GPS_Latitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {16E634EE-2BFF-497B-BD8A-4341AD39EEB9}, 100
-
-
-
-
- Name: System.GPS.LatitudeNumerator -- PKEY_GPS_LatitudeNumerator
- Description: Numerator of PKEY_GPS_Latitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {7DDAAAD1-CCC8-41AE-B750-B2CB8031AEA2}, 100
-
-
-
-
- Name: System.GPS.LatitudeRef -- PKEY_GPS_LatitudeRef
- Description: Indicates whether latitude is north or south latitude
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {029C0252-5B86-46C7-ACA0-2769FFC8E3D4}, 100
-
-
-
-
- Name: System.GPS.Longitude -- PKEY_GPS_Longitude
- Description: Indicates the longitude. This is an array of three values. Index 0 is the degrees, index 1 is the minutes, index 2
- is the seconds. Each is calculated from the values in PKEY_GPS_LongitudeNumerator and PKEY_GPS_LongitudeDenominator.
-
- Type: Multivalue Double -- VT_VECTOR | VT_R8 (For variants: VT_ARRAY | VT_R8)
- FormatID: {C4C4DBB2-B593-466B-BBDA-D03D27D5E43A}, 100
-
-
-
-
- Name: System.GPS.LongitudeDenominator -- PKEY_GPS_LongitudeDenominator
- Description: Denominator of PKEY_GPS_Longitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {BE6E176C-4534-4D2C-ACE5-31DEDAC1606B}, 100
-
-
-
-
- Name: System.GPS.LongitudeNumerator -- PKEY_GPS_LongitudeNumerator
- Description: Numerator of PKEY_GPS_Longitude
-
- Type: Multivalue UInt32 -- VT_VECTOR | VT_UI4 (For variants: VT_ARRAY | VT_UI4)
- FormatID: {02B0F689-A914-4E45-821D-1DDA452ED2C4}, 100
-
-
-
-
- Name: System.GPS.LongitudeRef -- PKEY_GPS_LongitudeRef
- Description: Indicates whether longitude is east or west longitude
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {33DCF22B-28D5-464C-8035-1EE9EFD25278}, 100
-
-
-
-
- Name: System.GPS.MapDatum -- PKEY_GPS_MapDatum
- Description: Indicates the geodetic survey data used by the GPS receiver
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {2CA2DAE6-EDDC-407D-BEF1-773942ABFA95}, 100
-
-
-
-
- Name: System.GPS.MeasureMode -- PKEY_GPS_MeasureMode
- Description: Indicates the GPS measurement mode. (eg: 2-dimensional, 3-dimensional)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A015ED5D-AAEA-4D58-8A86-3C586920EA0B}, 100
-
-
-
-
- Name: System.GPS.ProcessingMethod -- PKEY_GPS_ProcessingMethod
- Description: Indicates the name of the method used for location finding
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {59D49E61-840F-4AA9-A939-E2099B7F6399}, 100
-
-
-
-
- Name: System.GPS.Satellites -- PKEY_GPS_Satellites
- Description: Indicates the GPS satellites used for measurements
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {467EE575-1F25-4557-AD4E-B8B58B0D9C15}, 100
-
-
-
-
- Name: System.GPS.Speed -- PKEY_GPS_Speed
- Description: Indicates the speed of the GPS receiver movement. Calculated from PKEY_GPS_SpeedNumerator and
- PKEY_GPS_SpeedDenominator.
-
- Type: Double -- VT_R8
- FormatID: {DA5D0862-6E76-4E1B-BABD-70021BD25494}, 100
-
-
-
-
- Name: System.GPS.SpeedDenominator -- PKEY_GPS_SpeedDenominator
- Description: Denominator of PKEY_GPS_Speed
-
- Type: UInt32 -- VT_UI4
- FormatID: {7D122D5A-AE5E-4335-8841-D71E7CE72F53}, 100
-
-
-
-
- Name: System.GPS.SpeedNumerator -- PKEY_GPS_SpeedNumerator
- Description: Numerator of PKEY_GPS_Speed
-
- Type: UInt32 -- VT_UI4
- FormatID: {ACC9CE3D-C213-4942-8B48-6D0820F21C6D}, 100
-
-
-
-
- Name: System.GPS.SpeedRef -- PKEY_GPS_SpeedRef
- Description: Indicates the unit used to express the speed of the GPS receiver movement. (eg: kilometers per hour,
- miles per hour, knots).
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {ECF7F4C9-544F-4D6D-9D98-8AD79ADAF453}, 100
-
-
-
-
- Name: System.GPS.Status -- PKEY_GPS_Status
- Description: Indicates the status of the GPS receiver when the image was recorded. (eg: measurement in progress,
- measurement interoperability).
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {125491F4-818F-46B2-91B5-D537753617B2}, 100
-
-
-
-
- Name: System.GPS.Track -- PKEY_GPS_Track
- Description: Indicates the direction of the GPS receiver movement. Calculated from PKEY_GPS_TrackNumerator and
- PKEY_GPS_TrackDenominator.
-
- Type: Double -- VT_R8
- FormatID: {76C09943-7C33-49E3-9E7E-CDBA872CFADA}, 100
-
-
-
-
- Name: System.GPS.TrackDenominator -- PKEY_GPS_TrackDenominator
- Description: Denominator of PKEY_GPS_Track
-
- Type: UInt32 -- VT_UI4
- FormatID: {C8D1920C-01F6-40C0-AC86-2F3A4AD00770}, 100
-
-
-
-
- Name: System.GPS.TrackNumerator -- PKEY_GPS_TrackNumerator
- Description: Numerator of PKEY_GPS_Track
-
- Type: UInt32 -- VT_UI4
- FormatID: {702926F4-44A6-43E1-AE71-45627116893B}, 100
-
-
-
-
- Name: System.GPS.TrackRef -- PKEY_GPS_TrackRef
- Description: Indicates reference for the direction of the GPS receiver movement. (eg: true direction, magnetic direction)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {35DBE6FE-44C3-4400-AAAE-D2C799C407E8}, 100
-
-
-
-
- Name: System.GPS.VersionID -- PKEY_GPS_VersionID
- Description: Indicates the version of the GPS information
-
- Type: Buffer -- VT_VECTOR | VT_UI1 (For variants: VT_ARRAY | VT_UI1)
- FormatID: {22704DA4-C6B2-4A99-8E56-F16DF8C92599}, 100
-
-
-
-
- Identity Properties
-
-
-
-
- Name: System.Identity.Blob -- PKEY_Identity_Blob
- Description: Blob used to import/export identities
-
- Type: Blob -- VT_BLOB
- FormatID: {8C3B93A4-BAED-1A83-9A32-102EE313F6EB}, 100
-
-
-
-
- Name: System.Identity.DisplayName -- PKEY_Identity_DisplayName
- Description: Display Name
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7D683FC9-D155-45A8-BB1F-89D19BCB792F}, 100
-
-
-
-
- Name: System.Identity.IsMeIdentity -- PKEY_Identity_IsMeIdentity
- Description: Is it Me Identity
-
- Type: Boolean -- VT_BOOL
- FormatID: {A4108708-09DF-4377-9DFC-6D99986D5A67}, 100
-
-
-
-
- Name: System.Identity.PrimaryEmailAddress -- PKEY_Identity_PrimaryEmailAddress
- Description: Primary Email Address
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FCC16823-BAED-4F24-9B32-A0982117F7FA}, 100
-
-
-
-
- Name: System.Identity.ProviderID -- PKEY_Identity_ProviderID
- Description: Provider ID
-
- Type: Guid -- VT_CLSID
- FormatID: {74A7DE49-FA11-4D3D-A006-DB7E08675916}, 100
-
-
-
-
- Name: System.Identity.UniqueID -- PKEY_Identity_UniqueID
- Description: Unique ID
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E55FC3B0-2B60-4220-918E-B21E8BF16016}, 100
-
-
-
-
- Name: System.Identity.UserName -- PKEY_Identity_UserName
- Description: Identity User Name
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C4322503-78CA-49C6-9ACC-A68E2AFD7B6B}, 100
-
-
-
-
- IdentityProvider Properties
-
-
-
-
- Name: System.IdentityProvider.Name -- PKEY_IdentityProvider_Name
- Description: Identity Provider Name
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {B96EFF7B-35CA-4A35-8607-29E3A54C46EA}, 100
-
-
-
-
- Name: System.IdentityProvider.Picture -- PKEY_IdentityProvider_Picture
- Description: Picture for the Identity Provider
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {2425166F-5642-4864-992F-98FD98F294C3}, 100
-
-
-
-
- Image Properties
-
-
-
-
- Name: System.Image.BitDepth -- PKEY_Image_BitDepth
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 7 (PIDISI_BITDEPTH)
-
-
-
-
- Name: System.Image.ColorSpace -- PKEY_Image_ColorSpace
- Description: PropertyTagExifColorSpace
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 40961
-
-
-
-
- Name: System.Image.CompressedBitsPerPixel -- PKEY_Image_CompressedBitsPerPixel
- Description: Calculated from PKEY_Image_CompressedBitsPerPixelNumerator and PKEY_Image_CompressedBitsPerPixelDenominator.
-
- Type: Double -- VT_R8
- FormatID: {364B6FA9-37AB-482A-BE2B-AE02F60D4318}, 100
-
-
-
-
- Name: System.Image.CompressedBitsPerPixelDenominator -- PKEY_Image_CompressedBitsPerPixelDenominator
- Description: Denominator of PKEY_Image_CompressedBitsPerPixel.
-
- Type: UInt32 -- VT_UI4
- FormatID: {1F8844E1-24AD-4508-9DFD-5326A415CE02}, 100
-
-
-
-
- Name: System.Image.CompressedBitsPerPixelNumerator -- PKEY_Image_CompressedBitsPerPixelNumerator
- Description: Numerator of PKEY_Image_CompressedBitsPerPixel.
-
- Type: UInt32 -- VT_UI4
- FormatID: {D21A7148-D32C-4624-8900-277210F79C0F}, 100
-
-
-
-
- Name: System.Image.Compression -- PKEY_Image_Compression
- Description: Indicates the image compression level. PropertyTagCompression.
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 259
-
-
-
-
- Name: System.Image.CompressionText -- PKEY_Image_CompressionText
- Description: This is the user-friendly form of System.Image.Compression. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {3F08E66F-2F44-4BB9-A682-AC35D2562322}, 100
-
-
-
-
- Name: System.Image.Dimensions -- PKEY_Image_Dimensions
- Description: Indicates the dimensions of the image.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 13 (PIDISI_DIMENSIONS)
-
-
-
-
- Name: System.Image.HorizontalResolution -- PKEY_Image_HorizontalResolution
- Description:
-
- Type: Double -- VT_R8
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 5 (PIDISI_RESOLUTIONX)
-
-
-
-
- Name: System.Image.HorizontalSize -- PKEY_Image_HorizontalSize
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 3 (PIDISI_CX)
-
-
-
-
- Name: System.Image.ImageID -- PKEY_Image_ImageID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {10DABE05-32AA-4C29-BF1A-63E2D220587F}, 100
-
-
-
-
- Name: System.Image.ResolutionUnit -- PKEY_Image_ResolutionUnit
- Description:
- Type: Int16 -- VT_I2
- FormatID: {19B51FA6-1F92-4A5C-AB48-7DF0ABD67444}, 100
-
-
-
-
- Name: System.Image.VerticalResolution -- PKEY_Image_VerticalResolution
- Description:
-
- Type: Double -- VT_R8
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 6 (PIDISI_RESOLUTIONY)
-
-
-
-
- Name: System.Image.VerticalSize -- PKEY_Image_VerticalSize
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 4 (PIDISI_CY)
-
-
-
-
- Journal Properties
-
-
-
-
- Name: System.Journal.Contacts -- PKEY_Journal_Contacts
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {DEA7C82C-1D89-4A66-9427-A4E3DEBABCB1}, 100
-
-
-
-
- Name: System.Journal.EntryType -- PKEY_Journal_EntryType
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {95BEB1FC-326D-4644-B396-CD3ED90E6DDF}, 100
-
-
-
-
- LayoutPattern Properties
-
-
-
-
- Name: System.LayoutPattern.ContentViewModeForBrowse -- PKEY_LayoutPattern_ContentViewModeForBrowse
- Description: Specifies the layout pattern that the content view mode should apply for this item in the context of browsing.
- Register the regvalue under the name of "ContentViewModeLayoutPatternForBrowse".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 500
-
-
-
-
- Name: System.LayoutPattern.ContentViewModeForSearch -- PKEY_LayoutPattern_ContentViewModeForSearch
- Description: Specifies the layout pattern that the content view mode should apply for this item in the context of searching.
- Register the regvalue under the name of "ContentViewModeLayoutPatternForSearch".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 501
-
-
-
-
- Link Properties
-
-
-
-
- Name: System.Link.Arguments -- PKEY_Link_Arguments
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {436F2667-14E2-4FEB-B30A-146C53B5B674}, 100
-
-
-
-
- Name: System.Link.Comment -- PKEY_Link_Comment
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_LINK) {B9B4B3FC-2B51-4A42-B5D8-324146AFCF25}, 5
-
-
-
-
- Name: System.Link.DateVisited -- PKEY_Link_DateVisited
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {5CBF2787-48CF-4208-B90E-EE5E5D420294}, 23 (PKEYs relating to URLs. Used by IE History.)
-
-
-
-
- Name: System.Link.Description -- PKEY_Link_Description
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {5CBF2787-48CF-4208-B90E-EE5E5D420294}, 21 (PKEYs relating to URLs. Used by IE History.)
-
-
-
-
- Name: System.Link.Status -- PKEY_Link_Status
- Description:
-
- Type: Int32 -- VT_I4
- FormatID: (PSGUID_LINK) {B9B4B3FC-2B51-4A42-B5D8-324146AFCF25}, 3 (PID_LINK_TARGET_TYPE)
-
-
-
-
- Name: System.Link.TargetExtension -- PKEY_Link_TargetExtension
- Description: The file extension of the link target. See System.File.Extension
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {7A7D76F4-B630-4BD7-95FF-37CC51A975C9}, 2
-
-
-
-
- Name: System.Link.TargetParsingPath -- PKEY_Link_TargetParsingPath
- Description: This is the shell namespace path to the target of the link item. This path may be passed to
- SHParseDisplayName to parse the path to the correct shell folder.
-
- If the target item is a file, the value is identical to System.ItemPathDisplay.
-
- If the target item cannot be accessed through the shell namespace, this value is VT_EMPTY.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_LINK) {B9B4B3FC-2B51-4A42-B5D8-324146AFCF25}, 2 (PID_LINK_TARGET)
-
-
-
-
- Name: System.Link.TargetSFGAOFlags -- PKEY_Link_TargetSFGAOFlags
- Description: IShellFolder::GetAttributesOf flags for the target of a link, with SFGAO_PKEYSFGAOMASK
- attributes masked out.
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_LINK) {B9B4B3FC-2B51-4A42-B5D8-324146AFCF25}, 8
-
-
-
-
- Name: System.Link.TargetSFGAOFlagsStrings -- PKEY_Link_TargetSFGAOFlagsStrings
- Description: Expresses the SFGAO flags of a link as string values and is used as a query optimization. See
- PKEY_Shell_SFGAOFlagsStrings for possible values of this.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D6942081-D53B-443D-AD47-5E059D9CD27A}, 3
-
-
-
-
- Name: System.Link.TargetUrl -- PKEY_Link_TargetUrl
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {5CBF2787-48CF-4208-B90E-EE5E5D420294}, 2 (PKEYs relating to URLs. Used by IE History.)
-
-
-
-
- Media Properties
-
-
-
-
- Name: System.Media.AuthorUrl -- PKEY_Media_AuthorUrl
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 32 (PIDMSI_AUTHOR_URL)
-
-
-
-
- Name: System.Media.AverageLevel -- PKEY_Media_AverageLevel
- Description:
- Type: UInt32 -- VT_UI4
- FormatID: {09EDD5B6-B301-43C5-9990-D00302EFFD46}, 100
-
-
-
-
- Name: System.Media.ClassPrimaryID -- PKEY_Media_ClassPrimaryID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 13 (PIDMSI_CLASS_PRIMARY_ID)
-
-
-
-
- Name: System.Media.ClassSecondaryID -- PKEY_Media_ClassSecondaryID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 14 (PIDMSI_CLASS_SECONDARY_ID)
-
-
-
-
- Name: System.Media.CollectionGroupID -- PKEY_Media_CollectionGroupID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 24 (PIDMSI_COLLECTION_GROUP_ID)
-
-
-
-
- Name: System.Media.CollectionID -- PKEY_Media_CollectionID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 25 (PIDMSI_COLLECTION_ID)
-
-
-
-
- Name: System.Media.ContentDistributor -- PKEY_Media_ContentDistributor
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 18 (PIDMSI_CONTENTDISTRIBUTOR)
-
-
-
-
- Name: System.Media.ContentID -- PKEY_Media_ContentID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 26 (PIDMSI_CONTENT_ID)
-
-
-
-
- Name: System.Media.CreatorApplication -- PKEY_Media_CreatorApplication
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 27 (PIDMSI_TOOL_NAME)
-
-
-
-
- Name: System.Media.CreatorApplicationVersion -- PKEY_Media_CreatorApplicationVersion
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 28 (PIDMSI_TOOL_VERSION)
-
-
-
-
- Name: System.Media.DateEncoded -- PKEY_Media_DateEncoded
- Description: DateTime is in UTC (in the doc, not file system).
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {2E4B640D-5019-46D8-8881-55414CC5CAA0}, 100
-
-
-
-
- Name: System.Media.DateReleased -- PKEY_Media_DateReleased
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DE41CC29-6971-4290-B472-F59F2E2F31E2}, 100
-
-
-
-
- Name: System.Media.Duration -- PKEY_Media_Duration
- Description: 100ns units, not milliseconds
-
- Type: UInt64 -- VT_UI8
- FormatID: (FMTID_AudioSummaryInformation) {64440490-4C8B-11D1-8B70-080036B11A03}, 3 (PIDASI_TIMELENGTH)
-
-
-
-
- Name: System.Media.DVDID -- PKEY_Media_DVDID
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 15 (PIDMSI_DVDID)
-
-
-
-
- Name: System.Media.EncodedBy -- PKEY_Media_EncodedBy
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 36 (PIDMSI_ENCODED_BY)
-
-
-
-
- Name: System.Media.EncodingSettings -- PKEY_Media_EncodingSettings
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 37 (PIDMSI_ENCODING_SETTINGS)
-
-
-
-
- Name: System.Media.FrameCount -- PKEY_Media_FrameCount
- Description: Indicates the frame count for the image.
-
- Type: UInt32 -- VT_UI4
- FormatID: (PSGUID_IMAGESUMMARYINFORMATION) {6444048F-4C8B-11D1-8B70-080036B11A03}, 12 (PIDISI_FRAMECOUNT)
-
-
-
-
- Name: System.Media.MCDI -- PKEY_Media_MCDI
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 16 (PIDMSI_MCDI)
-
-
-
-
- Name: System.Media.MetadataContentProvider -- PKEY_Media_MetadataContentProvider
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 17 (PIDMSI_PROVIDER)
-
-
-
-
- Name: System.Media.Producer -- PKEY_Media_Producer
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 22 (PIDMSI_PRODUCER)
-
-
-
-
- Name: System.Media.PromotionUrl -- PKEY_Media_PromotionUrl
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 33 (PIDMSI_PROMOTION_URL)
-
-
-
-
- Name: System.Media.ProtectionType -- PKEY_Media_ProtectionType
- Description: If media is protected, how is it protected?
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 38
-
-
-
-
- Name: System.Media.ProviderRating -- PKEY_Media_ProviderRating
- Description: Rating (0 - 99) supplied by metadata provider
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 39
-
-
-
-
- Name: System.Media.ProviderStyle -- PKEY_Media_ProviderStyle
- Description: Style of music or video, supplied by metadata provider
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 40
-
-
-
-
- Name: System.Media.Publisher -- PKEY_Media_Publisher
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 30 (PIDMSI_PUBLISHER)
-
-
-
-
- Name: System.Media.SubscriptionContentId -- PKEY_Media_SubscriptionContentId
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {9AEBAE7A-9644-487D-A92C-657585ED751A}, 100
-
-
-
-
- Name: System.Media.SubTitle -- PKEY_Media_SubTitle
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 38 (PIDSI_MUSIC_SUB_TITLE)
-
-
-
-
- Name: System.Media.UniqueFileIdentifier -- PKEY_Media_UniqueFileIdentifier
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 35 (PIDMSI_UNIQUE_FILE_IDENTIFIER)
-
-
-
-
- Name: System.Media.UserNoAutoInfo -- PKEY_Media_UserNoAutoInfo
- Description: If true, do NOT alter this file's metadata. Set by user.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 41
-
-
-
-
- Name: System.Media.UserWebUrl -- PKEY_Media_UserWebUrl
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 34 (PIDMSI_USER_WEB_URL)
-
-
-
-
- Name: System.Media.Writer -- PKEY_Media_Writer
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 23 (PIDMSI_WRITER)
-
-
-
-
- Name: System.Media.Year -- PKEY_Media_Year
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 5 (PIDSI_MUSIC_YEAR)
-
-
-
-
- Message Properties
-
-
-
-
- Name: System.Message.AttachmentContents -- PKEY_Message_AttachmentContents
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {3143BF7C-80A8-4854-8880-E2E40189BDD0}, 100
-
-
-
-
- Name: System.Message.AttachmentNames -- PKEY_Message_AttachmentNames
- Description: The names of the attachments in a message
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 21
-
-
-
-
- Name: System.Message.BccAddress -- PKEY_Message_BccAddress
- Description: Addresses in Bcc: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 2
-
-
-
-
- Name: System.Message.BccName -- PKEY_Message_BccName
- Description: person names in Bcc: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 3
-
-
-
-
- Name: System.Message.CcAddress -- PKEY_Message_CcAddress
- Description: Addresses in Cc: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 4
-
-
-
-
- Name: System.Message.CcName -- PKEY_Message_CcName
- Description: person names in Cc: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 5
-
-
-
-
- Name: System.Message.ConversationID -- PKEY_Message_ConversationID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DC8F80BD-AF1E-4289-85B6-3DFC1B493992}, 100
-
-
-
-
- Name: System.Message.ConversationIndex -- PKEY_Message_ConversationIndex
- Description:
-
- Type: Buffer -- VT_VECTOR | VT_UI1 (For variants: VT_ARRAY | VT_UI1)
- FormatID: {DC8F80BD-AF1E-4289-85B6-3DFC1B493992}, 101
-
-
-
-
- Name: System.Message.DateReceived -- PKEY_Message_DateReceived
- Description: Date and Time communication was received
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 20
-
-
-
-
- Name: System.Message.DateSent -- PKEY_Message_DateSent
- Description: Date and Time communication was sent
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 19
-
-
-
-
- Name: System.Message.Flags -- PKEY_Message_Flags
- Description: These are flags associated with email messages to know if a read receipt is pending, etc.
- The values stored here by Outlook are defined for PR_MESSAGE_FLAGS on MSDN.
-
- Type: Int32 -- VT_I4
- FormatID: {A82D9EE7-CA67-4312-965E-226BCEA85023}, 100
-
-
-
-
- Name: System.Message.FromAddress -- PKEY_Message_FromAddress
- Description:
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 13
-
-
-
-
- Name: System.Message.FromName -- PKEY_Message_FromName
- Description: Address in from field as person name
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 14
-
-
-
-
- Name: System.Message.HasAttachments -- PKEY_Message_HasAttachments
- Description:
-
- Type: Boolean -- VT_BOOL
- FormatID: {9C1FCF74-2D97-41BA-B4AE-CB2E3661A6E4}, 8
-
-
-
-
- Name: System.Message.IsFwdOrReply -- PKEY_Message_IsFwdOrReply
- Description:
- Type: Int32 -- VT_I4
- FormatID: {9A9BC088-4F6D-469E-9919-E705412040F9}, 100
-
-
-
-
- Name: System.Message.MessageClass -- PKEY_Message_MessageClass
- Description: What type of outlook msg this is (meeting, task, mail, etc.)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CD9ED458-08CE-418F-A70E-F912C7BB9C5C}, 103
-
-
-
-
- Name: System.Message.ProofInProgress -- PKEY_Message_ProofInProgress
- Description: This property will be true if the message junk email proofing is still in progress.
-
- Type: Boolean -- VT_BOOL
- FormatID: {9098F33C-9A7D-48A8-8DE5-2E1227A64E91}, 100
-
-
-
-
- Name: System.Message.SenderAddress -- PKEY_Message_SenderAddress
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0BE1C8E7-1981-4676-AE14-FDD78F05A6E7}, 100
-
-
-
-
- Name: System.Message.SenderName -- PKEY_Message_SenderName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0DA41CFA-D224-4A18-AE2F-596158DB4B3A}, 100
-
-
-
-
- Name: System.Message.Store -- PKEY_Message_Store
- Description: The store (aka protocol handler) FILE, MAIL, OUTLOOKEXPRESS
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 15
-
-
-
-
- Name: System.Message.ToAddress -- PKEY_Message_ToAddress
- Description: Addresses in To: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 16
-
-
-
-
- Name: System.Message.ToDoFlags -- PKEY_Message_ToDoFlags
- Description: Flags associated with a message flagged to know if it's still active, if it was custom flagged, etc.
-
- Type: Int32 -- VT_I4
- FormatID: {1F856A9F-6900-4ABA-9505-2D5F1B4D66CB}, 100
-
-
-
-
- Name: System.Message.ToDoTitle -- PKEY_Message_ToDoTitle
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {BCCC8A3C-8CEF-42E5-9B1C-C69079398BC7}, 100
-
-
-
-
- Name: System.Message.ToName -- PKEY_Message_ToName
- Description: Person names in To: field
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {E3E0584C-B788-4A5A-BB20-7F5A44C9ACDD}, 17
-
-
-
-
- Music Properties
-
-
-
-
- Name: System.Music.AlbumArtist -- PKEY_Music_AlbumArtist
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 13 (PIDSI_MUSIC_ALBUM_ARTIST)
-
-
-
-
- Name: System.Music.AlbumID -- PKEY_Music_AlbumID
- Description: Concatenation of System.Music.AlbumArtist and System.Music.AlbumTitle, suitable for indexing and display.
- Used to differentiate albums with the same title from different artists.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 100
-
-
-
-
- Name: System.Music.AlbumTitle -- PKEY_Music_AlbumTitle
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 4 (PIDSI_MUSIC_ALBUM)
-
-
-
-
- Name: System.Music.Artist -- PKEY_Music_Artist
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 2 (PIDSI_MUSIC_ARTIST)
-
-
-
-
- Name: System.Music.BeatsPerMinute -- PKEY_Music_BeatsPerMinute
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 35 (PIDSI_MUSIC_BEATS_PER_MINUTE)
-
-
-
-
- Name: System.Music.Composer -- PKEY_Music_Composer
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 19 (PIDMSI_COMPOSER)
-
-
-
-
- Name: System.Music.Conductor -- PKEY_Music_Conductor
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 36 (PIDSI_MUSIC_CONDUCTOR)
-
-
-
-
- Name: System.Music.ContentGroupDescription -- PKEY_Music_ContentGroupDescription
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 33 (PIDSI_MUSIC_CONTENT_GROUP_DESCRIPTION)
-
-
-
-
- Name: System.Music.DisplayArtist -- PKEY_Music_DisplayArtist
- Description: This property returns the best representation of Album Artist for a given music file
- based upon AlbumArtist, ContributingArtist and compilation info.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FD122953-FA93-4EF7-92C3-04C946B2F7C8}, 100
-
-
-
-
- Name: System.Music.Genre -- PKEY_Music_Genre
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 11 (PIDSI_MUSIC_GENRE)
-
-
-
-
- Name: System.Music.InitialKey -- PKEY_Music_InitialKey
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 34 (PIDSI_MUSIC_INITIAL_KEY)
-
-
-
-
- Name: System.Music.IsCompilation -- PKEY_Music_IsCompilation
- Description: Indicates whether the file is part of a compilation.
-
- Type: Boolean -- VT_BOOL
- FormatID: {C449D5CB-9EA4-4809-82E8-AF9D59DED6D1}, 100
-
-
-
-
- Name: System.Music.Lyrics -- PKEY_Music_Lyrics
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 12 (PIDSI_MUSIC_LYRICS)
-
-
-
-
- Name: System.Music.Mood -- PKEY_Music_Mood
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 39 (PIDSI_MUSIC_MOOD)
-
-
-
-
- Name: System.Music.PartOfSet -- PKEY_Music_PartOfSet
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 37 (PIDSI_MUSIC_PART_OF_SET)
-
-
-
-
- Name: System.Music.Period -- PKEY_Music_Period
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 31 (PIDMSI_PERIOD)
-
-
-
-
- Name: System.Music.SynchronizedLyrics -- PKEY_Music_SynchronizedLyrics
- Description:
- Type: Blob -- VT_BLOB
- FormatID: {6B223B6A-162E-4AA9-B39F-05D678FC6D77}, 100
-
-
-
-
- Name: System.Music.TrackNumber -- PKEY_Music_TrackNumber
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_MUSIC) {56A3372E-CE9C-11D2-9F0E-006097C686F6}, 7 (PIDSI_MUSIC_TRACK)
-
-
-
-
- Note Properties
-
-
-
-
- Name: System.Note.Color -- PKEY_Note_Color
- Description:
- Type: UInt16 -- VT_UI2
- FormatID: {4776CAFA-BCE4-4CB1-A23E-265E76D8EB11}, 100
-
-
-
-
- Name: System.Note.ColorText -- PKEY_Note_ColorText
- Description: This is the user-friendly form of System.Note.Color. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {46B4E8DE-CDB2-440D-885C-1658EB65B914}, 100
-
-
-
-
- Photo Properties
-
-
-
-
- Name: System.Photo.Aperture -- PKEY_Photo_Aperture
- Description: PropertyTagExifAperture. Calculated from PKEY_Photo_ApertureNumerator and PKEY_Photo_ApertureDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37378
-
-
-
-
- Name: System.Photo.ApertureDenominator -- PKEY_Photo_ApertureDenominator
- Description: Denominator of PKEY_Photo_Aperture
-
- Type: UInt32 -- VT_UI4
- FormatID: {E1A9A38B-6685-46BD-875E-570DC7AD7320}, 100
-
-
-
-
- Name: System.Photo.ApertureNumerator -- PKEY_Photo_ApertureNumerator
- Description: Numerator of PKEY_Photo_Aperture
-
- Type: UInt32 -- VT_UI4
- FormatID: {0337ECEC-39FB-4581-A0BD-4C4CC51E9914}, 100
-
-
-
-
- Name: System.Photo.Brightness -- PKEY_Photo_Brightness
- Description: This is the brightness of the photo.
-
- Calculated from PKEY_Photo_BrightnessNumerator and PKEY_Photo_BrightnessDenominator.
-
- The units are "APEX", normally in the range of -99.99 to 99.99. If the numerator of
- the recorded value is FFFFFFFF.H, "Unknown" should be indicated.
-
- Type: Double -- VT_R8
- FormatID: {1A701BF6-478C-4361-83AB-3701BB053C58}, 100 (PropertyTagExifBrightness)
-
-
-
-
- Name: System.Photo.BrightnessDenominator -- PKEY_Photo_BrightnessDenominator
- Description: Denominator of PKEY_Photo_Brightness
-
- Type: UInt32 -- VT_UI4
- FormatID: {6EBE6946-2321-440A-90F0-C043EFD32476}, 100
-
-
-
-
- Name: System.Photo.BrightnessNumerator -- PKEY_Photo_BrightnessNumerator
- Description: Numerator of PKEY_Photo_Brightness
-
- Type: UInt32 -- VT_UI4
- FormatID: {9E7D118F-B314-45A0-8CFB-D654B917C9E9}, 100
-
-
-
-
- Name: System.Photo.CameraManufacturer -- PKEY_Photo_CameraManufacturer
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 271 (PropertyTagEquipMake)
-
-
-
-
- Name: System.Photo.CameraModel -- PKEY_Photo_CameraModel
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 272 (PropertyTagEquipModel)
-
-
-
-
- Name: System.Photo.CameraSerialNumber -- PKEY_Photo_CameraSerialNumber
- Description: Serial number of camera that produced this photo
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 273
-
-
-
-
- Name: System.Photo.Contrast -- PKEY_Photo_Contrast
- Description: This indicates the direction of contrast processing applied by the camera
- when the image was shot.
-
- Type: UInt32 -- VT_UI4
- FormatID: {2A785BA9-8D23-4DED-82E6-60A350C86A10}, 100
-
-
-
-
- Name: System.Photo.ContrastText -- PKEY_Photo_ContrastText
- Description: This is the user-friendly form of System.Photo.Contrast. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {59DDE9F2-5253-40EA-9A8B-479E96C6249A}, 100
-
-
-
-
- Name: System.Photo.DateTaken -- PKEY_Photo_DateTaken
- Description: PropertyTagExifDTOrig
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 36867
-
-
-
-
- Name: System.Photo.DigitalZoom -- PKEY_Photo_DigitalZoom
- Description: PropertyTagExifDigitalZoom. Calculated from PKEY_Photo_DigitalZoomNumerator and PKEY_Photo_DigitalZoomDenominator
-
- Type: Double -- VT_R8
- FormatID: {F85BF840-A925-4BC2-B0C4-8E36B598679E}, 100
-
-
-
-
- Name: System.Photo.DigitalZoomDenominator -- PKEY_Photo_DigitalZoomDenominator
- Description: Denominator of PKEY_Photo_DigitalZoom
-
- Type: UInt32 -- VT_UI4
- FormatID: {745BAF0E-E5C1-4CFB-8A1B-D031A0A52393}, 100
-
-
-
-
- Name: System.Photo.DigitalZoomNumerator -- PKEY_Photo_DigitalZoomNumerator
- Description: Numerator of PKEY_Photo_DigitalZoom
-
- Type: UInt32 -- VT_UI4
- FormatID: {16CBB924-6500-473B-A5BE-F1599BCBE413}, 100
-
-
-
-
- Name: System.Photo.Event -- PKEY_Photo_Event
- Description: The event at which the photo was taken
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 18248
-
-
-
-
- Name: System.Photo.EXIFVersion -- PKEY_Photo_EXIFVersion
- Description: The EXIF version.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D35F743A-EB2E-47F2-A286-844132CB1427}, 100
-
-
-
-
- Name: System.Photo.ExposureBias -- PKEY_Photo_ExposureBias
- Description: PropertyTagExifExposureBias. Calculated from PKEY_Photo_ExposureBiasNumerator and PKEY_Photo_ExposureBiasDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37380
-
-
-
-
- Name: System.Photo.ExposureBiasDenominator -- PKEY_Photo_ExposureBiasDenominator
- Description: Denominator of PKEY_Photo_ExposureBias
-
- Type: Int32 -- VT_I4
- FormatID: {AB205E50-04B7-461C-A18C-2F233836E627}, 100
-
-
-
-
- Name: System.Photo.ExposureBiasNumerator -- PKEY_Photo_ExposureBiasNumerator
- Description: Numerator of PKEY_Photo_ExposureBias
-
- Type: Int32 -- VT_I4
- FormatID: {738BF284-1D87-420B-92CF-5834BF6EF9ED}, 100
-
-
-
-
- Name: System.Photo.ExposureIndex -- PKEY_Photo_ExposureIndex
- Description: PropertyTagExifExposureIndex. Calculated from PKEY_Photo_ExposureIndexNumerator and PKEY_Photo_ExposureIndexDenominator
-
- Type: Double -- VT_R8
- FormatID: {967B5AF8-995A-46ED-9E11-35B3C5B9782D}, 100
-
-
-
-
- Name: System.Photo.ExposureIndexDenominator -- PKEY_Photo_ExposureIndexDenominator
- Description: Denominator of PKEY_Photo_ExposureIndex
-
- Type: UInt32 -- VT_UI4
- FormatID: {93112F89-C28B-492F-8A9D-4BE2062CEE8A}, 100
-
-
-
-
- Name: System.Photo.ExposureIndexNumerator -- PKEY_Photo_ExposureIndexNumerator
- Description: Numerator of PKEY_Photo_ExposureIndex
-
- Type: UInt32 -- VT_UI4
- FormatID: {CDEDCF30-8919-44DF-8F4C-4EB2FFDB8D89}, 100
-
-
-
-
- Name: System.Photo.ExposureProgram -- PKEY_Photo_ExposureProgram
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 34850 (PropertyTagExifExposureProg)
-
-
-
-
- Name: System.Photo.ExposureProgramText -- PKEY_Photo_ExposureProgramText
- Description: This is the user-friendly form of System.Photo.ExposureProgram. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FEC690B7-5F30-4646-AE47-4CAAFBA884A3}, 100
-
-
-
-
- Name: System.Photo.ExposureTime -- PKEY_Photo_ExposureTime
- Description: PropertyTagExifExposureTime. Calculated from PKEY_Photo_ExposureTimeNumerator and PKEY_Photo_ExposureTimeDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 33434
-
-
-
-
- Name: System.Photo.ExposureTimeDenominator -- PKEY_Photo_ExposureTimeDenominator
- Description: Denominator of PKEY_Photo_ExposureTime
-
- Type: UInt32 -- VT_UI4
- FormatID: {55E98597-AD16-42E0-B624-21599A199838}, 100
-
-
-
-
- Name: System.Photo.ExposureTimeNumerator -- PKEY_Photo_ExposureTimeNumerator
- Description: Numerator of PKEY_Photo_ExposureTime
-
- Type: UInt32 -- VT_UI4
- FormatID: {257E44E2-9031-4323-AC38-85C552871B2E}, 100
-
-
-
-
- Name: System.Photo.Flash -- PKEY_Photo_Flash
- Description: PropertyTagExifFlash
-
- Type: Byte -- VT_UI1
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37385
-
-
-
-
- Name: System.Photo.FlashEnergy -- PKEY_Photo_FlashEnergy
- Description: PropertyTagExifFlashEnergy. Calculated from PKEY_Photo_FlashEnergyNumerator and PKEY_Photo_FlashEnergyDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 41483
-
-
-
-
- Name: System.Photo.FlashEnergyDenominator -- PKEY_Photo_FlashEnergyDenominator
- Description: Denominator of PKEY_Photo_FlashEnergy
-
- Type: UInt32 -- VT_UI4
- FormatID: {D7B61C70-6323-49CD-A5FC-C84277162C97}, 100
-
-
-
-
- Name: System.Photo.FlashEnergyNumerator -- PKEY_Photo_FlashEnergyNumerator
- Description: Numerator of PKEY_Photo_FlashEnergy
-
- Type: UInt32 -- VT_UI4
- FormatID: {FCAD3D3D-0858-400F-AAA3-2F66CCE2A6BC}, 100
-
-
-
-
- Name: System.Photo.FlashManufacturer -- PKEY_Photo_FlashManufacturer
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {AABAF6C9-E0C5-4719-8585-57B103E584FE}, 100
-
-
-
-
- Name: System.Photo.FlashModel -- PKEY_Photo_FlashModel
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {FE83BB35-4D1A-42E2-916B-06F3E1AF719E}, 100
-
-
-
-
- Name: System.Photo.FlashText -- PKEY_Photo_FlashText
- Description: This is the user-friendly form of System.Photo.Flash. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6B8B68F6-200B-47EA-8D25-D8050F57339F}, 100
-
-
-
-
- Name: System.Photo.FNumber -- PKEY_Photo_FNumber
- Description: PropertyTagExifFNumber. Calculated from PKEY_Photo_FNumberNumerator and PKEY_Photo_FNumberDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 33437
-
-
-
-
- Name: System.Photo.FNumberDenominator -- PKEY_Photo_FNumberDenominator
- Description: Denominator of PKEY_Photo_FNumber
-
- Type: UInt32 -- VT_UI4
- FormatID: {E92A2496-223B-4463-A4E3-30EABBA79D80}, 100
-
-
-
-
- Name: System.Photo.FNumberNumerator -- PKEY_Photo_FNumberNumerator
- Description: Numerator of PKEY_Photo_FNumber
-
- Type: UInt32 -- VT_UI4
- FormatID: {1B97738A-FDFC-462F-9D93-1957E08BE90C}, 100
-
-
-
-
- Name: System.Photo.FocalLength -- PKEY_Photo_FocalLength
- Description: PropertyTagExifFocalLength. Calculated from PKEY_Photo_FocalLengthNumerator and PKEY_Photo_FocalLengthDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37386
-
-
-
-
- Name: System.Photo.FocalLengthDenominator -- PKEY_Photo_FocalLengthDenominator
- Description: Denominator of PKEY_Photo_FocalLength
-
- Type: UInt32 -- VT_UI4
- FormatID: {305BC615-DCA1-44A5-9FD4-10C0BA79412E}, 100
-
-
-
-
- Name: System.Photo.FocalLengthInFilm -- PKEY_Photo_FocalLengthInFilm
- Description:
- Type: UInt16 -- VT_UI2
- FormatID: {A0E74609-B84D-4F49-B860-462BD9971F98}, 100
-
-
-
-
- Name: System.Photo.FocalLengthNumerator -- PKEY_Photo_FocalLengthNumerator
- Description: Numerator of PKEY_Photo_FocalLength
-
- Type: UInt32 -- VT_UI4
- FormatID: {776B6B3B-1E3D-4B0C-9A0E-8FBAF2A8492A}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneXResolution -- PKEY_Photo_FocalPlaneXResolution
- Description: PropertyTagExifFocalXRes. Calculated from PKEY_Photo_FocalPlaneXResolutionNumerator and
- PKEY_Photo_FocalPlaneXResolutionDenominator.
-
- Type: Double -- VT_R8
- FormatID: {CFC08D97-C6F7-4484-89DD-EBEF4356FE76}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneXResolutionDenominator -- PKEY_Photo_FocalPlaneXResolutionDenominator
- Description: Denominator of PKEY_Photo_FocalPlaneXResolution
-
- Type: UInt32 -- VT_UI4
- FormatID: {0933F3F5-4786-4F46-A8E8-D64DD37FA521}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneXResolutionNumerator -- PKEY_Photo_FocalPlaneXResolutionNumerator
- Description: Numerator of PKEY_Photo_FocalPlaneXResolution
-
- Type: UInt32 -- VT_UI4
- FormatID: {DCCB10AF-B4E2-4B88-95F9-031B4D5AB490}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneYResolution -- PKEY_Photo_FocalPlaneYResolution
- Description: PropertyTagExifFocalYRes. Calculated from PKEY_Photo_FocalPlaneYResolutionNumerator and
- PKEY_Photo_FocalPlaneYResolutionDenominator.
-
- Type: Double -- VT_R8
- FormatID: {4FFFE4D0-914F-4AC4-8D6F-C9C61DE169B1}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneYResolutionDenominator -- PKEY_Photo_FocalPlaneYResolutionDenominator
- Description: Denominator of PKEY_Photo_FocalPlaneYResolution
-
- Type: UInt32 -- VT_UI4
- FormatID: {1D6179A6-A876-4031-B013-3347B2B64DC8}, 100
-
-
-
-
- Name: System.Photo.FocalPlaneYResolutionNumerator -- PKEY_Photo_FocalPlaneYResolutionNumerator
- Description: Numerator of PKEY_Photo_FocalPlaneYResolution
-
- Type: UInt32 -- VT_UI4
- FormatID: {A2E541C5-4440-4BA8-867E-75CFC06828CD}, 100
-
-
-
-
- Name: System.Photo.GainControl -- PKEY_Photo_GainControl
- Description: This indicates the degree of overall image gain adjustment.
-
- Calculated from PKEY_Photo_GainControlNumerator and PKEY_Photo_GainControlDenominator.
-
- Type: Double -- VT_R8
- FormatID: {FA304789-00C7-4D80-904A-1E4DCC7265AA}, 100 (PropertyTagExifGainControl)
-
-
-
-
- Name: System.Photo.GainControlDenominator -- PKEY_Photo_GainControlDenominator
- Description: Denominator of PKEY_Photo_GainControl
-
- Type: UInt32 -- VT_UI4
- FormatID: {42864DFD-9DA4-4F77-BDED-4AAD7B256735}, 100
-
-
-
-
- Name: System.Photo.GainControlNumerator -- PKEY_Photo_GainControlNumerator
- Description: Numerator of PKEY_Photo_GainControl
-
- Type: UInt32 -- VT_UI4
- FormatID: {8E8ECF7C-B7B8-4EB8-A63F-0EE715C96F9E}, 100
-
-
-
-
- Name: System.Photo.GainControlText -- PKEY_Photo_GainControlText
- Description: This is the user-friendly form of System.Photo.GainControl. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C06238B2-0BF9-4279-A723-25856715CB9D}, 100
-
-
-
-
- Name: System.Photo.ISOSpeed -- PKEY_Photo_ISOSpeed
- Description: PropertyTagExifISOSpeed
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 34855
-
-
-
-
- Name: System.Photo.LensManufacturer -- PKEY_Photo_LensManufacturer
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E6DDCAF7-29C5-4F0A-9A68-D19412EC7090}, 100
-
-
-
-
- Name: System.Photo.LensModel -- PKEY_Photo_LensModel
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {E1277516-2B5F-4869-89B1-2E585BD38B7A}, 100
-
-
-
-
- Name: System.Photo.LightSource -- PKEY_Photo_LightSource
- Description: PropertyTagExifLightSource
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37384
-
-
-
-
- Name: System.Photo.MakerNote -- PKEY_Photo_MakerNote
- Description:
- Type: Buffer -- VT_VECTOR | VT_UI1 (For variants: VT_ARRAY | VT_UI1)
- FormatID: {FA303353-B659-4052-85E9-BCAC79549B84}, 100
-
-
-
-
- Name: System.Photo.MakerNoteOffset -- PKEY_Photo_MakerNoteOffset
- Description:
- Type: UInt64 -- VT_UI8
- FormatID: {813F4124-34E6-4D17-AB3E-6B1F3C2247A1}, 100
-
-
-
-
- Name: System.Photo.MaxAperture -- PKEY_Photo_MaxAperture
- Description: Calculated from PKEY_Photo_MaxApertureNumerator and PKEY_Photo_MaxApertureDenominator
-
- Type: Double -- VT_R8
- FormatID: {08F6D7C2-E3F2-44FC-AF1E-5AA5C81A2D3E}, 100
-
-
-
-
- Name: System.Photo.MaxApertureDenominator -- PKEY_Photo_MaxApertureDenominator
- Description: Denominator of PKEY_Photo_MaxAperture
-
- Type: UInt32 -- VT_UI4
- FormatID: {C77724D4-601F-46C5-9B89-C53F93BCEB77}, 100
-
-
-
-
- Name: System.Photo.MaxApertureNumerator -- PKEY_Photo_MaxApertureNumerator
- Description: Numerator of PKEY_Photo_MaxAperture
-
- Type: UInt32 -- VT_UI4
- FormatID: {C107E191-A459-44C5-9AE6-B952AD4B906D}, 100
-
-
-
-
- Name: System.Photo.MeteringMode -- PKEY_Photo_MeteringMode
- Description: PropertyTagExifMeteringMode
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37383
-
-
-
-
- Name: System.Photo.MeteringModeText -- PKEY_Photo_MeteringModeText
- Description: This is the user-friendly form of System.Photo.MeteringMode. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {F628FD8C-7BA8-465A-A65B-C5AA79263A9E}, 100
-
-
-
-
- Name: System.Photo.Orientation -- PKEY_Photo_Orientation
- Description: This is the image orientation viewed in terms of rows and columns.
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 274 (PropertyTagOrientation)
-
-
-
-
- Name: System.Photo.OrientationText -- PKEY_Photo_OrientationText
- Description: This is the user-friendly form of System.Photo.Orientation. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A9EA193C-C511-498A-A06B-58E2776DCC28}, 100
-
-
-
-
- Name: System.Photo.PeopleNames -- PKEY_Photo_PeopleNames
- Description: The people tags on an image.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: {E8309B6E-084C-49B4-B1FC-90A80331B638}, 100
-
-
-
-
- Name: System.Photo.PhotometricInterpretation -- PKEY_Photo_PhotometricInterpretation
- Description: This is the pixel composition. In JPEG compressed data, a JPEG marker is used
- instead of this property.
-
- Type: UInt16 -- VT_UI2
- FormatID: {341796F1-1DF9-4B1C-A564-91BDEFA43877}, 100
-
-
-
-
- Name: System.Photo.PhotometricInterpretationText -- PKEY_Photo_PhotometricInterpretationText
- Description: This is the user-friendly form of System.Photo.PhotometricInterpretation. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {821437D6-9EAB-4765-A589-3B1CBBD22A61}, 100
-
-
-
-
- Name: System.Photo.ProgramMode -- PKEY_Photo_ProgramMode
- Description: This is the class of the program used by the camera to set exposure when the
- picture is taken.
-
- Type: UInt32 -- VT_UI4
- FormatID: {6D217F6D-3F6A-4825-B470-5F03CA2FBE9B}, 100
-
-
-
-
- Name: System.Photo.ProgramModeText -- PKEY_Photo_ProgramModeText
- Description: This is the user-friendly form of System.Photo.ProgramMode. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7FE3AA27-2648-42F3-89B0-454E5CB150C3}, 100
-
-
-
-
- Name: System.Photo.RelatedSoundFile -- PKEY_Photo_RelatedSoundFile
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {318A6B45-087F-4DC2-B8CC-05359551FC9E}, 100
-
-
-
-
- Name: System.Photo.Saturation -- PKEY_Photo_Saturation
- Description: This indicates the direction of saturation processing applied by the camera when
- the image was shot.
-
- Type: UInt32 -- VT_UI4
- FormatID: {49237325-A95A-4F67-B211-816B2D45D2E0}, 100
-
-
-
-
- Name: System.Photo.SaturationText -- PKEY_Photo_SaturationText
- Description: This is the user-friendly form of System.Photo.Saturation. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {61478C08-B600-4A84-BBE4-E99C45F0A072}, 100
-
-
-
-
- Name: System.Photo.Sharpness -- PKEY_Photo_Sharpness
- Description: This indicates the direction of sharpness processing applied by the camera when
- the image was shot.
-
- Type: UInt32 -- VT_UI4
- FormatID: {FC6976DB-8349-4970-AE97-B3C5316A08F0}, 100
-
-
-
-
- Name: System.Photo.SharpnessText -- PKEY_Photo_SharpnessText
- Description: This is the user-friendly form of System.Photo.Sharpness. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {51EC3F47-DD50-421D-8769-334F50424B1E}, 100
-
-
-
-
- Name: System.Photo.ShutterSpeed -- PKEY_Photo_ShutterSpeed
- Description: PropertyTagExifShutterSpeed. Calculated from PKEY_Photo_ShutterSpeedNumerator and PKEY_Photo_ShutterSpeedDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37377
-
-
-
-
- Name: System.Photo.ShutterSpeedDenominator -- PKEY_Photo_ShutterSpeedDenominator
- Description: Denominator of PKEY_Photo_ShutterSpeed
-
- Type: Int32 -- VT_I4
- FormatID: {E13D8975-81C7-4948-AE3F-37CAE11E8FF7}, 100
-
-
-
-
- Name: System.Photo.ShutterSpeedNumerator -- PKEY_Photo_ShutterSpeedNumerator
- Description: Numerator of PKEY_Photo_ShutterSpeed
-
- Type: Int32 -- VT_I4
- FormatID: {16EA4042-D6F4-4BCA-8349-7C78D30FB333}, 100
-
-
-
-
- Name: System.Photo.SubjectDistance -- PKEY_Photo_SubjectDistance
- Description: PropertyTagExifSubjectDist. Calculated from PKEY_Photo_SubjectDistanceNumerator and PKEY_Photo_SubjectDistanceDenominator
-
- Type: Double -- VT_R8
- FormatID: (FMTID_ImageProperties) {14B81DA1-0135-4D31-96D9-6CBFC9671A99}, 37382
-
-
-
-
- Name: System.Photo.SubjectDistanceDenominator -- PKEY_Photo_SubjectDistanceDenominator
- Description: Denominator of PKEY_Photo_SubjectDistance
-
- Type: UInt32 -- VT_UI4
- FormatID: {0C840A88-B043-466D-9766-D4B26DA3FA77}, 100
-
-
-
-
- Name: System.Photo.SubjectDistanceNumerator -- PKEY_Photo_SubjectDistanceNumerator
- Description: Numerator of PKEY_Photo_SubjectDistance
-
- Type: UInt32 -- VT_UI4
- FormatID: {8AF4961C-F526-43E5-AA81-DB768219178D}, 100
-
-
-
-
- Name: System.Photo.TagViewAggregate -- PKEY_Photo_TagViewAggregate
- Description: A read-only aggregation of tag-like properties for use in building views.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR) Legacy code may treat this as VT_LPSTR.
- FormatID: {B812F15D-C2D8-4BBF-BACD-79744346113F}, 100
-
-
-
-
- Name: System.Photo.TranscodedForSync -- PKEY_Photo_TranscodedForSync
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {9A8EBB75-6458-4E82-BACB-35C0095B03BB}, 100
-
-
-
-
- Name: System.Photo.WhiteBalance -- PKEY_Photo_WhiteBalance
- Description: This indicates the white balance mode set when the image was shot.
-
- Type: UInt32 -- VT_UI4
- FormatID: {EE3D3D8A-5381-4CFA-B13B-AAF66B5F4EC9}, 100
-
-
-
-
- Name: System.Photo.WhiteBalanceText -- PKEY_Photo_WhiteBalanceText
- Description: This is the user-friendly form of System.Photo.WhiteBalance. Not intended to be parsed
- programmatically.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6336B95E-C7A7-426D-86FD-7AE3D39C84B4}, 100
-
-
-
-
- PropGroup Properties
-
-
-
-
- Name: System.PropGroup.Advanced -- PKEY_PropGroup_Advanced
- Description:
- Type: Null -- VT_NULL
- FormatID: {900A403B-097B-4B95-8AE2-071FDAEEB118}, 100
-
-
-
-
- Name: System.PropGroup.Audio -- PKEY_PropGroup_Audio
- Description:
- Type: Null -- VT_NULL
- FormatID: {2804D469-788F-48AA-8570-71B9C187E138}, 100
-
-
-
-
- Name: System.PropGroup.Calendar -- PKEY_PropGroup_Calendar
- Description:
- Type: Null -- VT_NULL
- FormatID: {9973D2B5-BFD8-438A-BA94-5349B293181A}, 100
-
-
-
-
- Name: System.PropGroup.Camera -- PKEY_PropGroup_Camera
- Description:
- Type: Null -- VT_NULL
- FormatID: {DE00DE32-547E-4981-AD4B-542F2E9007D8}, 100
-
-
-
-
- Name: System.PropGroup.Contact -- PKEY_PropGroup_Contact
- Description:
- Type: Null -- VT_NULL
- FormatID: {DF975FD3-250A-4004-858F-34E29A3E37AA}, 100
-
-
-
-
- Name: System.PropGroup.Content -- PKEY_PropGroup_Content
- Description:
- Type: Null -- VT_NULL
- FormatID: {D0DAB0BA-368A-4050-A882-6C010FD19A4F}, 100
-
-
-
-
- Name: System.PropGroup.Description -- PKEY_PropGroup_Description
- Description:
- Type: Null -- VT_NULL
- FormatID: {8969B275-9475-4E00-A887-FF93B8B41E44}, 100
-
-
-
-
- Name: System.PropGroup.FileSystem -- PKEY_PropGroup_FileSystem
- Description:
- Type: Null -- VT_NULL
- FormatID: {E3A7D2C1-80FC-4B40-8F34-30EA111BDC2E}, 100
-
-
-
-
- Name: System.PropGroup.General -- PKEY_PropGroup_General
- Description:
- Type: Null -- VT_NULL
- FormatID: {CC301630-B192-4C22-B372-9F4C6D338E07}, 100
-
-
-
-
- Name: System.PropGroup.GPS -- PKEY_PropGroup_GPS
- Description:
- Type: Null -- VT_NULL
- FormatID: {F3713ADA-90E3-4E11-AAE5-FDC17685B9BE}, 100
-
-
-
-
- Name: System.PropGroup.Image -- PKEY_PropGroup_Image
- Description:
- Type: Null -- VT_NULL
- FormatID: {E3690A87-0FA8-4A2A-9A9F-FCE8827055AC}, 100
-
-
-
-
- Name: System.PropGroup.Media -- PKEY_PropGroup_Media
- Description:
- Type: Null -- VT_NULL
- FormatID: {61872CF7-6B5E-4B4B-AC2D-59DA84459248}, 100
-
-
-
-
- Name: System.PropGroup.MediaAdvanced -- PKEY_PropGroup_MediaAdvanced
- Description:
- Type: Null -- VT_NULL
- FormatID: {8859A284-DE7E-4642-99BA-D431D044B1EC}, 100
-
-
-
-
- Name: System.PropGroup.Message -- PKEY_PropGroup_Message
- Description:
- Type: Null -- VT_NULL
- FormatID: {7FD7259D-16B4-4135-9F97-7C96ECD2FA9E}, 100
-
-
-
-
- Name: System.PropGroup.Music -- PKEY_PropGroup_Music
- Description:
- Type: Null -- VT_NULL
- FormatID: {68DD6094-7216-40F1-A029-43FE7127043F}, 100
-
-
-
-
- Name: System.PropGroup.Origin -- PKEY_PropGroup_Origin
- Description:
- Type: Null -- VT_NULL
- FormatID: {2598D2FB-5569-4367-95DF-5CD3A177E1A5}, 100
-
-
-
-
- Name: System.PropGroup.PhotoAdvanced -- PKEY_PropGroup_PhotoAdvanced
- Description:
- Type: Null -- VT_NULL
- FormatID: {0CB2BF5A-9EE7-4A86-8222-F01E07FDADAF}, 100
-
-
-
-
- Name: System.PropGroup.RecordedTV -- PKEY_PropGroup_RecordedTV
- Description:
- Type: Null -- VT_NULL
- FormatID: {E7B33238-6584-4170-A5C0-AC25EFD9DA56}, 100
-
-
-
-
- Name: System.PropGroup.Video -- PKEY_PropGroup_Video
- Description:
- Type: Null -- VT_NULL
- FormatID: {BEBE0920-7671-4C54-A3EB-49FDDFC191EE}, 100
-
-
-
-
- PropList Properties
-
-
-
-
- Name: System.PropList.ConflictPrompt -- PKEY_PropList_ConflictPrompt
- Description: The list of properties to show in the file operation conflict resolution dialog. Properties with empty
- values will not be displayed. Register under the regvalue of "ConflictPrompt".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 11
-
-
-
-
- Name: System.PropList.ContentViewModeForBrowse -- PKEY_PropList_ContentViewModeForBrowse
- Description: The list of properties to show in the content view mode of an item in the context of browsing.
- Register the regvalue under the name of "ContentViewModeForBrowse".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 13
-
-
-
-
- Name: System.PropList.ContentViewModeForSearch -- PKEY_PropList_ContentViewModeForSearch
- Description: The list of properties to show in the content view mode of an item in the context of searching.
- Register the regvalue under the name of "ContentViewModeForSearch".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 14
-
-
-
-
- Name: System.PropList.ExtendedTileInfo -- PKEY_PropList_ExtendedTileInfo
- Description: The list of properties to show in the listview on extended tiles. Register under the regvalue of
- "ExtendedTileInfo".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 9
-
-
-
-
- Name: System.PropList.FileOperationPrompt -- PKEY_PropList_FileOperationPrompt
- Description: The list of properties to show in the file operation confirmation dialog. Properties with empty values
- will not be displayed. If this list is not specified, then the InfoTip property list is used instead.
- Register under the regvalue of "FileOperationPrompt".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 10
-
-
-
-
- Name: System.PropList.FullDetails -- PKEY_PropList_FullDetails
- Description: The list of all the properties to show in the details page. Property groups can be included in this list
- in order to more easily organize the UI. Register under the regvalue of "FullDetails".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 2
-
-
-
-
- Name: System.PropList.InfoTip -- PKEY_PropList_InfoTip
- Description: The list of properties to show in the infotip. Properties with empty values will not be displayed. Register
- under the regvalue of "InfoTip".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 4 (PID_PROPLIST_INFOTIP)
-
-
-
-
- Name: System.PropList.NonPersonal -- PKEY_PropList_NonPersonal
- Description: The list of properties that are considered 'non-personal'. When told to remove all non-personal properties
- from a given file, the system will leave these particular properties untouched. Register under the regvalue
- of "NonPersonal".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {49D1091F-082E-493F-B23F-D2308AA9668C}, 100
-
-
-
-
- Name: System.PropList.PreviewDetails -- PKEY_PropList_PreviewDetails
- Description: The list of properties to display in the preview pane. Register under the regvalue of "PreviewDetails".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 8
-
-
-
-
- Name: System.PropList.PreviewTitle -- PKEY_PropList_PreviewTitle
- Description: The one or two properties to display in the preview pane title section. The optional second property is
- displayed as a subtitle. Register under the regvalue of "PreviewTitle".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 6
-
-
-
-
- Name: System.PropList.QuickTip -- PKEY_PropList_QuickTip
- Description: The list of properties to show in the infotip when the item is on a slow network. Properties with empty
- values will not be displayed. Register under the regvalue of "QuickTip".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 5 (PID_PROPLIST_QUICKTIP)
-
-
-
-
- Name: System.PropList.TileInfo -- PKEY_PropList_TileInfo
- Description: The list of properties to show in the listview on tiles. Register under the regvalue of "TileInfo".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {C9944A21-A406-48FE-8225-AEC7E24C211B}, 3 (PID_PROPLIST_TILEINFO)
-
-
-
-
- Name: System.PropList.XPDetailsPanel -- PKEY_PropList_XPDetailsPanel
- Description: The list of properties to display in the XP webview details panel. Obsolete.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_WebView) {F2275480-F782-4291-BD94-F13693513AEC}, 0 (PID_DISPLAY_PROPERTIES)
-
-
-
-
- RecordedTV Properties
-
-
-
-
- Name: System.RecordedTV.ChannelNumber -- PKEY_RecordedTV_ChannelNumber
- Description: Example: 42
-
- Type: UInt32 -- VT_UI4
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 7
-
-
-
-
- Name: System.RecordedTV.Credits -- PKEY_RecordedTV_Credits
- Description: Example: "Don Messick/Frank Welker/Casey Kasem/Heather North/Nicole Jaffe;;;"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 4
-
-
-
-
- Name: System.RecordedTV.DateContentExpires -- PKEY_RecordedTV_DateContentExpires
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 15
-
-
-
-
- Name: System.RecordedTV.EpisodeName -- PKEY_RecordedTV_EpisodeName
- Description: Example: "Nowhere to Hyde"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 2
-
-
-
-
- Name: System.RecordedTV.IsATSCContent -- PKEY_RecordedTV_IsATSCContent
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 16
-
-
-
-
- Name: System.RecordedTV.IsClosedCaptioningAvailable -- PKEY_RecordedTV_IsClosedCaptioningAvailable
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 12
-
-
-
-
- Name: System.RecordedTV.IsDTVContent -- PKEY_RecordedTV_IsDTVContent
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 17
-
-
-
-
- Name: System.RecordedTV.IsHDContent -- PKEY_RecordedTV_IsHDContent
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 18
-
-
-
-
- Name: System.RecordedTV.IsRepeatBroadcast -- PKEY_RecordedTV_IsRepeatBroadcast
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 13
-
-
-
-
- Name: System.RecordedTV.IsSAP -- PKEY_RecordedTV_IsSAP
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 14
-
-
-
-
- Name: System.RecordedTV.NetworkAffiliation -- PKEY_RecordedTV_NetworkAffiliation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {2C53C813-FB63-4E22-A1AB-0B331CA1E273}, 100
-
-
-
-
- Name: System.RecordedTV.OriginalBroadcastDate -- PKEY_RecordedTV_OriginalBroadcastDate
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {4684FE97-8765-4842-9C13-F006447B178C}, 100
-
-
-
-
- Name: System.RecordedTV.ProgramDescription -- PKEY_RecordedTV_ProgramDescription
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 3
-
-
-
-
- Name: System.RecordedTV.RecordingTime -- PKEY_RecordedTV_RecordingTime
- Description:
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {A5477F61-7A82-4ECA-9DDE-98B69B2479B3}, 100
-
-
-
-
- Name: System.RecordedTV.StationCallSign -- PKEY_RecordedTV_StationCallSign
- Description: Example: "TOONP"
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 5
-
-
-
-
- Name: System.RecordedTV.StationName -- PKEY_RecordedTV_StationName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {1B5439E7-EBA1-4AF8-BDD7-7AF1D4549493}, 100
-
-
-
-
- Search Properties
-
-
-
-
- Name: System.Search.AutoSummary -- PKEY_Search_AutoSummary
- Description: General Summary of the document.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {560C36C0-503A-11CF-BAA1-00004C752A9A}, 2
-
-
-
-
- Name: System.Search.ContainerHash -- PKEY_Search_ContainerHash
- Description: Hash code used to identify attachments to be deleted based on a common container url
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {BCEEE283-35DF-4D53-826A-F36A3EEFC6BE}, 100
-
-
-
-
- Name: System.Search.Contents -- PKEY_Search_Contents
- Description: The contents of the item. This property is for query restrictions only; it cannot be retrieved in a
- query result. The Indexing Service friendly name is 'contents'.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Storage) {B725F130-47EF-101A-A5F1-02608C9EEBAC}, 19 (PID_STG_CONTENTS)
-
-
-
-
- Name: System.Search.EntryID -- PKEY_Search_EntryID
- Description: The entry ID for an item within a given catalog in the Windows Search Index.
- This value may be recycled, and therefore is not considered unique over time.
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_Query) {49691C90-7E17-101A-A91C-08002B2ECDA9}, 5 (PROPID_QUERY_WORKID)
-
-
-
-
- Name: System.Search.ExtendedProperties -- PKEY_Search_ExtendedProperties
- Description:
- Type: Blob -- VT_BLOB
- FormatID: {7B03B546-FA4F-4A52-A2FE-03D5311E5865}, 100
-
-
-
-
- Name: System.Search.GatherTime -- PKEY_Search_GatherTime
- Description: The Datetime that the Windows Search Gatherer process last pushed properties of this document to the Windows Search Gatherer Plugins.
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {0B63E350-9CCC-11D0-BCDB-00805FCCCE04}, 8
-
-
-
-
- Name: System.Search.HitCount -- PKEY_Search_HitCount
- Description: When using CONTAINS over the Windows Search Index, this is the number of matches of the term.
- If there are multiple CONTAINS, an AND computes the min number of hits and an OR the max number of hits.
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_Query) {49691C90-7E17-101A-A91C-08002B2ECDA9}, 4 (PROPID_QUERY_HITCOUNT)
-
-
-
-
- Name: System.Search.IsClosedDirectory -- PKEY_Search_IsClosedDirectory
- Description: If this property is emitted with a value of TRUE, then it indicates that this URL's last modified time applies to all of it's children, and if this URL is deleted then all of it's children are deleted as well. For example, this would be emitted as TRUE when emitting the URL of an email so that all attachments are tied to the last modified time of that email.
-
- Type: Boolean -- VT_BOOL
- FormatID: {0B63E343-9CCC-11D0-BCDB-00805FCCCE04}, 23
-
-
-
-
- Name: System.Search.IsFullyContained -- PKEY_Search_IsFullyContained
- Description: Any child URL of a URL which has System.Search.IsClosedDirectory=TRUE must emit System.Search.IsFullyContained=TRUE. This ensures that the URL is not deleted at the end of a crawl because it hasn't been visited (which is the normal mechanism for detecting deletes). For example an email attachment would emit this property
-
- Type: Boolean -- VT_BOOL
- FormatID: {0B63E343-9CCC-11D0-BCDB-00805FCCCE04}, 24
-
-
-
-
- Name: System.Search.QueryFocusedSummary -- PKEY_Search_QueryFocusedSummary
- Description: Query Focused Summary of the document.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {560C36C0-503A-11CF-BAA1-00004C752A9A}, 3
-
-
-
-
- Name: System.Search.QueryFocusedSummaryWithFallback -- PKEY_Search_QueryFocusedSummaryWithFallback
- Description: Query Focused Summary of the document, if none is available it returns the AutoSummary.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {560C36C0-503A-11CF-BAA1-00004C752A9A}, 4
-
-
-
-
- Name: System.Search.Rank -- PKEY_Search_Rank
- Description: Relevance rank of row. Ranges from 0-1000. Larger numbers = better matches. Query-time only.
-
- Type: Int32 -- VT_I4
- FormatID: (FMTID_Query) {49691C90-7E17-101A-A91C-08002B2ECDA9}, 3 (PROPID_QUERY_RANK)
-
-
-
-
- Name: System.Search.Store -- PKEY_Search_Store
- Description: The identifier for the protocol handler that produced this item. (E.g. MAPI, CSC, FILE etc.)
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {A06992B3-8CAF-4ED7-A547-B259E32AC9FC}, 100
-
-
-
-
- Name: System.Search.UrlToIndex -- PKEY_Search_UrlToIndex
- Description: This property should be emitted by a container IFilter for each child URL within the container. The children will eventually be crawled by the indexer if they are within scope.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {0B63E343-9CCC-11D0-BCDB-00805FCCCE04}, 2
-
-
-
-
- Name: System.Search.UrlToIndexWithModificationTime -- PKEY_Search_UrlToIndexWithModificationTime
- Description: This property is the same as System.Search.UrlToIndex except that it includes the time the URL was last modified. This is an optimization for the indexer as it doesn't have to call back into the protocol handler to ask for this information to determine if the content needs to be indexed again. The property is a vector with two elements, a VT_LPWSTR with the URL and a VT_FILETIME for the last modified time.
-
- Type: Multivalue Any -- VT_VECTOR | VT_NULL (For variants: VT_ARRAY | VT_NULL)
- FormatID: {0B63E343-9CCC-11D0-BCDB-00805FCCCE04}, 12
-
-
-
-
- Shell Properties
-
-
-
-
- Name: System.Shell.OmitFromView -- PKEY_Shell_OmitFromView
- Description: Set this to a string value of 'True' to omit this item from shell views
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {DE35258C-C695-4CBC-B982-38B0AD24CED0}, 2
-
-
-
-
- Name: System.Shell.SFGAOFlagsStrings -- PKEY_Shell_SFGAOFlagsStrings
- Description: Expresses the SFGAO flags as string values and is used as a query optimization.
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: {D6942081-D53B-443D-AD47-5E059D9CD27A}, 2
-
-
-
-
- Software Properties
-
-
-
-
- Name: System.Software.DateLastUsed -- PKEY_Software_DateLastUsed
- Description:
-
- Type: DateTime -- VT_FILETIME (For variants: VT_DATE)
- FormatID: {841E4F90-FF59-4D16-8947-E81BBFFAB36D}, 16
-
-
-
-
- Name: System.Software.ProductName -- PKEY_Software_ProductName
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (PSFMTID_VERSION) {0CEF7D53-FA64-11D1-A203-0000F81FEDEE}, 7
-
-
-
-
- Sync Properties
-
-
-
-
- Name: System.Sync.Comments -- PKEY_Sync_Comments
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 13
-
-
-
-
- Name: System.Sync.ConflictDescription -- PKEY_Sync_ConflictDescription
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CE50C159-2FB8-41FD-BE68-D3E042E274BC}, 4
-
-
-
-
- Name: System.Sync.ConflictFirstLocation -- PKEY_Sync_ConflictFirstLocation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CE50C159-2FB8-41FD-BE68-D3E042E274BC}, 6
-
-
-
-
- Name: System.Sync.ConflictSecondLocation -- PKEY_Sync_ConflictSecondLocation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CE50C159-2FB8-41FD-BE68-D3E042E274BC}, 7
-
-
-
-
- Name: System.Sync.HandlerCollectionID -- PKEY_Sync_HandlerCollectionID
- Description:
- Type: Guid -- VT_CLSID
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 2
-
-
-
-
- Name: System.Sync.HandlerID -- PKEY_Sync_HandlerID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 3
-
-
-
-
- Name: System.Sync.HandlerName -- PKEY_Sync_HandlerName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CE50C159-2FB8-41FD-BE68-D3E042E274BC}, 2
-
-
-
-
- Name: System.Sync.HandlerType -- PKEY_Sync_HandlerType
- Description:
-
- Type: UInt32 -- VT_UI4
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 8
-
-
-
-
- Name: System.Sync.HandlerTypeLabel -- PKEY_Sync_HandlerTypeLabel
- Description:
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 9
-
-
-
-
- Name: System.Sync.ItemID -- PKEY_Sync_ItemID
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 6
-
-
-
-
- Name: System.Sync.ItemName -- PKEY_Sync_ItemName
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {CE50C159-2FB8-41FD-BE68-D3E042E274BC}, 3
-
-
-
-
- Name: System.Sync.ProgressPercentage -- PKEY_Sync_ProgressPercentage
- Description: An integer value between 0 and 100 representing the percentage completed.
-
- Type: UInt32 -- VT_UI4
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 23
-
-
-
-
- Name: System.Sync.State -- PKEY_Sync_State
- Description: Sync state.
-
- Type: UInt32 -- VT_UI4
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 24
-
-
-
-
- Name: System.Sync.Status -- PKEY_Sync_Status
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {7BD5533E-AF15-44DB-B8C8-BD6624E1D032}, 10
-
-
-
-
- Task Properties
-
-
-
-
- Name: System.Task.BillingInformation -- PKEY_Task_BillingInformation
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {D37D52C6-261C-4303-82B3-08B926AC6F12}, 100
-
-
-
-
- Name: System.Task.CompletionStatus -- PKEY_Task_CompletionStatus
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {084D8A0A-E6D5-40DE-BF1F-C8820E7C877C}, 100
-
-
-
-
- Name: System.Task.Owner -- PKEY_Task_Owner
- Description:
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: {08C7CC5F-60F2-4494-AD75-55E3E0B5ADD0}, 100
-
-
-
-
- Video Properties
-
-
-
-
- Name: System.Video.Compression -- PKEY_Video_Compression
- Description: Indicates the level of compression for the video stream. "Compression".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 10 (PIDVSI_COMPRESSION)
-
-
-
-
- Name: System.Video.Director -- PKEY_Video_Director
- Description:
-
- Type: Multivalue String -- VT_VECTOR | VT_LPWSTR (For variants: VT_ARRAY | VT_BSTR)
- FormatID: (PSGUID_MEDIAFILESUMMARYINFORMATION) {64440492-4C8B-11D1-8B70-080036B11A03}, 20 (PIDMSI_DIRECTOR)
-
-
-
-
- Name: System.Video.EncodingBitrate -- PKEY_Video_EncodingBitrate
- Description: Indicates the data rate in "bits per second" for the video stream. "DataRate".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 8 (PIDVSI_DATA_RATE)
-
-
-
-
- Name: System.Video.FourCC -- PKEY_Video_FourCC
- Description: Indicates the 4CC for the video stream.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 44
-
-
-
-
- Name: System.Video.FrameHeight -- PKEY_Video_FrameHeight
- Description: Indicates the frame height for the video stream.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 4
-
-
-
-
- Name: System.Video.FrameRate -- PKEY_Video_FrameRate
- Description: Indicates the frame rate in "frames per millisecond" for the video stream. "FrameRate".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 6 (PIDVSI_FRAME_RATE)
-
-
-
-
- Name: System.Video.FrameWidth -- PKEY_Video_FrameWidth
- Description: Indicates the frame width for the video stream.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 3
-
-
-
-
- Name: System.Video.HorizontalAspectRatio -- PKEY_Video_HorizontalAspectRatio
- Description: Indicates the horizontal portion of the aspect ratio. The X portion of XX:YY,
- like 16:9.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 42
-
-
-
-
- Name: System.Video.SampleSize -- PKEY_Video_SampleSize
- Description: Indicates the sample size in bits for the video stream. "SampleSize".
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 9 (PIDVSI_SAMPLE_SIZE)
-
-
-
-
- Name: System.Video.StreamName -- PKEY_Video_StreamName
- Description: Indicates the name for the video stream. "StreamName".
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 2 (PIDVSI_STREAM_NAME)
-
-
-
-
- Name: System.Video.StreamNumber -- PKEY_Video_StreamNumber
- Description: "Stream Number".
-
- Type: UInt16 -- VT_UI2
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 11 (PIDVSI_STREAM_NUMBER)
-
-
-
-
- Name: System.Video.TotalBitrate -- PKEY_Video_TotalBitrate
- Description: Indicates the total data rate in "bits per second" for all video and audio streams.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 43 (PIDVSI_TOTAL_BITRATE)
-
-
-
-
- Name: System.Video.TranscodedForSync -- PKEY_Video_TranscodedForSync
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 46
-
-
-
-
- Name: System.Video.VerticalAspectRatio -- PKEY_Video_VerticalAspectRatio
- Description: Indicates the vertical portion of the aspect ratio. The Y portion of
- XX:YY, like 16:9.
-
- Type: UInt32 -- VT_UI4
- FormatID: (FMTID_VideoSummaryInformation) {64440491-4C8B-11D1-8B70-080036B11A03}, 45
-
-
-
-
- Volume Properties
-
-
-
-
- Name: System.Volume.FileSystem -- PKEY_Volume_FileSystem
- Description: Indicates the filesystem of the volume.
-
- Type: String -- VT_LPWSTR (For variants: VT_BSTR)
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 4 (PID_VOLUME_FILESYSTEM) (Filesystem Volume Properties)
-
-
-
-
- Name: System.Volume.IsMappedDrive -- PKEY_Volume_IsMappedDrive
- Description:
- Type: Boolean -- VT_BOOL
- FormatID: {149C0B69-2C2D-48FC-808F-D318D78C4636}, 2
-
-
-
-
- Name: System.Volume.IsRoot -- PKEY_Volume_IsRoot
- Description:
-
- Type: Boolean -- VT_BOOL
- FormatID: (FMTID_Volume) {9B174B35-40FF-11D2-A27E-00C04FC30871}, 10 (Filesystem Volume Properties)
-
-
-
-
- Helper class to modify properties for a given window
-
-
-
-
- Sets a shell property for a given window
-
- The property to set
- Handle to the window that the property will be set on
- The value to set for the property
-
-
-
- Sets a shell property for a given window
-
- The property to set
- Window that the property will be set on
- The value to set for the property
-
-
-
- A strongly-typed resource class, for looking up localized strings, etc.
-
-
-
-
- Returns the cached ResourceManager instance used by this class.
-
-
-
-
- Overrides the current thread's CurrentUICulture property for all
- resource lookups using this strongly typed resource class.
-
-
-
-
- Looks up a localized string similar to AddToMostRecentlyUsedList cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to AlwaysAppendDefaultExtension cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Index was outside the bounds of the CommonFileDialogComboBox..
-
-
-
-
- Looks up a localized string similar to File name not available - dialog was canceled..
-
-
-
-
- Looks up a localized string similar to Shell item could not be created..
-
-
-
-
- Looks up a localized string similar to Handle provided cannot be IntPtr.Zero..
-
-
-
-
- Looks up a localized string similar to Multiple files selected - the FileNames property should be used instead..
-
-
-
-
- Looks up a localized string similar to Multiple files selected - the Items property should be used instead..
-
-
-
-
- Looks up a localized string similar to File name not available - dialog has not closed yet..
-
-
-
-
- Looks up a localized string similar to Common File Dialog requires Windows Vista or later..
-
-
-
-
- Looks up a localized string similar to Office Files.
-
-
-
-
- Looks up a localized string similar to All Picture Files.
-
-
-
-
- Looks up a localized string similar to Text Files.
-
-
-
-
- Looks up a localized string similar to CreatePrompt cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Custom controls cannot be removed from a File dialog once added..
-
-
-
-
- Looks up a localized string similar to Control name cannot be null or zero length..
-
-
-
-
- Looks up a localized string similar to CommonFileDialogMenuItem controls can only be added to CommonFileDialogMenu controls..
-
-
-
-
- Looks up a localized string similar to Modifying controls collection while dialog is showing is not supported..
-
-
-
-
- Looks up a localized string similar to Dialog cannot have more than one control with the same name..
-
-
-
-
- Looks up a localized string similar to Dialog control must be removed from current collections first..
-
-
-
-
- Looks up a localized string similar to EnsureFileExists cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to EnsurePathExists cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to EnsureReadOnly cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to EnsureValidNames cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Browsing to object failed..
-
-
-
-
- Looks up a localized string similar to ExplorerBrowser failed to get current view..
-
-
-
-
- Looks up a localized string similar to Unable to get icon size..
-
-
-
-
- Looks up a localized string similar to Unexpected error retrieving item count..
-
-
-
-
- Looks up a localized string similar to Unexpected error retrieving selected item count..
-
-
-
-
- Looks up a localized string similar to Unexpected error retrieving selection..
-
-
-
-
- Looks up a localized string similar to Unexpected error retrieving view items..
-
-
-
-
- Looks up a localized string similar to The given path does not exist ({0}).
-
-
-
-
- Looks up a localized string similar to Guid does not identify a known folder..
-
-
-
-
- Looks up a localized string similar to ControlPanel Category.
-
-
-
-
- Looks up a localized string similar to ControlPanel Classic.
-
-
-
-
- Looks up a localized string similar to Communications.
-
-
-
-
- Looks up a localized string similar to Compressed Folder.
-
-
-
-
- Looks up a localized string similar to Contacts.
-
-
-
-
- Looks up a localized string similar to Documents.
-
-
-
-
- Looks up a localized string similar to Games.
-
-
-
-
- Looks up a localized string similar to Generic Library.
-
-
-
-
- Looks up a localized string similar to Invalid.
-
-
-
-
- Looks up a localized string similar to Library.
-
-
-
-
- Looks up a localized string similar to Music.
-
-
-
-
- Looks up a localized string similar to Music Icons.
-
-
-
-
- Looks up a localized string similar to Network Explorer.
-
-
-
-
- Looks up a localized string similar to Not Specified.
-
-
-
-
- Looks up a localized string similar to Open Search.
-
-
-
-
- Looks up a localized string similar to Other Users.
-
-
-
-
- Looks up a localized string similar to Pictures.
-
-
-
-
- Looks up a localized string similar to Printers.
-
-
-
-
- Looks up a localized string similar to RecordedTV.
-
-
-
-
- Looks up a localized string similar to RecycleBin.
-
-
-
-
- Looks up a localized string similar to Saved Games.
-
-
-
-
- Looks up a localized string similar to Search Connector.
-
-
-
-
- Looks up a localized string similar to Searches.
-
-
-
-
- Looks up a localized string similar to Generic SearchResults.
-
-
-
-
- Looks up a localized string similar to Software Explorer.
-
-
-
-
- Looks up a localized string similar to User Files.
-
-
-
-
- Looks up a localized string similar to Users Libraries.
-
-
-
-
- Looks up a localized string similar to Videos.
-
-
-
-
- Looks up a localized string similar to IsExpandedMode cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Custom categories cannot be added while recent documents tracking is turned off..
-
-
-
-
- Looks up a localized string similar to The file type is not registered with this application..
-
-
-
-
- Looks up a localized string similar to JumpListLink's path is required and cannot be null..
-
-
-
-
- Looks up a localized string similar to JumpListLink's title is required and cannot be null..
-
-
-
-
- Looks up a localized string similar to Negative numbers are not allowed for the ordinal position..
-
-
-
-
- Looks up a localized string similar to Given Known Folder ID is invalid..
-
-
-
-
- Looks up a localized string similar to Parsing name is invalid..
-
-
-
-
- Looks up a localized string similar to Creation of window has failed, view inner exception for details..
-
-
-
-
- Looks up a localized string similar to Window class could not be registered, check inner exception for more details..
-
-
-
-
- Looks up a localized string similar to Message filter registration failed..
-
-
-
-
- Looks up a localized string similar to No listener handled of that value is registered..
-
-
-
-
- Looks up a localized string similar to Cannot create window on the listener thread because there is no existing window on the listener thread..
-
-
-
-
- Looks up a localized string similar to NavigateToShortcut cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Parent cannot be null..
-
-
-
-
- Looks up a localized string similar to The method or operation is not implemented..
-
-
-
-
- Looks up a localized string similar to OverwritePrompt cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to This CanonicalName is not a valid index..
-
-
-
-
- Looks up a localized string similar to This PropertyKey is not a valid index..
-
-
-
-
- Looks up a localized string similar to Argument CanonicalName cannot be null or empty..
-
-
-
-
- Looks up a localized string similar to Index was outside the bounds of the CommonFileDialogRadioButtonList..
-
-
-
-
- Looks up a localized string similar to RestoreDirectory cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Retrieved a null shell item from dialog..
-
-
-
-
- Looks up a localized string similar to Given property key is invalid..
-
-
-
-
- Looks up a localized string similar to Shell Exception has occurred, look at inner exception for information..
-
-
-
-
- Looks up a localized string similar to GetParsingName has failed..
-
-
-
-
- Looks up a localized string similar to The given CanonicalName is not valid..
-
-
-
-
- Looks up a localized string similar to DefaultSaveFolder path not found..
-
-
-
-
- Looks up a localized string similar to LibraryName cannot be empty..
-
-
-
-
- Looks up a localized string similar to Folder path not found..
-
-
-
-
- Looks up a localized string similar to Invalid FolderType Guid..
-
-
-
-
- Looks up a localized string similar to The given known folder is not a valid library..
-
-
-
-
- Looks up a localized string similar to Can't get the display name..
-
-
-
-
- Looks up a localized string similar to Destination array too small, or invalid arrayIndex..
-
-
-
-
- Looks up a localized string similar to Must have at least one shell object in the collection..
-
-
-
-
- Looks up a localized string similar to Cannot insert items into a read only list..
-
-
-
-
- Looks up a localized string similar to Cannot remove items from a read only list..
-
-
-
-
- Looks up a localized string similar to Shell item could not be created..
-
-
-
-
- Looks up a localized string similar to Shell Object creation requires Windows Vista or higher operating system..
-
-
-
-
- Looks up a localized string similar to Unable to Create Shell Item..
-
-
-
-
- Looks up a localized string similar to Registration for change notification has failed..
-
-
-
-
- Looks up a localized string similar to Unable to change watched events while listening..
-
-
-
-
- Looks up a localized string similar to The value on this property cannot be set. To set the property value, use the ShellObject that is associated with this property..
-
-
-
-
- Looks up a localized string similar to No constructor found matching requested argument types..
-
-
-
-
- Looks up a localized string similar to Unable to set property..
-
-
-
-
- Looks up a localized string similar to Unable to get writable property store for this property..
-
-
-
-
- Looks up a localized string similar to A value had to be truncated in a string or rounded if a numeric value. Set AllowTruncatedValue to true to prevent this exception..
-
-
-
-
- Looks up a localized string similar to This Property is available on Windows 7 only..
-
-
-
-
- Looks up a localized string similar to This property only accepts a value of type \"{0}\"..
-
-
-
-
- Looks up a localized string similar to Unable to set list of sort columns..
-
-
-
-
- Looks up a localized string similar to Unable to set visible columns..
-
-
-
-
- Looks up a localized string similar to CurrentSize (width or height) cannot be greater than the maximum size: {0}..
-
-
-
-
- Looks up a localized string similar to The current ShellObject does not have a thumbnail. Try using ShellThumbnailFormatOption.Default to get the icon for this item..
-
-
-
-
- Looks up a localized string similar to The current ShellObject does not have a valid thumbnail handler or there was a problem in extracting the thumbnail for this specific shell object..
-
-
-
-
- Looks up a localized string similar to CurrentSize (width or height) cannot be 0..
-
-
-
-
- Looks up a localized string similar to ShowHiddenItems cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Show places list cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to The Stock Icon identifier given is invalid ({0})..
-
-
-
-
- Looks up a localized string similar to Child control's window handle cannot be zero..
-
-
-
-
- Looks up a localized string similar to Parent window handle cannot be zero..
-
-
-
-
- Looks up a localized string similar to TabbedThumbnailProxyWindow has not been set..
-
-
-
-
- Looks up a localized string similar to A valid active Window is needed to update the Taskbar..
-
-
-
-
- Looks up a localized string similar to The array of buttons must contain at least 1 item..
-
-
-
-
- Looks up a localized string similar to Tool bar buttons for this window are already added. Please refer to the Remarks section of the AddButtons method for more information on updating the properties or hiding existing buttons..
-
-
-
-
- Looks up a localized string similar to Value is already set. It cannot be set more than once..
-
-
-
-
- Looks up a localized string similar to The given control has not been added to the taskbar..
-
-
-
-
- Looks up a localized string similar to Window handle is invalid..
-
-
-
-
- Looks up a localized string similar to This preview has already been added..
-
-
-
-
- Looks up a localized string similar to The given preview has not been added to the taskbar..
-
-
-
-
- Looks up a localized string similar to Maximum number of buttons allowed is 7..
-
-
-
-
- Looks up a localized string similar to Null or empty arrays are not allowed..
-
-
-
-
- Encapsulates the data about a window message
-
-
-
-
- Received windows message.
-
-
-
-
- The result of registering with the MessageListenerFilter
-
-
-
-
- Gets the window handle to which the callback was registered.
-
-
-
-
- Gets the message for which the callback was registered.
-
-
-
-
- Base class for the Event Args for change notifications raised by .
-
-
-
-
- The type of the change that happened to the ShellObject
-
-
-
-
- True if the event was raised as a result of a system interrupt.
-
-
-
-
- The data that describes a ShellObject event with a single path parameter
-
-
-
-
- The path of the shell object
-
-
-
-
- The data that describes a ShellObject renamed event
-
-
-
-
- The new path of the shell object
-
-
-
-
- The data that describes a SystemImageUpdated event.
-
-
-
-
- Gets the index of the system image that has been updated.
-
-
-
-
- Listens for changes in/on a ShellObject and raises events when they occur.
- This class supports all items under the shell namespace including
- files, folders and virtual folders (libraries, search results and network items), etc.
-
-
-
-
- Creates the ShellObjectWatcher for the given ShellObject
-
- The ShellObject to monitor
- Whether to listen for changes recursively (for when monitoring a container)
-
-
-
- Start the watcher and begin receiving change notifications.
-
- If the watcher is running, has no effect.
- Registration for notifications should be done before this is called.
-
-
-
-
-
- Stop the watcher and prevent further notifications from being received.
- If the watcher is not running, this has no effect.
-
-
-
-
- Processes all change notifications sent by the Windows Shell.
-
- The windows message representing the notification event
-
-
-
- Disposes ShellObjectWatcher
-
-
-
-
-
- Disposes ShellObjectWatcher.
-
-
-
-
- Finalizer for ShellObjectWatcher
-
-
-
-
- Gets whether the watcher is currently running.
-
-
-
-
- Raised when any event occurs.
-
-
-
-
- Raised when global events occur.
-
-
-
-
- Raised when disk events occur.
-
-
-
-
- Raised when an item is renamed.
-
-
-
-
- Raised when an item is created.
-
-
-
-
- Raised when an item is deleted.
-
-
-
-
- Raised when an item is updated.
-
-
-
-
- Raised when a directory is updated.
-
-
-
-
- Raised when a directory is renamed.
-
-
-
-
- Raised when a directory is created.
-
-
-
-
- Raised when a directory is deleted.
-
-
-
-
- Raised when media is inserted.
-
-
-
-
- Raised when media is removed.
-
-
-
-
- Raised when a drive is added.
-
-
-
-
- Raised when a drive is removed.
-
-
-
-
- Raised when a folder is shared on a network.
-
-
-
-
- Raised when a folder is unshared from the network.
-
-
-
-
- Raised when a server is disconnected.
-
-
-
-
- Raised when a system image is changed.
-
-
-
-
- Raised when free space changes.
-
-
-
-
- Raised when a file type association changes.
-
-
-
-
- Describes the event that has occurred.
- Typically, only one event is specified at a time.
- If more than one event is specified,
- the values contained in the dwItem1 and dwItem2 parameters must be the same,
- respectively, for all specified events.
- This parameter can be one or more of the following values:
-
-
-
-
- None
-
-
-
-
- The name of a nonfolder item has changed.
- SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the previous PIDL or name of the item.
- dwItem2 contains the new PIDL or name of the item.
-
-
-
-
- A nonfolder item has been created. SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the item that was created.
- dwItem2 is not used and should be NULL.
-
-
-
-
- A nonfolder item has been deleted. SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the item that was deleted.
- dwItem2 is not used and should be NULL.
-
-
-
-
- A folder has been created. SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the folder that was created.
- dwItem2 is not used and should be NULL.
-
-
-
-
- A folder has been removed. SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the folder that was removed.
- dwItem2 is not used and should be NULL.
-
-
-
-
- Storage media has been inserted into a drive. SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the root of the drive that contains the new media.
- dwItem2 is not used and should be NULL.
-
-
-
-
- Storage media has been removed from a drive. SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the root of the drive from which the media was removed.
- dwItem2 is not used and should be NULL.
-
-
-
-
- A drive has been removed. SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the root of the drive that was removed.
- dwItem2 is not used and should be NULL.
-
-
-
-
- A drive has been added. SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the root of the drive that was added.
- dwItem2 is not used and should be NULL.
-
-
-
-
- A folder on the local computer is being shared via the network.
- SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the folder that is being shared.
- dwItem2 is not used and should be NULL.
-
-
-
-
- A folder on the local computer is no longer being shared via the network.
- SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the folder that is no longer being shared.
- dwItem2 is not used and should be NULL.
-
-
-
-
- The attributes of an item or folder have changed.
- SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the item or folder that has changed.
- dwItem2 is not used and should be NULL.
-
-
-
-
- The contents of an existing folder have changed, but the folder still exists and has not been renamed.
- SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the folder that has changed.
- dwItem2 is not used and should be NULL.
- If a folder has been created, deleted, or renamed, use SHCNE_MKDIR, SHCNE_RMDIR, or SHCNE_RENAMEFOLDER, respectively.
-
-
-
-
- An existing item (a folder or a nonfolder) has changed, but the item still exists and has not been renamed.
- SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the item that has changed.
- dwItem2 is not used and should be NULL.
- If a nonfolder item has been created, deleted, or renamed,
- use SHCNE_CREATE, SHCNE_DELETE, or SHCNE_RENAMEITEM, respectively, instead.
-
-
-
-
- The computer has disconnected from a server.
- SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the server from which the computer was disconnected.
- dwItem2 is not used and should be NULL.
-
-
-
-
- An image in the system image list has changed.
- SHCNF_DWORD must be specified in uFlags.
- dwItem1 is not used and should be NULL.
- dwItem2 contains the index in the system image list that has changed.
- //verify this is not opposite?
-
-
-
- The name of a folder has changed. SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the previous PIDL or name of the folder.
- dwItem2 contains the new PIDL or name of the folder.
-
-
-
-
- The amount of free space on a drive has changed.
- SHCNF_IDLIST or SHCNF_PATH must be specified in uFlags.
- dwItem1 contains the root of the drive on which the free space changed.
- dwItem2 is not used and should be NULL.
-
-
-
-
- A file type association has changed.
- SHCNF_IDLIST must be specified in the uFlags parameter.
- dwItem1 and dwItem2 are not used and must be NULL.
-
-
-
-
- Specifies a combination of all of the disk event identifiers.
-
-
-
-
- Specifies a combination of all of the global event identifiers.
-
-
-
-
- All events have occurred.
-
-
-
-
- The specified event occurred as a result of a system interrupt.
- As this value modifies other event values, it cannot be used alone.
-
-
-
-
- Represents a standard system icon.
-
-
-
-
- Creates a new StockIcon instance with the specified identifer, default size
- and no link overlay or selected states.
-
- A value that identifies the icon represented by this instance.
-
-
-
- Creates a new StockIcon instance with the specified identifer and options.
-
- A value that identifies the icon represented by this instance.
- A value that indicates the size of the stock icon.
- A bool value that indicates whether the icon has a link overlay.
- A bool value that indicates whether the icon is in a selected state.
-
-
-
- Release the native and managed objects
-
- Indicates that this is being called from Dispose(), rather than the finalizer.
-
-
-
- Release the native objects
-
-
-
-
-
-
-
-
-
- Gets or sets a value indicating whether the icon appears selected.
-
- A value.
-
-
-
- Gets or sets a value that cotrols whether to put a link overlay on the icon.
-
- A value.
-
-
-
- Gets or sets a value that controls the size of the Stock Icon.
-
- A value.
-
-
-
- Gets or sets the Stock Icon identifier associated with this icon.
-
-
-
-
- Gets the icon image in format.
-
-
-
-
- Gets the icon image in format.
-
-
-
-
- Gets the icon image in format.
-
-
-
-
- Specifies options for the size of the stock icon.
-
-
-
-
- Retrieve the small version of the icon, as specified by SM_CXSMICON and SM_CYSMICON system metrics.
-
-
-
-
- Retrieve the large version of the icon, as specified by SM_CXICON and SM_CYICON system metrics.
-
-
-
-
- Retrieve the shell-sized icons (instead of the size specified by the system metrics).
-
-
-
-
- Provides values used to specify which standard icon to retrieve.
-
-
-
-
- Icon for a document (blank page), no associated program.
-
-
-
-
- Icon for a document with an associated program.
-
-
-
-
- Icon for a generic application with no custom icon.
-
-
-
-
- Icon for a closed folder.
-
-
-
-
- Icon for an open folder.
-
-
-
-
- Icon for a 5.25" floppy disk drive.
-
-
-
-
- Icon for a 3.5" floppy disk drive.
-
-
-
-
- Icon for a removable drive.
-
-
-
-
- Icon for a fixed (hard disk) drive.
-
-
-
-
- Icon for a network drive.
-
-
-
-
- Icon for a disconnected network drive.
-
-
-
-
- Icon for a CD drive.
-
-
-
-
- Icon for a RAM disk drive.
-
-
-
-
- Icon for an entire network.
-
-
-
-
- Icon for a computer on the network.
-
-
-
-
- Icon for a printer.
-
-
-
-
- Icon for My Network places.
-
-
-
-
- Icon for search (magnifying glass).
-
-
-
-
- Icon for help.
-
-
-
-
- Icon for an overlay indicating shared items.
-
-
-
-
- Icon for an overlay indicating shortcuts to items.
-
-
-
-
- Icon for an overlay for slow items.
-
-
-
-
- Icon for a empty recycle bin.
-
-
-
-
- Icon for a full recycle bin.
-
-
-
-
- Icon for audio CD media.
-
-
-
-
- Icon for a security lock.
-
-
-
-
- Icon for a auto list.
-
-
-
-
- Icon for a network printer.
-
-
-
-
- Icon for a server share.
-
-
-
-
- Icon for a Fax printer.
-
-
-
-
- Icon for a networked Fax printer.
-
-
-
-
- Icon for print to file.
-
-
-
-
- Icon for a stack.
-
-
-
-
- Icon for a SVCD media.
-
-
-
-
- Icon for a folder containing other items.
-
-
-
-
- Icon for an unknown drive.
-
-
-
-
- Icon for a DVD drive.
-
-
-
-
- Icon for DVD media.
-
-
-
-
- Icon for DVD-RAM media.
-
-
-
-
- Icon for DVD-RW media.
-
-
-
-
- Icon for DVD-R media.
-
-
-
-
- Icon for a DVD-ROM media.
-
-
-
-
- Icon for CD+ (Enhanced CD) media.
-
-
-
-
- Icon for CD-RW media.
-
-
-
-
- Icon for a CD-R media.
-
-
-
-
- Icon burning a CD.
-
-
-
-
- Icon for blank CD media.
-
-
-
-
- Icon for CD-ROM media.
-
-
-
-
- Icon for audio files.
-
-
-
-
- Icon for image files.
-
-
-
-
- Icon for video files.
-
-
-
-
- Icon for mixed Files.
-
-
-
-
- Icon for a folder back.
-
-
-
-
- Icon for a folder front.
-
-
-
-
- Icon for a security shield. Use for UAC prompts only.
-
-
-
-
- Icon for a warning.
-
-
-
-
- Icon for an informational message.
-
-
-
-
- Icon for an error message.
-
-
-
-
- Icon for a key.
-
-
-
-
- Icon for software.
-
-
-
-
- Icon for a rename.
-
-
-
-
- Icon for delete.
-
-
-
-
- Icon for audio DVD media.
-
-
-
-
- Icon for movie DVD media.
-
-
-
-
- Icon for enhanced CD media.
-
-
-
-
- Icon for enhanced DVD media.
-
-
-
-
- Icon for HD-DVD media.
-
-
-
-
- Icon for BluRay media.
-
-
-
-
- Icon for VCD media.
-
-
-
-
- Icon for DVD+R media.
-
-
-
-
- Icon for DVD+RW media.
-
-
-
-
- Icon for desktop computer.
-
-
-
-
- Icon for mobile computer (laptop/notebook).
-
-
-
-
- Icon for users.
-
-
-
-
- Icon for smart media.
-
-
-
-
- Icon for compact flash.
-
-
-
-
- Icon for a cell phone.
-
-
-
-
- Icon for a camera.
-
-
-
-
- Icon for video camera.
-
-
-
-
- Icon for audio player.
-
-
-
-
- Icon for connecting to network.
-
-
-
-
- Icon for the Internet.
-
-
-
-
- Icon for a ZIP file.
-
-
-
-
- Icon for settings.
-
-
-
-
- HDDVD Drive (all types)
-
-
-
-
- Icon for BluRay Drive (all types)
-
-
-
-
- Icon for HDDVD-ROM Media
-
-
-
-
- Icon for HDDVD-R Media
-
-
-
-
- Icon for HDDVD-RAM Media
-
-
-
-
- Icon for BluRay ROM Media
-
-
-
-
- Icon for BluRay R Media
-
-
-
-
- Icon for BluRay RE Media (Rewriable and RAM)
-
-
-
-
- Icon for Clustered disk
-
-
-
-
- Collection of all the standard system stock icons
-
-
-
-
- Creates a stock icon collection using the default options for
- size, link overlay and selection state.
-
-
-
-
- Overloaded constructor that takes in size and Boolean values for
- link overlay and selected icon state. The settings are applied to
- all the stock icons in the collection.
-
- StockIcon size for all the icons in the collection.
- Link Overlay state for all the icons in the collection.
- Selection state for all the icons in the collection.
-
-
-
- Returns the existing stock icon from the internal cache, or creates a new one
- based on the current settings if it's not in the cache.
-
- Unique identifier for the requested stock icon
- Stock Icon based on the identifier given (either from the cache or created new)
-
-
-
- Gets the default stock icon size in one of the StockIconSize values.
- This size applies to all the stock icons in the collection.
-
-
-
-
- Gets the default link overlay state for the icon. This property
- applies to all the stock icons in the collection.
-
-
-
-
- Gets the default selected state for the icon. This property
- applies to all the stock icons in the collection.
-
-
-
-
- Gets a collection of all the system stock icons
-
-
-
-
- Icon for a document (blank page), no associated program.
-
-
-
-
- Icon for a document with an associated program.
-
-
-
-
- Icon for a generic application with no custom icon.
-
-
-
-
- Icon for a closed folder.
-
-
-
-
- Icon for an open folder.
-
-
-
-
- Icon for a 5.25" floppy disk drive.
-
-
-
-
- Icon for a 3.5" floppy disk drive.
-
-
-
-
- Icon for a removable drive.
-
-
-
-
- Icon for a fixed (hard disk) drive.
-
-
-
-
- Icon for a network drive.
-
-
-
-
- Icon for a disconnected network drive.
-
-
-
-
- Icon for a CD drive.
-
-
-
-
- Icon for a RAM disk drive.
-
-
-
-
- Icon for an entire network.
-
-
-
-
- Icon for a computer on the network.
-
-
-
-
- Icon for a printer.
-
-
-
-
- Icon for My Network places.
-
-
-
-
- Icon for search (magnifying glass).
-
-
-
-
- Icon for help.
-
-
-
-
- Icon for an overlay indicating shared items.
-
-
-
-
- Icon for an overlay indicating shortcuts to items.
-
-
-
-
- Icon for an overlay for slow items.
-
-
-
-
- Icon for a empty recycle bin.
-
-
-
-
- Icon for a full recycle bin.
-
-
-
-
- Icon for audio CD media.
-
-
-
-
- Icon for a security lock.
-
-
-
-
- Icon for a auto list.
-
-
-
-
- Icon for a network printer.
-
-
-
-
- Icon for a server share.
-
-
-
-
- Icon for a Fax printer.
-
-
-
-
- Icon for a networked Fax printer.
-
-
-
-
- Icon for print to file.
-
-
-
-
- Icon for a stack.
-
-
-
-
- Icon for a SVCD media.
-
-
-
-
- Icon for a folder containing other items.
-
-
-
-
- Icon for an unknown drive.
-
-
-
-
- Icon for a DVD drive.
-
-
-
-
- Icon for DVD media.
-
-
-
-
- Icon for DVD-RAM media.
-
-
-
-
- Icon for DVD-RW media.
-
-
-
-
- Icon for DVD-R media.
-
-
-
-
- Icon for a DVD-ROM media.
-
-
-
-
- Icon for CD+ (Enhanced CD) media.
-
-
-
-
- Icon for CD-RW media.
-
-
-
-
- Icon for a CD-R media.
-
-
-
-
- Icon burning a CD.
-
-
-
-
- Icon for blank CD media.
-
-
-
-
- Icon for CD-ROM media.
-
-
-
-
- Icon for audio files.
-
-
-
-
- Icon for image files.
-
-
-
-
- Icon for video files.
-
-
-
-
- Icon for mixed Files.
-
-
-
-
- Icon for a folder back.
-
-
-
-
- Icon for a folder front.
-
-
-
-
- Icon for a security shield. Use for UAC prompts only.
-
-
-
-
- Icon for a warning.
-
-
-
-
- Icon for an informational message.
-
-
-
-
- Icon for an error message.
-
-
-
-
- Icon for a key.
-
-
-
-
- Icon for software.
-
-
-
-
- Icon for a rename.
-
-
-
-
- Icon for delete.
-
-
-
-
- Icon for audio DVD media.
-
-
-
-
- Icon for movie DVD media.
-
-
-
-
- Icon for enhanced CD media.
-
-
-
-
- Icon for enhanced DVD media.
-
-
-
-
- Icon for HD-DVD media.
-
-
-
-
- Icon for BluRay media.
-
-
-
-
- Icon for VCD media.
-
-
-
-
- Icon for DVD+R media.
-
-
-
-
- Icon for DVD+RW media.
-
-
-
-
- Icon for desktop computer.
-
-
-
-
- Icon for mobile computer (laptop/notebook).
-
-
-
-
- Icon for users.
-
-
-
-
- Icon for smart media.
-
-
-
-
- Icon for compact flash.
-
-
-
-
- Icon for a cell phone.
-
-
-
-
- Icon for a camera.
-
-
-
-
- Icon for video camera.
-
-
-
-
- Icon for audio player.
-
-
-
-
- Icon for connecting to network.
-
-
-
-
- Icon for the Internet.
-
-
-
-
- Icon for a ZIP file.
-
-
-
-
- Icon for settings.
-
-
-
-
- HDDVD Drive (all types)
-
-
-
-
- Icon for BluRay Drive (all types)
-
-
-
-
- Icon for HDDVD-ROM Media
-
-
-
-
- Icon for HDDVD-R Media
-
-
-
-
- Icon for HDDVD-RAM Media
-
-
-
-
- Icon for BluRay ROM Media
-
-
-
-
- Icon for BluRay R Media
-
-
-
-
- Icon for BluRay RE Media (Rewriable and RAM)
-
-
-
-
- Icon for Clustered disk
-
-
-
-
- Represents a collection of custom categories
-
-
-
-
- Add the specified category to this collection
-
- Category to add
-
-
-
- Remove the specified category from this collection
-
- Category item to remove
- True if item was removed.
-
-
-
- Clear all items from the collection
-
-
-
-
- Determine if this collection contains the specified item
-
- Category to search for
- True if category was found
-
-
-
- Copy this collection to a compatible one-dimensional array,
- starting at the specified index of the target array
-
- Array to copy to
- Index of target array to start copy
-
-
-
- Returns an enumerator that iterates through this collection.
-
- Enumerator to iterate through this collection.
-
-
-
- Returns an enumerator that iterates through this collection.
-
- Enumerator to iterate through this collection.
-
-
-
- Event to trigger anytime this collection is modified
-
-
-
-
- Determines if this collection is read-only
-
-
-
-
- The number of items in this collection
-
-
-
-
- Represents a collection of jump list items.
-
- The type of elements in this collection.
-
-
-
- Adds the specified item to this collection.
-
- The item to add.
-
-
-
- Removes the first instance of the specified item from the collection.
-
- The item to remove.
- true if an item was removed, otherwise false if no items were removed.
-
-
-
- Clears all items from this collection.
-
-
-
-
- Determines if this collection contains the specified item.
-
- The search item.
- true if an item was found, otherwise false.
-
-
-
- Copies this collection to a compatible one-dimensional array,
- starting at the specified index of the target array.
-
- The array name.
- The index of the starting element.
-
-
-
- Returns an enumerator that iterates through a collection.
-
- An enumerator to iterate through this collection.
-
-
-
- Returns an enumerator that iterates through a collection of a specified type.
-
- An enumerator to iterate through this collection.
-
-
-
- Occurs anytime a change is made to the underlying collection.
-
-
-
-
- Gets or sets a value that determines if this collection is read-only.
-
-
-
-
- Gets a count of the items currently in this collection.
-
-
-
-
- Represents a jump list link object.
-
-
-
-
- Interface for jump list tasks
-
-
-
-
- Interface for jump list items
-
-
-
-
- Gets or sets this item's path
-
-
-
-
- Initializes a new instance of a JumpListLink with the specified path.
-
- The path to the item. The path is required for the JumpList Link
- The title for the JumpListLink item. The title is required for the JumpList link.
-
-
-
- Release the native and managed objects
-
- Indicates that this is being called from Dispose(), rather than the finalizer.
-
-
-
- Release the native objects.
-
-
-
-
- Implement the finalizer.
-
-
-
-
- Gets or sets the link's title
-
-
-
-
- Gets or sets the link's path
-
-
-
-
- Gets or sets the icon reference (location and index) of the link's icon.
-
-
-
-
- Gets or sets the object's arguments (passed to the command line).
-
-
-
-
- Gets or sets the object's working directory.
-
-
-
-
- Gets or sets the show command of the lauched application.
-
-
-
-
- Gets an IShellLinkW representation of this object
-
-
-
-
- Represents a separator in the user task list. The JumpListSeparator control
- can only be used in a user task list.
-
-
-
-
- Release the native and managed objects
-
- Indicates that this is being called from Dispose(), rather than the finalizer.
-
-
-
- Release the native objects.
-
-
-
-
- Implement the finalizer.
-
-
-
-
- Gets an IShellLinkW representation of this object
-
-
-
-
- Event args for when close is selected on a tabbed thumbnail proxy window.
-
-
-
-
- Event args for various Tabbed Thumbnail related events
-
-
-
-
- Creates a Event Args for a specific tabbed thumbnail event.
-
- Window handle for the control/window related to the event
-
-
-
- Creates a Event Args for a specific tabbed thumbnail event.
-
- WPF Control (UIElement) related to the event
-
-
-
- Gets the Window handle for the specific control/window that is related to this event.
-
- For WPF Controls (UIElement) the WindowHandle will be IntPtr.Zero.
- Check the WindowsControl property to get the specific control associated with this event.
-
-
-
- Gets the WPF Control (UIElement) that is related to this event. This property may be null
- for non-WPF applications.
-
-
-
-
- Creates a Event Args for a specific tabbed thumbnail event.
-
- Window handle for the control/window related to the event
-
-
-
- Creates a Event Args for a specific tabbed thumbnail event.
-
- WPF Control (UIElement) related to the event
-
-
-
- If set to true, the proxy window will not be removed from the taskbar.
-
-
-
-
- Helper class to capture a control or window as System.Drawing.Bitmap
-
-
-
-
- Captures a screenshot of the specified window at the specified
- bitmap size. NOTE: This method will not accurately capture controls
- that are hidden or obstructed (partially or completely) by another control (e.g. hidden tabs,
- or MDI child windows that are obstructed by other child windows/forms).
-
- The window handle.
- The requested bitmap size.
- A screen capture of the window.
-
-
-
- Grabs a snapshot of a WPF UIElement and returns the image as Bitmap.
-
- Represents the element to take the snapshot from.
- Represents the X DPI value used to capture this snapshot.
- Represents the Y DPI value used to capture this snapshot.
- The requested bitmap width.
- The requested bitmap height.
- Returns the bitmap (PNG format).
-
-
-
- Resizes the given bitmap while maintaining the aspect ratio.
-
- Original/source bitmap
- Maximum width for the new image
- Maximum height for the new image
- If true and requested image is wider than the source, the new image is resized accordingly.
-
-
-
-
- Represents the main class for adding and removing tabbed thumbnails on the Taskbar
- for child windows and controls.
-
-
-
-
- Internal dictionary to keep track of the user's window handle and its
- corresponding thumbnail preview objects.
-
-
-
-
- Internal constructor that creates a new dictionary for keeping track of the window handles
- and their corresponding thumbnail preview objects.
-
-
-
-
- Adds a new tabbed thumbnail to the taskbar.
-
- Thumbnail preview for a specific window handle or control. The preview
- object can be initialized with specific properties for the title, bitmap, and tooltip.
- If the tabbed thumbnail has already been added
-
-
-
- Gets the TabbedThumbnail object associated with the given window handle
-
- Window handle for the control/window
- TabbedThumbnail associated with the given window handle
-
-
-
- Gets the TabbedThumbnail object associated with the given control
-
- Specific control for which the preview object is requested
- TabbedThumbnail associated with the given control
-
-
-
- Gets the TabbedThumbnail object associated with the given WPF Window
-
- WPF Control (UIElement) for which the preview object is requested
- TabbedThumbnail associated with the given WPF Window
-
-
-
- Remove the tabbed thumbnail from the taskbar.
-
- TabbedThumbnail associated with the control/window that
- is to be removed from the taskbar
-
-
-
- Remove the tabbed thumbnail from the taskbar.
-
- TabbedThumbnail associated with the window handle that
- is to be removed from the taskbar
-
-
-
- Remove the tabbed thumbnail from the taskbar.
-
- TabbedThumbnail associated with the control that
- is to be removed from the taskbar
-
-
-
- Remove the tabbed thumbnail from the taskbar.
-
- TabbedThumbnail associated with the WPF Control (UIElement) that
- is to be removed from the taskbar
-
-
-
- Sets the given tabbed thumbnail preview object as being active on the taskbar tabbed thumbnails list.
- Call this method to keep the application and the taskbar in sync as to which window/control
- is currently active (or selected, in the case of tabbed application).
-
- TabbedThumbnail for the specific control/indow that is currently active in the application
- If the control/window is not yet added to the tabbed thumbnails list
-
-
-
- Sets the given window handle as being active on the taskbar tabbed thumbnails list.
- Call this method to keep the application and the taskbar in sync as to which window/control
- is currently active (or selected, in the case of tabbed application).
-
- Window handle for the control/window that is currently active in the application
- If the control/window is not yet added to the tabbed thumbnails list
-
-
-
- Sets the given Control/Form window as being active on the taskbar tabbed thumbnails list.
- Call this method to keep the application and the taskbar in sync as to which window/control
- is currently active (or selected, in the case of tabbed application).
-
- Control/Form that is currently active in the application
- If the control/window is not yet added to the tabbed thumbnails list
-
-
-
- Sets the given WPF window as being active on the taskbar tabbed thumbnails list.
- Call this method to keep the application and the taskbar in sync as to which window/control
- is currently active (or selected, in the case of tabbed application).
-
- WPF control that is currently active in the application
- If the control/window is not yet added to the tabbed thumbnails list
-
-
-
- Determines whether the given preview has been added to the taskbar's tabbed thumbnail list.
-
- The preview to locate on the taskbar's tabbed thumbnail list
- true if the tab is already added on the taskbar; otherwise, false.
-
-
-
- Determines whether the given window has been added to the taskbar's tabbed thumbnail list.
-
- The window to locate on the taskbar's tabbed thumbnail list
- true if the tab is already added on the taskbar; otherwise, false.
-
-
-
- Determines whether the given control has been added to the taskbar's tabbed thumbnail list.
-
- The preview to locate on the taskbar's tabbed thumbnail list
- true if the tab is already added on the taskbar; otherwise, false.
-
-
-
- Determines whether the given control has been added to the taskbar's tabbed thumbnail list.
-
- The preview to locate on the taskbar's tabbed thumbnail list
- true if the tab is already added on the taskbar; otherwise, false.
-
-
-
- Invalidates all the tabbed thumbnails. This will force the Desktop Window Manager
- to not use the cached thumbnail or preview or aero peek and request a new one next time.
-
- This method should not be called frequently.
- Doing so can lead to poor performance as new bitmaps are created and retrieved.
-
-
-
- Clear a clip that is already in place and return to the default display of the thumbnail.
-
- The handle to a window represented in the taskbar. This has to be a top-level window.
-
-
-
- Selects a portion of a window's client area to display as that window's thumbnail in the taskbar.
-
- The handle to a window represented in the taskbar. This has to be a top-level window.
- Rectangle structure that specifies a selection within the window's client area,
- relative to the upper-left corner of that client area.
- If this parameter is null, the clipping area will be cleared and the default display of the thumbnail will be used instead.
-
-
-
- Moves an existing thumbnail to a new position in the application's group.
-
- Preview for the window whose order is being changed.
- This value is required, must already be added via AddThumbnailPreview method, and cannot be null.
- The preview of the tab window whose thumbnail that previewToChange is inserted to the left of.
- This preview must already be added via AddThumbnailPreview. If this value is null, the previewToChange tab is added to the end of the list.
-
-
-
-
- Event args for the TabbedThumbnailBitmapRequested event. The event allows applications to
- provide a bitmap for the tabbed thumbnail's preview and peek. The application should also
- set the Handled property if a custom bitmap is provided.
-
-
-
-
- Creates a Event Args for a TabbedThumbnailBitmapRequested event.
-
- Window handle for the control/window related to the event
-
-
-
- Creates a Event Args for a TabbedThumbnailBitmapRequested event.
-
- WPF Control (UIElement) related to the event
-
-
-
- Gets or sets a value indicating whether the TabbedThumbnailBitmapRequested event was handled.
- Set this property if the SetImage method is called with a custom bitmap for the thumbnail/peek.
-
-
-
-
- Represents a tabbed thumbnail on the taskbar for a given window or a control.
-
-
-
-
- Creates a new TabbedThumbnail with the given window handle of the parent and
- a child control/window's handle (e.g. TabPage or Panel)
-
- Window handle of the parent window.
- This window has to be a top-level window and the handle cannot be null or IntPtr.Zero
- Window handle of the child control or window for which a tabbed
- thumbnail needs to be displayed
-
-
-
- Creates a new TabbedThumbnail with the given window handle of the parent and
- a child control (e.g. TabPage or Panel)
-
- Window handle of the parent window.
- This window has to be a top-level window and the handle cannot be null or IntPtr.Zero
- Child control for which a tabbed thumbnail needs to be displayed
- This method can also be called when using a WindowsFormHost control in a WPF application.
- Call this method with the main WPF Window's handle, and windowsFormHost.Child control.
-
-
-
- Creates a new TabbedThumbnail with the given window handle of the parent and
- a WPF child Window. For WindowsFormHost control, use TabbedThumbnail(IntPtr, Control) overload and pass
- the WindowsFormHost.Child as the second parameter.
-
- Parent window for the UIElement control.
- This window has to be a top-level window and the handle cannot be null
- WPF Control (UIElement) for which a tabbed thumbnail needs to be displayed
- Offset point used for displaying the peek bitmap. This setting is
- recomended for hidden WPF controls as it is difficult to calculate their offset.
-
-
-
- Sets the window icon for this thumbnail preview
-
- System.Drawing.Icon for the window/control associated with this preview
-
-
-
- Sets the window icon for this thumbnail preview
-
- Icon handle (hIcon) for the window/control associated with this preview
- This method will not release the icon handle. It is the caller's responsibility to release the icon handle.
-
-
-
- Override the thumbnail and peek bitmap.
- By providing this bitmap manually, Thumbnail Window manager will provide the
- Desktop Window Manager (DWM) this bitmap instead of rendering one automatically.
- Use this property to update the bitmap whenever the control is updated and the user
- needs to be shown a new thumbnail on the taskbar preview (or aero peek).
-
- The image to use.
-
- If the bitmap doesn't have the right dimensions, the DWM may scale it or not
- render certain areas as appropriate - it is the user's responsibility
- to render a bitmap with the proper dimensions.
-
-
-
-
- Override the thumbnail and peek bitmap.
- By providing this bitmap manually, Thumbnail Window manager will provide the
- Desktop Window Manager (DWM) this bitmap instead of rendering one automatically.
- Use this property to update the bitmap whenever the control is updated and the user
- needs to be shown a new thumbnail on the taskbar preview (or aero peek).
-
- The image to use.
-
- If the bitmap doesn't have the right dimensions, the DWM may scale it or not
- render certain areas as appropriate - it is the user's responsibility
- to render a bitmap with the proper dimensions.
-
-
-
-
- Override the thumbnail and peek bitmap.
- By providing this bitmap manually, Thumbnail Window manager will provide the
- Desktop Window Manager (DWM) this bitmap instead of rendering one automatically.
- Use this property to update the bitmap whenever the control is updated and the user
- needs to be shown a new thumbnail on the taskbar preview (or aero peek).
-
- A bitmap handle for the image to use.
- When the TabbedThumbnail is finalized, this class will delete the provided hBitmap.
-
- If the bitmap doesn't have the right dimensions, the DWM may scale it or not
- render certain areas as appropriate - it is the user's responsibility
- to render a bitmap with the proper dimensions.
-
-
-
-
- Invalidate any existing thumbnail preview. Calling this method
- will force DWM to request a new bitmap next time user previews the thumbnails
- or requests Aero peek preview.
-
-
-
-
- Returns true if the thumbnail was removed from the taskbar; false if it was not.
-
- Returns true if the thumbnail was removed from the taskbar; false if it was not.
-
-
-
-
-
-
-
-
- Release the native objects.
-
-
-
-
- Release the native objects.
-
-
-
-
-
- Title for the window shown as the taskbar thumbnail.
-
-
-
-
- Tooltip to be shown for this thumbnail on the taskbar.
- By default this is full title of the window shown on the taskbar.
-
-
-
-
- Specifies that only a portion of the window's client area
- should be used in the window's thumbnail.
- A value of null will clear the clipping area and use the default thumbnail.
-
-
-
-
- Specifies whether a standard window frame will be displayed
- around the bitmap. If the bitmap represents a top-level window,
- you would probably set this flag to true. If the bitmap
- represents a child window (or a frameless window), you would
- probably set this flag to false.
-
-
-
-
- Gets or sets the offset used for displaying the peek bitmap. This setting is
- recomended for hidden WPF controls as it is difficult to calculate their offset.
-
-
-
-
- This event is raised when the Title property changes.
-
-
-
-
- This event is raised when the Tooltip property changes.
-
-
-
-
- The event that occurs when a tab is closed on the taskbar thumbnail preview.
-
-
-
-
- The event that occurs when a tab is maximized via the taskbar thumbnail preview (context menu).
-
-
-
-
- The event that occurs when a tab is minimized via the taskbar thumbnail preview (context menu).
-
-
-
-
- The event that occurs when a tab is activated (clicked) on the taskbar thumbnail preview.
-
-
-
-
- The event that occurs when a thumbnail or peek bitmap is requested by the user.
-
-
-
-
-
-
-
-
-
- Release the native objects.
-
-
-
-
- Known category to display
-
-
-
-
- Don't display either known category. You must have at least one
- user task or custom category link in order to not see the
- default 'Recent' known category
-
-
-
-
- Display the 'Recent' known category
-
-
-
-
- Display the 'Frequent' known category
-
-
-
-
- Represents the thumbnail progress bar state.
-
-
-
-
- No progress is displayed.
-
-
-
-
- The progress is indeterminate (marquee).
-
-
-
-
- Normal progress is displayed.
-
-
-
-
- An error occurred (red).
-
-
-
-
- The operation is paused (yellow).
-
-
-
-
- WPARAM value for a THUMBBUTTON being clicked.
-
-
-
-
- Sets the window's application id by its window handle.
-
- The window handle.
- The application id.
-
-
-
- Thumbnail Alpha Types
-
-
-
-
- Let the system decide.
-
-
-
-
- No transparency
-
-
-
-
- Has transparency
-
-
-
-
- Defines the properties used by a Shell Property.
-
-
-
-
- Gets a formatted, Unicode string representation of a property value.
-
- One or more PropertyDescriptionFormat flags
- chosen to produce the desired display format.
- The formatted value as a string.
-
-
-
- Gets the property key that identifies this property.
-
-
-
-
- Get the property description object.
-
-
-
-
- Gets the case-sensitive name of the property as it is known to the system,
- regardless of its localized name.
-
-
-
-
- Gets the value for this property using the generic Object type.
-
-
- To obtain a specific type for this value, use the more strongly-typed
- Property<T> class.
- You can only set a value for this type using the Property<T>
- class.
-
-
-
-
- Gets the System.Type value for this property.
-
-
-
-
- Gets the image reference path and icon index associated with a property value.
- This API is only available in Windows 7.
-
-
-
-
- Creates a readonly collection of IProperty objects.
-
-
-
-
- Creates a new Property collection given an IPropertyStore object
-
- IPropertyStore
-
-
-
- Creates a new Property collection given an IShellItem2 native interface
-
- Parent ShellObject
-
-
-
- Creates a new ShellPropertyCollection object with the specified file or folder path.
-
- The path to the file or folder.
-
-
-
- Checks if a property with the given canonical name is available.
-
- The canonical name of the property.
- True if available, false otherwise.
-
-
-
- Checks if a property with the given property key is available.
-
- The property key.
- True if available, false otherwise.
-
-
-
- Release the native and managed objects
-
- Indicates that this is being called from Dispose(), rather than the finalizer.
-
-
-
- Release the native objects.
-
-
-
-
- Implement the finalizer.
-
-
-
-
- Gets the property associated with the supplied canonical name string.
- The canonical name property is case-sensitive.
-
-
- The canonical name.
- The property associated with the canonical name, if found.
- Throws IndexOutOfRangeException
- if no matching property is found.
-
-
-
- Gets a property associated with the supplied property key.
-
-
- The property key.
- The property associated with the property key, if found.
- Throws IndexOutOfRangeException
- if no matching property is found.
-
-
-
- Defines the shell property description information for a property.
-
-
-
-
- Gets the localized display string that describes the current sort order.
-
- Indicates the sort order should
- reference the string "Z on top"; otherwise, the sort order should reference the string "A on top".
- The sort description for this property.
- The string retrieved by this method is determined by flags set in the
- sortDescription attribute of the labelInfo element in the property's .propdesc file.
-
-
-
- Release the native objects
-
- Indicates that this is being called from Dispose(), rather than the finalizer.
-
-
-
- Release the native objects
-
-
-
-
- Release the native objects
-
-
-
-
- Gets the case-sensitive name of a property as it is known to the system,
- regardless of its localized name.
-
-
-
-
- Gets the property key identifying the underlying property.
-
-
-
-
- Gets the display name of the property as it is shown in any user interface (UI).
-
-
-
-
- Gets the text used in edit controls hosted in various dialog boxes.
-
-
-
-
- Gets the VarEnum OLE type for this property.
-
-
-
-
- Gets the .NET system type for a value of this property, or
- null if the value is empty.
-
-
-
-
- Gets the current data type used to display the property.
-
-
-
-
- Gets the default user interface (UI) column width for this property.
-
-
-
-
- Gets a value that describes how the property values are displayed when
- multiple items are selected in the user interface (UI).
-
-
-
-
- Gets a list of the possible values for this property.
-
-
-
-
- Gets the column state flag, which describes how the property
- should be treated by interfaces or APIs that use this flag.
-
-
-
-
- Gets the condition type to use when displaying the property in
- the query builder user interface (UI). This influences the list
- of predicate conditions (for example, equals, less than, and
- contains) that are shown for this property.
-
- For more information, see the conditionType attribute
- of the typeInfo element in the property's .propdesc file.
-
-
-
- Gets the default condition operation to use
- when displaying the property in the query builder user
- interface (UI). This influences the list of predicate conditions
- (for example, equals, less than, and contains) that are shown
- for this property.
-
- For more information, see the conditionType attribute of the
- typeInfo element in the property's .propdesc file.
-
-
-
- Gets the method used when a view is grouped by this property.
-
- The information retrieved by this method comes from
- the groupingRange attribute of the typeInfo element in the
- property's .propdesc file.
-
-
-
- Gets the current sort description flags for the property,
- which indicate the particular wordings of sort offerings.
-
- The settings retrieved by this method are set
- through the sortDescription attribute of the labelInfo
- element in the property's .propdesc file.
-
-
-
- Gets a set of flags that describe the uses and capabilities of the property.
-
-
-
-
- Gets the current set of flags governing the property's view.
-
-
-
-
- Gets a value that determines if the native property description is present on the system.
-
-
-
-
- Get the native property description COM interface
-
-
-
-
- Indicate flags that modify the property store object retrieved by methods
- that create a property store, such as IShellItem2::GetPropertyStore or
- IPropertyStoreFactory::GetPropertyStore.
-
-
-
-
- Meaning to a calling process: Return a read-only property store that contains all
- properties. Slow items (offline files) are not opened.
- Combination with other flags: Can be overridden by other flags.
-
-
-
-
- Meaning to a calling process: Include only properties directly from the property
- handler, which opens the file on the disk, network, or device. Meaning to a file
- folder: Only include properties directly from the handler.
-
- Meaning to other folders: When delegating to a file folder, pass this flag on
- to the file folder; do not do any multiplexing (MUX). When not delegating to a
- file folder, ignore this flag instead of returning a failure code.
-
- Combination with other flags: Cannot be combined with GPS_TEMPORARY,
- GPS_FASTPROPERTIESONLY, or GPS_BESTEFFORT.
-
-
-
-
- Meaning to a calling process: Can write properties to the item.
- Note: The store may contain fewer properties than a read-only store.
-
- Meaning to a file folder: ReadWrite.
-
- Meaning to other folders: ReadWrite. Note: When using default MUX,
- return a single unmultiplexed store because the default MUX does not support ReadWrite.
-
- Combination with other flags: Cannot be combined with GPS_TEMPORARY, GPS_FASTPROPERTIESONLY,
- GPS_BESTEFFORT, or GPS_DELAYCREATION. Implies GPS_HANDLERPROPERTIESONLY.
-
-
-
-
- Meaning to a calling process: Provides a writable store, with no initial properties,
- that exists for the lifetime of the Shell item instance; basically, a property bag
- attached to the item instance.
-
- Meaning to a file folder: Not applicable. Handled by the Shell item.
-
- Meaning to other folders: Not applicable. Handled by the Shell item.
-
- Combination with other flags: Cannot be combined with any other flag. Implies GPS_READWRITE
-
-
-
-
- Meaning to a calling process: Provides a store that does not involve reading from the
- disk or network. Note: Some values may be different, or missing, compared to a store
- without this flag.
-
- Meaning to a file folder: Include the "innate" and "fallback" stores only. Do not load the handler.
-
- Meaning to other folders: Include only properties that are available in memory or can
- be computed very quickly (no properties from disk, network, or peripheral IO devices).
- This is normally only data sources from the IDLIST. When delegating to other folders, pass this flag on to them.
-
- Combination with other flags: Cannot be combined with GPS_TEMPORARY, GPS_READWRITE,
- GPS_HANDLERPROPERTIESONLY, or GPS_DELAYCREATION.
-
-
-
-
- Meaning to a calling process: Open a slow item (offline file) if necessary.
- Meaning to a file folder: Retrieve a file from offline storage, if necessary.
- Note: Without this flag, the handler is not created for offline files.
-
- Meaning to other folders: Do not return any properties that are very slow.
-
- Combination with other flags: Cannot be combined with GPS_TEMPORARY or GPS_FASTPROPERTIESONLY.
-
-
-
-
- Meaning to a calling process: Delay memory-intensive operations, such as file access, until
- a property is requested that requires such access.
-
- Meaning to a file folder: Do not create the handler until needed; for example, either
- GetCount/GetAt or GetValue, where the innate store does not satisfy the request.
- Note: GetValue might fail due to file access problems.
-
- Meaning to other folders: If the folder has memory-intensive properties, such as
- delegating to a file folder or network access, it can optimize performance by
- supporting IDelayedPropertyStoreFactory and splitting up its properties into a
- fast and a slow store. It can then use delayed MUX to recombine them.
-
- Combination with other flags: Cannot be combined with GPS_TEMPORARY or
- GPS_READWRITE
-
-
-
-
- Meaning to a calling process: Succeed at getting the store, even if some
- properties are not returned. Note: Some values may be different, or missing,
- compared to a store without this flag.
-
- Meaning to a file folder: Succeed and return a store, even if the handler or
- innate store has an error during creation. Only fail if substores fail.
-
- Meaning to other folders: Succeed on getting the store, even if some properties
- are not returned.
-
- Combination with other flags: Cannot be combined with GPS_TEMPORARY,
- GPS_READWRITE, or GPS_HANDLERPROPERTIESONLY.
-
-
-
-
- Mask for valid GETPROPERTYSTOREFLAGS values.
-
-
-
-
- The specified items can be copied.
-
-
-
-
- The specified items can be moved.
-
-
-
-
- Shortcuts can be created for the specified items. This flag has the same value as DROPEFFECT.
- The normal use of this flag is to add a Create Shortcut item to the shortcut menu that is displayed
- during drag-and-drop operations. However, SFGAO_CANLINK also adds a Create Shortcut item to the Microsoft
- Windows Explorer's File menu and to normal shortcut menus.
- If this item is selected, your application's IContextMenu::InvokeCommand is invoked with the lpVerb
- member of the CMINVOKECOMMANDINFO structure set to "link." Your application is responsible for creating the link.
-
-
-
-
- The specified items can be bound to an IStorage interface through IShellFolder::BindToObject.
-
-
-
-
- The specified items can be renamed.
-
-
-
-
- The specified items can be deleted.
-
-
-
-
- The specified items have property sheets.
-
-
-
-
- The specified items are drop targets.
-
-
-
-
- This flag is a mask for the capability flags.
-
-
-
-
- Windows 7 and later. The specified items are system items.
-
-
-
-
- The specified items are encrypted.
-
-
-
-
- Indicates that accessing the object = through IStream or other storage interfaces,
- is a slow operation.
- Applications should avoid accessing items flagged with SFGAO_ISSLOW.
-
-
-
-
- The specified items are ghosted icons.
-
-
-
-
- The specified items are shortcuts.
-
-
-
-
- The specified folder objects are shared.
-
-
-
-
- The specified items are read-only. In the case of folders, this means
- that new items cannot be created in those folders.
-
-
-
-
- The item is hidden and should not be displayed unless the
- Show hidden files and folders option is enabled in Folder Settings.
-
-
-
-
- This flag is a mask for the display attributes.
-
-
-
-
- The specified folders contain one or more file system folders.
-
-
-
-
- The specified items are folders.
-
-
-
-
- The specified folders or file objects are part of the file system
- that is, they are files, directories, or root directories).
-
-
-
-
- The specified folders have subfolders = and are, therefore,
- expandable in the left pane of Windows Explorer).
-
-
-
-
- This flag is a mask for the contents attributes.
-
-
-
-
- When specified as input, SFGAO_VALIDATE instructs the folder to validate that the items
- pointed to by the contents of apidl exist. If one or more of those items do not exist,
- IShellFolder::GetAttributesOf returns a failure code.
- When used with the file system folder, SFGAO_VALIDATE instructs the folder to discard cached
- properties retrieved by clients of IShellFolder2::GetDetailsEx that may
- have accumulated for the specified items.
-
-
-
-
- The specified items are on removable media or are themselves removable devices.
-
-
-
-
- The specified items are compressed.
-
-
-
-
- The specified items can be browsed in place.
-
-
-
-
- The items are nonenumerated items.
-
-
-
-
- The objects contain new content.
-
-
-
-
- It is possible to create monikers for the specified file objects or folders.
-
-
-
-
- Not supported.
-
-
-
-
- Indicates that the item has a stream associated with it that can be accessed
- by a call to IShellFolder::BindToObject with IID_IStream in the riid parameter.
-
-
-
-
- Children of this item are accessible through IStream or IStorage.
- Those children are flagged with SFGAO_STORAGE or SFGAO_STREAM.
-
-
-
-
- This flag is a mask for the storage capability attributes.
-
-
-
-
- Mask used by PKEY_SFGAOFlags to remove certain values that are considered
- to cause slow calculations or lack context.
- Equal to SFGAO_VALIDATE | SFGAO_ISSLOW | SFGAO_HASSUBFOLDER.
-
-
-
-
- Represents a saved search
-
-
-
-
- Defines a strongly-typed property object.
- All writable property objects must be of this type
- to be able to call the value setter.
-
- The type of this property's value.
- Because a property value can be empty, only nullable types
- are allowed.
-
-
-
- Constructs a new Property object
-
-
-
-
-
-
-
- Constructs a new Property object
-
-
-
-
-
-
-
- Returns a formatted, Unicode string representation of a property value.
-
- One or more of the PropertyDescriptionFormat flags
- that indicate the desired format.
- The formatted value as a string, or null if this property
- cannot be formatted for display.
- True if the method successfully locates the formatted string; otherwise
- False.
-
-
-
- Returns a formatted, Unicode string representation of a property value.
-
- One or more of the PropertyDescriptionFormat flags
- that indicate the desired format.
- The formatted value as a string, or null if this property
- cannot be formatted for display.
-
-
-
- Clears the value of the property.
-
-
-
-
- Gets or sets the strongly-typed value of this property.
- The value of the property is cleared if the value is set to null.
-
-
- If the property value cannot be retrieved or updated in the Property System
- If the type of this property is not supported; e.g. writing a binary object.
- Thrown if is false, and either
- a string value was truncated or a numeric value was rounded.
-
-
-
- Gets the property key identifying this property.
-
-
-
-
- Get the property description object.
-
-
-
-
- Gets the case-sensitive name of a property as it is known to the system,
- regardless of its localized name.
-
-
-
-
- Gets the value for this property using the generic Object type.
- To obtain a specific type for this value, use the more type strong
- Property<T> class.
- Also, you can only set a value for this type using Property<T>
-
-
-
-
- Gets the associated runtime type.
-
-
-
-
- Gets the image reference path and icon index associated with a property value (Windows 7 only).
-
-
-
-
- Gets or sets a value that determines if a value can be truncated. The default for this property is false.
-
-
- An will be thrown if
- this property is not set to true, and a property value was set
- but later truncated.
-
-
-
-
-
- Represents a custom category on the taskbar's jump list
-
-
-
-
- Add JumpList items for this category
-
- The items to add to the JumpList.
-
-
-
- Creates a new custom category instance
-
- Category name
-
-
-
- Category name
-
-
-
-
- Event that is triggered when the jump list collection is modified
-
-
-
-
- Represents an instance of a Taskbar button jump list.
-
-
-
-
- Create a JumpList for the application's taskbar button.
-
- A new JumpList that is associated with the app id of the main application window
- If there are any other child (top-level) windows for this application and they don't have
- a specific JumpList created for them, they all will share the same JumpList as the main application window.
- In order to have a individual JumpList for a top-level window, use the overloaded method CreateJumpListForIndividualWindow.
-
-
-
- Create a JumpList for the application's taskbar button.
-
- Application Id for the individual window. This must be unique for each top-level window in order to have a individual JumpList.
- Handle of the window associated with the new JumpList
- A new JumpList that is associated with the specific window handle
-
-
-
- Create a JumpList for the application's taskbar button.
-
- Application Id for the individual window. This must be unique for each top-level window in order to have a individual JumpList.
- WPF Window associated with the new JumpList
- A new JumpList that is associated with the specific WPF window
-
-
-
- Adds a collection of custom categories to the Taskbar jump list.
-
- The catagories to add to the jump list.
-
-
-
- Adds user tasks to the Taskbar JumpList. User tasks can only consist of JumpListTask or
- JumpListSeparator objects.
-
- The user tasks to add to the JumpList.
-
-
-
- Removes all user tasks that have been added.
-
-
-
-
- Creates a new instance of the JumpList class with the specified
- appId. The JumpList is associated with the main window of the application.
-
- Application Id to use for this instace.
-
-
-
- Creates a new instance of the JumpList class with the specified
- appId. The JumpList is associated with the given WPF Window.
-
- Application Id to use for this instace.
- WPF Window that is associated with this JumpList
-
-
-
- Creates a new instance of the JumpList class with the specified
- appId. The JumpList is associated with the given window.
-
- Application Id to use for this instace.
- Window handle for the window that is associated with this JumpList
-
-
-
- Reports document usage to the shell.
-
- The full path of the file to report usage.
-
-
-
- Commits the pending JumpList changes and refreshes the Taskbar.
-
- Will throw if the type of the file being added to the JumpList is not registered with the application.
- Will throw if recent documents tracking is turned off by the user or via group policy.
- Will throw if updating the JumpList fails for any other reason.
-
-
-
- Gets the recommended number of items to add to the jump list.
-
-
- This number doesn’t
- imply or suggest how many items will appear on the jump list.
- This number should only be used for reference purposes since
- the actual number of slots in the jump list can change after the last
- refresh due to items being pinned or removed and resolution changes.
- The jump list can increase in size accordingly.
-
-
-
-
- Gets or sets the type of known categories to display.
-
-
-
-
- Gets or sets the value for the known category location relative to the
- custom category collection.
-
-
-
-
- Gets or sets the application ID to use for this jump list.
-
-
-
-
- Occurs when items are removed from the Taskbar's jump list since the last
- refresh.
-
-
- This event is not triggered
- immediately when a user removes an item from the jump list but rather
- when the application refreshes the task bar list directly.
-
-
-
-
- Retrieves the current list of destinations that have been removed from the existing jump list by the user.
- The removed destinations may become items on a custom jump list.
-
- A collection of items (filenames) removed from the existing jump list by the user.
-
-
-
- Represents a jump list item.
-
-
-
-
- Creates a jump list item with the specified path.
-
- The path to the jump list item.
- The file type should associate the given file
- with the calling application.
-
-
-
- Gets or sets the target path for this jump list item.
-
-
-
-
- Provides internal access to the functions provided by the ITaskbarList4 interface,
- without being forced to refer to it through another singleton.
-
-
-
-
- Represents an instance of the Windows taskbar
-
-
-
-
- Applies an overlay to a taskbar button of the main application window to indicate application status or a notification to the user.
-
- The overlay icon
- String that provides an alt text version of the information conveyed by the overlay, for accessibility purposes
-
-
-
- Applies an overlay to a taskbar button of the given window handle to indicate application status or a notification to the user.
-
- The handle of the window whose associated taskbar button receives the overlay. This handle must belong to a calling process associated with the button's application and must be a valid HWND or the call is ignored.
- The overlay icon
- String that provides an alt text version of the information conveyed by the overlay, for accessibility purposes
-
-
-
- Applies an overlay to a taskbar button of the given WPF window to indicate application status or a notification to the user.
-
- The window whose associated taskbar button receives the overlay. This window belong to a calling process associated with the button's application and must be already loaded.
- The overlay icon
- String that provides an alt text version of the information conveyed by the overlay, for accessibility purposes
-
-
-
- Displays or updates a progress bar hosted in a taskbar button of the main application window
- to show the specific percentage completed of the full operation.
-
- An application-defined value that indicates the proportion of the operation that has been completed at the time the method is called.
- An application-defined value that specifies the value currentValue will have when the operation is complete.
-
-
-
- Displays or updates a progress bar hosted in a taskbar button of the given window handle
- to show the specific percentage completed of the full operation.
-
- The handle of the window whose associated taskbar button is being used as a progress indicator.
- This window belong to a calling process associated with the button's application and must be already loaded.
- An application-defined value that indicates the proportion of the operation that has been completed at the time the method is called.
- An application-defined value that specifies the value currentValue will have when the operation is complete.
-
-
-
- Displays or updates a progress bar hosted in a taskbar button of the given WPF window
- to show the specific percentage completed of the full operation.
-
- The window whose associated taskbar button is being used as a progress indicator.
- This window belong to a calling process associated with the button's application and must be already loaded.
- An application-defined value that indicates the proportion of the operation that has been completed at the time the method is called.
- An application-defined value that specifies the value currentValue will have when the operation is complete.
-
-
-
- Sets the type and state of the progress indicator displayed on a taskbar button of the main application window.
-
- Progress state of the progress button
-
-
-
- Sets the type and state of the progress indicator displayed on a taskbar button
- of the given window handle
-
- The handle of the window whose associated taskbar button is being used as a progress indicator.
- This window belong to a calling process associated with the button's application and must be already loaded.
- Progress state of the progress button
-
-
-
- Sets the type and state of the progress indicator displayed on a taskbar button
- of the given WPF window
-
- The window whose associated taskbar button is being used as a progress indicator.
- This window belong to a calling process associated with the button's application and must be already loaded.
- Progress state of the progress button
-
-
-
- Sets the application user model id for an individual window
-
- The app id to set
- Window handle for the window that needs a specific application id
- AppId specifies a unique Application User Model ID (AppID) for the application or individual
- top-level window whose taskbar button will hold the custom JumpList built through the methods class.
- By setting an appId for a specific window, the window will not be grouped with it's parent window/application. Instead it will have it's own taskbar button.
-
-
-
- Sets the application user model id for a given window
-
- The app id to set
- Window that needs a specific application id
- AppId specifies a unique Application User Model ID (AppID) for the application or individual
- top-level window whose taskbar button will hold the custom JumpList built through the methods class.
- By setting an appId for a specific window, the window will not be grouped with it's parent window/application. Instead it will have it's own taskbar button.
-
-
-
- Sets the current process' explicit application user model id.
-
- The application id.
-
-
-
- Gets the current process' explicit application user model id.
-
- The app id or null if no app id has been defined.
-
-
-
- Represents an instance of the Windows Taskbar
-
-
-
-
- Gets the Tabbed Thumbnail manager class for adding/updating
- tabbed thumbnail previews.
-
-
-
-
- Gets the Thumbnail toolbar manager class for adding/updating
- toolbar buttons.
-
-
-
-
- Gets or sets the application user model id. Use this to explicitly
- set the application id when generating custom jump lists
-
-
-
-
- Sets the handle of the window whose taskbar button will be used
- to display progress.
-
-
-
-
- Indicates if the user has set the application id for the whole process (all windows)
-
-
-
-
- Indicates whether this feature is supported on the current platform.
-
-
-
-
-
-
-
-
-
- Release the native objects.
-
-
-
-
- Dispatches a window message so that the appropriate events
- can be invoked. This is used for the Taskbar's thumbnail toolbar feature.
-
- The window message, typically obtained
- from a Windows Forms or WPF window procedure.
- Taskbar window for which we are intercepting the messages
- Returns true if this method handles the window message
-
-
-
- Helper function to capture a bitmap for a given window handle or incase of WPF app,
- an UIElement.
-
- The proxy window for which a bitmap needs to be created
- Size for the requested bitmap image
- Bitmap captured from the window handle or UIElement. Null if the window is hidden or it's size is zero.
-
-
-
- Represents a taskbar thumbnail button in the thumbnail toolbar.
-
-
-
-
- Initializes an instance of this class
-
- The icon to use for this button
- The tooltip string to use for this button.
-
-
-
- The window manager should call this method to raise the public click event to all
- the subscribers.
-
- Taskbar Window associated with this button
-
-
-
-
-
-
-
-
- Release the native objects.
-
-
-
-
- Release the native objects.
-
-
-
-
-
- The event that occurs when the taskbar thumbnail button
- is clicked.
-
-
-
-
- Gets thumbnail button's id.
-
-
-
-
- Gets or sets the thumbnail button's icon.
-
-
-
-
- Gets or sets the thumbnail button's tooltip.
-
-
-
-
- Gets or sets the thumbnail button's visibility. Default is true.
-
-
-
-
- Gets or sets the thumbnail button's enabled state. If the button is disabled, it is present,
- but has a visual state that indicates that it will not respond to user action. Default is true.
-
-
-
-
- Gets or sets the property that describes the behavior when the button is clicked.
- If set to true, the taskbar button's flyout will close immediately. Default is false.
-
-
-
-
- Gets or sets the property that describes whether the button is interactive with the user. Default is true.
-
-
- Non-interactive buttons don't display any hover behavior nor do they raise click events.
- They are intended to be used as status icons. This is mostly similar to being not Enabled,
- but the image is not desaturated.
-
-
-
-
- Native flags enum (used when creating the native button)
-
-
-
-
- Native representation of the thumbnail button
-
-
-
-
- Handle to the window to which this button is for (on the taskbar).
-
-
-
-
- Indicates if this button was added to the taskbar. If it's not yet added,
- then we can't do any updates on it.
-
-
-
-
- Event args for TabbedThumbnailButton.Click event
-
-
-
-
- Creates a Event Args for the TabbedThumbnailButton.Click event
-
- Window handle for the control/window related to the event
- Thumbnail toolbar button that was clicked
-
-
-
- Creates a Event Args for the TabbedThumbnailButton.Click event
-
- WPF Control (UIElement) related to the event
- Thumbnail toolbar button that was clicked
-
-
-
- Gets the Window handle for the specific control/window that is related to this event.
-
- For WPF Controls (UIElement) the WindowHandle will be IntPtr.Zero.
- Check the WindowsControl property to get the specific control associated with this event.
-
-
-
- Gets the WPF Control (UIElement) that is related to this event. This property may be null
- for non-WPF applications.
-
-
-
-
- Gets the ThumbnailToolBarButton that was clicked
-
-
-
-
- Thumbnail toolbar manager class for adding a thumbnail toolbar with a specified set of buttons
- to the thumbnail image of a window in a taskbar button flyout.
-
-
-
-
- Adds thumbnail toolbar for the specified window.
-
- Window handle for which the thumbnail toolbar buttons need to be added
- Thumbnail buttons for the window's thumbnail toolbar
- If the number of buttons exceed the maximum allowed capacity (7).
- If the Window Handle passed in invalid
- After a toolbar has been added to a thumbnail, buttons can be altered only through various
- properties on the . While individual buttons cannot be added or removed,
- they can be shown and hidden through as needed.
- The toolbar itself cannot be removed without re-creating the window itself.
-
-
-
-
- Adds thumbnail toolbar for the specified WPF Control.
-
- WPF Control for which the thumbnail toolbar buttons need to be added
- Thumbnail buttons for the window's thumbnail toolbar
- If the number of buttons exceed the maximum allowed capacity (7).
- If the control passed in null
- After a toolbar has been added to a thumbnail, buttons can be altered only through various
- properties on the ThumbnailToolBarButton. While individual buttons cannot be added or removed,
- they can be shown and hidden through ThumbnailToolBarButton.Visible as needed.
- The toolbar itself cannot be removed without re-creating the window itself.
-
-
-
-
-
-
-
-
-
- Release the native objects.
-
-
-
-
- Event arguments for when the user is notified of items
- that have been removed from the taskbar destination list
-
-
-
-
- The collection of removed items based on path.
-
-
-
-
diff --git a/lib/Microsoft.WindowsAPICodePack.ShellExtensions.dll b/lib/Microsoft.WindowsAPICodePack.ShellExtensions.dll
deleted file mode 100644
index 1af462b..0000000
Binary files a/lib/Microsoft.WindowsAPICodePack.ShellExtensions.dll and /dev/null differ
diff --git a/lib/Microsoft.WindowsAPICodePack.ShellExtensions.xml b/lib/Microsoft.WindowsAPICodePack.ShellExtensions.xml
deleted file mode 100644
index 2becf5d..0000000
--- a/lib/Microsoft.WindowsAPICodePack.ShellExtensions.xml
+++ /dev/null
@@ -1,778 +0,0 @@
-
-
-
- Microsoft.WindowsAPICodePack.ShellExtensions
-
-
-
-
- This interface exposes the function for initializing the
- Preview Handler with a .
- This interface can be used in conjunction with the other intialization interfaces,
- but only 1 will be accessed according to the priorities preset by the Windows Shell:
-
-
-
-
-
-
-
- Provides the to the item from which a preview should be created.
-
- Stream to the previewed file, this stream is only available in the scope of this method.
-
-
-
- This interface exposes the function for initializing the
- Preview Handler with a .
- This interface can be used in conjunction with the other intialization interfaces,
- but only 1 will be accessed according to the priorities preset by the Windows Shell:
-
-
-
-
-
-
-
- Provides the to the item from which a preview should be created.
-
- File information to the previewed file.
-
-
-
- This interface exposes the function for initializing the
- Preview Handler with a .
- This interface can be used in conjunction with the other intialization interfaces,
- but only 1 will be accessed according to the priorities preset by the Windows Shell:
-
-
-
-
-
-
-
- Provides the from which a preview should be created.
-
- ShellObject for the previewed file, this ShellObject is only available in the scope of this method.
-
-
-
- This is the base class for all preview handlers and provides their basic functionality.
- To create a custom preview handler a class must derive from this, use the ,
- and implement 1 or more of the following interfaces:
- ,
- ,
- .
-
-
-
-
- Provides means by which to initialize with a stream.
-
-
-
-
- Initializes with a stream.
-
-
-
-
-
-
- Provides means by which to initialize with a ShellObject
-
-
-
-
- Initializes with ShellItem
-
-
-
-
-
-
- Provides means by which to initialize with a file.
-
-
-
-
- Initializes with a file.
-
-
-
-
-
-
- Called immediately before the preview is to be shown.
-
-
-
-
- Called when the preview is no longer shown.
-
-
-
-
- Called to update the bounds and position of the preview control
-
-
-
-
-
- Called when an exception occurs during the initialization of the control
-
-
-
-
-
- Called when the preview control obtains focus.
-
-
-
-
- Called when a request is received to set or change the background color according to the user's preferences.
-
- An int representing the ARGB color
-
-
-
- Called when a request is received to set or change the foreground color according to the user's preferences.
-
- An int representing the ARGB color
-
-
-
- Called to set the font of the preview control according to the user's preferences.
-
-
-
-
-
- Called to set the parent of the preview control.
-
-
-
-
-
- Called when the assembly is registered via RegAsm.
-
- Type to register.
-
-
-
- Called when the assembly is Unregistered via RegAsm.
-
- Type to unregister
-
-
-
- Gets whether the preview is currently showing
-
-
-
-
- This should return the window handle to be displayed in the Preview.
-
-
-
-
- This class attribute is applied to a Preview Handler to specify registration parameters.
-
-
-
-
- Creates a new instance of the attribute.
-
- Name of the Handler
- Semi-colon-separated list of file extensions supported by the handler.
- A unique guid used for process isolation.
-
-
-
- Gets the name of the handler.
-
-
-
-
- Gets the semi-colon-separated list of extensions supported by the preview handler.
-
-
-
-
- Gets the AppId associated with the handler for use with the surrogate host process.
-
-
-
-
- Disables low integrity-level process isolation.
- This should be avoided as it could be a security risk.
-
-
-
-
- This is the base class for all WinForms-based preview handlers and provides their basic functionality.
- To create a custom preview handler that contains a WinForms user control,
- a class must derive from this, use the ,
- and implement 1 or more of the following interfaces:
- ,
- ,
- .
-
-
-
-
- Called when an exception is thrown during itialization of the preview control.
-
-
-
-
-
- This control must be populated by the deriving class before the preview is shown.
-
-
-
-
- This is the base class for all WPF-based preview handlers and provides their basic functionality.
- To create a custom preview handler that contains a WPF user control,
- a class must derive from this, use the ,
- and implement 1 or more of the following interfaces:
- ,
- ,
- .
-
-
-
-
- Throws an exception if the Control property has not been populated.
-
-
-
-
- Updates the placement of the Control.
-
-
-
-
- Preview handler control finalizer
-
-
-
-
- Disposes the control
-
-
-
-
- Provides means to dispose the object.
- When overriden, it is imperative that base.Dispose(true) is called within the implementation.
-
-
-
-
-
- This control must be populated by the deriving class before the preview is shown.
-
-
-
-
- ComVisible interface for native IThumbnailProvider
-
-
-
-
- Gets a pointer to a bitmap to display as a thumbnail
-
-
-
-
-
-
-
- Class for marshaling to native LogFont struct
-
-
-
-
- Font height
-
-
-
-
- Font width
-
-
-
-
- Font escapement
-
-
-
-
- Font orientation
-
-
-
-
- Font weight
-
-
-
-
- Font italic
-
-
-
-
- Font underline
-
-
-
-
- Font strikeout
-
-
-
-
- Font character set
-
-
-
-
- Font out precision
-
-
-
-
- Font clip precision
-
-
-
-
- Font quality
-
-
-
-
- Font pitch and family
-
-
-
-
- Font face name
-
-
-
-
- A strongly-typed resource class, for looking up localized strings, etc.
-
-
-
-
- Returns the cached ResourceManager instance used by this class.
-
-
-
-
- Overrides the current thread's CurrentUICulture property for all
- resource lookups using this strongly typed resource class.
-
-
-
-
- Looks up a localized string similar to Control has not yet been assigned. Methods requiring it cannot be called..
-
-
-
-
- Looks up a localized string similar to {0} must implement one or more of IPreviewFromStream, IPreviewFromShellObject or IPreviewFromFile..
-
-
-
-
- Looks up a localized string similar to PreviewHandler '{0}' must have exactly one PreviewHandler attribute..
-
-
-
-
- Looks up a localized string similar to Unable to call interface {0} because it is not supported on this object..
-
-
-
-
- Looks up a localized string similar to The sum of offset and count must be less than or equal to the size of the buffer..
-
-
-
-
- Looks up a localized string similar to Count must be greater than or equal to zero..
-
-
-
-
- Looks up a localized string similar to The stream was initialized as read-only..
-
-
-
-
- Looks up a localized string similar to Offset must be greater than or equal to zero..
-
-
-
-
- Looks up a localized string similar to {0} does not implement IThumbnailFromStream and so requires DisableProcessIsolation set to true..
-
-
-
-
- Looks up a localized string similar to {0} must implement one or more of IThumbnailFromStream, IThumbnailFromShellObject or IThumbnailFromFile..
-
-
-
-
- Looks up a localized string similar to Cannot retrieve handle because proxy window has not been created..
-
-
-
-
- A wrapper for the native IStream object.
-
-
-
-
- Reads a single byte from the stream, moving the current position ahead by 1.
-
- A single byte from the stream, -1 if end of stream.
-
-
-
- Writes a single byte to the stream
-
- Byte to write to stream
-
-
-
- Reads a buffer worth of bytes from the stream.
-
- Buffer to fill
- Offset to start filling in the buffer
- Number of bytes to read from the stream
-
-
-
-
- Writes a buffer to the stream if able to do so.
-
- Buffer to write
- Offset in buffer to start writing
- Number of bytes to write to the stream
-
-
-
- Seeks within the underlying IStream.
-
- Offset
- Where to start seeking
-
-
-
-
- Sets the length of the stream
-
-
-
-
-
- Commits data to be written to the stream if it is being cached.
-
-
-
-
- Disposes the stream.
-
- True if called from Dispose(), false if called from finalizer.
-
-
-
- Gets whether the stream can be read from.
-
-
-
-
- Gets whether seeking is supported by the stream.
-
-
-
-
- Gets whether the stream can be written to.
- Always false.
-
-
-
-
- Gets the length of the IStream
-
-
-
-
- Gets or sets the current position within the underlying IStream.
-
-
-
-
- Options for commiting (flushing) an IStream storage stream
-
-
-
-
- Uses default options
-
-
-
-
- Overwrite option
-
-
-
-
- Only if current
-
-
-
-
- Commits to disk cache dangerously
-
-
-
-
- Consolidate
-
-
-
-
- This interface exposes the function for initializing the
- Thumbnail Provider with a .
- If this interfaces is not used, then the handler must opt out of process isolation.
- This interface can be used in conjunction with the other intialization interfaces,
- but only 1 will be accessed according to the priorities preset by the Windows Shell:
-
-
-
-
-
-
-
- Provides the to the item from which a thumbnail should be created.
- Only 32bpp bitmaps support adornments.
- While 24bpp bitmaps will be displayed they will not display adornments.
- Additional guidelines for developing thumbnails can be found at http://msdn.microsoft.com/en-us/library/cc144115(v=VS.85).aspx
-
-
- Stream to initialize the thumbnail
- Square side dimension in which the thumbnail should fit; the thumbnail will be scaled otherwise.
-
-
-
-
- This interface exposes the function for initializing the
- Thumbnail Provider with a .
- This interface can be used in conjunction with the other intialization interfaces,
- but only 1 will be accessed according to the priorities preset by the Windows Shell:
-
-
-
-
-
-
-
- Provides the to the item from which a thumbnail should be created.
- Only 32bpp bitmaps support adornments.
- While 24bpp bitmaps will be displayed they will not display adornments.
- Additional guidelines for developing thumbnails can be found at http://msdn.microsoft.com/en-us/library/cc144115(v=VS.85).aspx
-
-
- ShellObject to initialize the thumbnail
- Square side dimension in which the thumbnail should fit; the thumbnail will be scaled otherwise.
- Generated thumbnail
-
-
-
- This interface exposes the function for initializing the
- Thumbnail Provider with file information.
- This interface can be used in conjunction with the other intialization interfaces,
- but only 1 will be accessed according to the priorities preset by the Windows Shell:
-
-
-
-
-
-
-
- Provides the to the item from which a thumbnail should be created.
- Only 32bpp bitmaps support adornments.
- While 24bpp bitmaps will be displayed they will not display adornments.
- Additional guidelines for developing thumbnails can be found at http://msdn.microsoft.com/en-us/library/cc144115(v=VS.85).aspx
-
-
- FileInfo to initialize the thumbnail
- Square side dimension in which the thumbnail should fit; the thumbnail will be scaled otherwise.
- Generated thumbnail
-
-
-
- This is the base class for all thumbnail providers and provides their basic functionality.
- To create a custom thumbnail provider a class must derive from this, use the ,
- and implement 1 or more of the following interfaces:
- , , .
-
-
-
-
- Sets the AlphaType of the generated thumbnail.
- Override this method in a derived class to change the thumbnails AlphaType, default is Unknown.
-
- ThumnbailAlphaType
-
-
-
- Called when the assembly is registered via RegAsm.
-
- Type to be registered.
-
-
-
- Called when the assembly is registered via RegAsm.
-
- Type to register.
-
-
-
- Finalizer for the thumbnail provider.
-
-
-
-
- Disposes the thumbnail provider.
-
-
-
-
- Disploses the thumbnail provider.
-
-
-
-
-
- This class attribute is applied to a Thumbnail Provider to specify registration parameters
- and aesthetic attributes.
-
-
-
-
- Creates a new instance of the attribute.
-
- Name of the provider
- Semi-colon-separated list of extensions supported by this provider.
-
-
-
- Gets the name of the provider
-
-
-
-
- Gets the semi-colon-separated list of extensions supported by the provider.
-
-
-
-
- Opts-out of running within the surrogate process DllHost.exe.
- This will reduce robustness and security.
- This value should be true if the provider does not implement .
-
-
-
-
- Below this size thumbnail images will not be generated - file icons will be used instead.
-
-
-
-
- A resource reference string pointing to the icon to be used as an overlay on the bottom right of the thumbnail.
- ex. ISVComponent.dll@,-155
- ex. C:\Windows\System32\SampleIcon.ico
- If an empty string is provided, no overlay will be used.
- If the property is set to null, the default icon for the associated icon will be used as an overlay.
-
-
-
-
- Specifies the for the thumbnail.
-
- Only 32bpp bitmaps support adornments.
- While 24bpp bitmaps will be displayed, their adornments will not.
- If an adornment is specified by the file-type's associated application,
- the applications adornment will override the value specified in this registration.
-
-
-
-
- Defines the minimum thumbnail size for which thumbnails will be generated.
-
-
-
-
- Default size of 20x20
-
-
-
-
- Size of 32x32
-
-
-
-
- Size of 16x16
-
-
-
-
- Size of 48x48
-
-
-
-
- Size of 16x16. An alternative to Square16.
-
-
-
-
- Adornment applied to thumbnails.
-
-
-
-
- This will use the associated application's default icon as the adornment.
-
-
-
-
- No adornment
-
-
-
-
- Drop shadow adornment
-
-
-
-
- Photo border adornment
-
-
-
-
- Video sprocket adornment
-
-
-
-
diff --git a/lib/Microsoft.WindowsAPICodePack.dll b/lib/Microsoft.WindowsAPICodePack.dll
deleted file mode 100644
index 52414c9..0000000
Binary files a/lib/Microsoft.WindowsAPICodePack.dll and /dev/null differ
diff --git a/lib/Microsoft.WindowsAPICodePack.xml b/lib/Microsoft.WindowsAPICodePack.xml
deleted file mode 100644
index d9eda0a..0000000
--- a/lib/Microsoft.WindowsAPICodePack.xml
+++ /dev/null
@@ -1,2934 +0,0 @@
-
-
-
- Microsoft.WindowsAPICodePack
-
-
-
-
- Provides access to the Application Restart and Recovery
- features available in Windows Vista or higher. Application Restart and Recovery lets an
- application do some recovery work to save data before the process exits.
-
-
-
-
- Registers an application for recovery by Application Restart and Recovery.
-
- An object that specifies
- the callback method, an optional parameter to pass to the callback
- method and a time interval.
-
- The registration failed due to an invalid parameter.
-
-
- The registration failed.
- The time interval is the period of time within
- which the recovery callback method
- calls the method to indicate
- that it is still performing recovery work.
-
-
-
- Removes an application's recovery registration.
-
-
- The attempt to unregister for recovery failed.
-
-
-
- Removes an application's restart registration.
-
-
- The attempt to unregister for restart failed.
-
-
-
- Called by an application's method
- to indicate that it is still performing recovery work.
-
- A value indicating whether the user
- canceled the recovery.
-
- This method must be called from a registered callback method.
-
-
-
- Called by an application's method to
- indicate that the recovery work is complete.
-
-
- This should
- be the last call made by the method because
- Windows Error Reporting will terminate the application
- after this method is invoked.
-
- true to indicate the the program was able to complete its recovery
- work before terminating; otherwise false.
-
-
-
- Registers an application for automatic restart if
- the application
- is terminated by Windows Error Reporting.
-
- An object that specifies
- the command line arguments used to restart the
- application, and
- the conditions under which the application should not be
- restarted.
- Registration failed due to an invalid parameter.
- The attempt to register failed.
- A registered application will not be restarted if it executed for less than 60 seconds before terminating.
-
-
-
- This exception is thrown when there are problems with registering, unregistering or updating
- applications using Application Restart Recovery.
-
-
-
-
- Default constructor.
-
-
-
-
- Initializes an exception with a custom message.
-
- A custom message for the exception.
-
-
-
- Initializes an exception with custom message and inner exception.
-
- A custom message for the exception.
- Inner exception.
-
-
-
- Initializes an exception with custom message and error code.
-
- A custom message for the exception.
- An error code (hresult) from which to generate the exception.
-
-
-
- Initializes an exception from serialization info and a context.
-
- Serialization info from which to create exception.
- Streaming context from which to create exception.
-
-
-
- The that represents the callback method invoked
- by the system when an application has registered for
- application recovery.
-
- An application-defined state object that is passed to the callback method.
- The callback method will be invoked
- prior to the application being terminated by Windows Error Reporting (WER). To keep WER from terminating the application before
- the callback method completes, the callback method must
- periodically call the method.
-
-
-
-
- Defines a class that contains a callback delegate and properties of the application
- as defined by the user.
-
-
-
-
- Initializes a recovery data wrapper with a callback method and the current
- state of the application.
-
- The callback delegate.
- The current state of the application.
-
-
-
- Invokes the recovery callback function.
-
-
-
-
- Gets or sets a value that determines the recovery callback function.
-
-
-
-
- Gets or sets a value that determines the application state.
-
-
-
-
- Defines methods and properties for recovery settings, and specifies options for an application that attempts
- to perform final actions after a fatal event, such as an
- unhandled exception.
-
- This class is used to register for application recovery.
- See the class.
-
-
-
-
- Initializes a new instance of the RecoverySettings class.
-
- A recovery data object that contains the callback method (invoked by the system
- before Windows Error Reporting terminates the application) and an optional state object.
- The time interval within which the
- callback method must invoke to
- prevent WER from terminating the application.
-
-
-
-
- Returns a string representation of the current state
- of this object.
-
- A object.
-
-
-
- Gets the recovery data object that contains the callback method and an optional
- parameter (usually the state of the application) to be passed to the
- callback method.
-
- A object.
-
-
-
- Gets the time interval for notifying Windows Error Reporting.
- The method must invoke
- within this interval to prevent WER from terminating the application.
-
-
- The recovery ping interval is specified in milliseconds.
- By default, the interval is 5 seconds.
- If you specify zero, the default interval is used.
-
-
-
-
- Specifies the conditions when Windows Error Reporting
- should not restart an application that has registered
- for automatic restart.
-
-
-
-
- Always restart the application.
-
-
-
-
- Do not restart when the application has crashed.
-
-
-
-
- Do not restart when the application is hung.
-
-
-
-
- Do not restart when the application is terminated
- due to a system update.
-
-
-
-
- Do not restart when the application is terminated
- because of a system reboot.
-
-
-
-
- Specifies the options for an application to be automatically
- restarted by Windows Error Reporting.
-
- Regardless of these
- settings, the application
- will not be restarted if it executed for less than 60 seconds before
- terminating.
-
-
-
- Creates a new instance of the RestartSettings class.
-
- The command line arguments
- used to restart the application.
- A bitwise combination of the RestartRestrictions
- values that specify
- when the application should not be restarted.
-
-
-
-
- Returns a string representation of the current state
- of this object.
-
- A that displays
- the command line arguments
- and restrictions for restarting the application.
-
-
-
- Gets the command line arguments used to restart the application.
-
- A object.
-
-
-
- Gets the set of conditions when the application
- should not be restarted.
-
- A set of values.
-
-
-
- This exception is thrown when there are problems with getting piece of data within PowerManager.
-
-
-
-
- Default constructor.
-
-
-
-
- Initializes an excpetion with a custom message.
-
- A custom message for the exception.
-
-
-
- Initializes an exception with custom message and inner exception.
-
- A custom message for the exception.
- An inner exception on which to base this exception.
-
-
-
- Initializes an exception from serialization info and a context.
-
- SerializationInfo for the exception.
- StreamingContext for the exception.
-
-
-
- Abstract base class for all dialog controls
-
-
-
-
- Creates a new instance of a dialog control
-
-
-
-
- Creates a new instance of a dialog control with the specified name.
-
- The name for this dialog.
-
-
-
- Calls the hosting dialog, if it exists, to check whether the
- property can be set in the dialog's current state.
- The host should throw an exception if the change is not supported.
- Note that if the dialog isn't set yet,
- there are no restrictions on setting the property.
-
- The name of the property that is changing
-
-
-
- Calls the hosting dialog, if it exists, to
- to indicate that a property has changed, and that
- the dialog should do whatever is necessary
- to propagate the change to the native control.
- Note that if the dialog isn't set yet,
- there are no restrictions on setting the property.
-
- The name of the property that is changing.
-
-
-
- Compares two objects to determine whether they are equal
-
- The object to compare against.
- A value.
-
-
-
- Serves as a hash function for a particular type.
-
- An hash code for this control.
-
-
-
- The native dialog that is hosting this control. This property is null is
- there is not associated dialog
-
-
-
-
- Gets the name for this control.
-
- A value.
-
-
-
- Gets the identifier for this control.
-
- An value.
-
-
-
- Strongly typed collection for dialog controls.
-
- DialogControl
-
-
-
- Inserts an dialog control at the specified index.
-
- The location to insert the control.
- The item to insert.
- A control with
- the same name already exists in this collection -or-
- the control is being hosted by another dialog -or- the associated dialog is
- showing and cannot be modified.
-
-
-
- Removes the control at the specified index.
-
- The location of the control to remove.
-
- The associated dialog is
- showing and cannot be modified.
-
-
-
- Searches for the control who's id matches the value
- passed in the parameter.
-
-
- An integer containing the identifier of the
- control being searched for.
-
- A DialogControl who's id matches the value of the
- parameter.
-
-
-
- Defines the indexer that supports accessing controls by name.
-
-
- Control names are case sensitive.
- This indexer is useful when the dialog is created in XAML
- rather than constructed in code.
-
- The name cannot be null or a zero-length string.
- If there is more than one control with the same name, only the first control will be returned.
-
-
-
- Indicates that the implementing class is a dialog that can host
- customizable dialog controls (subclasses of DialogControl).
-
-
-
-
- Returns if changes to the collection are allowed.
-
- true if collection change is allowed.
-
-
-
- Applies changes to the collection.
-
-
-
-
- Handle notifications of individual child
- pseudo-controls' properties changing..
- Prefilter should throw if the property
- cannot be set in the dialog's current state.
- PostProcess should pass on changes to native control,
- if appropriate.
-
- The name of the property.
- The control propertyName applies to.
- true if the property change is allowed.
-
-
-
- Called when a control currently in the collection
- has a property changed.
-
- The name of the property changed.
- The control whose property has changed.
-
-
-
- HRESULT Wrapper
-
-
-
-
- S_OK
-
-
-
-
- S_FALSE
-
-
-
-
- E_INVALIDARG
-
-
-
-
- E_OUTOFMEMORY
-
-
-
-
- E_NOINTERFACE
-
-
-
-
- E_FAIL
-
-
-
-
- E_ELEMENTNOTFOUND
-
-
-
-
- TYPE_E_ELEMENTNOTFOUND
-
-
-
-
- NO_OBJECT
-
-
-
-
- Win32 Error code: ERROR_CANCELLED
-
-
-
-
- ERROR_CANCELLED
-
-
-
-
- The requested resource is in use
-
-
-
-
- The requested resources is read-only.
-
-
-
-
- Provide Error Message Helper Methods.
- This is intended for Library Internal use only.
-
-
-
-
- This is intended for Library Internal use only.
-
-
-
-
- This is intended for Library Internal use only.
-
-
-
-
- This is intended for Library Internal use only.
-
- The Windows API error code.
- The equivalent HRESULT.
-
-
-
- This is intended for Library Internal use only.
-
- The error code.
- True if the error code indicates success.
-
-
-
- This is intended for Library Internal use only.
-
- The error code.
- True if the error code indicates success.
-
-
-
- This is intended for Library Internal use only.
-
- The error code.
- True if the error code indicates failure.
-
-
-
- This is intended for Library Internal use only.
-
- The error code.
- True if the error code indicates failure.
-
-
-
- This is intended for Library Internal use only.
-
- The COM error code.
- The Win32 error code.
- Inticates that the Win32 error code corresponds to the COM error code.
-
-
-
- Common Helper methods
-
-
-
-
- Throws PlatformNotSupportedException if the application is not running on Windows XP
-
-
-
-
- Throws PlatformNotSupportedException if the application is not running on Windows Vista
-
-
-
-
- Throws PlatformNotSupportedException if the application is not running on Windows 7
-
-
-
-
- Get a string resource given a resource Id
-
- The resource Id
- The string resource corresponding to the given resource Id. Returns null if the resource id
- is invalid or the string cannot be retrieved for any other reason.
-
-
-
- Determines if the application is running on XP
-
-
-
-
- Determines if the application is running on Vista
-
-
-
-
- Determines if the application is running on Windows 7
-
-
-
-
- Wrappers for Native Methods and Structs.
- This type is intended for internal use only
-
-
-
-
- Places (posts) a message in the message queue associated with the thread that created
- the specified window and returns without waiting for the thread to process the message.
-
- Handle to the window whose window procedure will receive the message.
- If this parameter is HWND_BROADCAST, the message is sent to all top-level windows in the system,
- including disabled or invisible unowned windows, overlapped windows, and pop-up windows;
- but the message is not sent to child windows.
-
- Specifies the message to be sent.
- Specifies additional message-specific information.
- Specifies additional message-specific information.
- A return code specific to the message being sent.
-
-
-
- Sends the specified message to a window or windows. The SendMessage function calls
- the window procedure for the specified window and does not return until the window
- procedure has processed the message.
-
- Handle to the window whose window procedure will receive the message.
- If this parameter is HWND_BROADCAST, the message is sent to all top-level windows in the system,
- including disabled or invisible unowned windows, overlapped windows, and pop-up windows;
- but the message is not sent to child windows.
-
- Specifies the message to be sent.
- Specifies additional message-specific information.
- Specifies additional message-specific information.
- A return code specific to the message being sent.
-
-
-
- Sends the specified message to a window or windows. The SendMessage function calls
- the window procedure for the specified window and does not return until the window
- procedure has processed the message.
-
- Handle to the window whose window procedure will receive the message.
- If this parameter is HWND_BROADCAST, the message is sent to all top-level windows in the system,
- including disabled or invisible unowned windows, overlapped windows, and pop-up windows;
- but the message is not sent to child windows.
-
- Specifies the message to be sent.
- Specifies additional message-specific information.
- Specifies additional message-specific information.
- A return code specific to the message being sent.
-
-
-
- Sends the specified message to a window or windows. The SendMessage function calls
- the window procedure for the specified window and does not return until the window
- procedure has processed the message.
-
- Handle to the window whose window procedure will receive the message.
- If this parameter is HWND_BROADCAST, the message is sent to all top-level windows in the system,
- including disabled or invisible unowned windows, overlapped windows, and pop-up windows;
- but the message is not sent to child windows.
-
- Specifies the message to be sent.
- Specifies additional message-specific information.
- Specifies additional message-specific information.
- A return code specific to the message being sent.
-
-
-
- Sends the specified message to a window or windows. The SendMessage function calls
- the window procedure for the specified window and does not return until the window
- procedure has processed the message.
-
- Handle to the window whose window procedure will receive the message.
- If this parameter is HWND_BROADCAST, the message is sent to all top-level windows in the system,
- including disabled or invisible unowned windows, overlapped windows, and pop-up windows;
- but the message is not sent to child windows.
-
- Specifies the message to be sent.
- Specifies additional message-specific information.
- Specifies additional message-specific information.
- A return code specific to the message being sent.
-
-
-
- Sends the specified message to a window or windows. The SendMessage function calls
- the window procedure for the specified window and does not return until the window
- procedure has processed the message.
-
- Handle to the window whose window procedure will receive the message.
- If this parameter is HWND_BROADCAST, the message is sent to all top-level windows in the system,
- including disabled or invisible unowned windows, overlapped windows, and pop-up windows;
- but the message is not sent to child windows.
-
- Specifies the message to be sent.
- Specifies additional message-specific information.
- Specifies additional message-specific information.
- A return code specific to the message being sent.
-
-
-
- Destroys an icon and frees any memory the icon occupied.
-
- Handle to the icon to be destroyed. The icon must not be in use.
- If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.
-
-
-
- Gets the HiWord
-
- The value to get the hi word from.
- Size
- The upper half of the dword.
-
-
-
- Gets the LoWord
-
- The value to get the low word from.
- The lower half of the dword.
-
-
-
- A Wrapper for a SIZE struct
-
-
-
-
- Width
-
-
-
-
- Height
-
-
-
-
- Dialog Show State
-
-
-
-
- Pre Show
-
-
-
-
- Currently Showing
-
-
-
-
- Currently Closing
-
-
-
-
- Closed
-
-
-
-
- Gets the Guid relating to the currently active power scheme.
-
- Reserved for future use, this must be set to IntPtr.Zero
- Returns a Guid referring to the currently active power scheme.
-
-
-
- Encapsulates the native logic required to create,
- configure, and show a TaskDialog,
- via the TaskDialogIndirect() Win32 function.
-
- A new instance of this class should
- be created for each messagebox show, as
- the HWNDs for TaskDialogs do not remain constant
- across calls to TaskDialogIndirect.
-
-
-
-
- Encapsulates additional configuration needed by NativeTaskDialog
- that it can't get from the TASKDIALOGCONFIG struct.
-
-
-
-
- Internal class containing most native interop declarations used
- throughout the library.
- Functions that are not performance intensive belong in this class.
-
-
-
-
- Gets the handle to the Icon
-
-
-
-
- Represents a network on the local machine.
- It can also represent a collection of network
- connections with a similar network signature.
-
-
- Instances of this class are obtained by calling
- methods on the class.
-
-
-
-
- Gets or sets the category of a network. The
- categories are trusted, untrusted, or
- authenticated.
-
- A value.
-
-
-
- Gets the local date and time when the network
- was connected.
-
- A object.
-
-
-
- Gets the network connections for the network.
-
- A object.
-
-
-
- Gets the connectivity state of the network.
-
- A value.
- Connectivity provides information on whether
- the network is connected, and the protocols
- in use for network traffic.
-
-
-
- Gets the local date and time when the
- network was created.
-
- A object.
-
-
-
- Gets or sets a description for the network.
-
- A value.
-
-
-
- Gets the domain type of the network.
-
- A value.
- The domain
- indictates whether the network is an Active
- Directory Network, and whether the machine
- has been authenticated by Active Directory.
-
-
-
- Gets a value that indicates whether there is
- network connectivity.
-
- A value.
-
-
-
- Gets a value that indicates whether there is
- Internet connectivity.
-
- A value.
-
-
-
- Gets or sets the name of the network.
-
- A value.
-
-
-
- Gets a unique identifier for the network.
-
- A value.
-
-
-
- An enumerable collection of objects.
-
-
-
-
- Returns the strongly typed enumerator for this collection.
-
- An object.
-
-
-
- Returns the enumerator for this collection.
-
- An object.
-
-
-
- Represents a connection to a network.
-
- A collection containing instances of this class is obtained by calling
- the property.
-
-
-
- Retrieves an object that represents the network
- associated with this connection.
-
- A object.
-
-
-
- Gets the adapter identifier for this connection.
-
- A object.
-
-
-
- Gets the unique identifier for this connection.
-
- A object.
-
-
-
- Gets a value that indicates the connectivity of this connection.
-
- A value.
-
-
-
- Gets a value that indicates whether the network associated
- with this connection is
- an Active Directory network and whether the machine
- has been authenticated by Active Directory.
-
- A value.
-
-
-
- Gets a value that indicates whether this
- connection has Internet access.
-
- A value.
-
-
-
- Gets a value that indicates whether this connection has
- network connectivity.
-
- A value.
-
-
-
- An enumerable collection of objects.
-
-
-
-
- Returns the strongly typed enumerator for this collection.
-
- A object.
-
-
-
- Returns the enumerator for this collection.
-
- A object.
-
-
-
- Specifies types of network connectivity.
-
-
-
-
- The underlying network interfaces have no
- connectivity to any network.
-
-
-
-
- There is connectivity to the Internet
- using the IPv4 protocol.
-
-
-
-
- There is connectivity to a routed network
- using the IPv4 protocol.
-
-
-
-
- There is connectivity to a network, but
- the service cannot detect any IPv4
- network traffic.
-
-
-
-
- There is connectivity to the local
- subnet using the IPv4 protocol.
-
-
-
-
- There is connectivity to the Internet
- using the IPv4 protocol.
-
-
-
-
- There is connectivity to a local
- network using the IPv6 protocol.
-
-
-
-
- There is connectivity to a network,
- but the service cannot detect any
- IPv6 network traffic
-
-
-
-
- There is connectivity to the local
- subnet using the IPv6 protocol.
-
-
-
-
- Specifies the domain type of a network.
-
-
-
-
- The network is not an Active Directory network.
-
-
-
-
- The network is an Active Directory network, but this machine is not authenticated against it.
-
-
-
-
- The network is an Active Directory network, and this machine is authenticated against it.
-
-
-
-
- Specifies the trust level for a
- network.
-
-
-
-
- The network is a public (untrusted) network.
-
-
-
-
- The network is a private (trusted) network.
-
-
-
-
- The network is authenticated against an Active Directory domain.
-
-
-
-
- Specifies the level of connectivity for
- networks returned by the
-
- class.
-
-
-
-
- Networks that the machine is connected to.
-
-
-
-
- Networks that the machine is not connected to.
-
-
-
-
- All networks.
-
-
-
-
- Provides access to objects that represent networks and network connections.
-
-
-
-
- Retrieves a collection of objects that represent the networks defined for this machine.
-
-
- The that specify the connectivity level of the returned objects.
-
-
- A of objects.
-
-
-
-
- Retrieves the identified by the specified network identifier.
-
-
- A that specifies the unique identifier for the network.
-
-
- The that represents the network identified by the identifier.
-
-
-
-
- Retrieves a collection of objects that represent the connections for this machine.
-
-
- A containing the network connections.
-
-
-
-
- Retrieves the identified by the specified connection identifier.
-
-
- A that specifies the unique identifier for the network connection.
-
-
- The identified by the specified identifier.
-
-
-
-
- Gets a value that indicates whether this machine
- has Internet connectivity.
-
- A value.
-
-
-
- Gets a value that indicates whether this machine
- has network connectivity.
-
- A value.
-
-
-
- Gets the connectivity state of this machine.
-
- A value.
-
-
-
- A snapshot of the state of the battery.
-
-
-
-
- Generates a string that represents this BatteryState object.
-
- A representation of this object's current state.
-
-
-
- Gets a value that indicates whether the battery charger is
- operating on external power.
-
- A value. True indicates the battery charger is operating on AC power.
-
-
-
- Gets the maximum charge of the battery (in mW).
-
- An value.
-
-
-
- Gets the current charge of the battery (in mW).
-
- An value.
-
-
-
- Gets the rate of discharge for the battery (in mW).
-
-
- If plugged in, fully charged: DischargeRate = 0.
- If plugged in, charging: DischargeRate = positive mW per hour.
- If unplugged: DischargeRate = negative mW per hour.
-
- An value.
-
-
-
- Gets the estimated time remaining until the battery is empty.
-
- A object.
-
-
-
- Gets the manufacturer's suggested battery charge level
- that should cause a critical alert to be sent to the user.
-
- An value.
-
-
-
- Gets the manufacturer's suggested battery charge level
- that should cause a warning to be sent to the user.
-
- An value.
-
-
-
- This class keeps track of the current state of each type of event.
- The MessageManager class tracks event handlers.
- This class only deals with each event type (i.e.
- BatteryLifePercentChanged) as a whole.
-
-
-
-
- Determines if a message should be caught, preventing
- the event handler from executing.
- This is needed when an event is initially registered.
-
- The event to check.
- A boolean value. Returns true if the
- message should be caught.
-
-
-
- Enumeration of execution states.
-
-
-
-
- No state configured.
-
-
-
-
- Forces the system to be in the working state by resetting the system idle timer.
-
-
-
-
- Forces the display to be on by resetting the display idle timer.
-
-
-
-
- Enables away mode. This value must be specified with ES_CONTINUOUS.
- Away mode should be used only by media-recording and media-distribution applications that must perform critical background processing on desktop computers while the computer appears to be sleeping. See Remarks.
-
- Windows Server 2003 and Windows XP/2000: ES_AWAYMODE_REQUIRED is not supported.
-
-
-
-
- Informs the system that the state being set should remain in effect until the next call that uses ES_CONTINUOUS and one of the other state flags is cleared.
-
-
-
-
- This class generates .NET events based on Windows messages.
- The PowerRegWindow class processes the messages from Windows.
-
-
-
-
- Registers a callback for a power event.
-
- Guid for the event.
- Event handler for the specified event.
-
-
-
- Unregisters an event handler for a power event.
-
- Guid for the event.
- Event handler to unregister.
-
-
-
- Ensures that the hidden window is initialized and
- listening for messages.
-
-
-
-
- Catch Windows messages and generates events for power specific
- messages.
-
-
-
-
- Adds an event handler to call when Windows sends
- a message for an event.
-
- Guid for the event.
- Event handler for the event.
-
-
-
- Removes an event handler.
-
- Guid for the event.
- Event handler to remove.
- Cannot unregister
- a function that is not registered.
-
-
-
- Executes any registered event handlers.
-
- ArrayList of event handlers.
-
-
-
- This method is called when a Windows message
- is sent to this window.
- The method calls the registered event handlers.
-
-
-
-
- Registers the application to receive power setting notifications
- for the specific power setting event.
-
- Handle indicating where the power setting
- notifications are to be sent.
- The GUID of the power setting for
- which notifications are to be sent.
- Returns a notification handle for unregistering
- power notifications.
-
-
-
- Enables registration for
- power-related event notifications and provides access to power settings.
-
-
-
-
- Gets a snapshot of the current battery state.
-
- A instance that represents
- the state of the battery at the time this method was called.
- The system does not have a battery.
- Requires XP/Windows Server 2003 or higher.
-
-
-
- Allows an application to inform the system that it
- is in use, thereby preventing the system from entering
- the sleeping power state or turning off the display
- while the application is running.
-
- The thread's execution requirements.
- Thrown if the SetThreadExecutionState call fails.
-
-
-
- Raised each time the active power scheme changes.
-
- The event handler specified for removal was not registered.
- Requires Vista/Windows Server 2008.
-
-
-
- Raised when the power source changes.
-
- The event handler specified for removal was not registered.
- Requires Vista/Windows Server 2008.
-
-
-
- Raised when the remaining battery life changes.
-
- The event handler specified for removal was not registered.
- Requires Vista/Windows Server 2008.
-
-
-
- Raised when the monitor status changes.
-
- The event handler specified for removal was not registered.
- Requires Vista/Windows Server 2008.
-
-
-
- Raised when the system will not be moving into an idle
- state in the near future so applications should
- perform any tasks that
- would otherwise prevent the computer from entering an idle state.
-
- The event handler specified for removal was not registered.
- Requires Vista/Windows Server 2008.
-
-
-
- Gets or sets a value that indicates whether the monitor is
- set to remain active.
-
- Requires XP/Windows Server 2003 or higher.
- The caller does not have sufficient privileges to set this property.
-
- This information is typically used by applications
- that display information but do not require
- user interaction. For example, video playback applications.
- to set this property. Demand value: ; Named Permission Sets: FullTrust.
- A value. True if the monitor
- is required to remain on.
-
-
-
- Gets or sets a value that indicates whether the system
- is required to be in the working state.
-
- Requires XP/Windows Server 2003 or higher.
- The caller does not have sufficient privileges to set this property.
-
- to set this property. Demand value: ; Named Permission Sets: FullTrust.
- A value.
-
-
-
- Gets a value that indicates whether a battery is present.
- The battery can be a short term battery.
-
- Requires XP/Windows Server 2003 or higher.
- A value.
-
-
-
- Gets a value that indicates whether the battery is a short term battery.
-
- Requires XP/Windows Server 2003 or higher.
- A value.
-
-
-
- Gets a value that indicates a UPS is present to prevent
- sudden loss of power.
-
- Requires XP/Windows Server 2003 or higher.
- A value.
-
-
-
- Gets a value that indicates the current power scheme.
-
- Requires Vista/Windows Server 2008.
- A value.
-
-
-
- Gets a value that indicates the remaining battery life
- (as a percentage of the full battery charge).
- This value is in the range 0-100,
- where 0 is not charged and 100 is fully charged.
-
- The system does not have a battery.
- Requires Vista/Windows Server 2008.
- An value.
-
-
-
- Gets a value that indictates whether the monitor is on.
-
- Requires Vista/Windows Server 2008.
- A value.
-
-
-
- Gets the current power source.
-
- Requires Vista/Windows Server 2008.
- A value.
-
-
-
- Specifies the supported power personalities.
-
-
-
-
- The power personality Guid does not match a known value.
-
-
-
-
- Power settings designed to deliver maximum performance
- at the expense of power consumption savings.
-
-
-
-
- Power settings designed consume minimum power
- at the expense of system performance and responsiveness.
-
-
-
-
- Power settings designed to balance performance
- and power consumption.
-
-
-
-
- Specifies the power source currently supplying power to the system.
-
- Application should be aware of the power source because
- some power sources provide a finite power supply.
- An application might take steps to conserve power while
- the system is using such a source.
-
-
-
-
- The computer is powered by an AC power source
- or a similar device, such as a laptop powered
- by a 12V automotive adapter.
-
-
-
-
- The computer is powered by a built-in battery.
- A battery has a limited
- amount of power; applications should conserve resources
- where possible.
-
-
-
-
- The computer is powered by a short-term power source
- such as a UPS device.
-
-
-
-
- Defines a unique key for a Shell Property
-
-
-
-
- PropertyKey Constructor
-
- A unique GUID for the property
- Property identifier (PID)
-
-
-
- PropertyKey Constructor
-
- A string represenstion of a GUID for the property
- Property identifier (PID)
-
-
-
- Returns whether this object is equal to another. This is vital for performance of value types.
-
- The object to compare against.
- Equality result.
-
-
-
- Returns the hash code of the object. This is vital for performance of value types.
-
-
-
-
-
- Returns whether this object is equal to another. This is vital for performance of value types.
-
- The object to compare against.
- Equality result.
-
-
-
- Implements the == (equality) operator.
-
- First property key to compare.
- Second property key to compare.
- true if object a equals object b. false otherwise.
-
-
-
- Implements the != (inequality) operator.
-
- First property key to compare
- Second property key to compare.
- true if object a does not equal object b. false otherwise.
-
-
-
- Override ToString() to provide a user friendly string representation
-
- String representing the property key
-
-
-
- A unique GUID for the property
-
-
-
-
- Property identifier (PID)
-
-
-
-
- Represents the OLE struct PROPVARIANT.
- This class is intended for internal use only.
-
-
- Originally sourced from http://blogs.msdn.com/adamroot/pages/interop-with-propvariants-in-net.aspx
- and modified to support additional types including vectors and ability to set values
-
-
-
-
- Attempts to create a PropVariant by finding an appropriate constructor.
-
- Object from which PropVariant should be created.
-
-
-
- Default constrcutor
-
-
-
-
- Set a string value
-
-
-
-
- Set a string vector
-
-
-
-
- Set a bool vector
-
-
-
-
- Set a short vector
-
-
-
-
- Set a short vector
-
-
-
-
- Set an int vector
-
-
-
-
- Set an uint vector
-
-
-
-
- Set a long vector
-
-
-
-
- Set a ulong vector
-
-
-
- >
- Set a double vector
-
-
-
-
- Set a DateTime vector
-
-
-
-
- Set a bool value
-
-
-
-
- Set a DateTime value
-
-
-
-
- Set a byte value
-
-
-
-
- Set a sbyte value
-
-
-
-
- Set a short value
-
-
-
-
- Set an unsigned short value
-
-
-
-
- Set an int value
-
-
-
-
- Set an unsigned int value
-
-
-
-
- Set a decimal value
-
-
-
-
- Create a PropVariant with a contained decimal array.
-
- Decimal array to wrap.
-
-
-
- Create a PropVariant containing a float type.
-
-
-
-
- Creates a PropVariant containing a float[] array.
-
-
-
-
- Set a long
-
-
-
-
- Set a ulong
-
-
-
-
- Set a double
-
-
-
-
- Set an IUnknown value
-
- The new value to set.
-
-
-
- Set a safe array value
-
- The new value to set.
-
-
-
- Disposes the object, calls the clear function.
-
-
-
-
- Finalizer
-
-
-
-
- Provides an simple string representation of the contained data and type.
-
-
-
-
-
- Gets or sets the variant type.
-
-
-
-
- Checks if this has an empty or null value
-
-
-
-
-
- Gets the variant value.
-
-
-
-
- A strongly-typed resource class, for looking up localized strings, etc.
-
-
-
-
- Returns the cached ResourceManager instance used by this class.
-
-
-
-
- Overrides the current thread's CurrentUICulture property for all
- resource lookups using this strongly typed resource class.
-
-
-
-
- Looks up a localized string similar to Failed to register application for restart due to bad parameters..
-
-
-
-
- Looks up a localized string similar to Application was not registered for recovery due to bad parameters..
-
-
-
-
- Looks up a localized string similar to Application failed to register for recovery..
-
-
-
-
- Looks up a localized string similar to Application failed to registered for restart..
-
-
-
-
- Looks up a localized string similar to Unregister for recovery failed..
-
-
-
-
- Looks up a localized string similar to Unregister for restart failed..
-
-
-
-
- Looks up a localized string similar to This method must be called from the registered callback method..
-
-
-
-
- Looks up a localized string similar to ACOnline: {1}{0}Max Charge: {2} mWh{0}Current Charge: {3} mWh{0}Discharge Rate: {4} mWh{0}Estimated Time Remaining: {5}{0}Suggested Critical Battery Charge: {6} mWh{0}Suggested Battery Warning Charge: {7} mWh{0}.
-
-
-
-
- Looks up a localized string similar to Cancelable cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Dialog caption cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to CheckBox text cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Collapsed control text cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Only supported on Windows 7 or newer..
-
-
-
-
- Looks up a localized string similar to Only supported on Windows Vista or newer..
-
-
-
-
- Looks up a localized string similar to Only supported on Windows XP or newer..
-
-
-
-
- Looks up a localized string similar to Dialog cannot have more than one control with the same name..
-
-
-
-
- Looks up a localized string similar to Dialog control must be removed from current collections first..
-
-
-
-
- Looks up a localized string similar to Control name cannot be null or zero length..
-
-
-
-
- Looks up a localized string similar to Modifying controls collection while dialog is showing is not supported..
-
-
-
-
- Looks up a localized string similar to Dialog control name cannot be empty or null..
-
-
-
-
- Looks up a localized string similar to Dialog controls cannot be renamed..
-
-
-
-
- Looks up a localized string similar to Application.
-
-
-
-
- Looks up a localized string similar to .
-
-
-
-
- Looks up a localized string similar to .
-
-
-
-
- Looks up a localized string similar to Expanded information mode cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Expanded control label cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Expanding state of the dialog cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Hyperlinks cannot be enabled/disabled while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Reference path is invalid..
-
-
-
-
- Looks up a localized string similar to The specified event handler has not been registered..
-
-
-
-
- Looks up a localized string similar to An error has occurred in dialog configuration..
-
-
-
-
- Looks up a localized string similar to Invalid arguments to Win32 call..
-
-
-
-
- Looks up a localized string similar to Dialog contents too complex..
-
-
-
-
- Looks up a localized string similar to An unexpected internal error occurred in the Win32 call: {0:x}.
-
-
-
-
- Looks up a localized string similar to TaskDialog feature needs to load version 6 of comctl32.dll but a different version is current loaded in memory..
-
-
-
-
- Looks up a localized string similar to Dialog owner cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to SetThreadExecutionState call failed..
-
-
-
-
- Looks up a localized string similar to The caller had insufficient access rights to get the system battery state..
-
-
-
-
- Looks up a localized string similar to The caller had insufficient access rights to get the system power capabilities..
-
-
-
-
- Looks up a localized string similar to Failed to get active power scheme..
-
-
-
-
- Looks up a localized string similar to Battery is not present on this system..
-
-
-
-
- Looks up a localized string similar to Progress bar cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Progress bar cannot be hosted in multiple dialogs..
-
-
-
-
- Looks up a localized string similar to {0}, {1}.
-
-
-
-
- Looks up a localized string similar to Unable to initialize PropVariant..
-
-
-
-
- Looks up a localized string similar to Multi-dimensional SafeArrays not supported..
-
-
-
-
- Looks up a localized string similar to String argument cannot be null or empty..
-
-
-
-
- Looks up a localized string similar to This Value type is not supported..
-
-
-
-
- Looks up a localized string similar to Cannot be cast to unsupported type..
-
-
-
-
- Looks up a localized string similar to delegate: {0}, state: {1}, ping: {2}.
-
-
-
-
- Looks up a localized string similar to command: {0} restrictions: {1}.
-
-
-
-
- Looks up a localized string similar to StandardButtons cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Startup location cannot be changed while dialog is showing..
-
-
-
-
- Looks up a localized string similar to Bad button ID in closing event..
-
-
-
-
- Looks up a localized string similar to Button text must be non-empty..
-
-
-
-
- Looks up a localized string similar to Check box text must be provided to enable the dialog check box..
-
-
-
-
- Looks up a localized string similar to Attempting to close a non-showing dialog..
-
-
-
-
- Looks up a localized string similar to Application.
-
-
-
-
- Looks up a localized string similar to .
-
-
-
-
- Looks up a localized string similar to .
-
-
-
-
- Looks up a localized string similar to Cannot have more than one default button of a given type..
-
-
-
-
- Looks up a localized string similar to Maximum value provided must be greater than the minimum value..
-
-
-
-
- Looks up a localized string similar to Minimum value provided must be a positive number..
-
-
-
-
- Looks up a localized string similar to Minimum value provided must less than the maximum value..
-
-
-
-
- Looks up a localized string similar to Value provided must be greater than equal to the minimum value and less than the maximum value..
-
-
-
-
- Looks up a localized string similar to Dialog cannot display both non-standard buttons and standard buttons..
-
-
-
-
- Looks up a localized string similar to Dialog cannot display both non-standard buttons and command links..
-
-
-
-
- Looks up a localized string similar to Unknown dialog control type..
-
-
-
-
- Base class for Safe handles with Null IntPtr as invalid
-
-
-
-
- Default constructor
-
-
-
-
- Determines if this is a valid handle
-
-
-
-
- Safe Icon Handle
-
-
-
-
- Release the handle
-
- true if handled is release successfully, false otherwise
-
-
-
- Safe Region Handle
-
-
-
-
- Release the handle
-
- true if handled is release successfully, false otherwise
-
-
-
- Safe Window Handle
-
-
-
-
- Release the handle
-
- true if handled is release successfully, false otherwise
-
-
-
- Encapsulates a new-to-Vista Win32 TaskDialog window
- - a powerful successor to the MessageBox available
- in previous versions of Windows.
-
-
-
-
- Creates a basic TaskDialog window
-
-
-
-
- Creates and shows a task dialog with the specified message text.
-
- The text to display.
- The dialog result.
-
-
-
- Creates and shows a task dialog with the specified supporting text and main instruction.
-
- The supporting text to display.
- The main instruction text to display.
- The dialog result.
-
-
-
- Creates and shows a task dialog with the specified supporting text, main instruction, and dialog caption.
-
- The supporting text to display.
- The main instruction text to display.
- The caption for the dialog.
- The dialog result.
-
-
-
- Creates and shows a task dialog.
-
- The dialog result.
-
-
-
- Close TaskDialog
-
- if TaskDialog is not showing.
-
-
-
- Close TaskDialog with a given TaskDialogResult
-
- TaskDialogResult to return from the TaskDialog.Show() method
- if TaskDialog is not showing.
-
-
-
- Sets important text properties.
-
- An instance of a object.
-
-
-
- Dispose TaskDialog Resources
-
-
-
-
- TaskDialog Finalizer
-
-
-
-
- Dispose TaskDialog Resources
-
- If true, indicates that this is being called via Dispose rather than via the finalizer.
-
-
-
- Occurs when a progress bar changes.
-
-
-
-
- Occurs when a user clicks a hyperlink.
-
-
-
-
- Occurs when the TaskDialog is closing.
-
-
-
-
- Occurs when a user clicks on Help.
-
-
-
-
- Occurs when the TaskDialog is opened.
-
-
-
-
- Gets or sets a value that contains the owner window's handle.
-
-
-
-
- Gets or sets a value that contains the message text.
-
-
-
-
- Gets or sets a value that contains the instruction text.
-
-
-
-
- Gets or sets a value that contains the caption text.
-
-
-
-
- Gets or sets a value that contains the footer text.
-
-
-
-
- Gets or sets a value that contains the footer check box text.
-
-
-
-
- Gets or sets a value that contains the expanded text in the details section.
-
-
-
-
- Gets or sets a value that determines if the details section is expanded.
-
-
-
-
- Gets or sets a value that contains the expanded control text.
-
-
-
-
- Gets or sets a value that contains the collapsed control text.
-
-
-
-
- Gets or sets a value that determines if Cancelable is set.
-
-
-
-
- Gets or sets a value that contains the TaskDialog main icon.
-
-
-
-
- Gets or sets a value that contains the footer icon.
-
-
-
-
- Gets or sets a value that contains the standard buttons.
-
-
-
-
- Gets a value that contains the TaskDialog controls.
-
-
-
-
- Gets or sets a value that determines if hyperlinks are enabled.
-
-
-
-
- Gets or sets a value that indicates if the footer checkbox is checked.
-
-
-
-
- Gets or sets a value that contains the expansion mode for this dialog.
-
-
-
-
- Gets or sets a value that contains the startup location.
-
-
-
-
- Gets or sets the progress bar on the taskdialog. ProgressBar a visual representation
- of the progress of a long running operation.
-
-
-
-
- Indicates whether this feature is supported on the current platform.
-
-
-
-
- Defines a common class for all task dialog bar controls, such as the progress and marquee bars.
-
-
-
-
- Declares the abstract base class for all custom task dialog controls.
-
-
-
-
- Creates a new instance of a task dialog control.
-
-
-
-
- Creates a new instance of a task dialog control with the specified name.
-
- The name for this control.
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified name.
-
- The name for this control.
-
-
-
- Resets the state of the control to normal.
-
-
-
-
- Gets or sets the state of the progress bar.
-
-
-
-
- Implements a button that can be hosted in a task dialog.
-
-
-
-
- Defines the abstract base class for task dialog buttons.
- Classes that inherit from this class will inherit
- the Text property defined in this class.
-
-
-
-
- Creates a new instance on a task dialog button.
-
-
-
-
- Creates a new instance on a task dialog button with
- the specified name and text.
-
- The name for this button.
- The label for this button.
-
-
-
- Returns the Text property value for this button.
-
- A .
-
-
-
- Raised when the task dialog button is clicked.
-
-
-
-
- Gets or sets the button text.
-
-
-
-
- Gets or sets a value that determines whether the
- button is enabled. The enabled state can cannot be changed
- before the dialog is shown.
-
-
-
-
- Gets or sets a value that indicates whether
- this button is the default button.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified property settings.
-
- The name of the button.
- The button label.
-
-
-
- Gets or sets a value that controls whether the elevation icon is displayed.
-
-
-
-
- Data associated with event.
-
-
-
-
- Gets or sets the standard button that was clicked.
-
-
-
-
- Gets or sets the text of the custom button that was clicked.
-
-
-
-
- Represents a command-link.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified name and label.
-
- The name for this button.
- The label for this button.
-
-
-
- Creates a new instance of this class with the specified name,label, and instruction.
-
- The name for this button.
- The label for this button.
- The instruction for this command link.
-
-
-
- Returns a string representation of this object.
-
- A
-
-
-
- Gets or sets the instruction associated with this command link button.
-
-
-
-
- Specifies the options for expand/collapse sections in dialogs.
-
-
-
-
- Do not show the content.
-
-
-
-
- Show the content.
-
-
-
-
- Expand the footer content.
-
-
-
-
- Defines event data associated with a HyperlinkClick event.
-
-
-
-
- Creates a new instance of this class with the specified link text.
-
- The text of the hyperlink that was clicked.
-
-
-
- Gets or sets the text of the hyperlink that was clicked.
-
-
-
-
- Provides a visual representation of the progress of a long running operation.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with the specified name.
- And using the default values: Min = 0, Max = 100, Current = 0
-
- The name of the control.
-
-
-
- Creates a new instance of this class with the specified
- minimum, maximum and current values.
-
- The minimum value for this control.
- The maximum value for this control.
- The current value for this control.
-
-
-
- Resets the control to its minimum value.
-
-
-
-
- Gets or sets the minimum value for the control.
-
-
-
-
- Gets or sets the maximum value for the control.
-
-
-
-
- Gets or sets the current value for the control.
-
-
-
-
- Verifies that the progress bar's value is between its minimum and maximum.
-
-
-
-
- Sets the state of a task dialog progress bar.
-
-
-
-
- Uninitialized state, this should never occur.
-
-
-
-
- Normal state.
-
-
-
-
- An error occurred.
-
-
-
-
- The progress is paused.
-
-
-
-
- Displays marquee (indeterminate) style progress
-
-
-
-
- Defines a radio button that can be hosted in by a
- object.
-
-
-
-
- Creates a new instance of this class.
-
-
-
-
- Creates a new instance of this class with
- the specified name and text.
-
- The name for this control.
- The value for this controls
- property.
-
-
-
- Indicates the various buttons and options clicked by the user on the task dialog.
-
-
-
-
- No button was selected.
-
-
-
-
- "OK" button was clicked
-
-
-
-
- "Yes" button was clicked
-
-
-
-
- "No" button was clicked
-
-
-
-
- "Cancel" button was clicked
-
-
-
-
- "Retry" button was clicked
-
-
-
-
- "Close" button was clicked
-
-
-
-
- A custom button was clicked.
-
-
-
-
- Identifies one of the standard buttons that
- can be displayed via TaskDialog.
-
-
-
-
- No buttons on the dialog.
-
-
-
-
- An "OK" button.
-
-
-
-
- A "Yes" button.
-
-
-
-
- A "No" button.
-
-
-
-
- A "Cancel" button.
-
-
-
-
- A "Retry" button.
-
-
-
-
- A "Close" button.
-
-
-
-
- Specifies the icon displayed in a task dialog.
-
-
-
-
- Displays no icons (default).
-
-
-
-
- Displays the warning icon.
-
-
-
-
- Displays the error icon.
-
-
-
-
- Displays the Information icon.
-
-
-
-
- Displays the User Account Control shield.
-
-
-
-
- Specifies the initial display location for a task dialog.
-
-
-
-
- The window placed in the center of the screen.
-
-
-
-
- The window centered relative to the window that launched the dialog.
-
-
-
-
- The event data for a TaskDialogTick event.
-
-
-
-
- Initializes the data associated with the TaskDialog tick event.
-
- The total number of ticks since the control was activated.
-
-
-
- Gets a value that determines the current number of ticks.
-
-
-
-