Solutions

This page covers ISolution, ISolutionSheet, ISolutionFormat, ISolutionFormats, ISolutionCut, ISolutionCuts, ISolutionWaste, and ISolutionWastes. These are the core output interfaces used by result exporters, batch save plugins, and plot-aware integrations.

Solution model

TonCut exposes optimization output as a read-only hierarchy:

  1. ISolution contains solution sheets.
  2. ISolutionSheet exposes the selected stock sheet, placed formats, waste, cuts, and coordinate transforms.
  3. Child collections expose placed formats, waste regions, and cuts individually.

Both ISolution and ISolutionSheet report technological, edging, and kerf waste fields independently. ISolutionCut exposes NeedShift together with its signed ShiftDistance in TonCut length units, while ISolutionWaste exposes Holes (areas of the remnant with no material, never waste or usable area; a remnant may theoretically contain one) separately from its outer shape.

Output helpers

ISolutionSheet is the interface most export plugins spend time with. Its coordinate helpers such as CalcPoint, CalcPointF, GetDirection, and CalcEffectiveLayout are the safe way to respect sheet rotation, mirroring, margins, and host coordinate conventions.

Declarations are shown in Pascal and, where the SDK's generated language-support manifest lists the member for C++, in C++; the build fails if that manifest no longer matches TonCutPluginSdk.hpp. There is no C# declaration: C# plugins are native-shim-only, so a C++ shim owns every interface on this page. Methods are listed with their accessors folded into properties; open Vtable order for the exact slot sequence, and see ABI and marshalling for type sizes and ownership rules.

ISolution

Optimization result: one entry per distinct layout. Each layout reports how many identical sheets are cut with it.

IID
{AF96B222-66C9-4D99-B061-4C086BA10182}
Parent
IUnknown (implicit: a Delphi interface without a parent is IUnknown)
Unit
uISolution
Vtable order (6 methods, slots 3 to 8, after the three IUnknown slots)
  1. function GetCount(): Integer;
  2. function GetByIndex(aIndex: Cardinal): ISolutionSheet;
  3. function GetTechnologicalWasteField(): TField;
  4. function GetEdgingWasteField(): TField;
  5. function GetKerfWasteField(): TField;
  6. procedure CalcCutsInfoByMaterial(const aMaterial: IMaterial; var aCount: Integer; var aLength: Double);

Properties

  • Property name
    Count
    Type
    Integer
    Description

    Number of distinct layouts (solution sheets), not the number of sheets cut.

    Declaration

    property Count: Integer read GetCount;
  • Property name
    Items
    Type
    ISolutionSheet
    Description

    Indexed property used to read one item from the collection.

    Declaration

    property Items[aIndex: Cardinal]: ISolutionSheet read GetByIndex; default;
    Index Parameters
    aIndex
    Cardinal
    Zero-based position within a collection.
    Value
    The collection item located at the supplied index.
  • Property name
    TechnologicalWasteField
    Type
    TField
    Description

    Technological waste area of the whole solution, every layout multiplied by its Quantity, in (0.01 mm)².

    Declaration

    property TechnologicalWasteField: TField read GetTechnologicalWasteField;
  • Property name
    EdgingWasteField
    Type
    TField
    Description

    Edging waste area of the whole solution, every layout multiplied by its Quantity, in (0.01 mm)².

    Declaration

    property EdgingWasteField: TField read GetEdgingWasteField;
  • Property name
    KerfWasteField
    Type
    TField
    Description

    Kerf waste area of the whole solution, every layout multiplied by its Quantity, in (0.01 mm)².

    Declaration

    property KerfWasteField: TField read GetKerfWasteField;

Methods

  • Method name
    CalcCutsInfoByMaterial()
    Type
    procedure
    Description

    Return the number and total length (0.01 mm) of the original cuts of every sheet of one material, multiplied by each layout’s Quantity.

    Declaration

    procedure CalcCutsInfoByMaterial(const aMaterial: IMaterial; var aCount: Integer; var aLength: Double); safecall;
    Parameters
    aMaterialconst
    Material instance being queried or modified.
    aCountvar
    Integer
    Count value supplied or returned by the method. Passed by reference and may be updated by the callee.
    aLengthvar
    Double
    Length value in hundredths of a millimeter. Passed by reference and may be updated by the callee.

