getColor
getColor(): Integer;
The getColor method of the JadeDotNetType class is a helper method that enables you to retrieve color information from a .NET Color object, which is in the System.Drawing.dll assembly if that type has not been imported into JADE; for example, if a method in a .NET assembly returns a Color object, the Color type is not imported because it is not specific to the assembly when the assembly is imported into JADE.
The returned type for the imported method is the generic JadeDotNetType type.
The following method shows the use of the getColor method.
vars c : JadeDotNetType; // To represent a Color object begin // Use createColor to make a blue Color object create c transient; c.createColor(Blue); // Blue is a global JADE color constant // Use the helper method to get color information from a Color object write c.getColor; // Outputs 16711680 epilog delete c; end;