Top Method Summary
Options Name Purpose
CHARACTER BuildUrl (SmartDatasetAdapter) Builds the image URL for the current record of the given data source adapter
ClearImage () Clears the image currently displayed by the control
CurrentChangedHandler (Object, EventArgs) Event handler for the CurrentChanged event of the SmartDataSource
EndUpdateStateHandler (Object, DataSourceUpdateStateEventArgs) Event handler for the EndUpdateState event of the SmartDataSource
InitializeComponent ()
LoadImageFromCurrentRecord () Loads the image for the current record of the SmartDataSource based on the SourceType
PopulateScaleImageValueList () Populates the value list of the ScaleImage toolbar combo box with the translated display texts
SetImage (Image) Assigns the given image to the UltraPictureBox and disposes the previously displayed image
ShowImage (character) Shows an image file
ShowImage (CharacterHolder) Shows an image file
ShowImageFromUrl (character) Shows an image downloaded from the given URL
ultraToolbarsManager1_ToolValueChanged (Object, ToolEventArgs) Event handler for the ToolValueChanged event of the UltraToolbarsManager

Top Constructor Summary
Options Name Purpose
ImageViewerControl () Constructor for the ImageViewerControl class

Top Property Summary
Options Name Purpose
CHARACTER BackendService
CHARACTER BaseUrl
CHARACTER FileNameField
Infragistics.Win.ScaleImage ScaleImage
Consultingwerk.SmartComponents.Interfaces.ISmartDataSource SmartDataSource
Consultingwerk.Windows.Controls.ImageViewer.ImageViewerSourceTypeEnum SourceType
CHARACTER UrlFieldName
CHARACTER UrlSubstitute


Method Detail
Top

CHARACTER BuildUrl (SmartDatasetAdapter)

Purpose: Builds the image URL for the current record of the given
data source adapter
Notes: &1 in the UrlSubstitute references the BaseUrl and &2 the
UrlFieldName value when the BaseUrl is set, otherwise &1
references the UrlFieldName value

Parameters:
poAdapter Consultingwerk.SmartComponents.Base.SmartDatasetAdapter
The reference to the SmartDatasetAdapter providing the current record
Returns CHARACTER
The resulting image URL
Top

ClearImage ()

Purpose: Clears the image currently displayed by the control
Notes:

Top

CurrentChangedHandler (Object, EventArgs)

Purpose: Event handler for the CurrentChanged event of the SmartDataSource
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

EndUpdateStateHandler (Object, DataSourceUpdateStateEventArgs)

Purpose: Event handler for the EndUpdateState event of the SmartDataSource
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Implementation.DataSourceUpdateStateEventArgs
The DataSourceUpdateStateEventArgs with the data for this event
Top

InitializeComponent ()


Top

LoadImageFromCurrentRecord ()

Purpose: Loads the image for the current record of the SmartDataSource
based on the SourceType
Notes: Clears the image when the current record provides no image
reference

Top

PopulateScaleImageValueList ()

Purpose: Populates the value list of the ScaleImage toolbar combo box
with the translated display texts
Notes:

Top

SetImage (Image)

Purpose: Assigns the given image to the UltraPictureBox and disposes
the previously displayed image
Notes:

Parameters:
poImage System.Drawing.Image
The reference to the System.Drawing.Image to display, invalid reference to clear the image
Top

ShowImage (character)

Purpose: Shows an image file
Notes: Performs propath lookup and loads the image without locking
the image file

Parameters:
pcFileName CHARACTER
The name of the image file
Top

ShowImage (CharacterHolder)

Purpose: Shows an image file
Notes:

Parameters:
poFileName Consultingwerk.CharacterHolder
The name of the image file
Top

ShowImageFromUrl (character)

Purpose: Shows an image downloaded from the given URL
Notes: Indicates a wait state while the image is downloaded

Parameters:
pcUrl CHARACTER
The URL of the image
Top

ultraToolbarsManager1_ToolValueChanged (Object, ToolEventArgs)

Purpose: Event handler for the ToolValueChanged event of the
UltraToolbarsManager
Notes: Applies the ScaleImage value selected in the toolbar combo box

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolEventArgs
The ToolEventArgs with the data for this event


Constructor Detail
Top

ImageViewerControl ()

Purpose: Constructor for the ImageViewerControl class
Notes:



Property Detail
Top

CHARACTER BackendService


Returns CHARACTER
Top

CHARACTER BaseUrl


Returns CHARACTER
Top

CHARACTER FileNameField


Returns CHARACTER
Top

Infragistics.Win.ScaleImage ScaleImage


Returns Infragistics.Win.ScaleImage
Top

Consultingwerk.SmartComponents.Interfaces.ISmartDataSource SmartDataSource


Returns Consultingwerk.SmartComponents.Interfaces.ISmartDataSource
Top

Consultingwerk.Windows.Controls.ImageViewer.ImageViewerSourceTypeEnum SourceType


Returns Consultingwerk.Windows.Controls.ImageViewer.ImageViewerSourceTypeEnum
Top

CHARACTER UrlFieldName


Returns CHARACTER
Top

CHARACTER UrlSubstitute


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       20.07.2026 16:13:12