Document.from_gfile


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.22" ) ]
public Document.from_gfile (File file, string? password, Cancellable? cancellable = null) throws Error

Creates a new Document reading the PDF contents from file.

Possible errors include those in the Error and FileError domains.

Parameters:

file

a File to load

password

password to unlock the file with, or null

cancellable

a Cancellable, or null

Returns:

a new Document, or null




2022 vala-language.org