combit List & Label 30 - .NET Help
combit.Reporting Namespace / LlCore Class / LlDefineFieldExtHandle Method

name of the field

handle to an object of type HMETAFILE, HENHMETAFILE (32 bit), HICON or HBITMAP

LL_DRAWING_HMETA, LL_DRAWING_HEMETA (32 bit), LL_DRAWING_HICON or LL_DRAWING_HBITMAP



LlDefineFieldExtHandle Method

Defines a list field and its (handle) contents.

You should avoid using this function directly - the Fields property offers you a much more powerful way to add data.

Syntax
'Declaration
 
Public Sub LlDefineFieldExtHandle( _
   ByVal name As String, _
   ByVal value As IntPtr, _
   ByVal lPara As LlFieldType _
) 
 

Parameters

name

name of the field

value

handle to an object of type HMETAFILE, HENHMETAFILE (32 bit), HICON or HBITMAP

lPara

LL_DRAWING_HMETA, LL_DRAWING_HEMETA (32 bit), LL_DRAWING_HICON or LL_DRAWING_HBITMAP

Remarks

Mind the general hints in the section .Variables and Fields in List & Label. This function defines a text field and can be mixed with the other LlDefineField...() functions. List & Label predefines the fields listed in LlDefineField(). The metafile handle must be valid as long as it is needed, that is during the whole layout definition or until after LlPrintFields() respectively LlPrint() has finished. After usage the handle can or should be deleted with the normal API function.

Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also