DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class EmbeddedFileResource

java.lang.Object
  extended by com.cete.dynamicpdf.Resource
      extended by com.cete.dynamicpdf.EmbeddedFileResource

public class EmbeddedFileResource
extends Resource

Represents EmbeddedFile resource.

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


Method Summary
 void draw(DocumentWriter writer)
          Draws the EmbeddedFile resource to the given DocumentWriter object.
 int getRequiredPdfObjects()
          Gets the number of PDF objects required by the resource.
 
Methods inherited from class com.cete.dynamicpdf.Resource
getResourceType, getUid, newUid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRequiredPdfObjects

public int getRequiredPdfObjects()
Gets the number of PDF objects required by the resource.

Overrides:
getRequiredPdfObjects in class Resource
Returns:
the value 2, the number of PDF objects required by the resource.

draw

public void draw(DocumentWriter writer)
Draws the EmbeddedFile resource to the given DocumentWriter object.

Specified by:
draw in class Resource
Parameters:
writer - DocumentWriter object to receive the resource's output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

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