Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
The get_imageSourceWidth method retrieves the width of the current media item in pixels.
Syntax
HRESULT get_imageSourceWidth( long* pWidth );
Parameters
- pWidth
[out] Pointer to a long that specifies the width.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
S_OK |
The method succeeded. |
Remarks
If the digital media item is not the current one, this property returns zero.
Before calling this method, you must have read access to the library.