You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RadFixedDocument fixedDocument = new RadFixedDocument();
105
106
RadFixedDocumentEditor documentEditor = new RadFixedDocumentEditor(fixedDocument);
107
+
106
108
foreach (string imageFilePath in imageFiles)
107
109
{
108
110
FileStream fileStream = new FileStream(imageFilePath, FileMode.Open);
109
111
Telerik.Windows.Documents.Fixed.Model.Resources.ImageSource _imageSource = new Telerik.Windows.Documents.Fixed.Model.Resources.ImageSource(fileStream);
110
112
documentEditor.InsertImageInline(_imageSource);
111
113
documentEditor.InsertLineBreak();
112
114
}
113
-
documentEditor.Dispose();
114
-
115
+
116
+
documentEditor.Dispose();
115
117
string outputFilePath = @"output.pdf";
116
118
File.Delete(outputFilePath);
117
119
using (Stream output = File.OpenWrite(outputFilePath))
0 commit comments