4.4. Functions
[py] create_file(file_path [, profile])
[c++] Document create_file(Char const* file_path, Profile profile=Profile());
[c] jag_Document jag_create_file(jag_Char const* file_path, jag_Profile profile);
[java] Document create_file(String file_path [, Profile profile]);
Parameters:
- file_path
-
destination file
- profile
-
profile to be used
[py] create_profile()
[c++] Profile create_profile();
[c] jag_Profile jag_create_profile();
[java] Profile create_profile();
See: section Profile.
[py] create_profile_from_file(fname)
[c++] Profile create_profile_from_file(Char const* fname);
[c] jag_Profile jag_create_profile_from_file(jag_Char const* fname);
[java] Profile create_profile_from_file(String fname);
See: section Profile.
[py] create_profile_from_string(str)
[c++] Profile create_profile_from_string(Char const* str);
[c] jag_Profile jag_create_profile_from_string(jag_Char const* str);
[java] Profile create_profile_from_string(String str);
See: section Profile.
[py] create_stream(stream [, profile])
[c++] Document create_stream(StreamOut const* stream, Profile profile=Profile());
[c] jag_Document jag_create_stream(jag_streamout const* stream, jag_Profile profile);
[java] Document create_stream(StreamOut[] stream [, Profile profile]);
Parameters:
- stream
-
destination stream
- profile
-
profile to be used
See: section Custom Output Streams.
[py] version()
[c++] UInt version();
[c] jag_UInt jag_version();
[java] long version();
Retrieves JagPDF version. The JagPDF version triplet is encoded into a single value as follows:
- bits 0-7 - patch
- bits 8-15 - minor
- bits 16-23 - major
Not to be confused with version().
See: section JagPDF Versioning