Class TrDBImage
Unit
rDBComponents
Declaration
type TrDBImage = class(TrImageZoom)
Description
DB version of TrImageZoom, provides zoom function with scrollbars and drag and move function
Hierarchy
Overview
Methods
Properties
Description
Methods
|
function CutImageToClipboard: boolean; override; |
cut image and insert to clipboard, works if dataset is in edit state or autoedit is on
|
|
function PasteImageFromClipboard: boolean; override; |
paste image from clipboard, works if dataset is in edit state or autoedit is on
|
|
function LoadFromFile(const FileName: string): boolean; override; |
load image from file (BMP, JPG, PNG format is supported), works if dataset is in edit state or autoedit is on
|
|
function ResizePic(ratio: double): boolean; override; |
change resolution of image, works if dataset is in edit state or autoedit is on
|
|
function ShowEditorWindow: boolean; override; |
show image in independent window supporting edit functions
|
Properties
|
property DataField: string read GetDataField write SetDataField; |
|
|
property DataSource: TDataSource read GetDataSource write SetDataSource; |
|
|
property DBEditLabel: TDBBoundLabel read FDBEditLabel; |
define properties of bound label
|
|
property BoundButtons: TBoundButtons read FBoundButtons write FBoundButtons; |
define properties of bound buttons - ZoomIn, ZoomOit, Fit, Edit
|
|
property ShowConvertMenu: boolean read FShowConvertMenu write SetShowConvertMenu default true; |
define whether convert menu is shown
|
|
property MaxImageSize: integer read FMaxImageSize write FMaxImageSize default 0; |
define maximum size of picture - bigger picture is resize when user load or copy image to field
|
|
property PictureIfEmpty: TPicture read FPictureIfEmpty write SetPictureIfEmpty; |
define picture which is used as background for empty field
|
|
property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix; |
define prefix for auto-named function (name of component is set according datafield)
|
Generated by PasDoc 0.15.0.
|