Good Day Telerik Team,
Is there a way to get the properties (like Page Orientation and margin) of a radDocument, so that i can apply it to other RadDocument?
here's my code:
hoping for your reply,
Aubrey :')
Is there a way to get the properties (like Page Orientation and margin) of a radDocument, so that i can apply it to other RadDocument?
here's my code:
RadDocument doc = new RadDocument();
this.radRichTextBox1.Document.Selection.SelectAll();
doc = this.radRichTextBox1.Document.Selection.CreateDocumentFromSelection();
doc.CaretPosition.MoveToFirstPositionInDocument();
prev.rtbPrev.Document = doc;
prev.rtbPrev.Document.LayoutMode = radRichTextBox1.Document.LayoutMode;
prev.rtbPrev.Document.CopyPropertiesFrom(radRichTextBox1.Document);
hoping for your reply,
Aubrey :')