Free Support Forum - aspose.com

Multiple Columns for Paragraph

Hi,

I try to copy one document with multiple columns into another one with no multiple columns defined. Right now the multiple columns end up in one column in the final document. That may be due to my copy function, but what I need do understand and what I could not figure out so far, how multiple columns are defined in the object model of the document. The only thing I see is a section containing one paragraph. No hint that this paragraph uses multiple columns.

How can I know whether a paragraph is displayed in one or multiple columns?

Thx

Tim

Hey Tim,

Consider the Paragraph.ParentSection.PageSetup.TextColumns.Count property. You can also manipulate text columns by using this collection. Since this is a part of section formatting, it should be retained if you copy your document to another section by section.