combit List & Label 24 - .NET Online Web Help
LlDefineFieldExtHandle Method


combit.ListLabel24 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

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 _
) 
public void LlDefineFieldExtHandle( 
   string name,
   IntPtr value,
   LlFieldType lPara
)
public:
void LlDefineFieldExtHandle( 
   String^ name,
   IntPtr value,
   LlFieldType lPara
) 

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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

LlCore Class
LlCore Members