QaImages is a list object that provides access to a Document or Routine image list. It is obtainable from a QaDoc, QaRoutine, or QaDbDataSource object via the new method “IQaImages* GetImages(void)” which returns an object representing the QaImages list. Any methods that return an image object may return no object if no object is available for the request.
QaImages - Methods
| Methods | Description | Return Type | Input Parameters | Remarks |
| GetCount(void); | Returns the number of images in the list. | LONG | ||
| GetFirstImage(void); | Returns an image object that represents the first image in the list. | IQaImage* | ||
| GetImage(BSTR label_); | Returns an image with the provided label. | IQaImage* | The label of the image is always the filename title without the filename extension. | |
| GetImageByPosition(LONG position_); | Returns an image object that represents the image in the list at the position requested. | IQaImage* | The number One (1) represents the first image. | |
| GetNextImage(void); | Returns an image object that represents the next image in the list that follows the previous image obtained by any of the other “GetImage…” methods. | IQaImage* | ||
| NewImageForDocument(BSTR imagePath_); | Creates a new document image for “imagePath_” and returns an image object that represents it. | IQaImage* | This method can used with any QaImages list. | |
| NewImageForRoutine(BSTR routineKeyLabel_, BSTR imagePath_); | Creates a new routine image for “routineKeyLabel_” and “imagePath_” and returns an image object that represents it. | IQaImage* | The “routineKeyLabel_” is a label that uniquely identifies a routine and includes the handedness and routine key filters. It will have the form: RoutineA ^ LH ^ keyA ^ keyB. This method can only be used with a QaImages list obtained from a QaRoutine or QaDbDataSource object. If the QaImages list was obtained from a QaRoutine object the “routineKeyLabel_” can be an empty string and the new image will be associated to the respective routine object. |
Can we improve this topic? Click Send Feedback in the upper right of the screen to share your comments!