Last active
November 10, 2016 14:37
-
-
Save bjoerntx/f8b40a115926ee671a112dc13024b01c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TXTextControl.UserDefinedPropertyDictionary userSettings = | |
new TXTextControl.UserDefinedPropertyDictionary(); | |
userSettings.Add("CustomPropertyString", "Custom property string"); | |
userSettings.Add("CustomPropertyInt32", 123); | |
userSettings.Add("CustomPropertyBoolTrue", true); | |
userSettings.Add("CustomPropertyBoolFalse", false); | |
userSettings.Add("CustomPropertyDouble", 123.232); | |
TXTextControl.SaveSettings saveSettings = new TXTextControl.SaveSettings() { | |
UserDefinedDocumentProperties = userSettings | |
}; | |
textControl1.Save("test.rtf", | |
TXTextControl.StreamType.RichTextFormat, | |
saveSettings); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment