Class
SdtPictureBuilder

Represents an SdtBuilder that handles the generation of picture content controls.

Definition

Namespace:Telerik.Windows.Documents.Model.StructuredDocumentTags

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class SdtPictureBuilder : SdtBuilder<PictureProperties>, ISdtBuilder

Inheritance: objectSdtBuilder<PictureProperties>SdtPictureBuilder

Implements: ISdtBuilder

Inherited Members SdtBuilder<PictureProperties>.InsertAfterSoftBlockSdt(RadDocumentEditor, SdtRangeEnd)SdtBuilder<PictureProperties>.InsertBeforeSoftBlockSdt(RadDocumentEditor, SdtRangeStart)SdtBuilder<PictureProperties>.InsertBeforeMultiBlockSdt(RadDocumentEditor, SdtRangeStart)SdtBuilder<PictureProperties>.InsertAfterMultiBlockSdt(RadDocumentEditor, SdtRangeEnd)SdtBuilder<PictureProperties>.UpdateContent(RadDocumentEditor)SdtBuilder<PictureProperties>.UpdateContent()SdtBuilder<PictureProperties>.UpdateStyle()SdtBuilder<PictureProperties>.InsertSdtInPartialParagraphSelection(RadDocumentEditor)SdtBuilder<PictureProperties>.SdtStart

Constructors

SdtPictureBuilder(SdtRangeStart, PictureProperties)

Initializes a new instance of the SdtPictureBuilder class.

Declaration

cs-api-definition
public SdtPictureBuilder(SdtRangeStart sdtStart, PictureProperties properties)

Parameters

sdtStart

SdtRangeStart

properties

PictureProperties

Methods

InsertAfterHardBlockSdt(RadDocumentEditor, SdtRangeEnd)

Represents the case of inserting an inline content control that follows another content control hosting the end of a table or a table row.

Declaration

cs-api-definition
public override void InsertAfterHardBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)

Parameters

editor

RadDocumentEditor

previousSdtEnd

SdtRangeEnd

Overrides SdtBuilder<PictureProperties>.InsertAfterHardBlockSdt(RadDocumentEditor, SdtRangeEnd)

InsertAroundSelectedImage(RadDocumentEditor)

Represents the case of inserting a content control around a single selected image.

Declaration

cs-api-definition
public override void InsertAroundSelectedImage(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

Overrides SdtBuilder<PictureProperties>.InsertAroundSelectedImage(RadDocumentEditor)

InsertAroundSelectedInlineRange(RadDocumentEditor)

Represents the case of inserting an inline content control around a free selection.

Declaration

cs-api-definition
public override void InsertAroundSelectedInlineRange(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

Overrides SdtBuilder<PictureProperties>.InsertAroundSelectedInlineRange(RadDocumentEditor)

InsertAroundSelectedMultipleBlocks(RadDocumentEditor, Block, Block)

Represents the case of inserting a content control around multiple selected paragraphs or tables.

Declaration

cs-api-definition
public override void InsertAroundSelectedMultipleBlocks(RadDocumentEditor editor, Block firstBlock, Block lastBlock)

Parameters

editor

RadDocumentEditor

firstBlock

Block

lastBlock

Block

Overrides SdtBuilder<PictureProperties>.InsertAroundSelectedMultipleBlocks(RadDocumentEditor, Block, Block)

InsertAroundSelectedMultipleRows(RadDocumentEditor, TableRow, TableRow)

Represents the case of inserting a content control around multiple selected rows.

Declaration

cs-api-definition
public override void InsertAroundSelectedMultipleRows(RadDocumentEditor editor, TableRow firstRow, TableRow lastRow)

Parameters

editor

RadDocumentEditor

firstRow

TableRow

lastRow

TableRow

Overrides SdtBuilder<PictureProperties>.InsertAroundSelectedMultipleRows(RadDocumentEditor, TableRow, TableRow)

InsertAroundSelectedParagraph(RadDocumentEditor, Paragraph)

Represents the case of inserting a content control around a single selected paragraph.

Declaration

cs-api-definition
public override void InsertAroundSelectedParagraph(RadDocumentEditor editor, Paragraph paragraph)

Parameters

editor

RadDocumentEditor

paragraph

Paragraph

Overrides SdtBuilder<PictureProperties>.InsertAroundSelectedParagraph(RadDocumentEditor, Paragraph)

InsertAroundSelectedSingleRow(RadDocumentEditor, TableRow)

Represents the case of inserting a content control around a single selected row.

Declaration

cs-api-definition
public override void InsertAroundSelectedSingleRow(RadDocumentEditor editor, TableRow row)

Parameters

editor

RadDocumentEditor

row

TableRow

Overrides SdtBuilder<PictureProperties>.InsertAroundSelectedSingleRow(RadDocumentEditor, TableRow)

InsertAroundSelectedTable(RadDocumentEditor, Table)

Represents the case of inserting a content control around a single selected table.

Declaration

cs-api-definition
public override void InsertAroundSelectedTable(RadDocumentEditor editor, Table table)

Parameters

editor

RadDocumentEditor

table

Table

Overrides SdtBuilder<PictureProperties>.InsertAroundSelectedTable(RadDocumentEditor, Table)

InsertAroundSelectedTableCell(RadDocumentEditor, TableCell)

Represents the case of inserting a content control around a table cell.

Declaration

cs-api-definition
public override void InsertAroundSelectedTableCell(RadDocumentEditor editor, TableCell cell)

Parameters

editor

RadDocumentEditor

cell

TableCell

Overrides SdtBuilder<PictureProperties>.InsertAroundSelectedTableCell(RadDocumentEditor, TableCell)

InsertBeforeHardBlockSdt(RadDocumentEditor, SdtRangeStart)

Represents the case of inserting an inline content control that is placed just before another content control hosting a table or a table row.

Declaration

cs-api-definition
public override void InsertBeforeHardBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)

Parameters

editor

RadDocumentEditor

nextSdtStart

SdtRangeStart

Overrides SdtBuilder<PictureProperties>.InsertBeforeHardBlockSdt(RadDocumentEditor, SdtRangeStart)

InsertCore(RadDocumentEditor)

Executes the main insert logic.

Declaration

cs-api-definition
public override void InsertCore(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

Overrides SdtBuilder<PictureProperties>.InsertCore(RadDocumentEditor)

InsertInEmptyParagraph(RadDocumentEditor, Paragraph)

Represents the case of inserting in the beginning of an empty paragraph.

Declaration

cs-api-definition
public override void InsertInEmptyParagraph(RadDocumentEditor editor, Paragraph paragraph)

Parameters

editor

RadDocumentEditor

paragraph

Paragraph

Overrides SdtBuilder<PictureProperties>.InsertInEmptyParagraph(RadDocumentEditor, Paragraph)

InsertInEmptyTableCell(RadDocumentEditor, TableCell)

Represents the case of inserting in the beginning of an empty table cell.

Declaration

cs-api-definition
public override void InsertInEmptyTableCell(RadDocumentEditor editor, TableCell tableCell)

Parameters

editor

RadDocumentEditor

tableCell

TableCell

Overrides SdtBuilder<PictureProperties>.InsertInEmptyTableCell(RadDocumentEditor, TableCell)

InsertInMultiSelection(RadDocumentEditor)

Represents the case of inserting a content control in a multiple selection scenario.

Declaration

cs-api-definition
public override void InsertInMultiSelection(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

Overrides SdtBuilder<PictureProperties>.InsertInMultiSelection(RadDocumentEditor)