This topic provides information on how to create images using the xamRichTextEditor ™ from the developer’s perspective.
The following topics are prerequisites to understanding this topic:
This topic contains the following sections:
The xamRichTextEditor control supports images of different formats in its document’s content. The images are represented by an ImageNode, which can only be added to the ChildNodes collection of a RunNode. The following tree shows the structure of a paragraph with an image:
RunNode
ImageNode
The following image formats are supported: BMP, DIB, EMF, GIF, JPEG, PNG, TIFF and WMF.
This class represents an image in the document’s node hierarchy. It provides methods for specifying crop and margin.
The following table maps the desired configuration to its respective property settings.
This class represents the image data. Its constructor can create an instance from a byte array. This class also provides static methods for creating instances from a stream or file location.
The following table maps the desired configuration to its respective property settings.
This class represents the transformations which will be applied to the image at document render time.
The following table maps the desired configuration to its respective property settings.
The following topics provide additional information related to this topic.