22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.20 <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

Referencing Predefined Structures<br />

These calls permit the inclusion in content of complex pre-built structures. These<br />

Concepts <strong>and</strong> Facilities: <strong>Guide</strong> to the DL Pager Composition System<br />

structures may be arbitrarily positioned, scaled <strong>and</strong> rotated when placed into the<br />

content.<br />

dlpdfcontentreferenceform<br />

This procedure places a copy of a Form into the current content. All of the markings<br />

in the Form will appear. The lower left h<strong>and</strong> corner of the Form will be positioned at<br />

(X, Y). The Form will be rotated counter-clockwise as per rotate <strong>and</strong> scaled as per<br />

ScaleX <strong>and</strong> ScaleY.<br />

dlpdfcontentreferenceimage<br />

This procedure places a copy of the referenced image into the current content. It will<br />

be placed so as to align its lower left h<strong>and</strong> corner with (X, Y), will be scaled as per<br />

ScaleX <strong>and</strong> ScaleY, <strong>and</strong> rotated as per Rotate.<br />

The Scale Factors will determine the resulting size of the image. You need to know the<br />

original image resolution <strong>and</strong> its intended size in order to determine whether a Scale<br />

Factor on either axis is required. In <strong>DLI</strong> v2.2.5 <strong>and</strong> higher, the<br />

dlpdfimagegetsize method can retrieve image sizing data for you, <strong>and</strong> dividing<br />

the intended print size by the file size for each dimension (delivered by<br />

dlpdfimagegetsize) will yield a Scale Factor ratio which<br />

dlpdfcontentreferenceimage will use to calculate the final output image size.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!