TRichView.com
HomeFeaturesHistoryDownloadsOrderResourcesApplicationsSupportContacts

List of Features
TRichView
Formatting
Images
Delphi Sub-Controls
Tables
Bullets & Numbering
Styles
Multi-Language
Hypertext
Import and Export, DB
Editing
Printing
Spell-Checking
ScaleRichView
WYSIWYG Editing
Printing Posters
Delphi Sub-Controls

Features

Images

Standard and Third-Party Image Formats

RichView documents can contain images of any format supported by Delphi/C++Builder. The standard graphic formats are:

  • bitmaps (TBitmap);
  • windows (16-bit) and enhanced (32-bit) metafiles (TMetafile);
  • icons (TIcon);
  • Jpeg images (TJPEGImage, since Delphi 3);
  • Gif images (TGifImage, a standard graphic class since Delphi 2007).

You can add a support for additional graphic formats using third-party graphic classes (descendants of TGraphic). Animation is supported.

Example:

gif: TGifImage;
...
gif := TGifImage.Create;
gif.LoadFromFile('demo.gif');
editor.InsertPicture('Demo Gif Image', gif, rvvaBaseLine);

Additional information: How to use PNG and GIF images in TRichView.

Image in document

Image Resizing

Users can resize images with the mouse.

Animation

TRichView supports animated images:

  • Gif animations;
  • Bitmap animations (bitmap is divided into frames).
Image resizing

Background Images

You can add a bitmap image to the background. This image can be centered, stretched, or tiled. Tiled images can be fixed or scrolled with the document's content.

Tables and cells can have background images as well.

Chat 'avatars' are represented as images from TImageList. Also, you can see a background image here

Images from Image Lists

This is an unique feature of RichView.

Images can be inserted just from Image Lists! This is a very memory-efficient way to represent repeated small graphics in documents (RichView stores in memory only an image index and a link to the TImageList)

    Demo 1 with images from Image Lists:
  • Demos\Delphi\MultiDemo\ subdirectory of RichView installation, or
  • Demos\CBuilder\MultiDemo\ subdirectory of RichView installation, or
  • download the compiled demo.
    Demo 2 (menu Insert | Bullet and Insert | Hot Spot:
  • Demos\Delphi\Editors\Editor 1\ subdirectory of RichView installation, or
  • Demos\CBuilder\Editors\Editor 1\ subdirectory of RichView installation, or
  • download the compiled demo.
    Tutorial on RichView item types (see tutorial 1, project 5):
  • Demos\Delphi\Tutorial\ subdirectory of RichView installation, or
  • Demos\CBuilder\Tutorial\ subdirectory of RichView installation.

Images in Inserted Components

Another way of adding images is to insert them in Delphi/C++Builder controls (such as TImage), and then insert such controls into a RichView document.
Animated images can be inserted as well.

Additional information:

Custom Drawing

You can draw your own backgrounds and widgets with the custom-draw feature.

    Demos:
  • Demos\Delphi\Assorted\CustomDraw\ subdirectory of RichView installation, or
  • Demos\CBuilder\Assorted\CustomDraw\ subdirectory of RichView installation.
Custom drawing of paragraph background and text

Images and Hypertext

Images can work as hypertext links. Hypertext images (hotspots) from an Image List can change their appearance under the mouse pointer.

    Demos:
  • Demos\Delphi\MultiDemo\ subdirectory of RichView installation, or
  • Demos\CBuilder\MultiDemo\ subdirectory of RichView installation.
Hotspots changes under the mouse pointer

Special Effects

You can see an additional types of RichView document items displaying translucent images with the specified value of transparency (TRVBlendBitmapInfo).

  • Demos\Addins\BlendBitmap\ subdirectory of RichView installation, or
  • download the compiled demo.
Semi-transparent images