ColorConvertParams Class Documentation
classColorConvertParamsNamespace:datalogics_interface
Detailed Description
Holds parameters to be passed to a color convert method. This includes the actions to take in case of a match. Each object is compared against the selection criteria for each of the actions, in order, until a matching action is found.
Uses types
Constructor & Destructor Documentation
ColorConvertParams
ColorConvertParams(ColorConvertParams &&)Parameters
ColorConvertParams
ColorConvertParams(const ColorConvertParams &other)Parameters
other: const ColorConvertParams &
Copy constructor.
ColorConvertParams
ColorConvertParams(std::vector< ColorConvertActions >actions)Parameters
actions: std::vector< ColorConvertActions >The list of ColorConvertActions to apply during color conversion.
Initializes AllowLossyCompression to false, all default color profiles to null, and all render intents to Perceptual.
~ColorConvertParams
~ColorConvertParams()Member Function Documentation
get_actions
std::vector< ColorConvertActions >get_actions()Returns:
The list of conversion actions applied to matching objects.get_allow_lossy_compression
boolget_allow_lossy_compression()Returns:
boolIf true, DCT or JPX encoding will be used resulting in a smaller PDF. If false, FlateDecoding will be used instead.
get_default_cmyk
ColorProfileget_default_cmyk()Returns:
ColorProfileInitially set to the null color profile.
get_default_gray
ColorProfileget_default_gray()Returns:
ColorProfileInitially set to the null color profile.
get_default_rgb
ColorProfileget_default_rgb()Returns:
ColorProfileInitially set to the null color profile.
operator=
ColorConvertParams &operator=(ColorConvertParams &&)Parameters
Returns:
ColorConvertParams &operator=
ColorConvertParams &operator=(const ColorConvertParams &other)Parameters
other: const ColorConvertParams &
Returns:
ColorConvertParams &Copy assignment.
set_actions
voidset_actions(std::vector< ColorConvertActions >actions)Parameters
actions: std::vector< ColorConvertActions >
Returns:
The list of conversion actions applied to matching objects.set_allow_lossy_compression
voidset_allow_lossy_compression(boolallow)Parameters
allow: bool
Returns:
voidIf true, DCT or JPX encoding will be used resulting in a smaller PDF. If false, FlateDecoding will be used instead.
set_default_cmyk
voidset_default_cmyk(ColorProfileprofile)Parameters
profile: ColorProfile
Returns:
voidInitially set to the null color profile.
set_default_gray
voidset_default_gray(ColorProfileprofile)Parameters
profile: ColorProfile
Returns:
voidInitially set to the null color profile.
set_default_rgb
voidset_default_rgb(ColorProfileprofile)Parameters
profile: ColorProfile
Returns:
voidInitially set to the null color profile.