ISolutionSheet

One layout of a solution: the stock sheet, the number of identical sheets cut with it, the placed pieces, waste, and cuts of one such sheet, and the coordinate helpers.

IID
{CFC00E48-9137-4606-8384-3DAFE174A058}
Parent
IUnknown (implicit: a Delphi interface without a parent is IUnknown)
Unit
uISolutionSheet
Vtable order (25 methods, slots 3 to 27, after the three IUnknown slots)
  1. function GetSheet(): ISheet;
  2. function GetSolutionFormats(): ISolutionFormats;
  3. function GetSolutionWastes(): ISolutionWastes;
  4. function GetSolutionCuts(): ISolutionCuts;
  5. function GetQuantity(): Integer;
  6. function GetTechnologicalWasteField(): TField;
  7. function GetEdgingWasteField(): TField;
  8. function GetKerfWasteField(): TField;
  9. function GetIndex(): Integer;
  10. function GetRotation(): Integer;
  11. function GetMirror(): TMirrors;
  12. function GetIsSaved(): Boolean;
  13. procedure SetIsSaved(aSaved: Boolean);
  14. function GetIsPlotted(): Boolean;
  15. procedure SetIsPlotted(aPlotted: Boolean);
  16. procedure GetEffectiveModificator(var aRotation: Integer; var aMirror: TMirrors);
  17. procedure GetOriginPoint(var aX, aY: Integer);
  18. procedure CalcPoint(var aX, aY: Integer);
  19. procedure UnCalcPoint(var aX, aY: Integer);
  20. procedure CalcPointF(var aX, aY: Double);
  21. procedure UnCalcPointF(var aX, aY: Double);
  22. procedure GetDirection(var aX, aY: Integer);
  23. procedure CalcEffectiveLayout(var aLength, aWidth: Cardinal; var aMarginLeft, aMarginTop, aMarginRight, aMarginBottom: Cardinal);
  24. function CalcRecycledField(aMinShorterRecycleSize, aMinLongerRecycleSize: Integer): TField;
  25. procedure CalcCutsInfo(var aCount: Integer; var aLength: Double);

Properties

  • Property name
    Sheet
    Type
    ISheet
    Description

    Sheet linked to the current entity.

    Declaration

    property Sheet: ISheet read GetSheet;
  • Property name
    SolutionFormats
    Type
    ISolutionFormats
    Description

    Placed pieces of one sheet of this layout, each listed once, in the native sheet frame.

    Declaration

    property SolutionFormats: ISolutionFormats read GetSolutionFormats;
  • Property name
    SolutionWastes
    Type
    ISolutionWastes
    Description

    All waste regions of one sheet of this layout, reusable or not; the API does not say which are reusable. Coordinates are in the native sheet frame.

    Declaration

    property SolutionWastes: ISolutionWastes read GetSolutionWastes;
  • Property name
    SolutionCuts
    Type
    ISolutionCuts
    Description

    Cuts of one sheet, already in the effective output frame (rotation, mirror, and plotter settings applied). Do not pass them through CalcPoint. TonCut fills them before a save or plot callback.

    Declaration

    property SolutionCuts: ISolutionCuts read GetSolutionCuts;
  • Property name
    Quantity
    Type
    Integer
    Description

    Number of identical sheets cut with this layout. SolutionFormats lists the pieces of one sheet, so the pieces produced are the entry count times Quantity.

    Declaration

    property Quantity: Integer read GetQuantity;
  • Property name
    TechnologicalWasteField
    Type
    TField
    Description

    Technological waste area of one sheet of this layout, in (0.01 mm)².

    Declaration

    property TechnologicalWasteField: TField read GetTechnologicalWasteField;
  • Property name
    EdgingWasteField
    Type
    TField
    Description

    Edging waste area of one sheet of this layout, in (0.01 mm)².

    Declaration

    property EdgingWasteField: TField read GetEdgingWasteField;
  • Property name
    KerfWasteField
    Type
    TField
    Description

    Kerf waste area of one sheet of this layout, in (0.01 mm)².

    Declaration

    property KerfWasteField: TField read GetKerfWasteField;
  • Property name
    Index
    Type
    Integer
    Description

    Gets index.

    Declaration

    property Index: Integer read GetIndex;
  • Property name
    Rotation
    Type
    Integer
    Description

    Sheet rotation in whole degrees: 0, 90, 180, or 270.

    Declaration

    property Rotation: Integer read GetRotation;
  • Property name
    Mirror
    Type
    Description

    Mirror state for the current object.

    Declaration

    property Mirror: TMirrors read GetMirror;
  • Property name
    IsSaved
    Type
    Boolean
    Description

    Saved flag of the layout. After BatchSaveResult returns cprOK, TonCut marks as saved only the sheets on which the plugin set it; set it in SaveResult too. It is not persisted.

    Declaration

    property IsSaved: Boolean read GetIsSaved write SetIsSaved;
  • Property name
    IsPlotted
    Type
    Boolean
    Description

    Whether the solution sheet has already been plotted by a plugin.

    Declaration

    property IsPlotted: Boolean read GetIsPlotted write SetIsPlotted;

