[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Interfaces=PhotoshopDocument Info=Creates a new Photoshop document. Tab=Adobe [Property] Name=Sets the name of the component. ARG(string)|2| Photoshop=Sets COM server Photoshop.Application. ARG(Application)|20|(empty)|Photoshop RulerUnits=Sets measurement unit types for the type ruler. ARG(PsUnits)|14|0|psPixels,psInches,psCM,psMM,psPoints,psPicas,psPercent Width=Sets the width of a new document. ARG(int)|1|0 Height=Sets the height of a new document. ARG(int)|1|0 Resolution=Sets the resolution of a new document (in pixels per inch). ARG(int)|1|72 +FileName=Sets the name of a new document. ARG(string)|2| Mode=Sets the color profile to use for a new document. ARG(PsNewDocumentMode)|14|1|psNewGray,psNewRGB,psNewCMYK,psNewLab,psNewBitmap Fill=Sets the fill type of a new document. ARG(PsDocumentFill)|14|0|psWhite,psBackgroundColor,psTransparent Ratio=Sets the pixel aspect ratio of a new document. ARG(double)|7|1 BitsPerChannel=Sets the number of bits per color channel. ARG(PsBitsPerChannelType)|14|1|psDocument1Bit,psDocument8Bit,psDocument16Bit,psDocument32Bit ColorProfile=Sets the profile name of a new document. ARG(string)|2| [Methods] doNew=Creates a new document. ARG(object width, object height, object resolution, object filename, object mode, object fill, object ratio, object bitsperchannel, object colorprofile)|1|0 onComplete=Occurs after creating a new document. ARG(Document)|2|0 Document=Returns a new document. ARG(Document)|3|0 Photoshop=Defines COM server Photoshop.Application. ARG(Application)|4|0 FileName=Defines the name of a new document. ARG(string)|4|2 *bitsPerChannel=Sets the number of bits per color channel. ARG(PsBitsPerChannelType)|4|0 *colorProfile=Sets the profile name of a new document. ARG(string)|4|2 *fill=Sets the fill type of a new document. ARG(PsDocumentFill)|4|0 *height=Defines the height of a new document. ARG(int)|4|1 *mode=Sets the color profile to use for a new document. ARG(PsNewDocumentMode)|4|0 *ratio=Sets the pixel aspect ratio of a new document. ARG(double)|4|7 *resolution=Defines the resolution of a new document (in pixels per inch). ARG(int)|4|1 *width=Defines the width of a new document. ARG(int)|4|1