Class InvokeNamedXObject
- Namespace
- UglyToad.PdfPig.Graphics.Operations
- Assembly
- UglyToad.PdfPig.dll
Paint the specified XObject. The operand name must appear as a key in the XObject subdictionary of the current resource dictionary. The associated value must be a stream whose Type entry, if present, is XObject. The effect of InvokeNamedXObject depends on the value of the XObject's Subtype entry, which may be Image, Form or PS.
public class InvokeNamedXObject : IGraphicsStateOperation
- Inheritance
-
InvokeNamedXObject
- Implements
- Inherited Members
Constructors
InvokeNamedXObject(NameToken)
Create a new InvokeNamedXObject.
public InvokeNamedXObject(NameToken name)
Parameters
name
NameTokenThe name of the XObject.
Fields
Symbol
The symbol for this operation in a stream.
public const string Symbol = "Do"
Field Value
Properties
Name
The name of the XObject which appears in the XObject subdictionary of the current resource dictionary.
public NameToken Name { get; }
Property Value
Operator
public string Operator { get; }
Property Value
Methods
Run(IOperationContext)
public void Run(IOperationContext operationContext)
Parameters
operationContext
IOperationContext
ToString()
public override string ToString()
Returns
Write(Stream)
public void Write(Stream stream)
Parameters
stream
Stream