Scripting API

<<ResetMaterials Main Index ResizeCanvas>>
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

Resize

Script Name: Resize
Name: Resize
Library: CmdBase2
Description: Resizes the image.
Status bar text: Change the size of the image
Tool tip text: Resize
Undo text: Resize
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Aspect RatioAspectRatioRealAspect ratio of the image.Yes1.00.032767.0
CurrentDimensionUnitsCurrentDimensionUnitsEnumeration (UnitsOfMeasure)Units in which to display the current dimensions of the image.NoPercent
CurrentResolutionCurrentResolutionUnitsEnumeration (ResolutionUnits)Units in which to display the current resolution of the image.NoPixelsPerIn
HeightHeightRealCurrent height of the image.Yes0.00.00.0
MaintainAspectRatioMaintainAspectRatioEnumeration (Boolean)Whether or not to maintain the aspect ratio of the image.NoTrue
ResampleResampleEnumeration (Boolean)Whether or not to resample the image.NoTrue
ResampleTypeResampleTypeEnumeration (ResampleType)Type of resampling to be done on the image.NoBicubic
ResizeAllLayersResizeAllLayersEnumeration (Boolean)Whether or not to resize all layers of the image.NoTrue
ResolutionResolutionRealCurrent resolution of the image.No200.01.032767.0
WidthWidthRealCurrent width of the image.Yes0.00.00.0
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
 
Resource Attributes:
HasWinPlacement: true
HelpID:32977
IsEditable: true