Methods

  • Method name
    GetEffectiveModificator()
    Type
    procedure
    Description

    Return the effective rotation and mirror state applied to the solution sheet.

    Declaration

    procedure GetEffectiveModificator(var aRotation: Integer; var aMirror: TMirrors); safecall;
    Parameters
    aRotationvar
    Integer
    Value for rotation. Passed by reference and may be updated by the callee.
    aMirrorvar
    Value for mirror. Passed by reference and may be updated by the callee.
  • Method name
    GetOriginPoint()
    Type
    procedure
    Description

    Return the native-frame point that maps to the output origin; the same as UnCalcPoint(0, 0).

    Declaration

    procedure GetOriginPoint(var aX: Integer; var aY: Integer); safecall;
    Parameters
    aXvar
    Integer
    X coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
    aYvar
    Integer
    Y coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
  • Method name
    CalcPoint()
    Type
    procedure
    Description

    Map a point from the native sheet frame to the effective output frame (sheet rotation and mirror, then the plotter default rotation, mirror, and axes). Units in equal units out (0.01 mm); there is no scaling. Do not use it on SolutionCuts.

    Declaration

    procedure CalcPoint(var aX: Integer; var aY: Integer); safecall;
    Parameters
    aXvar
    Integer
    X coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
    aYvar
    Integer
    Y coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
  • Method name
    UnCalcPoint()
    Type
    procedure
    Description

    Inverse of CalcPoint: map a point from the effective output frame back to the native sheet frame.

    Declaration

    procedure UnCalcPoint(var aX: Integer; var aY: Integer); safecall;
    Parameters
    aXvar
    Integer
    X coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
    aYvar
    Integer
    Y coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
  • Method name
    CalcPointF()
    Type
    procedure
    Description

    Floating-point form of CalcPoint: native sheet frame to effective output frame, 0.01 mm in and out, no scaling.

    Declaration

    procedure CalcPointF(var aX: Double; var aY: Double); safecall;
    Parameters
    aXvar
    Double
    X coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
    aYvar
    Double
    Y coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
  • Method name
    UnCalcPointF()
    Type
    procedure
    Description

    Floating-point form of UnCalcPoint.

    Declaration

    procedure UnCalcPointF(var aX: Double; var aY: Double); safecall;
    Parameters
    aXvar
    Double
    X coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
    aYvar
    Double
    Y coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
  • Method name
    GetDirection()
    Type
    procedure
    Description

    Return +1 or -1 for each output axis: the direction in which output coordinates grow.

    Declaration

    procedure GetDirection(var aX: Integer; var aY: Integer); safecall;
    Parameters
    aXvar
    Integer
    X coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
    aYvar
    Integer
    Y coordinate in 0.01 mm; updated in place. Passed by reference and may be updated by the callee.
  • Method name
    CalcEffectiveLayout()
    Type
    procedure
    Description

    Return the sheet length and width (swapped for 90° and 270°) and the sheet edging (trim) of each side, rotated and mirrored into the output frame, in 0.01 mm. The four margin parameters receive the sheet edging, not material margins. Raises an error when the effective angle is not a quarter turn.

    Declaration

    procedure CalcEffectiveLayout(var aLength: Cardinal; var aWidth: Cardinal; var aMarginLeft: Cardinal; var aMarginTop: Cardinal; var aMarginRight: Cardinal; var aMarginBottom: Cardinal); safecall;
    Parameters
    aLengthvar
    Cardinal
    Receives the sheet length in the output frame (swapped with the width for 90° and 270°), in 0.01 mm. Passed by reference and may be updated by the callee.
    aWidthvar
    Cardinal
    Receives the sheet width in the output frame, in 0.01 mm. Passed by reference and may be updated by the callee.
    aMarginLeftvar
    Cardinal
    Receives the sheet edging (trim) on the left side of the output frame, in 0.01 mm. Not a material margin. Passed by reference and may be updated by the callee.
    aMarginTopvar
    Cardinal
    Receives the sheet edging (trim) on the top side of the output frame, in 0.01 mm. Not a material margin. Passed by reference and may be updated by the callee.
    aMarginRightvar
    Cardinal
    Receives the sheet edging (trim) on the right side of the output frame, in 0.01 mm. Not a material margin. Passed by reference and may be updated by the callee.
    aMarginBottomvar
    Cardinal
    Receives the sheet edging (trim) on the bottom side of the output frame, in 0.01 mm. Not a material margin. Passed by reference and may be updated by the callee.
  • Method name
    CalcRecycledField()
    Type
    TField
    Description

    Return the total area, in (0.01 mm)², of the non-shaped reusable waste of one sheet. Both parameters are ignored.

    Declaration

    function CalcRecycledField(aMinShorterRecycleSize: Integer; aMinLongerRecycleSize: Integer): TField; safecall;
    Parameters
    aMinShorterRecycleSize
    Integer
    Ignored.
    aMinLongerRecycleSize
    Integer
    Ignored.
    Returns
    The total area of the non-shaped reusable waste of one sheet, in (0.01 mm)².
  • Method name
    CalcCutsInfo()
    Type
    procedure
    Description

    Return the number and total length (0.01 mm) of the original, non-optimized cuts of one sheet of this layout. The count can differ from SolutionCuts.Count. Requires the sheet material’s Device.

    Declaration

    procedure CalcCutsInfo(var aCount: Integer; var aLength: Double); safecall;
    Parameters
    aCountvar
    Integer
    Receives the number of original, non-optimized cuts. Passed by reference and may be updated by the callee.
    aLengthvar
    Double
    Receives the total length of those cuts, in 0.01 mm. Passed by reference and may be updated by the callee.

