THotPDF.RegisterICCProfile Method

ตรวจความถูกต้องแล้วลงทะเบียน ICC profile แบบ v2 หรือ v4 ที่ใช้ซ้ำได้ เป็นรีซอร์ส color space แบบ ICCBased

การประกาศ

function RegisterICCProfile(const ProfileFileName: AnsiString; NumComponents: Integer; const AlternateCS: AnsiString= ''): AnsiString; overload;
function RegisterICCProfile(ProfileStream: TStream; NumComponents: Integer; const AlternateCS: AnsiString= ''): AnsiString; overload;
function RegisterICCProfile(const ProfileFileName: AnsiString; const AlternateCS: AnsiString= ''): AnsiString; overload;
function RegisterICCProfile(ProfileStream: TStream; const AlternateCS: AnsiString= ''): AnsiString; overload;

ยูนิต

HPDFDoc

พารามิเตอร์

ชื่อวัตถุประสงค์
ProfileFileNameไฟล์
ProfileStreamstream ของ ICC profile ที่ตำแหน่งปัจจุบันถูกคงไว้
NumComponentsองค์ประกอบ
AlternateCSขอบเขตสีทางเลือก

ค่าที่ส่งกลับ

ส่งคืนชื่อรีซอร์ส color space แบบใช้ซ้ำได้ เช่น CS1

การใช้งาน

API ที่เกี่ยวข้อง