[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Processing a Photoshop document. Tab=Adobe [Property] @Document=Sets a Photoshop document to operate. ARG(Document)|20|(empty)|PhotoshopDocument [Methods] *doActiveChannels=Sets the selected channels. ARG(Channel[] channels)|1|0 *doActiveLayer=Sets the selected layer. ARG(ArtLayer||LayerSet layer)|1|0 *doBitsPerChannel=Sets the number of bits per color channel. ARG(PsBitsPerChannelType depth)|1|0 *doColorProfileName=Sets the name of the color profile. ARG(string profilename)|1|0 *doColorProfileType=Sets the type of color model that defines the document’s working space. ARG(PsColorProfileType profiletype)|1|0 *doFlatten=Flattens all layers in the document. ARG()|1|0 *doMergeVisibleLayers=Flattens all visible layers in the document. ARG()|1|0 *doRasterizeAllLayers=Rasterizes all layers. ARG()|1|0 *doRevealAll=Expands the document to show clipped sections. ARG()|1|0 *doSave=Saves the document. ARG()|1|0 *doTrap=Applies trapping to a CMYK document. Valid only when Mode = CMYK. ARG(long width)|1|0 *ActiveChannels=Returns the selected channels. ARG(Channel[])|3|13 *ActiveLayer=Returns the selected layer. ARG(ArtLayer||LayerSet)|3|0 *ArtLayers=Returns the ArtLayers collection. ARG(ArtLayers)|3|13 *BitsPerChannel=Returns the number of bits per color channel. ARG(PsBitsPerChannelType)|3|0 *BackgroundLayer=Returns the background layer of the document. ARG(ArtLayer)|3|0 *.Channels=Returns the Channels collection. ARG(Channels)|3|13 *ColorProfileName=Returns the name of the color profile. ARG(string)|3|2 *ColorProfileType=Returns the type of color model that defines the document’s working space. ARG(PsColorProfileType)|3|0 .Document=Returns current instance of the document. ARG(Document)|3|0 *FullName=Returns the full path name of the document. ARG(string)|3|2 *Info=Returns Metadata about the document. ARG(DocumentInfo)|3|0 *LayerComps=Returns the LayerComps collection. ARG(LayerComps)|3|13 *Layers=Returns the Layers collection. ARG(Layers)|3|13 *LayerSets=Returns the LayerSets collection. ARG(LayerSets)|3|13 *Mode=Returns the color profile. ARG(PsDocumentMode)|3|0 *Name=Returns the document's name. ARG(string)|3|2 *Path=Returns the path to the document. ARG(string)|3|2 *PathItems=Returns the PathItems collection. ARG(PathItems)|3|13 *Resolution=Returns the document’s resolution (in pixels per inch). ARG(double)|3|7 *Saved=Returns the vale indicating whether the document has been saved since the last change. ARG(bool)|3|104 *Selection=Returns the selected area of the document. ARG(Selection)|3|0 *SplitChannels=Splits the document channels into separate images and returns array. ARG(Document[])|3|13 *.Width=Returns the width of the document. ARG(double)|3|7 *.Height=Returns the height of the document. ARG(double)|3|7 *XMPMetadata=Returns XMP metadata for the document. Camera Raw settings are contained here. ARG(XMPMetadata)|3|0 Document=Defines a Photoshop document to operate. ARG(Document)|4|0 *channels=Defines the channels to select. ARG(Channel[])|4|0 *depth=Defines the number of bits per color channel. ARG(PsBitsPerChannelType)|4|0 *layer=Defines the layer to select. ARG(ArtLayer||LayerSet)|4|0 *profilename=Defines the name of the color profile. ARG(string)|4|2 *profiletype=Defines the type of color model that defines the document’s working space. ARG(PsColorProfileType)|4|0 *width=Defines the width of the trapping. ARG(long)|4|105