Products Downloads


French version


 


This function allows, in case of previewing an Adelia report in PDF format, to supersede certain attributes of the produced PDF document.


Context

  • Adelia Cloud client

  • Event Adelia client


Parameters

ALPHA (n)

Attributes

String containing names and values of the attributes to supersede.

Syntax of the string:

'AttributeName1:"value1",AttributeName2:"value2",...'


No spaces. Case-sensitive.

Possible values for attributes:

Attribute name

Possible values

Default value

Title

String

*BLANK

Author

String

*BLANK

Subject

String

*BLANK

Keywords

String

*BLANK

Creator

String

*BLANK

MarginX

[0..[

5

MarginY

[0..[

10

LineHeightFactor

[0.0..[

0.85

CanModify

yes|no

no

CanExtractContent

yes|no

no

CanPrint

yes|no

yes

CanPrintDegraded

yes|no

no

ReadOnly

yes|no

yes

CanAssembleDocument

yes|no

no

CanFillInForm

yes|no

yes

CanModifyAnnotations

yes|no

no

ProtectionPolicy yes|no yes


Examples

Example 1:


CALL_DLL 'VaToolBx' 'VaToolBxCloudSetSupersededAdeliaPrinterPdfAttributes' 'Title:"Summary", Author:"Adelia Studio", CanPrint:"no", ProtectionPolicy:"no"''


This function call supersedes the Title, AuthorCanPrint and ProtectionPolicy attributes: the PDF document will have a title and an author. It cannot be printed but its content can be modified.

The attributes which are not specified will be set to their default value.


Example 2:


CALL_DLL 'VaToolBx' 'VaToolBxCloudSetSupersededAdeliaPrinterPdfAttributes' *BLANK


This function call resets all the superseded attributes to their default value.




List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette