Scripting API

<<NewDrawingObject Main Index NewLayerGroup>>
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

NewFile

Script Name: NewFile
Name: File New
Library: CmdFile
Description: Create a new document.
Status bar text: Create new image
Tool tip text: New
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
WidthWidthRealWidth in pixels of new imageNo300.00.01832282.0
HeightHeightRealHeight in scanlines of new imageNo300.00.01832282.0
Color DepthColorDepthBooleanImage TypeNo0falsetrue
Dimension UnitsDimensionUnitsBooleanDimension TypeNo0falsetrue
Resolution UnitsResolutionUnitsBooleanResolution UnitsNo0falsetrue
ResolutionResolutionRealResolutionNo78.741.01000.0
BackgroundFillMaterialParameter RepositoryCreate as RasterYes
TransparentTransparentBooleanTransparentNo0falsetrue
Layer TypeLayerTypeBooleanType of layer the new image will haveNo0falsetrue
Art Media TextureArtMediaTextureParameter RepositoryArt Media TextureNo
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
NoCommandHistory: true
NoDocumentNeeded: true
ProcessChanges: true
 
Resource Attributes:
HasWinPlacement: true
HelpID:57600
DlgHasPresets: true
DlgHasRandomize: true
IsEditable: true