PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis method retrieves the current color mapping profile type.
|
| TxColorSpaceType PDFPAGE_GetColorSpaceType () |
Return value
Type of the currently selected color mapping profile
Example
How to Retrieve the Current Colorspace Type
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
profile := PDF.LoadICCProfile('EuropeISOCoatedFOGRA27.icc');
PDF.PDFPAGE_SetColorSpace(profile);
txType := PDF.PDFPAGE_GetColorSpaceType();
{ txType should be equal to csICCBasedCMYK }
PDF.EndDoc;
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.BeginDoc();
long profile = PDF.LoadICCProfile("EuropeISOCoatedFOGRA27.icc");
PDF.PDFPAGE_SetColorSpace(profile);
TxColorSpaceType txType = PDF.PDFPAGE_GetColorSpaceType();
// txType should be equal to TxColorSpaceType.csICCBasedCMYK
PDF.EndDoc;
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created
PDF.BeginDoc();
profile = PDF.LoadICCProfile("EuropeISOCoatedFOGRA27.icc")
PDF.PDFPAGE_SetColorSpace profile
txType = PDF.PDFPAGE_GetColorSpaceType()
' txType should be equal to csICCBasedCMYK
PDF.EndDoc
HHow to Retrieve the Current Colorspace Type
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->BeginDoc();
LONG profile = PDF->LoadICCProfile("EuropeISOCoatedFOGRA27.icc");
PDF->PDFPAGE_SetColorSpace(profile);
TxColorSpaceType txType = PDF->PDFPAGE_GetColorSpaceType();
// txType should be equal to csICCBasedCMYK
PDF.EndDoc;
See Also


