Singer Instruments PIXL Client
DetermineRandomColonyPickingStartPosition Method
Example 



SI.PIXL.Client Namespace > PIXLClient Class : DetermineRandomColonyPickingStartPosition Method
The name of the project template to use. If this is not specified the last used template will be used.
The current row. This can be specified as an integer (1 based) or as alphabetically. If this is not specified the position from the current project template is used.
The current column. This can be specified as an integer (1 based) or as alphabetically. If this is not specified the position from the current project template is used.
Determine the next row and column for a target layout.
Syntax
'Declaration
 
Public Function DetermineRandomColonyPickingStartPosition( _
   ByVal projectTemplateName As String, _
   ByVal currentRow As String, _
   ByVal currentColumn As String _
) As RandomColonyPickingStartPosition
'Usage
 
Dim instance As PIXLClient
Dim projectTemplateName As String
Dim currentRow As String
Dim currentColumn As String
Dim value As RandomColonyPickingStartPosition
 
value = instance.DetermineRandomColonyPickingStartPosition(projectTemplateName, currentRow, currentColumn)
public RandomColonyPickingStartPosition DetermineRandomColonyPickingStartPosition( 
   string projectTemplateName,
   string currentRow,
   string currentColumn
)

Parameters

projectTemplateName
The name of the project template to use. If this is not specified the last used template will be used.
currentRow
The current row. This can be specified as an integer (1 based) or as alphabetically. If this is not specified the position from the current project template is used.
currentColumn
The current column. This can be specified as an integer (1 based) or as alphabetically. If this is not specified the position from the current project template is used.

Return Value

The start position.
Example
This sample shows how to use the DetermineRandomColonyPickingStartPosition method.
// Determine the next row and column for a target layout.
var position = pixl.DetermineRandomColonyPickingStartPosition("ProjectTemplate", "B", "3");
// Check the position is valid and if so print on the Console.
if (position.IsPositionAvailable)
    Console.WriteLine($"Next position is {position.TargetLayoutStartRow},{position.TargetLayoutStartColumn}.")
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PIXLClient Class
PIXLClient Members