Java org.apache.poi.hpsf Thumbnail fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.hpsf Thumbnail fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.hpsf Thumbnail.

The text is from its open source code.

Constructor

Thumbnail(final byte[] thumbnailData)

Creates a Thumbnail instance and initializes with the specified image bytes.

Method

byte[]getThumbnailAsWMF()

Returns the Thumbnail as a byte[] of WMF data if the Thumbnail's Clipboard Format Tag is #CFTAG_WINDOWS CFTAG_WINDOWS and its Clipboard Format is #CF_METAFILEPICT CF_METAFILEPICT

This byte[] is in the traditional WMF file, not the clipboard-specific version with special headers.

See http://www.wvware.com/caolan/ora-wmf.html for more information on the WMF image format.