Class COperator
Represents an operator a PDF content stream.
public class COperator : CObject, ICloneable
- Inheritance
-
COperator
- Implements
- Inherited Members
Constructors
COperator()
Initializes a new instance of the COperator class.
protected COperator()
Properties
Name
Gets or sets the name of the operator.
public virtual string Name { get; }
Property Value
- string
The name.
OpCode
Gets the operator description for this instance.
public OpCode OpCode { get; }
Property Value
Operands
Gets or sets the operands.
public CSequence Operands { get; }
Property Value
- CSequence
The operands.
debuggerDisplay
Function returning string that will be used to display object’s value in debugger for this type of objects.
public static Func<COperator, string> debuggerDisplay { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public COperator Clone()
Returns
ToString()
Returns a string that represents the current operator.
public override string ToString()
Returns
ToString(int)
Prints longer version of string including name, operands list and operator description.
public string ToString(int maxOperandsStringLength)
Parameters
maxOperandsStringLength
intMaximal number of characters in operands portion of the string that could be displayed. If printing all operands would require greater number of characters, a string in form like "15 operands" will be put in the result instead.