Class
RadFixedDocumentEditor

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:

cs-api-definition
public class RadFixedDocumentEditor : IDisposable

Inheritance: objectRadFixedDocumentEditor

Implements: IDisposable

Constructors

RadFixedDocumentEditor(RadFixedDocument)

Initializes a new instance of the RadFixedDocumentEditor class.

Declaration

cs-api-definition
public RadFixedDocumentEditor(RadFixedDocument document)

Parameters

document

RadFixedDocument

The document.

Properties

CharacterProperties

Gets the character properties.

Declaration

cs-api-definition
public CharacterProperties CharacterProperties { get; }

Property Value

CharacterProperties

The character properties.

Document

Gets the document.

Declaration

cs-api-definition
public RadFixedDocument Document { get; }

Property Value

RadFixedDocument

The document.

Lists

Gets the lists.

Declaration

cs-api-definition
public ListCollection Lists { get; }

Property Value

ListCollection

The lists.

ParagraphProperties

Gets the paragraph properties.

Declaration

cs-api-definition
public ParagraphProperties ParagraphProperties { get; }

Property Value

ParagraphProperties

The paragraph properties.

SectionProperties

Gets the section properties.

Declaration

cs-api-definition
public SectionProperties SectionProperties { get; }

Property Value

SectionProperties

The section properties.

Methods

Dispose()

Finishes the pages and closes the document.

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

InsertBlock(IBlockElement)

Inserts the block element.

Declaration

cs-api-definition
public void InsertBlock(IBlockElement block)

Parameters

block

IBlockElement

The block.

InsertFormInline(FormSource)

Inserts the form inline.

Declaration

cs-api-definition
public void InsertFormInline(FormSource formSource)

Parameters

formSource

FormSource

The form source.

InsertFormInline(FormSource, Size)

Inserts the form inline.

Declaration

cs-api-definition
public void InsertFormInline(FormSource formSource, Size size)

Parameters

formSource

FormSource

The form source.

size

Size

The form size.

InsertImageInline(ImageSource)

Inserts the image inline.

Declaration

cs-api-definition
public void InsertImageInline(ImageSource imageSource)

Parameters

imageSource

ImageSource

The image source.

InsertImageInline(ImageSource, Size)

Inserts the image inline.

Declaration

cs-api-definition
public void InsertImageInline(ImageSource imageSource, Size size)

Parameters

imageSource

ImageSource

The image source.

size

Size

The size.

InsertLine(string)

Inserts the text and moves to the next line.

Declaration

cs-api-definition
public void InsertLine(string text)

Parameters

text

string

The text.

InsertLineBreak()

Inserts a line break.

Declaration

cs-api-definition
public void InsertLineBreak()

InsertMarkedContent(MarkedContent)

Inserts the marked content.

Declaration

cs-api-definition
public void InsertMarkedContent(MarkedContent markedContent)

Parameters

markedContent

MarkedContent

The marked content.

InsertPageBreak()

Inserts new page.

Declaration

cs-api-definition
public void InsertPageBreak()

InsertParagraph()

Inserts new paragraph.

Declaration

cs-api-definition
public void InsertParagraph()

InsertRun(FontFamily, FontStyle, FontWeight, string)

Inserts the text using the given font family, font style and font weight.

Declaration

cs-api-definition
public void InsertRun(FontFamily fontFamily, FontStyle fontStyle, FontWeight fontWeight, string text)

Parameters

fontFamily

FontFamily

The font family.

fontStyle

FontStyle

The font style.

fontWeight

FontWeight

The font weight.

text

string

The text.

InsertRun(FontFamily, string)

Inserts the text using the given font family.

Declaration

cs-api-definition
public void InsertRun(FontFamily fontFamily, string text)

Parameters

fontFamily

FontFamily

The font family.

text

string

The text.

InsertRun(string)

Inserts the text.

Declaration

cs-api-definition
public void InsertRun(string text)

Parameters

text

string

The text.

InsertSectionBreak()

Inserts new section.

Declaration

cs-api-definition
public void InsertSectionBreak()

InsertTable(Table)

Inserts the table.

Declaration

cs-api-definition
public void InsertTable(Table table)

Parameters

table

Table

The table.