Generate
Contents
[
Hide
]Generate(DataSet, Stream, GlobalPageSettings, ImageCollection)
Generate multiple templates using layout template and set of data entries
public BatchGenerationResult Generate(DataSet dataSet, Stream layoutStream,
GlobalPageSettings settings = null, ImageCollection collection = null)
Parameter | Type | Description |
---|---|---|
dataSet | DataSet | Collection of data sets used in template form generation |
layoutStream | Stream | stream with template layout |
settings | GlobalPageSettings | page settings used in every template form generation |
collection | ImageCollection | collection of images used in every template form generation |
Return Value
Result of a batch template generation
Exceptions
exception | condition |
---|---|
ArgumentException | When processing a DataRecord with an empty Id |
See Also
- class BatchGenerationResult
- class DataSet
- class GlobalPageSettings
- class ImageCollection
- class BatchOmrEngine
- namespace Aspose.OMR.BatchProcessings
- assembly Aspose.OMR
Generate(DataSet, string, GlobalPageSettings, ImageCollection)
Generate multiple templates using layout template and set of data entries
public BatchGenerationResult Generate(DataSet dataSet, string layoutPath,
GlobalPageSettings settings = null, ImageCollection collection = null)
Parameter | Type | Description |
---|---|---|
dataSet | DataSet | Collection of data sets used in template form generation |
layoutPath | String | path to a file with template layout |
settings | GlobalPageSettings | page settings used in every template form generation |
collection | ImageCollection | collection of images used in every template form generation |
Return Value
Result of a batch template generation
Exceptions
exception | condition |
---|---|
FileNotFoundException | When layoutPath is not correct |
ArgumentException | When processing a DataRecord with an empty Id |
See Also
- class BatchGenerationResult
- class DataSet
- class GlobalPageSettings
- class ImageCollection
- class BatchOmrEngine
- namespace Aspose.OMR.BatchProcessings
- assembly Aspose.OMR
Generate(DataSet, string[], GlobalPageSettings, ImageCollection)
Generate multiple templates using layout template and set of data entries
public BatchGenerationResult Generate(DataSet dataSet, string[] layoutLines,
GlobalPageSettings settings = null, ImageCollection collection = null)
Parameter | Type | Description |
---|---|---|
dataSet | DataSet | Collection of data sets used in template form generation |
layoutLines | String[] | sorted array of lines representing template layour |
settings | GlobalPageSettings | page settings used in every template form generation |
collection | ImageCollection | collection of images used in every template form generation |
Return Value
Result of a batch template generation
Exceptions
exception | condition |
---|---|
ArgumentException | When processing a DataRecord with an empty Id |
See Also
- class BatchGenerationResult
- class DataSet
- class GlobalPageSettings
- class ImageCollection
- class BatchOmrEngine
- namespace Aspose.OMR.BatchProcessings
- assembly Aspose.OMR