Picture Settings

Picture Settings

Picture settings

For each picture, it is possible to define a group of parameters such as description, size, background color, bitmap, etc. These parameters are defined in the dialog box opened by clicking the item Picture settings from the menu Settings. This item is included in the popup menu opened by pressing the right mouse button on the picture when no graphic object is selected.

The name of the picture, the parameters of which are being defined is displayed in the title bar. But if the default parameters are defined, the picture name is not displayed in the title bar.

Description

Description of the picture.

Possibility to use the Dictionary (to open press CTRL+L).

Help

The parameter allows defining a page of application help to be opened after pressing the F1 key while the picture is active. If the parameter is not defined and the picture is in another picture, the help setting is taken from it. If the picture still has no help, the main application help page setting from the application settings is used. If the parameter is still undefined or the application does not use application help, the title page of D2000 help will be opened.

Basic parameters

The following parameters define the size and background color of the picture.

Parameter

Meaning

Size - Width

Width of the picture (in pixels). Minimum: 10 pixels.
The picture dimensions in the HI process can only be changed from the picture script, it is not possible to determine a cut in the picture. In case of a change in picture dimensions, the position and dimensions of the picture elements remain unchanged. This type in the new schemes can be achieved by using the same values for the min and max dimensions of the picture.

Size - Height

Height of the picture (in pixels).
The picture dimensions in the HI process can only be changed from the picture script, it is not possible to determine a cut in the picture. In case of a change in picture dimensions, the position and dimensions of the picture elements remain unchanged. This type in the new schemes can be achieved by using the same values for the min and max dimensions of the picture.

Minimal size - Width

Minimal width of the picture (in pixels). If the picture is main, the user cannot change its size out of the range.
If the picture is opened as a sub-picture with enabled Min. size for the subpicture parameter, then when its size is changed under this value, a zoom change stops at this point and a scrollbar is added. This behaviour does not apply if in that sub-picture set the user zoom.
If the min and max sizes of the picture are set to the same value, it has special behaviour. A picture margin does not allow to change in width and height. The minimum dimensions are not accepted and the picture reduced from the script does not get scrollbars.

Minimal size - Height

Minimal height of the picture (in pixels). If the picture is main, the user cannot change its size out of the range.
If the picture is opened as a sub-picture with enabled Min. size for the subpicture parameter, then when its size is changed under this value, a zoom change stops at this point and a scrollbar is added. This behaviour does not apply if in that sub-picture set the user zoom.
If the min and max sizes of the picture are set to the same value, it has special behaviour. A picture margin does not allow to change in width and height. The minimum dimensions are not accepted and the picture reduced from the script does not get scrollbars.

Maximal size - Width

The maximum width of the graphical picture in points (x-dimension). If the picture is opened as a master picture, the user can not change its size beyond this dimension. If the value is 0, the maximum dimension of the picture is given by the monitor size but at least to the value of 1920.

Maximal size - Height

The maximum height of the graphical picture in points (y-dimension). If the picture is opened as a master picture, the user can not change its size beyond this dimension. If the value is 0, the maximum dimension of the picture is given by the monitor size but at least to the value of 1200.

Background - Color

Selection of background color and a color gradient of the picture.

The basic underlying color of the scheme is specified, followed by the Gradient Select button and the gradient color selection button. If no gradient is selected, the gradient color button is crossed out and inactive. Pressing the gradient box opens a window allowing you to select the gradient fill type  (more ...).

Background - Pattern

Selection of color for the picture background.

The bitmap is selected from a list of bitmaps. Restrictions of the operating system are applied to this bitmap.

* Exception for pictures with title bar - minimum size is 100 pixels (a feature of the Windows operating system).

The process D2000 GrEditor also allows the user to resize the picture in another ways than in the dialog box above mentioned. This way is described in the topic Resize a picture.

Bitmaps

The configuration dialog box allows defining two bitmaps - a picture background and a logo placed in the picture foreground.

Parameter

Meaning

Background - bitmap

Selection of a bitmap for the picture background (see the topic Selection of a background bitmap).

Background - position

Selection of a background bitmap position (stretch, centre, up, down, left up, left down, right up, right down).

Logo - bitmap

Selection of a bitmap (logo) for the picture. The logo is drawn over the other graphic objects in the picture.

Logo - position

Selection of a position for the logo bitmap (centre, left up, left down, right up, right down).

Use zoom

When drawing a background, use zoom from the windows.

A list for the second bitmap (logo) contains all bitmaps placed in the directory BITMAPS (a subdirectory of the application directory). 

Warning: The bitmap to be used, must be placed in the directory BIGBMP and the bitmap (logo) in the directory BITMAPS (subdirectories of the application directory). Those files must be BMP files.

Window type

The parameters define a type of window containing the picture contents and its behaviour. The default setting is the MDI window on the desktop of the process D2000 HI.

Parameter

Meaning

MDI window

The picture window is placed on the HI desktop as a common window (so-called MDI window).

Dialog

Dialog window type. In the process, D2000 HI, an opened picture of this type is placed above all opened graphic information windows (graphs, reports, pictures – non-dialog).

When the radio button is selected, there will appear the checkbox Modal - the picture is a Dialog-modal window type.

If this picture is opened in the HI process, it is possible to control only this picture not the other objects of HI process.

Dock

The radio button allows a user in the process D2000 HI to dock the picture to the given margin of the D2000 HI desktop. When you click on the radio button,  the placement menu appears. They represent the margins of the HI desktop.