Table of Contents

Method InsertContent

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

InsertContent(CadMTextContent)

Puts the words of a file at the caret, over the selection, in the looks they come with: Import Text. The paragraphs and runs are those CadMTextImport reads from a text or an RTF file; a run with no look of its own takes the look of the letters typed there. One undo step.

public void InsertContent(CadMTextContent content)

Parameters

content CadMTextContent

The words, as CadMTextImport reads them.

Exceptions

ArgumentNullException

Thrown when the content is null.