Hello,
I have a situation where I will have a collection of multiple RadDocuments that I would like to merge together into one document (and eventually create a PDF). I am able to accomplish this, but any lists that may be contained in those documents do not come out properly. Is there something I have to do other than using CreateDeepCopy to retain those liststyles? My code is doing something like this:
Dim mergedDocument As Telerik.Windows.Documents.Model.RadDocument = New Telerik.Windows.Documents.Model.RadDocument()
For Each section As Section In document.Sections
Dim copySection As Section = TryCast(section.CreateDeepCopy(), Section)
copySection.PageMargin = section.PageMargin
copySection.PageSize = section.PageSize
copySection.CopyPropertiesFrom(section)
mergedDocument.Sections.Add(copySection)
Next
Return mergedDocument