bitmapItem.hPixels

#### Availability

Flash CS6 Professional.

#### Usage

bitmapItem.hPixels

#### Description

Read-only property; an int that specifies the width of the bitmap, in pixels.

#### Example

javascript
The following code illustrates use of this property.
// get the number of pixels in the horizontal dimension. 
var bmItemObj = fl.getDocumentDOM().library.items[0]; 
var numHorizontalPixels = bmItemObj.hPixels;


#### See also

bitmapItem.vPixels (../BitmapItem_object/bitmapIte14.md)