Nach Update Syncfusion / Anpassungen Nativ
This commit is contained in:
@@ -50,6 +50,16 @@ namespace DOCGEN.Klassen
|
||||
document.CustomDocumentProperties.Add(property, value);
|
||||
|
||||
}
|
||||
|
||||
TextSelection[] textSelections = document.FindAll("{Klassifizierung}", false, true);
|
||||
foreach (TextSelection textSelection in textSelections)
|
||||
{
|
||||
//Gets the found text as single text range and sets highlight color
|
||||
WTextRange textRange = textSelection.GetAsOneRange();
|
||||
textRange.Text = value;
|
||||
}
|
||||
|
||||
document.UpdateDocumentFields();
|
||||
document.Save(destfile);
|
||||
ms.Close();
|
||||
document.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user