GSKPDFPage
Objective-C
@interface GSKPDFPage : NSObject
Swift
class GSKPDFPage : NSObject
Describes a page of a PDF document for the PDF generator.
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithFilePath:(nonnull NSString *)filePath inchesSize:(nonnull GSKPDFSize *)inchesSize textLayout:(nullable GSKTextLayout *)textLayout;
Swift
init(filePath: String, inchesSize: GSKPDFSize, textLayout: GSKTextLayout?)
-
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)PDFPageWithFilePath:(nonnull NSString *)filePath inchesSize:(nonnull GSKPDFSize *)inchesSize textLayout:(nullable GSKTextLayout *)textLayout;
-
Absolute path to an image file
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString *filePath;
Swift
var filePath: String { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) GSKPDFSize * inchesSize
Swift
var inchesSize: GSKPDFSize { get }
-
If provided, the text will be included in the resulting PDF at the specified positions with an invisible font type. This text can then be searched and selected.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) GSKTextLayout *textLayout;
Swift
var textLayout: GSKTextLayout? { get }