public class Do extends Operator
Class representing Do operator (Invoke XObject).
Constructor and Description |
---|
Do()
Constructs new Do operator.
|
Do(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.xobjects.PaintXObject command)
Constructor for operator class.
|
Do(String name)
Constructs new Do operator.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
String |
getCommandName()
Gets command name
|
String |
getName()
Get name of XObject argument of the operator.
|
void |
setName(String value)
Set name of XObject argument of the operator.
|
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand |
toCommand()
For internal usage only!
|
String |
toString()
Returns text representation of operator.
|
equals, getCommand, getIndex, isTextShowOperator, reset, setIndex, toString, valueEquals
public Do(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.xobjects.PaintXObject command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public Do(String name)
Constructs new Do operator.
name
- Name of invoked XObject.public Do()
Constructs new Do operator. Used for retrieving all Do operators, i.e. without checking their argument names.
public String getName()
Get name of XObject argument of the operator.
public void setName(String value)
Set name of XObject argument of the operator.
value
- String valuepublic void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
public String toString()
Returns text representation of operator.
public String getCommandName()
Gets command name
getCommandName
in class Operator
public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
Operator
saves operator to command
Copyright © 2025 Aspose. All Rights Reserved.