com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Operator.DP

  • Enclosing class:
    Operator


    public static class Operator.DP
    extends Operator

    Class represeting DP operator (designamte marked content point).

    • Constructor Detail

      • DP

        public DP(String tag)
        Initializes operator.
        Parameters:
        tag - String object
      • DP

        public DP(int index,
                  com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)

        Constructor for operator class. Initializes operator.

        Parameters:
        index - Index of operator.
        command - Operator command.
      • DP

        public DP(String tag,
                  com.aspose.pdf.engine.data.IPdfDictionary properties)
    • Method Detail

      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

        Specified by:
        accept in class Operator
        Parameters:
        visitor - Visitor object.
      • getTag

        public String getTag()

        Gets marked content tag

        Returns:
        String value
      • setTag

        public void setTag(String value)

        Sets marked content tag

        Parameters:
        value - String object
      • getPropertiesDictionary

        public com.aspose.pdf.engine.data.IPdfDictionary getPropertiesDictionary()

        Gets properties dictionary

        Returns:
        IPdfDictionary value
      • setPropertiesDictionary

        public void setPropertiesDictionary(com.aspose.pdf.engine.data.IPdfDictionary value)

        Sets properties dictionary

        Parameters:
        value - IPdfDictionary value
      • getPropertiesName

        public com.aspose.pdf.engine.data.IPdfName getPropertiesName()

        Gets properties name

        Returns:
        IPdfName value
      • setPropertiesName

        public void setPropertiesName(com.aspose.pdf.engine.data.IPdfName value)

        Sets properties name

        Parameters:
        value - IPdfName value
      • toString

        public String toString()

        Returns text representation of operator.

        Overrides:
        toString in class Operator
        Returns:
        Text representation of operator.
      • toCommand

        public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
        Description copied from class: Operator

        saves operator to command

        Returns:
        ICommand value ICommand object
      • fromCommand

        public void fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
        Description copied from class: Operator

        Loads operator from command

        Parameters:
        command - ICommand value