Filestack Documentation

Class PDFConvert​Transform

public class PDFConvertTransform: Transform  

Converts a PDF to a specific orientation, page format, and, optionally, extracts specific pages.

PDFConvertTransform PDFConvertTransform Transform Transform PDFConvertTransform->Transform

Superclass

Transform

:nodoc:

Initializers

init()

public init()  

Initializes a PDFConvertTransform object.

Methods

page​Orientation(_:​)

@discardableResult
    func pageOrientation(_ value: TransformPageOrientation) -> Self  

Adds the pageOrientation option.

Parameters

value Transform​Page​Orientation

A TransformPageOrientation value.

page​Format(_:​)

@discardableResult
    func pageFormat(_ value: TransformPageFormat) -> Self  

Adds the pageFormat option.

Parameters

value Transform​Page​Format

A TransformPageFormat value.

pages(_:​)

@discardableResult
    func pages(_ value: [Int]) -> Self  

Adds the pages option.

Parameters

value [Int]

An array of page numbers.