Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.01 KB

File metadata and controls

37 lines (30 loc) · 1.01 KB

UpdateImageControl3

Description

Updates the image control.

Returns false if the image cannot be found or set to the control, otherwise returns true.

This function directly looks for the image file with the input file path, while UpdateImageControl2() only looks into the Vectorworks resrouces folder.

FUNCTION UpdateImageControl3(
				dialogID      : LONGINT;
				controlID     : LONGINT;
				imageFullPath : DYNARRAY[] of CHAR): BOOLEAN;
def vs.UpdateImageControl3(dialogID, controlID, imageFullPath):
    return BOOLEAN

Parameters

Name Type Description
dialogID LONGINT The dialog identifier given by the command to create the dialog.
controlID LONGINT The identifier of the control to be updated.
imageFullPath DYNARRAY[] of CHAR The full path to the image.

See Also

VS Functions: UpdateImageControl2

Version

Availability: from Vectorworks 2018

Category