DP

Inheritance: java.lang.Object, com.aspose.pdf.Operator

public class DP extends Operator

Class represeting DP operator (designamte marked content point).

Constructors

ConstructorDescription
DP(String tag)Initializes operator.
DP(int index, ICommand command)Constructor for operator class.
DP(String tag, IPdfDictionary properties)

Methods

MethodDescription
accept(IOperatorSelector visitor)Accepts visitor object to process operator.
getTag()Gets marked content tag
setTag(String value)Sets marked content tag
getPropertiesDictionary()Gets properties dictionary
setPropertiesDictionary(IPdfDictionary value)Sets properties dictionary
getPropertiesName()Gets properties name
setPropertiesName(IPdfName value)Sets properties name
toString()Returns text representation of operator.
toCommand()
fromCommand(ICommand command)

DP(String tag)

public DP(String tag)

Initializes operator.

Parameters:

ParameterTypeDescription
tagjava.lang.StringString Tag value

DP(int index, ICommand command)

public DP(int index, ICommand command)

Constructor for operator class. Initializes operator.

Parameters:

ParameterTypeDescription
indexintIndex of operator.
commandICommandOperator command.

DP(String tag, IPdfDictionary properties)

public DP(String tag, IPdfDictionary properties)

Parameters:

ParameterTypeDescription
tagjava.lang.String
propertiesIPdfDictionary

accept(IOperatorSelector visitor)

public void accept(IOperatorSelector visitor)

Accepts visitor object to process operator.

Parameters:

ParameterTypeDescription
visitorIOperatorSelectorVisitor object.

getTag()

public String getTag()

Gets marked content tag

Returns: java.lang.String - String value

setTag(String value)

public void setTag(String value)

Sets marked content tag

Parameters:

ParameterTypeDescription
valuejava.lang.StringString object

getPropertiesDictionary()

public IPdfDictionary getPropertiesDictionary()

Gets properties dictionary

Returns: IPdfDictionary - IPdfDictionary value

setPropertiesDictionary(IPdfDictionary value)

public void setPropertiesDictionary(IPdfDictionary value)

Sets properties dictionary

Parameters:

ParameterTypeDescription
valueIPdfDictionaryIPdfDictionary value

getPropertiesName()

public IPdfName getPropertiesName()

Gets properties name

Returns: IPdfName - IPdfName value

setPropertiesName(IPdfName value)

public void setPropertiesName(IPdfName value)

Sets properties name

Parameters:

ParameterTypeDescription
valueIPdfNameIPdfName value

toString()

public String toString()

Returns text representation of operator.

Returns: java.lang.String - Text representation of operator.

toCommand()

public ICommand toCommand()

Returns: ICommand

fromCommand(ICommand command)

public void fromCommand(ICommand command)

Parameters:

ParameterTypeDescription
commandICommand