Click or drag to resize

ImageCommandConstructImageResults Method

Constructs the results object for this command.

Namespace:  Atalasoft.Imaging.ImageProcessing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
protected virtual ImageResults ConstructImageResults()

Return Value

Type: ImageResults
A new object of type ImageResults representing the results for this command.

The default implementation returns an object of type ImageResults. If your command requires an object with more information, subclass ImageResults and add in the information you need. Your command will override ConstructImageResults and return your new object.

The object allocated here is passed to PerformActualCommand as a reference parameter, meaning the entire object can be changed at that point too.

See Also