ISolutionFormat

One placed piece on a solution sheet: its piece, the minimum corner of its bounding box in the native sheet frame, its rotation, and its mirror state.

IID
{B384074F-57F6-41C9-9514-CBF3103C3893}
Parent
IUnknown (implicit: a Delphi interface without a parent is IUnknown)
Unit
uISolutionFormat
Vtable order (5 methods, slots 3 to 7, after the three IUnknown slots)
  1. function GetFormat(): IFormat;
  2. function GetX(): Cardinal;
  3. function GetY(): Cardinal;
  4. function GetRotation(): TRotation;
  5. function GetMirrored(): Boolean;

Properties

  • Property name
    Format
    Type
    IFormat
    Description

    Gets the linked format interface.

    Declaration

    property Format: IFormat read GetFormat;
  • Property name
    X
    Type
    Cardinal
    Description

    Minimum-X corner of the placed piece’s bounding box, in 0.01 mm, in the native sheet frame (X along ISheet.Length). Map it with CalcPoint for output.

    Declaration

    property X: Cardinal read GetX;
  • Property name
    Y
    Type
    Cardinal
    Description

    Minimum-Y corner of the placed piece’s bounding box, in 0.01 mm, in the native sheet frame (Y along ISheet.Width). Map it with CalcPoint for output.

    Declaration

    property Y: Cardinal read GetY;
  • Property name
    Rotation
    Type
    TRotation
    Description

    Placement rotation as a TRotation, in tenths of a degree (cRotation90 = 900). An odd quarter turn swaps the footprint’s length and width.

    Declaration

    property Rotation: TRotation read GetRotation;
  • Property name
    Mirrored
    Type
    Boolean
    Description

    Whether the piece is placed mirrored.

    Declaration

    property Mirrored: Boolean read GetMirrored;

ISolutionFormats

Collection interface used to create, enumerate, query, and reload a shared Desktop object set.

