TPDFContentInstruction

콘텐츠 스트림 편집

설명

TPDFContentInstruction(유닛 Lib\PDFlibContentModel.pas)는 TPDFContentProgram의 한 요소입니다. PDF 콘텐츠 연산자와 디코딩된 피연산자 개체를 짝지으며, 인라인 이미지라면 그대로의 BI..EI 소스도 담습니다

구문

Delphi

TPDFContentInstruction = Class
  Public
    Op: TPDFContentOperator;
    OpName: AnsiString;
    Operands: Array Of TPDFObject;
    RawInlineImage: AnsiString;
    Function OperandCount: Integer;
  End;

주요 멤버

Op파싱된 연산자 토큰의 TPDFContentOperator 열거값
OpName원본 연산자 토큰. 알 수 없는 연산자(예: BX/EX 안의 벤더 확장)도 파싱/이밋 왕복에서 그대로 실어 나릅니다
Operands연산자 순서대로 담긴 피연산자 개체. 명령이 아니라 프로그램의 비공개 개체 구조가 소유합니다
RawInlineImageOp가 coBeginImage일 때의 그대로의 BI..EI 소스
OperandCountOperands에 담긴 피연산자의 개수

비고

명령은 프로그램의 기본 Item 속성으로 읽고, 피연산자는 OperandText로 살펴보고, 개별 피연산자는 SetOperand로 교체합니다

참고 항목

TPDFContentProgram, Item, OperandText, SetOperand, InstructionGroup