'Declaration Public Overloads Shared Function GetEntitiesStats( _ ByVal entityList As IList(Of Entity), _ ByVal layers As LayerKeyedCollection, _ ByVal blocks As BlockKeyedCollection, _ ByVal materials As MaterialKeyedCollection, _ ByVal textStyles As TextStyleKeyedCollection, _ ByVal lineTypes As LineTypeKeyedCollection, _ ByVal showTotals As Boolean, _ Optional ByVal showBlocksDetails As Boolean, _ Optional ByVal showCollectionsItems As Boolean _ ) As String
public static string GetEntitiesStats( IList<Entity> entityList, LayerKeyedCollection layers, BlockKeyedCollection blocks, MaterialKeyedCollection materials, TextStyleKeyedCollection textStyles, LineTypeKeyedCollection lineTypes, bool showTotals, bool showBlocksDetails, bool showCollectionsItems )
Parameters
- entityList
- The collection of entities
- layers
- The layers to process. It can be null if showCollectionsItems is false.>
- blocks
- The blocks to process. It can be null if showTotals is false.>
- materials
- The materials to process. It can be null if showCollectionsItems is false.>
- textStyles
- The textStyles to process. It can be null if showCollectionsItems is false.>
- lineTypes
- The lineTypes to process. It can be null if showCollectionsItems is false.>
- showTotals
- When true it shows also the total's count, otherwise no.
- showBlocksDetails
- When true it shows also the detail of the entities contained into each block.
- showCollectionsItems
- When true it shows also the list of the master collections items.
Return Value
The string with the count of each entity's type.