InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IImageReadData Class Referenceabstract

#include <IImageReadData.h>

Inheritance diagram for IImageReadData:
IPMUnknown

Public Member Functions

virtual bool16 ReadData (ImageStreamRecord &outImageRecord)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface that defines mechanism for reading image data from a source.

See Also
IImageStream
IReadDataImageStreamData

Member Function Documentation

virtual bool16 IImageReadData::ReadData (ImageStreamRecordoutImageRecord)
pure virtual

Reads data from underlying source, based on parameters in the specified image record. The image record defines the geometry for the data to read, including the area to read (left, top, width, height), the bytewidth for the specified buffer, the plane to read (if planar data), as well as the buffer into which the data should be read.

Parameters
outImageRecordIN/OUT Defines dimensions for image, as well as data buffer
Returns
kTrue if read is successful, else kFalse
See Also
IImageStream