ClassRadFixedDocumentEditor
High-level document builder for adding paragraphs, tables, images, and sections using a flow API that handles pagination and layout. Use to construct pages top‑down while the editor measures content, manages lists, and arranges shapes and forbidden zones.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Editing
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class RadFixedDocumentEditor : IDisposable
Inheritance: objectRadFixedDocumentEditor
Implements:
Constructors
RadFixedDocumentEditor(RadFixedDocument)
Initializes a new instance of the RadFixedDocumentEditor class.
Declaration
public RadFixedDocumentEditor(RadFixedDocument document)
Parameters
document
The document.
Properties
CharacterProperties
Gets the character properties.
Declaration
public CharacterProperties CharacterProperties { get; }
Property Value
The character properties.
Document
Gets the document.
Declaration
public RadFixedDocument Document { get; }
Property Value
The document.
Lists
Gets the lists.
Declaration
public ListCollection Lists { get; }
Property Value
The lists.
ParagraphProperties
Gets the paragraph properties.
Declaration
public ParagraphProperties ParagraphProperties { get; }
Property Value
The paragraph properties.
SectionProperties
Gets the section properties.
Declaration
public SectionProperties SectionProperties { get; }
Property Value
The section properties.
Methods
Dispose()
Finishes the pages and closes the document.
Declaration
public void Dispose()
Implements
InsertBlock(IBlockElement)
Inserts the block element.
Declaration
public void InsertBlock(IBlockElement block)
Parameters
block
The block.
InsertFormInline(FormSource)
Inserts the form inline.
Declaration
public void InsertFormInline(FormSource formSource)
Parameters
formSource
The form source.
InsertFormInline(FormSource, Size)
Inserts the form inline.
Declaration
public void InsertFormInline(FormSource formSource, Size size)
Parameters
formSource
The form source.
size
The form size.
InsertImageInline(ImageSource)
Inserts the image inline.
Declaration
public void InsertImageInline(ImageSource imageSource)
Parameters
imageSource
The image source.
InsertImageInline(ImageSource, Size)
Inserts the image inline.
Declaration
public void InsertImageInline(ImageSource imageSource, Size size)
Parameters
imageSource
The image source.
size
The size.
InsertLine(string)
Inserts the text and moves to the next line.
InsertMarkedContent(MarkedContent)
Inserts the marked content.
Declaration
public void InsertMarkedContent(MarkedContent markedContent)
Parameters
markedContent
The marked content.
InsertRun(FontFamily, FontStyle, FontWeight, string)
Inserts the text using the given font family, font style and font weight.
Declaration
public void InsertRun(FontFamily fontFamily, FontStyle fontStyle, FontWeight fontWeight, string text)
Parameters
fontFamily
The font family.
fontStyle
The font style.
fontWeight
The font weight.
text
The text.
InsertRun(FontFamily, string)
Inserts the text using the given font family.
Declaration
public void InsertRun(FontFamily fontFamily, string text)
Parameters
fontFamily
The font family.
text
The text.
InsertRun(string)
Inserts the text.
InsertSectionBreak()
Inserts new section.
Declaration
public void InsertSectionBreak()
InsertTable(Table)
Inserts the table.
Declaration
public void InsertTable(Table table)
Parameters
table
The table.