LineDisplay.SetBitmap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetBitmap(Int32, String, Int32, Int32) |
Sets the bitmap number and placement. |
SetBitmap(Int32, String, Int32, Int32, Int32) |
Sets the bitmap number, placement, and width. |
SetBitmap(Int32, String, Int32, Int32)
Sets the bitmap number and placement.
public abstract void SetBitmap (int bitmapNumber, string fileName, int alignmentX, int alignmentY);
abstract member SetBitmap : int * string * int * int -> unit
Public MustOverride Sub SetBitmap (bitmapNumber As Integer, fileName As String, alignmentX As Integer, alignmentY As Integer)
Parameters
- bitmapNumber
- Int32
The number to be assigned to this bitmap. Valid bitmap numbers are 1 through 100.
- fileName
- String
The file name or URL of the bitmap file. Various file formats may be supported, such as BMP, GIF, or JPEG. If fileName is set to an empty string (""), then the bitmap is unset.
- alignmentX
- Int32
The horizontal placement of the bitmap. For possible values, see Remarks.
- alignmentY
- Int32
The vertical placement of the bitmap. For possible values, see Remarks.
Applies to
SetBitmap(Int32, String, Int32, Int32, Int32)
Sets the bitmap number, placement, and width.
public abstract void SetBitmap (int bitmapNumber, string fileName, int width, int alignmentX, int alignmentY);
abstract member SetBitmap : int * string * int * int * int -> unit
Public MustOverride Sub SetBitmap (bitmapNumber As Integer, fileName As String, width As Integer, alignmentX As Integer, alignmentY As Integer)
Parameters
- bitmapNumber
- Int32
The number to be assigned to this bitmap. Valid bitmap numbers are 1 through 100.
- fileName
- String
The file name or URL of the bitmap file. Various file formats may be supported, such as BMP, GIF, or JPEG. If fileName is set to an empty string (""), then the bitmap is unset.
- width
- Int32
The width of the bitmap to be displayed. See values here.
- alignmentX
- Int32
The horizontal placement of the bitmap. For possible values, see Remarks.
- alignmentY
- Int32
The vertical placement of the bitmap. For possible values, see Remarks.