SetCapturedPageTransparencyGroup

Luồng nội dung và nhóm nội dung tùy chọn, Bố cục trang

Mô tả

Đặt một dictionary transparency group lên một captured page XObject. Dùng sau CapturePage hay CapturePageEx và trước khi vẽ trang đã capture khi nội dung đã capture cần được ghép như một transparency group

Hành vi phiên bản PDF: transparency group của trang đã capture dùng mô hình transparency /Group của PDF 1.4. Nếu phiên bản tài liệu hiện tại thấp hơn và phiên bản lưu chưa bị khóa, SetCapturedPageTransparencyGroup tự nâng tài liệu lên PDF 1.4 và ghi transparency group vào AutoBumpedFeatures. Nếu caller khóa một phiên bản lưu thấp hơn, cổng tương thích từ chối việc lưu với LastErrorCode 602

Cú pháp

Delphi

Function TPDFlib.SetCapturedPageTransparencyGroup(CaptureID, CS, Isolate, Knockout: Integer): Integer;

ActiveX

Function PDFlib::SetCapturedPageTransparencyGroup(CaptureID As Long, CS As Long, Isolate As Long, Knockout As Long) As Long

DLL

int DLSetCapturedPageTransparencyGroup(int InstanceID, int CaptureID, int CS, int Isolate, int Knockout);

Tham số

CaptureIDID do CapturePage hay CapturePageEx trả về
CSKhông gian màu pha trộn: 1 = DeviceRGB, 2 = DeviceCMYK
IsolateĐặt 1 để cô lập transparency group khỏi backdrop; đặt 0 cho nhóm không cô lập
KnockoutĐặt 1 để bật hành vi knockout bên trong nhóm; đặt 0 để compositing bình thường

Giá trị trả về

0Capture ID hoặc bộ chọn color space không hợp lệ, hoặc chế độ PDF/A hiện tại cấm transparency group
1Đã đặt transparency group của trang đã capture thành công

Xem thêm

CapturePage, CapturePageEx, DrawCapturedPage, SetPageTransparencyGroup