![]() |
Adobe Photoshop SDK |
|
Property Keys Recognized by Property Suite Callbacks Properties are either simple (represented by a 32 bit integer) or complex (represented by a handle). More...
Detailed DescriptionProperties are either simple (represented by a 32 bit integer) or complex (represented by a handle). Some properties can be modified by calling SetPropertyProc, others are read-only, and can only be used with GetPropertyProc. Define Documentation
Number of channels in the document; (Simple, read-only).
Mode of the image, returned using the Image Modes constants; (Simple, read-only).
Horizontal component of the current ruler origin, represented as a 16.16 value; (Simple, modifiable).
Name of the channel; (Complex, read-only). The channels are indexed from 0 and consist of the composite channels, the transparency mask, the layer mask, and the alpha channels.
Unicode characters for the name of the channel; (Complex, read-only).
Lock bits for the target layer; (Simple, read-only).
Number of paths in the document; (Simple, read-only).
Name of the indexed path; (Complex, read-only). The paths are indexed starting with zero. A complex, read-only property.
Unicode name of the indexed path; (Complex, read-only).
Returns the contents of the indexed path (zero-based). (Complex): Contents of the indexed path in the format described in the path resources documentation; (Complex, read-only). The paths are indexed starting with zero. The data is stored in big endian form. Refer to chapter 10 for more information on path data.
Contents of the path as Illustrator data; (Complex, read-only). The paths are indexed starting with zero.
Index of the work path; (Simple, read-only). The value of the property is -1 if no work path.
Index of the clipping path; (Simple, read-only). The value of the property is -1 if no clipping path.
Index of the target path; (Simple, read-only). The value of the property is -1 if no target path.
File caption information in a IPTC-NAA record; (Complex, modifiable). For more information, see Photoshop File Formats.pdf.
File XMP meta information in a IPTC-NAA record; (Complex, modifiable).
Horizontal component of the nudge distance, represented as a 16.16 value; (Simple, modifiable). This is the value used when moving around using the shift key. The default value is ten pixels.
Vertical component of the nudge distance, represented as a 16.16 value; (Simple, modifiable). This is the value used when moving around using the shift key. The default value is ten pixels.
Current interpolation method; (Simple, read-only). 1=nearest neighbor, 2=bilinear, 3=bicubic, 4=bicubic smoother, 5=bicubic sharper, 6=bicubic automatic 32 bit documents will be nearest neighbor or bilinear only
Current ruler units; (Simple, read-only). For values, see RulerUnits.
Vertical component of the current ruler origin, represented as a 16.16 value; (Simple, modifiable).
Current major grid rules, in inches, unless Represented as 16.16 value.
The current number of grid subdivisions per major rule; (Simple, modifiable).
The serial number string shown to the user; (Complex, read-only).
The serial number string shown to the user; (Complex, read-only).
Hardware gamma table. Only valid for Windows; (Complex, read-only).
The interface color scheme; (Complex, read-only). Allows a plug-in interface to mimic system colors. The handle returned from
The color scheme is indexed, see Interface Color Indexes for index values to pass into ![]() Constants are remapped to create the system look. Use the indexed color scheme to draw PICTs. ![]()
The watch suspension level; (Simple, modifiable). When non-zero, a plug-in can make callbacks to the host without fear that the watch will start spinning. It is reset to zero at the beginning of each call from the host to the plug-in.
Whether the current image is considered under copywrite; (Simple, modifiable). This property key can only be used to set the flag.
Whether the current image is considered under copywrite; (Simple, modifiable).
Indicates whether a digital signature or watermark is present; (Simple, modifiable). The (c) copyright symbol will appear if this is set, or if the user has checked the copyrightproperty in the File Info dialog. Do not turn the copyright flag off, ever. Use to indicate if you have found your digital signature.
The URL for the current image; (Complex, modifiable).
The title of the current document; (Complex, read-only).
The width of the current document in pixels; (Simple, read-only).
The height of the current document in pixels; (Simple, read-only).
The slices for the document; (Complex, modifiable). See the Slices resource format documented in Photoshop File Formats.pdf.
The currently selected slice ID; (Simple, modifiable).
The currently selected slice ID list; (Complex, modifiable).
The currently selected slice index; (Simple, read-only).
Indicate whether the user has set slice numbers to show; (Simple, read-only).
The color of the slice lines; (Complex, read-only).
Tool tip display; (Simple, read-only). The value is 0 if off, 1 if on.
Type of paint cursor being used; (Simple, read-only). 1 = standard; 2 = precise; 3 = brush size.
Cursor options being used; (Simple, read-only). 1 = normal; 2 = full sized.
Cursor crosshair visibility; (Simple, read-only). 0 = not visible; 1 = visible.
Fetch Preference setting: Zoom with Scroll Wheel; (Simple, read-only). 0 = off (use alt key to zoom), 1 = on (mouse scroll wheel does zoom)
EXIF camera and device data; (Complex, modifiable). The EXIF property is controlled by The Japan Electronic Industry Development Association (JEIDA) and Electronic Industries Association of Japan (EIAJ) which merged in November of 2000. The EXIF specification can be downloaded from their web site at the following location: http://it.jeita.or.jp/jhistory/document/standard/exif_eng/jeida49eng.htm
Current version of Photoshop. Major.Minor.Fix
Action play information, for actions palette or automation plug in; (Simple, read-only).
Action recording information, for actions palette; (Simple, read-only).
Unicode name of the document; (Complex, read-only).
Unicode name of the document; (Complex, read-only).
Unicode name of the document without extension; (Complex, read-only).
Global "Don't show again" counter for dialog boxes; (Simple, read-only). The property value is incremented every time these dialogs are reset. Each dialog that supports this feature should maintain its own unsigned32 counter in the preferences file. It should be initialized to zero. Before showing the dialog, the local counter should be compared to the global counter. If equal, don't show the dialog. When the user checks the "Don't show again" check box, the local counter should be set to the master counter.
Number of layers in the document; (Simple, read-only).
Index of the target layer; (Simple, read-only).
Layer name of the layer with a given index; (Complex, read-only).
Layer name as a unicode string of the layer with a given index; (Complex, read-only).
Pixel aspect ratio for the document; (Simple, read-only).
Current operation is part of a place command; (Simple, read-only). Provided for file formats that need to record descriptors differently when placing.
Current operation is part of rasertizing a smart object; (Simple, read-only). Provided for file formats that need to read/obey descriptors differently when rasterizing.
Use this property to tell if Photoshop is in a modal dialog or a modal tool. (Simple)
This property can be used to query about the current Undo setting of the host. (Simple, read-only). The returned boolean is true if new (multi) Undo is enabled. If the property returns false, then legacy Undo has been enabled by the user. This setting corresponds to the following UI location: Keyboard Shortcuts and Menus > Use Legacy Undo Shortcuts (Simple)
measurement scale pixel length (Simple)
measurement scale logical length(Simple)
measurement scale units in unicode string (Complex)
tile size in bytes (Simple, read-only)
Drover library has initialized correctly (Simple, read-only)
Photoshop scratch disk volumes (Complex, read-only) A list of 4-byte volume index that users have picked as preferred scratch volumes. On windows, this index is 1 based, started from "A:", so "C:" drive will be 3, "G:" will be 7, etc.
Number of scratch volumes; (Simple, read-only).
Photoshop scratch disk volume path at the given index in unicode string (Complex, read-only)
The primary updated UX color. 0,0,0 if updated UX is off. (Complex, read-only)
The secondary updated UX color. 0,0,0 if updated UX is off. (Complex, read-only)
Flag for whether or not to use updated UX. (Simple, read-only)
The color of a guide line, RGBColor. All guides have the same color. (Complex, read-only)
The number of guide lines in the document. (Simple, read-only)
Is the guide with the given index horizontal. (Simple, read-only)
The horizontal or vertical coordinate (as a double) of the guide by index. See property above for determining if guide is horizontal. (Simple, read-only)
GPUFlags (Simple, read-only) bits are 00ns,anbp,egc0,00mm n=Native GPU is enabled s=Native GPU support is available a=Advanced mode *could* be selected by the user -- it is allowed n=Normal mode *could* be selected by the user -- it is allowed b=Basic mode *could* be selected by the user -- it is allowed e=GPU is enabled g=use OpenGL for computation c=use OpenCL for computation mm=drawing mode, 0..2.
The the available VRAM in units of 1024*1024 bytes. (Simple, read-only)
Use this property to get current layer bounds. (Complex, read-only).
Use this property to tell if the current layer is a smart object layer. (Simple, read-only)
Use this property to tell if the host application is Hi-DPI aware. (Simple, read-only)
Use this property to tell the current UI brightness. 0 = bright, 1 = light gray, 2 = medium gray, 3 = dark gray. (Simple, read-only)
Use this property to tell the current highlight color.
Use this property to tell if the host application has large tabs on. (Simple, read-only)
Use this property to tell if the host application is scaling UI to font. (Simple, read-only) 95 = Tiny, 100 = No Scaling, 105 = Small, 110 = Medium, 115 = Large
The color of checkerboard 1, RGBColor. (Complex, read-only).
The color of checkerboard 2, RGBColor. (Complex, read-only).
The size of the checkerboard, 0 = no size, 4 = small, 8 = medium, 16 = large. (Simple, read-only).
Use checkerboard or default white. (Simple, read-only).
Use this to determine if document is a cloud document. (Simple, read-only). |