Click or drag to resize

CommonCreateLabeledBitmap Method (Bitmap, String, Int32, Int32, Int32, Int32)

Create bitmap with text in the top-left corner.

Namespace:  MediaCy.Controls.Common.Vb
Assembly:  MediaCy.Controls.Common.Vb (in MediaCy.Controls.Common.Vb.dll) Version: 3.1.0.0
Syntax
VB
Public Shared Function CreateLabeledBitmap ( 
	Image As Bitmap,
	txt As String,
	Optional newWidth As Integer = 0,
	Optional newHeight As Integer = 0,
	Optional PaddingHorizontal As Integer = 0,
	Optional PaddingVertical As Integer = 0
) As Bitmap

Parameters

Image
Type: System.DrawingBitmap
txt
Type: SystemString
newWidth (Optional)
Type: SystemInt32
newHeight (Optional)
Type: SystemInt32
PaddingHorizontal (Optional)
Type: SystemInt32
PaddingVertical (Optional)
Type: SystemInt32

Return Value

Type: Bitmap
Remarks