TX Text Control .NET for Windows Forms Documentation

Image Constructor

Initializes a new instance of the Image class.

Syntax

[C#] public Image(); public Image(string fileName, int filterIndex); public Image(System.Drawing.Image image);
[Visual Basic] Public Sub New() Public Sub New(ByVal fileName As String, ByVal filterIndex As Integer) Public Sub New(ByVal image As System.Drawing.Image)
ParameterDescription
fileName

Specifies the name and the path of the file from which the image is loaded.

filterIndex

Specifies the index of the filter used to load the image. It is an index in the string returned through the ImageCollection.ImportFilters property starting with 1.

image

Specifies a System.Drawing.Image object which is used to initialize the TXTextControl image.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now