|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVideoExportUtils
Provides access to video export utility methods.
This interface exposes some methods for capturing bitmaps from the application display. It can be used to develop custom animation exporters.
Method Summary | |
---|---|
void |
getOffScreenBitmapHandle(IAGAnimationContainer pContainer,
int[] phBitmap)
The bitmap handle from an offscreen rendering buffer. |
void |
getOffScreenTiledBitmapHandle(IAGAnimationContainer pContainer,
tagRECT pOutputRect,
int[] phBitmap)
The tiled bitmap handle from an offscreen rendering buffer. |
void |
getWindowBitmapHandle(IAGAnimationContainer pContainer,
int[] phBitmap)
The bitmap handle from an OpenGL or GDI rendered window. |
boolean |
isBBoxNavigationMode(IAGAnimationContainer pContainer)
Indicates bounding box navigation mode. |
void |
restorePreviousContext(IAGAnimationContainer pContainer)
Restores the OpenGL rendering context after offscreen video export. |
void |
setBBoxNavigationMode(IAGAnimationContainer pContainer,
boolean pbBBoxMode)
Indicates bounding box navigation mode. |
Method Detail |
---|
void restorePreviousContext(IAGAnimationContainer pContainer) throws IOException, AutomationException
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getOffScreenBitmapHandle(IAGAnimationContainer pContainer, int[] phBitmap) throws IOException, AutomationException
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)phBitmap
- The phBitmap (A COM typedef) (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getWindowBitmapHandle(IAGAnimationContainer pContainer, int[] phBitmap) throws IOException, AutomationException
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)phBitmap
- The phBitmap (A COM typedef) (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getOffScreenTiledBitmapHandle(IAGAnimationContainer pContainer, tagRECT pOutputRect, int[] phBitmap) throws IOException, AutomationException
Using this method, you can export a custom resolution image (bitmap) from map or globe. The bitmap handle returned can be used to create a bitmap on disk. This method makes use of the offscreen rendering, which allows you to capture the bitmap even if a window is covering the main viewer. Offscreen rendering works best if your application window is maximized.
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pOutputRect
- A Structure: com.esri.arcgis.system.tagRECT (in)phBitmap
- The phBitmap (A COM typedef) (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isBBoxNavigationMode(IAGAnimationContainer pContainer) throws IOException, AutomationException
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBBoxNavigationMode(IAGAnimationContainer pContainer, boolean pbBBoxMode) throws IOException, AutomationException
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pbBBoxMode
- The pbBBoxMode (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |