Clip
since version 4.11.3
Clip an image or other output
Child elements
Barcode
, Box
, Circle
, Frame
, Image
, Rule
, Table
, Textblock
, Transformation
Parent elements
Attributes
bottom
(length, optional)-
The amount of clip from the bottom border.
height
(length, optional)-
The clipped height of the object. Should be used with one of top or bottom.
left
(length, optional)-
The amount of clip from the left border.
method
(optional)-
Set the resize method of the resulting object.
shrink
-
Clip and shrink the object.
clip
-
Just clip, do not change the size of the object.
right
(length, optional)-
The amount of clip from the right border.
top
(length, optional)-
The amount of clip from the top border.
width
(length, optional)-
The clipped width of the object. Should be used with one of left or right.
Example
<PlaceObject frame="solid">
<Clip left="1cm" right="1cm" top="1cm" bottom="2cm" method="clip">
<Image width="5cm" file="_sampleb.pdf" />
</Clip>
</PlaceObject>