combit List & Label 25 - .NET Online Web Help
LlStgsysGetPageMetafile Method


combit.ListLabel25 Namespace > LlCore Class : LlStgsysGetPageMetafile Method

The handle returned by LlStgsysStorageOpen

Page index (1..LlStgsysGetPageCount)

Returns a enhanced metafile handle that can be used to display or print page data. 

You should avoid calling this API directly. The PreviewFile Class offers you a much more powerful way to work with preview files.

Syntax
'Declaration
 
Public Shared Function LlStgsysGetPageMetafile( _
   ByVal hStg As IntPtr, _
   ByVal pageIndex As Integer _
) As Integer
public static int LlStgsysGetPageMetafile( 
   IntPtr hStg,
   int pageIndex
)
public:
static int LlStgsysGetPageMetafile( 
   IntPtr hStg,
   int pageIndex
) 

Parameters

hStg

The handle returned by LlStgsysStorageOpen

pageIndex

Page index (1..LlStgsysGetPageCount)

Remarks

If the storage has been created with a 16 bit program, the function returns null. In this case, the application can request the handle via LlStgsysGetPageMetafile16. The handle needs to be released using LlStgsysDestroyMetafile.

Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

LlCore Class
LlCore Members