Show contents 

Report > Report Assembly Interfaces > IPrxSheetHeaderPart > IPrxSheetHeaderPart.Disposition

IPrxSheetHeaderPart.Disposition

Syntax

Disposition: PrxSheetHeaderPartDisposition;

Description

The Disposition property returns method of positioning of a part of the title or header and footer.

Example

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Report: IPrxReport;
    Header: IPrxSheetHeaderBase;
    Left: IPrxSheetHeaderPart;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("REPORT").Edit;
    Report := MObj As IPrxReport;
    Header := Report.Title As IPrxSheetHeaderBase;
    Left := Header.Left;
    i := Left.Disposition As Integer;
    MObj.Save;
End Sub UserProc;

After executing the example the "i" variable contains the type of the title part converted into an integer. The identifier of the regular report - Report.

See also:

IPrxSheetHeaderPart