picture TrvActionInsertPicture

Properties

Top  Previous  Next

TrvActionInsertPicture is the action for "Insert | Picture" command.

Unit RichViewActions;

Syntax

TrvActionInsertPicture = class(TrvActionCustomIO)

Hierarchy

TObject

TPersistent

TComponent

TBasicAction

TContainedAction

TCustomAction

TAction

TrvCustomAction

TrvAction

TrvActionCustomIO

Description

This action inserts a page picture from file in the caret position. Unlike all other file opening actions, this action detects file format by the file extension, not by the file filter index.

The following additional properties can be applied to inserted pictures:

VAlign – the image alignment relative to text;

Spacing – spacing around the image.

MaxImageSize – maximal allows size (the image will be stretched if it exceed this size)

StoreFileName, StoreFileNameInItemName allow storing file name with the image.


RichView © Sergey Tkachenko