Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Industrial Graphic Editor

Incompatible GraphicInfo properties

  • Last UpdatedJul 08, 2024
  • 2 minute read

When you call ShowGraphic with an incompatible combination of GraphicInfo properties, you will see the following warning message at run time:

ShowGraphic <Identity Name>. <Graphic name>.<script name> conflicting parameters used in script: <Parameter1>, <Parameter2>

For example, the following incompatible properties result in a window with both Width and Height equal to 0:

graphicInfo.WindowRelativePosition = aaGraphic.WindowRelativePosition.WindowXY;

graphicInfo.RelativeTo = aaGraphic.RelativeTo.Desktop;

In this example, a WindowRelativePosition of WindowXY is incompatible with a size RelativeTo of Desktop.

The following table shows incompatible property combinations. Shaded cells indicate incompatible GraphicInfo property combinations in addition to those specified in the Incompatible Properties column.

Window relative position

Size:
Relative to

Incompatible properties

Notes

Desktop

Graphic

X

Y

Width

Height

Desktop

Desktop

X

Y

Width

Height

Desktop

CustomizedWidthHeight

X

Y

ScalePercentage

Window

Graphic

X

Y

Width

Height

Window

Desktop

X

Y

Width

Height

RelativeTo to be Window

Window

CustomizedWidthHeight

X

Y

ScalePercentage

ClientArea

Graphic

X

Y

Width

Height

ClientArea

Desktop

X

Y

Width

Height

RelativeTo to be ClientArea

ClientArea

CustomizedWidthHeight

X

Y

ScalePercentage

ParentGraphic

Graphic

X

Y

Width

Height

ParentGraphic

Desktop

X

Y

Width

Height

RelativeTo to be ParentGraphic

ParentGraphic

CustomizedWidthHeight

X

Y

ScalePercentage

ParentElement

Graphic

X

Y

Width

Height

ParentElement

Desktop

X

Y

Width

Height

ParentElement

CustomizedWidthHeight

X

Y

ScalePercentage

Mouse

Graphic

X

Y

Width

Height

StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

Mouse

Desktop

X

Y

Width

Height StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

RelativeTo to be Desktop

Mouse

CustomizedWidthHeight

X

Y

Width

Height StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

DesktopXY

Graphic

Width

Height

StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

DesktopXY

Desktop

Width

Height

StretchWindow

ToScreenWidth

StretchWindow

ToScreenHeight

Conflicting WindowRelative
Position and RelativeTo combination

DesktopXY

CustomizedWidthHeight

ScalePercentage

StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

WindowXY

Graphic

Width

Height

StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

WindowXY

Desktop

Width

Height

StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

Conflicting WindowRelative
Position and RelativeTo combination

WindowXY

CustomizedWidthHeight

ScalePercentage

StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

ClientAreaXY

Graphic

Width

Height

StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

ClientAreaXY

Desktop

Width

Height

StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

Conflicting WindowRelative
Position and RelativeTo combination

ClientAreaXY

CustomizedWidthHeight

ScalePercentage

StretchWindow
ToScreenWidth

StretchWindow
ToScreenHeight

TitleResults for “How to create a CRG?”Also Available in