SOAP API method Account_createFont

Back to API references

Description
A font is specially for the pdf module. If there is not a default font used into the pdftemplate of pdfdocument, it has to be uploaded into the account. This method will add a new font into this account.

Parameters
Parameter 'name' : string
Name
Parameter 'filedata' : Structure of type 'filedata'
Outlinefile
Parameter 'filedata' : Structure of type 'filedata'
Metricfile (metric file is optional)
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'font' : Structure of type 'font'

Structure 'filedata'
This structure filedata was mentioned above. This structure has the following properties:
Property 'name' : string
The name of the data of the file.
Property 'mimetype' : string
The mimetype of the data of the file.
Property 'data' : binary
The data of the file. The data is base64 encoded.

Structure 'filedata'
This structure filedata was mentioned above. This structure has the following properties:
Property 'name' : string
The name of the data of the file.
Property 'mimetype' : string
The mimetype of the data of the file.
Property 'data' : binary
The data of the file. The data is base64 encoded.

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt

Structure 'font'
This structure font was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the font.
Property 'name' : string
The name of the font.