Class CollectionObjectBases
- Namespace
- combit.Reporting.Dom
- Assembly
- combit.ListLabel31.CrossPlatform.dll
Collection of report objects (lines, shapes, text, charts, etc.) providing factory helpers and cloning logic.
public class CollectionObjectBases : DomCollectionBase<ObjectBase>, IList<ObjectBase>, ICollection<ObjectBase>, IReadOnlyList<ObjectBase>, IReadOnlyCollection<ObjectBase>, IEnumerable<ObjectBase>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IDomCollectionBase
- Inheritance
-
CollectionObjectBases
- Implements
- Inherited Members
Properties
this[string]
Returns the object with the specified name or null if not found.
public ObjectBase this[string objectName] { get; }
Parameters
objectNamestringThe case-sensitive object name.
Property Value
- ObjectBase
The matching ObjectBase instance or null.
Methods
AddNewBarcode()
Adds a new barcode object to the end of the collection and returns the added instance.
public ObjectBarcode AddNewBarcode()
Returns
- ObjectBarcode
The new ObjectBarcode.
AddNewBarcode(int)
Inserts a new barcode object into the collection.
public ObjectBarcode AddNewBarcode(int index)
Parameters
indexintZero-based index where the object will be inserted.
Returns
- ObjectBarcode
The new ObjectBarcode.
AddNewCheckbox()
Adds a new checkbox object to the end of the collection and returns the added instance.
public ObjectCheckbox AddNewCheckbox()
Returns
- ObjectCheckbox
The new ObjectCheckbox.
AddNewCheckbox(int)
Inserts a new checkbox object.
public ObjectCheckbox AddNewCheckbox(int index)
Parameters
indexintZero-based insertion index.
Returns
- ObjectCheckbox
The new ObjectCheckbox.
AddNewDataGraphic()
Adds a new datagraphic object.
public ObjectDataGraphic AddNewDataGraphic()
Returns
- ObjectDataGraphic
The new ObjectDataGraphic.
AddNewDataGraphic(int)
Inserts a new datagraphic object.
public ObjectDataGraphic AddNewDataGraphic(int index)
Parameters
indexintInsertion index.
Returns
- ObjectDataGraphic
The new ObjectDataGraphic.
AddNewDrawing()
Adds a new drawing object.
public ObjectDrawing AddNewDrawing()
Returns
- ObjectDrawing
The new ObjectDrawing.
AddNewDrawing(int)
Inserts a new drawing object.
public ObjectDrawing AddNewDrawing(int index)
Parameters
indexintInsertion index.
Returns
- ObjectDrawing
The new ObjectDrawing.
AddNewEllipse()
Adds a new ellipse object.
public ObjectEllipse AddNewEllipse()
Returns
- ObjectEllipse
The new ObjectEllipse.
AddNewEllipse(int)
Inserts a new ellipse object.
public ObjectEllipse AddNewEllipse(int index)
Parameters
indexintInsertion index.
Returns
- ObjectEllipse
The new ObjectEllipse.
AddNewGauge(LlDomGaugeType)
Adds a new gauge object.
public ObjectGauge AddNewGauge(LlDomGaugeType gaugeType)
Parameters
gaugeTypeLlDomGaugeTypeThe type of gauge to create.
Returns
- ObjectGauge
The new ObjectGauge.
AddNewGauge(LlDomGaugeType, int)
Inserts a new gauge object.
public ObjectGauge AddNewGauge(LlDomGaugeType gaugeType, int index)
Parameters
gaugeTypeLlDomGaugeTypeThe type of gauge to create.
indexintInsertion index.
Returns
- ObjectGauge
The new ObjectGauge.
AddNewHtml()
Adds a new html object.
public ObjectHtml AddNewHtml()
Returns
- ObjectHtml
The new ObjectHtml.
AddNewHtml(int)
Inserts a new html object.
public ObjectHtml AddNewHtml(int index)
Parameters
indexintInsertion index.
Returns
- ObjectHtml
The new ObjectHtml.
AddNewInputButton()
Adds a new inputbutton object.
public ObjectInputButton AddNewInputButton()
Returns
- ObjectInputButton
The new ObjectInputButton.
AddNewInputButton(int)
Inserts a new inputbutton object.
public ObjectInputButton AddNewInputButton(int index)
Parameters
indexintInsertion index.
Returns
- ObjectInputButton
The new ObjectInputButton.
AddNewInputCheckbox()
Adds a new inputcheckbox object.
public ObjectInputCheckbox AddNewInputCheckbox()
Returns
- ObjectInputCheckbox
The new ObjectInputCheckbox.
AddNewInputCheckbox(int)
Inserts a new inputcheckbox object.
public ObjectInputCheckbox AddNewInputCheckbox(int index)
Parameters
indexintInsertion index.
Returns
- ObjectInputCheckbox
The new ObjectInputCheckbox.
AddNewInputCombobox()
Adds a new inputcombobox object.
public ObjectInputCombobox AddNewInputCombobox()
Returns
- ObjectInputCombobox
The new ObjectInputCombobox.
AddNewInputCombobox(int)
Inserts a new inputcombobox object.
public ObjectInputCombobox AddNewInputCombobox(int index)
Parameters
indexintInsertion index.
Returns
- ObjectInputCombobox
The new ObjectInputCombobox.
AddNewInputEdit()
Adds a new inputedit object.
public ObjectInputEdit AddNewInputEdit()
Returns
- ObjectInputEdit
The new ObjectInputEdit.
AddNewInputEdit(int)
Inserts a new inputedit object.
public ObjectInputEdit AddNewInputEdit(int index)
Parameters
indexintInsertion index.
Returns
- ObjectInputEdit
The new ObjectInputEdit.
AddNewLine()
Adds a new line object.
public ObjectLine AddNewLine()
Returns
- ObjectLine
The new ObjectLine.
AddNewLine(int)
Inserts a new line object.
public ObjectLine AddNewLine(int index)
Parameters
indexintInsertion index.
Returns
- ObjectLine
The new ObjectLine.
AddNewPdf()
Adds a new pdf object.
public ObjectPdf AddNewPdf()
Returns
AddNewPdf(int)
Inserts a new pdf object.
public ObjectPdf AddNewPdf(int index)
Parameters
indexintInsertion index.
Returns
AddNewRectangle()
Adds a new rectangle object.
public ObjectRectangle AddNewRectangle()
Returns
- ObjectRectangle
The new ObjectRectangle.
AddNewRectangle(int)
Inserts a new rectangle object.
public ObjectRectangle AddNewRectangle(int index)
Parameters
indexintInsertion index.
Returns
- ObjectRectangle
The new ObjectRectangle.
AddNewReportContainer()
Adds a new reportcontainer object.
public ObjectReportContainer AddNewReportContainer()
Returns
AddNewReportContainer(int)
Inserts a new reportcontainer object.
public ObjectReportContainer AddNewReportContainer(int index)
Parameters
indexintInsertion index.
Returns
AddNewRtf()
Adds a new rtf object.
public ObjectRtf AddNewRtf()
Returns
AddNewRtf(int)
Inserts a new rtf object.
public ObjectRtf AddNewRtf(int index)
Parameters
indexintInsertion index.
Returns
AddNewTemplate()
Adds a new template object.
public ObjectTemplate AddNewTemplate()
Returns
- ObjectTemplate
The new ObjectTemplate.
AddNewTemplate(int)
Inserts a new template object.
public ObjectTemplate AddNewTemplate(int index)
Parameters
indexintInsertion index.
Returns
- ObjectTemplate
The new ObjectTemplate.
AddNewText()
Adds a new text object.
public ObjectText AddNewText()
Returns
- ObjectText
The new ObjectText.
AddNewText(int)
Inserts a new text object.
public ObjectText AddNewText(int index)
Parameters
indexintInsertion index.
Returns
- ObjectText
The new ObjectText.
GetObject(string)
Gets the object with the specified name from the collection.
protected ObjectBase GetObject(string objectName)
Parameters
objectNamestringThe name of the object to retrieve.
Returns
- ObjectBase
The ObjectBase with the specified name, or
nullif not found.