get_id


Description:

[ Version ( since = "0.16" ) ]
public bool get_id (out string permanent_id, out string update_id)

Returns the PDF file identifier represented as two byte string arrays of size 32.

permanent_id is the permanent identifier that is built based on the file contents at the time it was originally created, so that this identifer never changes. update_id is the update identifier that is built based on the file contents at the time it was last updated.

Note that returned strings are not null-terminated, they have a fixed size of 32 bytes.

Parameters:

this

A Document

permanent_id

location to store an allocated string, use g_free to free the returned string

update_id

location to store an allocated string, use g_free to free the returned string

Returns:

true if the this contains an id, false otherwise




2022 vala-language.org