Scripting API

<<MaskHideSelection Main Index MaskLoadDisk>>
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

MaskLoadAlpha

Script Name: MaskLoadAlpha
Name: MaskLoadAlpha
Library: CmdSelections
Description: Load a layer mask from an alpha channel layer.
Status bar text: Load a layer mask from an alpha channel layer
Tool tip text: Load Mask from Alpha
Undo text: Load Mask from Alpha
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Alpha IndexAlphaIndexIntegerIndex of alpha channel layer in documentYes000
InvertInvertEnumeration (Boolean)Determines if the source image data is to be invertedNoFalse
Mask Fill ModeMaskFillEnumeration (MaskFill)Determines if the area outside of the mask image is to be hidden or shownNoHide
OrientationOrientationEnumeration (MaskLoadOrientation)Determines if loaded image is to be resized, and if so, to which rectangleNoFitToCanvas
Source Image IndexSourceImageIntegerIndex of open source image relative to active image in the order they were opened (0 refers to the active image)No0-6553565535
Alpha NameAlphaNameStringName of alpha channel layer to load as maskYes
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
EditRequiresGraphic: true
 
Resource Attributes:
HasWinPlacement: true
HelpID:33040
IsEditable: true