public class Annot extends Object
Represents the annot object in a Pdf document.
Modifier and Type | Field and Description |
---|---|
int[] |
KidsID |
com.aspose.ms.System.Collections.ArrayList |
LinkActions |
Constructor and Description |
---|
Annot() |
Modifier and Type | Method and Description |
---|---|
Paragraph |
getAnnotInfo()
Gets or sets attachment info.
|
RectData |
getArea()
Represents a Basic.Rectangle object that indicates the annot in a page.
|
com.aspose.ms.System.IO.Stream |
getaStream()
Gets or sets a stream attaches to the annot.
|
float |
getBorderBlue()
Represents a float value that indicates the blue color of the annot border.
|
float |
getBorderDash1()
Represents a float value that indicates the length of black section of annot border dash.
|
float |
getBorderDash2()
Represents a float value that indicates the length of white section of annot border dash.
|
float |
getBorderGreen()
Represents a float value that indicates the green color of the annot border.
|
float |
getBorderRed()
Represents a float value that indicates the red color of the annot border.
|
int |
getBorderType() |
float |
getBorderWidth()
Represents a float value that indicates the border width of the annot.
|
String |
getContent()
Represents a string value that indicates the content of the annot.
|
Destination |
getDest()
Represents a HyperTextBase.Destination object that indicates the annot destination type.
|
int |
getEmbeddedFileID()
Represents an int value that indicates the ID of the embedded file.
|
String |
getFile()
Represents a string value that indicates the name of the linked file.
|
com.aspose.ms.System.Collections.ArrayList |
getFormsFields() |
String |
getHeading()
Represents a string value that indicates the annot heading.
|
int |
getIcon() |
String |
getMimeType()
Represents a string value that indicates the annot MIME type.
|
boolean |
getNewWindow()
Represents a boolean value that indicates whether to open file in a new window.
|
Annot |
getNext()
Represents a Annot object that indicates next annot object.
|
int |
getObjectID()
Represents an int value that indicates the ID of the annot object.
|
float |
getTargetPosX() |
float |
getTargetPosY() |
TextInfo |
getTextInfo()
Gets or sets a
TextInfo that indicates the attachment text info. |
int |
getType() |
RectData |
getWindowArea()
Represents a Basic.Rectangle object that indicates the annot window in a page.
|
int |
getWinObjectID()
Represents an int value that indicates the ID of the annot object.
|
boolean |
isOpen()
Represents a bool value that indicates whether the annot be opened when document is opened.
|
void |
setAnnotInfo(Paragraph value) |
void |
setaStream(com.aspose.ms.System.IO.Stream value) |
void |
setEmbeddedFileID(int value) |
void |
setFile(String value) |
void |
setObjectID(int value) |
void |
setTextInfo(TextInfo value) |
void |
setWinObjectID(int value) |
public int[] KidsID
public com.aspose.ms.System.Collections.ArrayList LinkActions
public int getType()
public TextInfo getTextInfo()
Gets or sets a TextInfo
that indicates the attachment text info.
public void setTextInfo(TextInfo value)
public Paragraph getAnnotInfo()
Gets or sets attachment info.
public void setAnnotInfo(Paragraph value)
public RectData getArea()
Represents a Basic.Rectangle object that indicates the annot in a page.
public RectData getWindowArea()
Represents a Basic.Rectangle object that indicates the annot window in a page.
public int getObjectID()
Represents an int value that indicates the ID of the annot object.
public void setObjectID(int value)
public int getWinObjectID()
Represents an int value that indicates the ID of the annot object.
public void setWinObjectID(int value)
public int getEmbeddedFileID()
Represents an int value that indicates the ID of the embedded file.
public void setEmbeddedFileID(int value)
public Annot getNext()
Represents a Annot object that indicates next annot object.
public int getIcon()
public String getFile()
Represents a string value that indicates the name of the linked file.
public void setFile(String value)
public com.aspose.ms.System.IO.Stream getaStream()
Gets or sets a stream attaches to the annot.
public void setaStream(com.aspose.ms.System.IO.Stream value)
public String getContent()
Represents a string value that indicates the content of the annot.
public String getMimeType()
Represents a string value that indicates the annot MIME type.
public String getHeading()
Represents a string value that indicates the annot heading.
public boolean isOpen()
Represents a bool value that indicates whether the annot be opened when document is opened.
public Destination getDest()
Represents a HyperTextBase.Destination object that indicates the annot destination type.
public int getBorderType()
public float getBorderWidth()
Represents a float value that indicates the border width of the annot.
public float getBorderRed()
Represents a float value that indicates the red color of the annot border.
public float getBorderGreen()
Represents a float value that indicates the green color of the annot border.
public float getBorderBlue()
Represents a float value that indicates the blue color of the annot border.
public float getBorderDash1()
Represents a float value that indicates the length of black section of annot border dash.
public float getBorderDash2()
Represents a float value that indicates the length of white section of annot border dash.
public float getTargetPosX()
public float getTargetPosY()
public com.aspose.ms.System.Collections.ArrayList getFormsFields()
public boolean getNewWindow()
Represents a boolean value that indicates whether to open file in a new window.
Copyright © 2016 Aspose. All Rights Reserved.