CwGetProperty

Syntax:

vPropVal = CwGetProperty(hObject, sPropname)

        vPropVal        (variant) The value of the property.

        hObject         (handle) The handle of the object being examined.

        sPropname       (string) The name of the property to retrieve.

Description:

This function retrieves the value of a property (sPropname) from an object (hObject). The range of expected values of the property (i.e. the data type) depends on the property itself. See the section on properties for more details.

Example:

/* Get the dimensions of the cropping rectangle on the main view. */
ah=CwGetAppHandle('output settings')
maxwidth=CwGetProperty(ah, 'output size:width')
maxheight=CwGetProperty(ah, 'output size:height')


Functions by NAME

Index

Functions by PURPOSE