XFA Specification
Chapter 15, Template Specification
Template Reference
571
The medium element
An element that describes a physical medium upon which to render. Some hybrid paper/glass media, such
as PDF, may require both paper and glass properties.
<medium
Properties:
id="xml-id"
imagingBBox="none
|
cdata"
long="0in
|
measurement"
orientation="portrait
|
landscape"
short="0in
|
measurement"
stock="cdata"
trayIn="auto
|
delegate
|
pageFront"
trayOut="auto
|
delegate"
use="cdata"
usehref="cdata"
>
</medium>
The medium element is used within the following other elements:
pageArea proto
The id property
A unique identifier that may be used to identify this element as a target.
The imagingBBox property
Region within the paper that is available for rendering with four comma separated measurements
representing the measurements for x, y, width, and height.
none
The entire area of the paper is available for rendering.
x, y, width,height
The rendering area is limited to a rectangle of the given
width
and
height
, at a distance of
x
from the left edge and
y
from the top edge. Note that the comma separators are required.
The long property
A measurement specifying the length of the long edge of the medium. The default is
0
.The length
specified by
long
must be greater than the length specified by
short
.
The orientation property
The orientation of the medium as follows:
portrait
The orientation of the medium places the short edge at the top.
Home Index Bookmark Pages
Pages: Home Index All Pages