Class RadFixedDocumentEditor
Represents a high-level editor that facilitates the creation and manipulation of the document through a structured API. This editor provides methods to add content like text, tables, images, and supports advanced features such as section formatting, text styling, and page layout.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Editing
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class RadFixedDocumentEditor : IDisposable
Constructors
RadFixedDocumentEditor(RadFixedDocument)
Initializes a new instance of the RadFixedDocumentEditor class.
Declaration
public RadFixedDocumentEditor(RadFixedDocument document)
Parameters
RadFixedDocument
document
The document. |
Properties
CharacterProperties
Gets the character properties.
Declaration
public CharacterProperties CharacterProperties { get; }
Property Value
CharacterProperties
The character properties. |
Document
Gets the document.
Declaration
public RadFixedDocument Document { get; }
Property Value
RadFixedDocument
The document. |
Lists
Gets the lists.
Declaration
public ListCollection Lists { get; }
Property Value
ListCollection
The lists. |
ParagraphProperties
Gets the paragraph properties.
Declaration
public ParagraphProperties ParagraphProperties { get; }
Property Value
ParagraphProperties
The paragraph properties. |
SectionProperties
Gets the section properties.
Declaration
public SectionProperties SectionProperties { get; }
Property Value
SectionProperties
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
IBlockElement
block
The block. |
InsertFormInline(FormSource)
Inserts the form inline.
Declaration
public void InsertFormInline(FormSource formSource)
Parameters
FormSource
formSource
The form source. |
InsertFormInline(FormSource, Size)
Inserts the form inline.
Declaration
public void InsertFormInline(FormSource formSource, Size size)
Parameters
FormSource
formSource
The form source. |
System.Windows.Size
size
The form size. |
InsertImageInline(ImageSource)
Inserts the image inline.
Declaration
public void InsertImageInline(ImageSource imageSource)
Parameters
ImageSource
imageSource
The image source. |
InsertImageInline(ImageSource, Size)
Inserts the image inline.
Declaration
public void InsertImageInline(ImageSource imageSource, Size size)
Parameters
ImageSource
imageSource
The image source. |
System.Windows.Size
size
The size. |
InsertLine(String)
Inserts the text and moves to the next line.
Declaration
public void InsertLine(string text)
Parameters
System.String
text
The text. |
InsertLineBreak()
Inserts a line break.
Declaration
public void InsertLineBreak()
InsertMarkedContent(MarkedContent)
Inserts the marked content.
Declaration
public void InsertMarkedContent(MarkedContent markedContent)
Parameters
MarkedContent
markedContent
The marked content. |
InsertPageBreak()
Inserts new page.
Declaration
public void InsertPageBreak()
InsertParagraph()
Inserts new paragraph.
Declaration
public void InsertParagraph()
InsertRun(String)
Inserts the text.
Declaration
public void InsertRun(string text)
Parameters
System.String
text
The text. |
InsertRun(FontFamily, String)
Inserts the text using the given font family.
Declaration
public void InsertRun(FontFamily fontFamily, string text)
Parameters
System.Windows.Media.FontFamily
fontFamily
The font family. |
System.String
text
The text. |
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
System.Windows.Media.FontFamily
fontFamily
The font family. |
System.Windows.FontStyle
fontStyle
The font style. |
System.Windows.FontWeight
fontWeight
The font weight. |
System.String
text
The text. |
InsertSectionBreak()
Inserts new section.
Declaration
public void InsertSectionBreak()
InsertTable(Table)
Inserts the table.
Declaration
public void InsertTable(Table table)
Parameters
Table
table
The table. |