DcsEncodeParameter

protocol DcsEncodeParameter

A protocol for image encoding and decoding.

DcsPNGEncodeParameter:

An interface for PNG encoding and decoding.

DcsJPEGEncodeParameter:

An interface for JPEG encoding and decoding.

Property Description
quality:Float Returns or sets the quality of JPEG files.Value ranges from 0.1 to 1.0 and the default value is 0.75.

DcsPDFEncodeParameter

An interface for PDF encoding and decoding.

Property Description
author:String Returns or sets the name of the author that creates the PDF document.
creator:String Returns or sets the name of the application that created the original document.
subject:String Returns or sets the subject of the PDF document.
keywords:String Returns or sets the keywords associated with the PDF document.
title:String Returns or sets the title of the PDF document.
pageSize:CGSize Returns or sets the page size of the PDF document. The default value is Letter (612, 792).
pageSize:CGSize
Description Returns or sets the page size of the PDF document. The default value is Letter(612, 792).
Remarks The common page size settings are A3(842,1191), A4(595, 842), Letter(612,792), Legal(612,1008), etc. The unit of width and height is pt (1 pt = 1/72 inch).

Is this page helpful?

Leave a Reply

Your email address will not be published.