|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.Resource
com.cete.dynamicpdf.Annotation
public class Annotation
Class represents an annotation resource.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
|---|---|
Annotation(float left,
float top,
float right,
float bottom,
IAnnotation iAnnotation)
Initializes a new instance of the Annotation class. |
|
| Method Summary | |
|---|---|
void |
draw(DocumentWriter writer)
Draws the annotation to the given DocumentWriter object. |
float |
getBottom()
Gets the bottom Y coordinate of the annotation. |
float |
getLeft()
Gets the left X coordinate of the annotation. |
int |
getRequiredPdfObjects()
Gets the number of PDF objects required by the annotation. |
ResourceType |
getResourceType()
Gets the type of resource. |
float |
getRight()
Gets the right X coordinate of the annotation. |
float |
getTop()
Gets the top Y coordinate of the annotation |
| Methods inherited from class com.cete.dynamicpdf.Resource |
|---|
getUid, newUid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Annotation(float left,
float top,
float right,
float bottom,
IAnnotation iAnnotation)
Annotation class.
left - The left X coordinate of the annotation.top - The top Y coordinate of the annotation.right - The right X coordinate of the annotation.bottom - The bottom Y coordinate of the annotation.iAnnotation - Annotation| Method Detail |
|---|
public int getRequiredPdfObjects()
getRequiredPdfObjects in class Resourcepublic ResourceType getResourceType()
getResourceType in class ResourceResourceTypepublic float getLeft()
public float getRight()
public float getTop()
public float getBottom()
public void draw(DocumentWriter writer)
DocumentWriter object.
draw in class Resourcewriter - DocumentWriter object to receive the
annotation's output.DocumentWriter
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||