DynamicPDF by ceTe Software

com.cete.dynamicpdf.xmp
Class XmpThumbnail

java.lang.Object
  extended by com.cete.dynamicpdf.xmp.XmpDataType
      extended by com.cete.dynamicpdf.xmp.XmpThumbnail

public class XmpThumbnail
extends XmpDataType

Class represents data structure for a thumbnail image for a file.

Licensing:
This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:


Method Summary
 void add(int width, int height, java.lang.String format, byte[] image)
          To add a thumbnail image for a file.
 void draw(XmpWriter xwriter)
          Draws the Xmp Thumbnail data structure to the given XmpWriter object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public void add(int width,
                int height,
                java.lang.String format,
                byte[] image)

To add a thumbnail image for a file.

Parameters:
width - Width in pixels.
height - Height in pixels.
format - the image encoding.
image - the thumbnail image (pixel data only).

draw

public void draw(XmpWriter xwriter)

Draws the Xmp Thumbnail data structure to the given XmpWriter object.

Specified by:
draw in class XmpDataType
Parameters:
xwriter - XmpWriter object to receive the Xmp Thumbnail's output.
See Also:
XmpWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software