ColorDepth Property

Pageflex Document Action API

Pageflex Document Action API ColorDepth Property
Namespaces > Pageflex.Scripting > Image > ColorDepth
Gets the number of bits per pixel of the raster image data assigned to this image object.
Syntax
C# Visual Basic Managed C++
public uint ColorDepth { get; }
Public ReadOnly Property ColorDepth As UInteger
public:
unsigned int ColorDepth {
	unsigned int get ();
}
Exceptions
Exception Condition
ImageNotRasterException The assigned image is not a raster image.
ImageSourceUnavailableException Could not retrieve image data from Source.
ElementNotVisibleException The referenced shape is not Visible.
StaleScriptingObjectException This object's associated internal object no longer exists.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)