com.aspose.pdf.operators

Class BMC



  • public class BMC
    extends Operator

    Class representing BMC operator (Begin marked-content sequence).

    • Constructor Detail

      • BMC

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

        Constructor for operator class.

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

        public BMC(String tag)

        Constructor for writing program.

        Parameters:
        tag - Marked content tag.
    • Method Detail

      • getTag

        public String getTag()

        Gets marked content tag

        Returns:
        String value
      • setTag

        public void setTag(String value)

        Sets marked content tag

        Parameters:
        value - String value
      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

        Specified by:
        accept in class Operator
        Parameters:
        visitor - Visitor object.
      • 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
        For internal usage only!

        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
        For internal usage only!

        Loads operator from command

        Parameters:
        command - ICommand value