Class TResizeSettings

Unit

Declaration

type TResizeSettings = class(TIDIObject)

Description

TResizeSettings

Hierarchy

Overview

Methods

Public procedure AfterConstruction; override;
Public procedure Reset;
Public procedure InitializeFromImage (AImage: TImageItem);
Public function Convert (AValue: Double; ASourceUnit, ATargetUnit: TSizeUnit): Double;
Public function SizesFor(AImageItem: TImageItem; var AOutWidth: Integer; var AOutHeight: Integer): Integer;
Public function MaxSizeFor(AImageItem: TImageItem): Integer;

Properties

Public property ResizeMethod: TResizeMethod read GetResizeMethod write SetResizeMethod;
Public property WidthDisplayValue: Double read GetWidthDisplayValue;
Public property HeightDisplayValue: Double read GetHeightDisplayValue;
Public property ResolutionDisplayValue: Double read GetResolutionDisplayValue;
Public property Caption: WideString read GetCaption;
Published property Enabled : Boolean read FEnabled write FEnabled default True;
Published property Method : TResizeMethod read FMethod write FMethod;
Published property KeepOriginalSize : Boolean read FKeepOriginalSize write FKeepOriginalSize;
Published property Width : Integer read FWidth write FWidth;
Published property Height : Integer read FHeight write FHeight;
Published property WidthDisplayUnit : TSizeUnit read FWidthDisplayUnit write FWidthDisplayUnit;
Published property HeightDisplayUnit : TSizeUnit read FHeightDisplayUnit write FHeightDisplayUnit;
Published property AdjustResolution : Boolean read FAdjustResolution write FAdjustResolution;
Published property Resolution : Double read FResolution write FResolution;
Published property ResolutionDisplayUnit : TSizeUnit read FResolutionDisplayUnit write FResolutionDisplayUnit;
Published property Proportional : Boolean read FProportional write FProportional;
Published property ProportionalSetting : TResizeSide read FProportionalSetting write FProportionalSetting;
Published property EnlargeSmallImages : Boolean read FEnlargeSmallImages write FEnlargeSmallImages;
Published property MaintainRatio : Boolean read FMaintainRatio write FMaintainRatio;
Published property Interpolated : Boolean read FInterpolated write FInterpolated;
Published property Filter : TvxInterpolationFilter read FFilter write FFilter;
Published property PixelUnit : TPixelUnit read FPixelUnit write FPixelUnit;
Published property Mega : Single read FMega write FMega;

Description

Methods

Public procedure AfterConstruction; override;
 
Public procedure Reset;
 
Public procedure InitializeFromImage (AImage: TImageItem);
 
Public function Convert (AValue: Double; ASourceUnit, ATargetUnit: TSizeUnit): Double;
 
Public function SizesFor(AImageItem: TImageItem; var AOutWidth: Integer; var AOutHeight: Integer): Integer;
 
Public function MaxSizeFor(AImageItem: TImageItem): Integer;
 

Properties

Public property ResizeMethod: TResizeMethod read GetResizeMethod write SetResizeMethod;
 
Public property WidthDisplayValue: Double read GetWidthDisplayValue;
 
Public property HeightDisplayValue: Double read GetHeightDisplayValue;
 
Public property ResolutionDisplayValue: Double read GetResolutionDisplayValue;
 
Public property Caption: WideString read GetCaption;
 
Published property Enabled : Boolean read FEnabled write FEnabled default True;
 
Published property Method : TResizeMethod read FMethod write FMethod;
 
Published property KeepOriginalSize : Boolean read FKeepOriginalSize write FKeepOriginalSize;
 
Published property Width : Integer read FWidth write FWidth;
 
Published property Height : Integer read FHeight write FHeight;
 
Published property WidthDisplayUnit : TSizeUnit read FWidthDisplayUnit write FWidthDisplayUnit;
 
Published property HeightDisplayUnit : TSizeUnit read FHeightDisplayUnit write FHeightDisplayUnit;
 
Published property AdjustResolution : Boolean read FAdjustResolution write FAdjustResolution;
 
Published property Resolution : Double read FResolution write FResolution;
 
Published property ResolutionDisplayUnit : TSizeUnit read FResolutionDisplayUnit write FResolutionDisplayUnit;
 
Published property Proportional : Boolean read FProportional write FProportional;
 
Published property ProportionalSetting : TResizeSide read FProportionalSetting write FProportionalSetting;
 
Published property EnlargeSmallImages : Boolean read FEnlargeSmallImages write FEnlargeSmallImages;
 
Published property MaintainRatio : Boolean read FMaintainRatio write FMaintainRatio;
 
Published property Interpolated : Boolean read FInterpolated write FInterpolated;
 
Published property Filter : TvxInterpolationFilter read FFilter write FFilter;
 
Published property PixelUnit : TPixelUnit read FPixelUnit write FPixelUnit;
 
Published property Mega : Single read FMega write FMega;
 

Generated by PasDoc 0.15.0.