PEGetSubreportInfo

Use PEGetSubreportInfo to retrieve information about the specified subreport.

C Syntax
BOOL CRPE_API PEGetSubreportInfo (
        short printJob,
        DWORD subreportHandle,
        PESubreportInfo FAR *subreportInfo );
Parameters

printJob

Specifies the primary report that contains the subreport about which you want to retrieve information.

subreportHandle

Specifies the handle of the subreport about which you want to retrieve information.

subreportInfo

Specifies a pointer to PESubreportInfo, which will be used for holding the information once it is retrieved.

Returns
VB Syntax

VB Sample Code for modifying Subreports

Declare Function PEGetSubreportInfo Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal subreportHandle As Long,
    subreportInfo As PESubreportInfo ) As Integer
Delphi Syntax

Delphi code for getting subreport information

function PEGetSubreportInfo (
    printJob: Word;
    subreportHandle: DWORD;
    var subreportInfo: PESubreportInfo
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com