PTOptimizerSettings
@interface PTOptimizerSettings : NSObject
A class that stores settings for the optimizer
-
create an OptimizerSettings object with default options
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
-
updates the settings for color image processing
Declaration
Objective-C
- (void)SetColorImageSettings:(PTImageSettings *)settings;
Swift
func setColorImageSettings(_ settings: PTImageSettings!)
-
updates the settings for grayscale image processing
Declaration
Objective-C
- (void)SetGrayscaleImageSettings:(PTImageSettings *)settings;
Swift
func setGrayscaleImageSettings(_ settings: PTImageSettings!)
-
updates the settings for monochrome image processing
Declaration
Objective-C
- (void)SetMonoImageSettings:(PTMonoImageSettings *)settings;
Swift
func setMonoImageSettings(_ settings: PTMonoImageSettings!)
-
updates the settings for text processing
Declaration
Objective-C
- (void)SetTextSettings:(PTTextSettings *)settings;
Swift
func setTextSettings(_ settings: PTTextSettings!)
-
Enable or disable removal of custom entries in the PDF. By default custom entries are removed.
Declaration
Objective-C
- (void)RemoveCustomEntries:(BOOL)should_remove;
Swift
func removeCustomEntries(_ should_remove: Bool)
Parameters
should_remove
if true custom entries will be removed.
-
Undocumented
Declaration
Objective-C
- (void)setM_color_image_settings: (PTImageSettings*)value;
Swift
func setM_color_image_(_ value: PTImageSettings!)
-
Undocumented
Declaration
Objective-C
- (PTImageSettings*)getM_color_image_settings;
Swift
func getM_color_image_settings() -> PTImageSettings!
-
Undocumented
Declaration
Objective-C
- (void)setM_grayscale_image_settings: (PTImageSettings*)value;
Swift
func setM_grayscale_image_(_ value: PTImageSettings!)
-
Undocumented
Declaration
Objective-C
- (PTImageSettings*)getM_grayscale_image_settings;
Swift
func getM_grayscale_image_settings() -> PTImageSettings!
-
Undocumented
Declaration
Objective-C
- (void)setM_mono_image_settings: (PTMonoImageSettings*)value;
Swift
func setM_mono_image_(_ value: PTMonoImageSettings!)
-
Undocumented
Declaration
Objective-C
- (PTMonoImageSettings*)getM_mono_image_settings;
Swift
func getM_mono_image_settings() -> PTMonoImageSettings!
-
Undocumented
Declaration
Objective-C
- (void)setM_text_settings: (PTTextSettings*)value;
Swift
func setM_text_(_ value: PTTextSettings!)
-
Undocumented
Declaration
Objective-C
- (PTTextSettings*)getM_text_settings;
Swift
func getM_text_settings() -> PTTextSettings!
-
Undocumented
Declaration
Objective-C
- (void)setM_remove_custom: (BOOL)value;
Swift
func setM_remove_custom(_ value: Bool)
-
Undocumented
Declaration
Objective-C
- (BOOL)getM_remove_custom;
Swift
func getM_remove_custom() -> Bool