Corel® PaintShop® Pro Scripting API Documentation

<<Pentagon Main Index PhotoFilter>>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

PerspectiveTransform

Script Name: PerspectiveTransform
Name: PerspectiveCorrection
Library: ToolStandard
Description: Perspective correction of an image
Status bar text: Perspective Correction Tool: Use to correct perspective distortion in images.
Tool tip text: Perspective Correction Tool
Undo text: Perspective Correction
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Crop ImageCropImageEnumeration (Boolean)Crops image to the largest possible rectangle without introducing backgroundNoTrue
Handle 1Handle1PointDefines first point of perspective correctionNo(0.20000000000000001,0.20000000000000001)
Handle 2Handle2PointDefines second point of perspective correctionNo(0.80000000000000004,0.20000000000000001)
Handle 3Handle3PointDefines third point of perspective correctionNo(0.80000000000000004,0.80000000000000004)
Handle 4Handle4PointDefines fourth point of perspective correctionNo(0.20000000000000001,0.80000000000000004)
Background Fill MaterialBackgroundMaterialParameter RepositoryThe material used for filling newly exposed areas of the background layerYes
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
 
Resource Attributes:
DlgHasPresets: true