Skip to content

Tag Definition: form

Generated by rlextra version 4.3.0a1

Attributes

Name

Required?

Default_Value

Values

name

required

None

Can contain
(saveState | restoreState | drawString | drawRightString | drawCentredString | drawCenteredString | ellipse | alias | catchForms | outlineAdd | namedString | bookmarkPage | bookmark | circle | rect | fill | stroke | overprint | blendMode | setFont | setFontSize | image | pageGraphics | place | placePara | placeXPre | form | doForm | plugInGraphic | scale | translate | rotate | skew | transform | grid | path | lines | curves | lineMode | textBox | barCode | checkBox | letterBoxes | textAnnotation | highlightAnnotation | textField | checkboxField | radioField | choiceField | listboxField | drawingGraphic | drawIf | markedContent | crossMark | digitalSignature | loop_g | switch_g | assign_g | if_g)*

Purpose

This lets you define a set of graphical operations that can be repeated. It dramatically cuts file sizes by just referencing the form once each time. It's especially noticeable with a large number of uses. Use with doForm

Check out our docs page on this.

Example usage

<pageGraphics>
    <form name="myForm">
        <drawString x="0" y="24">
            Your graphic operations would go here.
        </drawString>
        <drawString x="0" y="12">
            There would probably be a lot of them to make up something useful.
        </drawString>
    </form>
    <doForm name="myForm"/>
</pageGraphics>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <template> ➔ <pageTemplate> ➔ <pageGraphics> ➔ <form>