IID
{4F98B50C-4007-40A1-A228-15D778F5EDBD}
Parent
IUnknown (implicit: a Delphi interface without a parent is IUnknown)
Unit
uISolutionFormats
Vtable order (2 methods, slots 3 to 4, after the three IUnknown slots)
  1. function GetCount(): Integer;
  2. function GetByIndex(aIndex: Cardinal): ISolutionFormat;

Properties

  • Property name
    Count
    Type
    Integer
    Description

    Number of items currently exposed by the interface.

    Declaration

    property Count: Integer read GetCount;
  • Property name
    Items
    Type
    ISolutionFormat
    Description

    Indexed property used to read one item from the collection.

    Declaration

    property Items[aIndex: Cardinal]: ISolutionFormat read GetByIndex; default;
    Index Parameters
    aIndex
    Cardinal
    Zero-based position within a collection.
    Value
    The collection item located at the supplied index.

ISolutionCut

One cut of a solution sheet, already in the output frame: a straight line or a cubic Bezier curve.

IID
{B51265B6-8BE3-4DF5-A852-C601D6839F0A}
Parent
IUnknown (implicit: a Delphi interface without a parent is IUnknown)
Unit
uISolutionCut
Vtable order (12 methods, slots 3 to 14, after the three IUnknown slots)
  1. function GetKind(): TCutKind;
  2. function GetPosX(): Integer;
  3. function GetPosY(): Integer;
  4. function GetTarX(): Integer;
  5. function GetTarY(): Integer;
  6. function GetPosXp(): Integer;
  7. function GetPosYp(): Integer;
  8. function GetTarXp(): Integer;
  9. function GetTarYp(): Integer;
  10. function GetNeedShift(): Boolean;
  11. function CalcLength(): Double;
  12. function GetShiftDistance(): Integer;

Properties

  • Property name
    Kind
    Type
    Description

    Enumerated kind describing the current object.

    Declaration

    property Kind: TCutKind read GetKind;
  • Property name
    PosX
    Type
    Integer
    Description

    X position of the object within solution space.

    Declaration

    property PosX: Integer read GetPosX;
  • Property name
    PosY
    Type
    Integer
    Description

    Y position of the object within solution space.

    Declaration

    property PosY: Integer read GetPosY;
  • Property name
    TarX
    Type
    Integer
    Description

    Gets tar x.

    Declaration

    property TarX: Integer read GetTarX;
  • Property name
    TarY
    Type
    Integer
    Description

    Gets tar y.

    Declaration

    property TarY: Integer read GetTarY;
  • Property name
    PosXp
    Type
    Integer
    Description

    Gets pos xp.

    Declaration

    property PosXp: Integer read GetPosXp;
  • Property name
    PosYp
    Type
    Integer
    Description

    Gets pos yp.

    Declaration

    property PosYp: Integer read GetPosYp;
  • Property name
    TarXp
    Type
    Integer
    Description

    Gets tar xp.

    Declaration

    property TarXp: Integer read GetTarXp;
  • Property name
    TarYp
    Type
    Integer
    Description

    Gets tar yp.

    Declaration

    property TarYp: Integer read GetTarYp;
  • Property name
    NeedShift
    Type
    Boolean
    Description

    Whether this cut is the governing boundary for one segment movement.

    Declaration

    property NeedShift: Boolean read GetNeedShift;
  • Property name
    ShiftDistance
    Type
    Integer
    Description

    Complete signed movement, in TonCut length units, commanded at this cut boundary; 0 when NeedShift is false.

    Declaration

    property ShiftDistance: Integer read GetShiftDistance;

Methods

  • Method name
    CalcLength()
    Type
    Double
    Description

    Calculate length.

    Declaration

    function CalcLength(): Double; safecall;
    Returns
    The calculated length value.

ISolutionCuts

Collection interface used to create, enumerate, query, and reload a shared Desktop object set.

IID
{6D733395-4F49-4189-8325-D0E4A5CDF202}
Parent
IUnknown (implicit: a Delphi interface without a parent is IUnknown)
Unit
uISolutionCuts
Vtable order (2 methods, slots 3 to 4, after the three IUnknown slots)
  1. function GetCount(): Integer;
  2. function GetByIndex(aIndex: Cardinal): ISolutionCut;

