Description

Determines if a specified action can be performed.

Return Type

A Boolean value.  

TRUE if the specified action is available.

Syntax

object.IsActionAvailable (WhatAction)

The IsActionAvailable Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDisplay.
WhatActionRequired. A mcWhatAction enumeration, as described in settings.

mcWhatAction : The action to be tested.

Settings

The settings for WhatAction are:

ConstantValueDescription
 mcwaNone0

nothing is tested for.

 mcwaMcImageAoiToPaste1

is an McImage AOI available for pasting into the ImageToDisplay?

 mcwaMcImageDisplayAreaToPaste2

is an McImage Display Area available for pasting into the ImageToDisplay?

 mcwaMcImageToPaste3

is any clipboard image data, either AOI, Display Area, bitmap or enhanced metafile, available for pasting into the ImageToDisplay?

 mcwaMcImageAoiToPasteNew4

is an McImage AOI available for pasting to a new image?

 mcwaMcImageDisplayAreaToPasteNew5

is an McImage Display Area available for pasting to a new image?

 mcwaMcImageToPasteNew6

is any clipboard image data, either AOI, Display Area, bitmap or enhanced metafile, available for pasting to a new image?

 mcwaCanPanScroll7

is the Zoomed Image size greater than the Displayed Size or is Pan or Scroll non-zero?

 mcwaCanZoomIn8

is the Magnification less than its maximum allowed value?

 mcwaCanZoomOut9

is the Magnification greater than its minimum allowed value?