Class GeomPickerHelper
Inheritance
GeomPickerHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class GeomPickerHelper
Methods
Caption of the button at the given index
Declaration
public static string ButtonCaption(this ComWrapper<ICamApiGeomPicker> pickerCom, int index)
Parameters
Returns
Number of customizable buttons in the picker dialog
Declaration
public static int ButtonCount(this ComWrapper<ICamApiGeomPicker> pickerCom)
Parameters
Returns
Whether the button at the given index is enabled
Declaration
public static bool ButtonEnabled(this ComWrapper<ICamApiGeomPicker> pickerCom, int index)
Parameters
Returns
Hint (tooltip) of the button at the given index
Declaration
public static string ButtonHint(this ComWrapper<ICamApiGeomPicker> pickerCom, int index)
Parameters
Returns
Type (role) of the button at the given index
Declaration
public static TCamApiGeomPickerButton ButtonType(this ComWrapper<ICamApiGeomPicker> pickerCom, int index)
Parameters
Returns
Whether the button at the given index is visible
Declaration
public static bool ButtonVisible(this ComWrapper<ICamApiGeomPicker> pickerCom, int index)
Parameters
Returns
Index of the button with the given type, or -1 if not found
Declaration
public static int FindButton(this ComWrapper<ICamApiGeomPicker> pickerCom, TCamApiGeomPickerButton buttonType)
Parameters
Returns
Set the caption of the button with the given type (empty string keeps the default)
Declaration
public static void SetButtonCaption(this ComWrapper<ICamApiGeomPicker> pickerCom, TCamApiGeomPickerButton buttonType, string value)
Parameters
Set the caption of the button at the given index (empty string keeps the default)
Declaration
public static void SetButtonCaption(this ComWrapper<ICamApiGeomPicker> pickerCom, int index, string value)
Parameters
Set whether the button with the given type is enabled
Declaration
public static void SetButtonEnabled(this ComWrapper<ICamApiGeomPicker> pickerCom, TCamApiGeomPickerButton buttonType, bool value)
Parameters
Set whether the button at the given index is enabled
Declaration
public static void SetButtonEnabled(this ComWrapper<ICamApiGeomPicker> pickerCom, int index, bool value)
Parameters
Set the hint (tooltip) of the button with the given type (empty string keeps the default)
Declaration
public static void SetButtonHint(this ComWrapper<ICamApiGeomPicker> pickerCom, TCamApiGeomPickerButton buttonType, string value)
Parameters
Set the hint (tooltip) of the button at the given index (empty string keeps the default)
Declaration
public static void SetButtonHint(this ComWrapper<ICamApiGeomPicker> pickerCom, int index, string value)
Parameters
Set whether the button with the given type is visible
Declaration
public static void SetButtonVisible(this ComWrapper<ICamApiGeomPicker> pickerCom, TCamApiGeomPickerButton buttonType, bool value)
Parameters
Set whether the button at the given index is visible
Declaration
public static void SetButtonVisible(this ComWrapper<ICamApiGeomPicker> pickerCom, int index, bool value)
Parameters
SetTitle(ComWrapper<ICamApiGeomPicker>, string)
Set the window title of the picker dialog (empty string keeps the default)
Declaration
public static void SetTitle(this ComWrapper<ICamApiGeomPicker> pickerCom, string value)
Parameters
Title(ComWrapper<ICamApiGeomPicker>)
Window title of the picker dialog
Declaration
public static string Title(this ComWrapper<ICamApiGeomPicker> pickerCom)
Parameters
Returns