Namespace: Ico.GwxAssembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
Visual Basic |
---|
Public Shared Function Create ( _
config As GwxConfiguration, _
filename As String, _
embedImage As Boolean, _
dimensions As Rect, _
parentElement As IGwxElementContainer, _
selectAfterCreate As Boolean, _
initializePropertiesFrom As GwxElement _
) As GwxImage |
Parameters
- config
- Type: Ico.Gwx..::..GwxConfiguration
The GwxConfiguration object that owns the new object.
- filename
- Type: System..::..String
Filename/URL of the image, or an image data string.
- embedImage
- Type: System..::..Boolean
True to indicate that the filename parameter should be used to create an embedded image rather than a reference to an image file.
- dimensions
- Type: System.Windows..::..Rect
The rectangular dimensions of the new object.
- parentElement
- Type: Ico.Gwx..::..IGwxElementContainer
The IGwxElementContainer that will be the parent of the new object.
- selectAfterCreate
- Type: System..::..Boolean
True to make the newly created object selected.
- initializePropertiesFrom
- Type: Ico.Gwx..::..GwxElement
Optional GwxElement used to initialize the properties of the new object. If null, properties will be initialized to their default values.
Return Value
The newly created object.
See Also