Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#

Download:

Datei 1: Demo_Insert_Fotos_from_Folder_by_InputField_small.dotm

 
 
In the included Word template with macro it is that subdirectories from a base path are automatically imported as photos.
The base path and the directory name are entered in the Word file and then the Start button is pressed.
The button itself is deleted and the photos are automatically inserted and adjusted to the height to 5 centimeters.
The altitude can be changed with Alt-F11 as Const centimeters_height = 5.
 

 
 
When the Word template is started, a document with the input texts Base Folder and Foldername is displayed.
As soon as you enter the texts and start clicks the import starts
 

 
 
After this, the Start button is deleted and the photos are automatically inserted below the Photos text.
In this example, only .jpg photos are inserted.

 
 
The Word template Demo_Insert_Fotos_from_Folder_by_InputField_small.dotm has only to be placed in an orign and double-click as new document1.
The template itself is opened with the right-key: Open

 
 
 
Insert Photo BaseFolder Foldername
 
Mobile
»
Word macro: Insert all photos from input folder with macro
»
Word Template: Read the complete photo folder to base path and folder name
»
Word Template: Import photo documentation as a photo directory
»
Word Template: Photo Documentation
»
Word Template: Import a photo directory into a Word document

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de