Modeling - Diagram Print Options

From RAD Studio
Jump to: navigation, search

Go Up to Modeling Options

Tools > Options > Modeling > (level) > Diagram > Print

Here (level) is used to specify that the Diagram Print options page can be selected in the Diagram, Project, Project Group, and Default branches of the Modeling options tree. (See Hierarchical Levels of Modeling options in the Modeling Options dialog box topic for more information).


The Print options control how to print diagrams.

Note that after these settings are applied to the printed material, OS-specific and printer-specific settings will be applied as well.

Appearance options

Option Description and default value

Print compartments as lines

  • True—lines are printed instead of compartment names (Fields, Methods, Classes, Properties, and so on).
  • False—compartment nodes are expanded in the printed results.

The default is False.

Print shadows

  • True—a shadow appears under each diagram element in the printed results to create a three-dimensional effect.

The default is True.

Footer options

Option Description and default value

Footer alignment

Defines the footer alignment.
The default is Left.

Footer text

Defines the text that will be printed as the footer at the bottom of each page.
The Print footer option defines whether to print this footer.
The following system macros can be used inside the text:

  • TIME—current time
  • LONGTIME—current time (long format)
  • DATE—current date
  • LONGDATE—current date (long format)
  • PROJECT—project name
  • DIAGRAM—diagram name
  • USER—user name
  • COMP—computer name

The default value is:

 %USER% (%LONGDATE%)

Print footer

  • True—prints the text specified in the Footer text option at the bottom of each page.

The default is True.

General printing options

Option Description and default value

Fit to page

  • True—ignores the Print zoom option and prints the entire diagram on a single page.

The default is False.

Font

Options in this group define the Font Name, Font Size, Italic, Bold, and so on to use for printing.
The default font is Microsoft Sans Serif, 8pt.

Print border

  • True—prints a border around the edges of each page.

The border corresponds to the specified margins: Bottom margin, Top margin, Left margin, and Right margin.
The default is True.

Print empty pages

  • True—printing includes any blank pages that appear.
  • False—blank pages are skipped during printing.

The default is False.

Print zoom

Defines the zoom factor for printing diagrams.
Think of the value 1 as being equal to 100%. A value of 2 prints a diagram at 200%, while 0.5 prints it at 50%, and so on. Use the decimal separator as defined in your regional settings.
The default value is 1.

Header options

Option Description and default value

Header alignment

Defines the header alignment.
The default value is Left.

Header text

Defines the text that will be printed as the header at the top of each page.
The Print header option defines whether to print this header.
The following system macros can be used inside the text:

  • TIME—current time
  • LONGTIME—current time (long format)
  • DATE—current date
  • LONGDATE—current date (long format)
  • PROJECT—project name
  • DIAGRAM—diagram name
  • USER—user name
  • COMP—computer name

The default value is:

%PROJECT%, %DIAGRAM%

Print Header

  • True—prints the text specified in the Header text option at the top of each page.

The default is True.

Margins options

Option Description and default value

Bottom margin

Sets the bottom margin offset, in inches.
Use the decimal separator as defined in your regional settings.
The default value is 1.

Left margin

Sets the left margin offset, in inches.
Use the decimal separator as defined in your regional settings.
The default value is 1.

Right margin

Sets the right margin offset, in inches.
Use the decimal separator as defined in your regional settings.
The default value is 1.

Top margin

Sets the top margin offset, in inches.
Use the decimal separator as defined in your regional settings.
The default value is 1.


Page numbers options

Options Description and default value

Page number alignment

Defines the alignment of page numbers.
The default value is Left.

Print page numbers

  • True—prints page numbers.

The default is True.


Paper options

Option Description and default value

Custom paper height (inch)

Defines the custom paper height for printing.
This option works only if the 'Paper size' option is set to 'Custom'.
The default is 11.88.

Custom paper width (inch)

Defines the custom paper width for printing.
This option works only if the 'Paper size' option is set to 'Custom'.
The default is 8.4.

Paper orientation

Defines the page orientation.
If Custom is selected in Paper size, then:

  • The Portrait orientation uses the width and height values specified in the Custom paper height and Custom paper width options.
  • The Landscape orientation exchanges the width and height values.

The default is Portrait.

Paper size

Defines the default paper dimensions for printing.
The list of choices includes the most popular paper sizes.
If you need to specify your own paper size, select Custom here and define the paper dimensions in the Custom paper height and Custom paper width options.
The default is A4.


See Also