Inhalt

Index

I_PICT

I_PICT creates a picture element in the dialog box. The picture file must be located in STD\SmartParts\bitmaps folder or stored as a resource image in the SmartPart object; alternative it can be used with resource-icons from Allplan with ResID.

Syntax

I_PICT expression, x, y [,width, height [,mask]] [I_TOOLTIP tooltiptext]

Parameter

expression (string): file name of the picture. The file name must be enclosed in double quotes.

x, y (integer): top left corner of the picture in pixels.

width, height (integer): width and height in pixels. If not specified, the original width and height of the picture is used.

mask (always 0): distortion

0: picture is adjusted to rectangle, the original size and aspect ratio is neglected

I_TOOLTIP: defines a tooltip for the interface element (optional), for description see I_TOOLTIP.

Remarks

Usable since script version 1.1 (Allplan 2012-1).



Allplan

(C) ALLPLAN GmbH

Privacy policy