public class DP extends Operator
Class represeting DP operator (designamte marked content point).
Constructor and Description |
---|
DP(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
|
DP(String tag)
Initializes operator.
|
DP(String tag,
com.aspose.pdf.engine.data.IPdfDictionary properties) |
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
void |
fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
For internal usage only!
|
com.aspose.pdf.engine.data.IPdfDictionary |
getPropertiesDictionary()
Gets properties dictionary
|
com.aspose.pdf.engine.data.IPdfName |
getPropertiesName()
Gets properties name
|
String |
getTag()
Gets marked content tag
|
void |
setPropertiesDictionary(com.aspose.pdf.engine.data.IPdfDictionary value)
Sets properties dictionary
|
void |
setPropertiesName(com.aspose.pdf.engine.data.IPdfName value)
Sets properties name
|
void |
setTag(String value)
Sets marked content tag
|
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand |
toCommand()
For internal usage only!
|
String |
toString()
Returns text representation of operator.
|
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString
public DP(String tag)
tag
- String objectpublic DP(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class. Initializes operator.
index
- Index of operator.command
- Operator command.public DP(String tag, com.aspose.pdf.engine.data.IPdfDictionary properties)
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
public String getTag()
Gets marked content tag
public void setTag(String value)
Sets marked content tag
value
- String objectpublic com.aspose.pdf.engine.data.IPdfDictionary getPropertiesDictionary()
Gets properties dictionary
public void setPropertiesDictionary(com.aspose.pdf.engine.data.IPdfDictionary value)
Sets properties dictionary
value
- IPdfDictionary valuepublic com.aspose.pdf.engine.data.IPdfName getPropertiesName()
Gets properties name
public void setPropertiesName(com.aspose.pdf.engine.data.IPdfName value)
Sets properties name
value
- IPdfName valuepublic String toString()
Returns text representation of operator.
public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
Operator
saves operator to command
public void fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Operator
Loads operator from command
command
- ICommand value