mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-30 23:16:09 +00:00 
			
		
		
		
	if DEBUG
This commit is contained in:
		
							parent
							
								
									d28d62e137
								
							
						
					
					
						commit
						99cf6db346
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1256,13 +1256,14 @@ namespace AideDeJeu.ViewModels.PlayerCharacter | |||
|                             stamper = new PdfStamper(reader, stream); | ||||
|                             var form = stamper.AcroFields; | ||||
|                             var fields = form.Fields; | ||||
| #if DEBUG | ||||
|                             foreach (DictionaryEntry field in fields) | ||||
|                             { | ||||
|                                 var item = field.Value as AcroFields.Item; | ||||
|                                 Debug.WriteLine(field.Key); | ||||
|                                 form.SetField(field.Key.ToString(), field.Key.ToString()); | ||||
|                             } | ||||
| 
 | ||||
| #endif // DEBUG | ||||
| 
 | ||||
|                             form.SetField("Nom", SelectedPlayerCharacter?.Name ?? string.Empty); | ||||
|                             form.SetField("Niveau", "1"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez