EmitRange
Content stream editing
Description
Serialises one inclusive instruction range to content stream source with the same normalised whitespace as Emit, one instruction per line
Syntax
Delphi
Function TPDFContentProgram.EmitRange(FirstInstruction, LastInstruction: Integer): AnsiString;Parameters
FirstInstruction | Zero-based index of the first instruction to serialise |
|---|---|
LastInstruction | Zero-based index of the last instruction to serialise, inclusive |
Return values
The serialised range, or an empty string when the range is invalid
Remarks
Valid ranges are zero-based and inclusive; pair with Count to bound the last index