writeFile:withOrientation:andTextResult:andTextOrientation: Instance Method
- (NSString *) writeFile:(NSString *) imageFile withOrientation:(PxOrientation) orientation andTextResult:(PxTextResult *) textResult andTextOrientation:(PxOrientation) textOrientation;
References: PxOrientation, PxTextResult
Writes an existing image file with a hidden text layer into the output (PDF writers only).
Parameters
- imageFile — The image file to write.
- orientation — The EXIF orientation to apply to the image.
- textResult — The recognised text to embed, or
nilfor none. - textOrientation — The EXIF orientation of the recognised text.
Return Value
The path of the saved file, as for write:.
Discussion
Raises PxException if the output format is not permitted by the active license.