Properties

  • Property name
    Count
    Type
    Integer
    Description

    Number of items currently exposed by the interface.

    Declaration

    property Count: Integer read GetCount;
  • Property name
    Items
    Type
    ISolutionCut
    Description

    Indexed property used to read one item from the collection.

    Declaration

    property Items[aIndex: Cardinal]: ISolutionCut read GetByIndex; default;
    Index Parameters
    aIndex
    Cardinal
    Zero-based position within a collection.
    Value
    The collection item located at the supplied index.

ISolutionWaste

One waste region of a solution sheet, reusable or not, in the native sheet frame.

IID
{653C0065-1BD3-419F-94F2-CA6DED234CE8}
Parent
IUnknown (implicit: a Delphi interface without a parent is IUnknown)
Unit
uISolutionWaste
Vtable order (9 methods, slots 3 to 11, after the three IUnknown slots)
  1. function GetX(): Cardinal;
  2. function GetY(): Cardinal;
  3. function GetLength(): Cardinal;
  4. function GetWidth(): Cardinal;
  5. function GetShape(): IShape;
  6. function GetField(): TField;
  7. function GetIdentifier(): WideString;
  8. function GetShapePathAsString(): WideString;
  9. function GetHoles(): ISheetDefects;

Properties

  • Property name
    X
    Type
    Cardinal
    Description

    X coordinate of the waste region’s origin, in 0.01 mm, in the native sheet frame; Length extends from it along X.

    Declaration

    property X: Cardinal read GetX;
  • Property name
    Y
    Type
    Cardinal
    Description

    Y coordinate of the waste region’s origin, in 0.01 mm, in the native sheet frame; Width extends from it along Y.

    Declaration

    property Y: Cardinal read GetY;
  • Property name
    Length
    Type
    Cardinal
    Description

    Extent of the waste region along X, in 0.01 mm.

    Declaration

    property Length: Cardinal read GetLength;
  • Property name
    Width
    Type
    Cardinal
    Description

    Extent of the waste region along Y, in 0.01 mm.

    Declaration

    property Width: Cardinal read GetWidth;
  • Property name
    Shape
    Type
    IShape
    Description

    Shape object linked to the current entity.

    Declaration

    property Shape : IShape read GetShape;
  • Property name
    Holes
    Type
    ISheetDefects
    Description

    Read-only collection of holes: areas where the stock (or a remnant, on ISolutionWaste) has no material at all. A hole comes with the stock, is never created by TonCut, is not waste, and is not usable or available area. Support is currently limited. Holes use the same ISheetDefects collection type as defects, but their meaning differs.

    Declaration

    property Holes : ISheetDefects read GetHoles;
  • Property name
    Field
    Type
    TField
    Description

    Area of the waste region, in (0.01 mm)².

    Declaration

    property Field : TField read GetField;
  • Property name
    Identifier
    Type
    WideString
    Description

    Code stored with the object, such as a part number.

    Declaration

    property Identifier : WideString read GetIdentifier;

Methods

  • Method name
    GetShapePathAsString()
    Type
    WideString
    Description

    Return an SVG-compatible path string for the current shape outline.

    Declaration

    function GetShapePathAsString(): WideString; safecall;
    Returns
    The SVG-compatible path string for the current shape outline.

ISolutionWastes

Collection interface used to create, enumerate, query, and reload a shared Desktop object set.

IID
{FF78D6B0-32F7-4999-83D3-C1B7142105F3}
Parent
IUnknown (implicit: a Delphi interface without a parent is IUnknown)
Unit
uISolutionWastes
Vtable order (2 methods, slots 3 to 4, after the three IUnknown slots)
  1. function GetCount(): Integer;
  2. function GetByIndex(aIndex: Cardinal): ISolutionWaste;

Properties

  • Property name
    Count
    Type
    Integer
    Description

    Number of items currently exposed by the interface.

    Declaration

    property Count: Integer read GetCount;
  • Property name
    Items
    Type
    ISolutionWaste
    Description

    Indexed property used to read one item from the collection.

    Declaration

    property Items[aIndex: Cardinal]: ISolutionWaste read GetByIndex; default;
    Index Parameters
    aIndex
    Cardinal
    Zero-based position within a collection.
    Value
    The collection item located at the supplied index.

Was this page helpful?