document.convertSelectionToBitmap()

#### Availability

Adobe Animate.

#### Usage

document.convertSelectionToBitmap()

#### Parameters

None

#### Returns

Boolean.

#### Description

Method; converts selected objects in the current frame to a bitmap and inserts the bitmap into the library.

#### Example

javascript
The following example illustrates use of this method:
fl.getDocumentDOM().convertSelectionToBitmap();