Use this procedure/function to save graphic data, including full color data, inside the NAFILE.DAT file. This lets you capture and archive form set specific section data such as pictures, scans, or signatures along with the form set.
EmbedLogo (Graphic, Section, Form, Group)
Parameter |
Description |
Graphic |
Enter the name of the graphic you want to embed. |
Section |
Enter the name of a section that contains the graphic. If the current section does not contain the graphic being referenced this parameter is required to locate the section; otherwise this parameter is optional. |
Form |
Enter the name of the form that contains the graphic you specified. If the current form does not contain the section for the graphic being referenced this parameter is required to locate the graphic; otherwise, this parameter is optional. |
Group |
Enter the name of the form group that contains the graphic you specified. If the current form is not in the form group that contains the graphic being referenced this parameter is required to locate the graphic; otherwise, this parameter is optional. |
Execute this DAL procedure for each graphic on the form or section. This procedure sets the embedded graphic flag in the graphic bitmap structure. Documaker Desktop and Documaker Server check for this flag when they write to the NAFILE.DAT file.
If the flag is not set, the graphic data is not written to the NAFILE.DAT file. Place this procedure in the data field of the IF or DAL rule when used with Documaker Server.
This procedure returns success (1) if no error occurred during the complete process, otherwise a failure (0).
Note | If the LoadCordFAP in the RunMode control group is set to No; then Documaker Server execution requires you to include the section level rule, CheckImageLoaded. |
Here is an example:
Procedure |
Result |
Explanation |
rc = EmbedLogo("JaneDoe"); |
1 |
The embedded graphic flag in the JaneDoe bitmap structure will be set to On. |
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.