📚 SAP Business One SDK Help

ReportLayout Object Members
See Also  Overview 

Public Methods

Public Method FromXMLFileSets the object's properties using data from an XML file.

The XML file can be created using the object's ToXMLFile method.

Public Method FromXMLStringSets the object's properties using data from an XML string.

The XML string can be created using the object's ToXMLString method.

Public Method GetXMLSchemaRetrieves the XML schema of the data structure.

Returns the XML schema for the XML generated by the ToXMLFile and ToXMLString methods.

Public Method ToXMLFileCreates an XML file that represents the object data.

Creates an XML file that represents the object.

Public Method ToXMLStringCreates an XML string that represents the object data.

Creates and returns an XML string that represents the object.

Public Properties

Public Property AllignFooterToBottomDetermines whether or not to align layout report footer to page bottom.

Field name: AlgnFooter.

Public Property AuthorSets or returns the name of layout report Author.

Field name: Author.

Length: 32 characters.

Public Property B1VersionThe SAP Business One release number.

Field name: B1Version

Public Property BottomMarginSets or returns the size of the Bottom Margin of the layout Report.

Field name: BMargin.

Public Property CategoryIndicates whether the report layout is a PLD or Crystal Reports layout.

Field name: Category

Public Property ChangeFontSizeForEMailSets or returns Font Size for email.

Field name: EmFOffset.

Public Property ChangeFontSizeInPreviewSets or returns Font Size for layout Preview printing.

Field name: ScrFOffset.

Public Property ConvertFontForEMailDetermines whether or not to convert font type for email.

Field name: SwpInEmail.

Public Property ConvertFontInPrintPreviewDetermines whether or not to convert font type for Print Preview.

Field name: SwapOnScrn.

Public Property CRVersionThe Crystal Reports release number.

Field name: CRVersion

Public Property EditableDetermines whether or not current report is editable.

Field name: CanChange.

Public Property EMailFontSets or returns the font type currently used for email.

Field name: EmailFont.

Length: 50 characters.

Public Property ExtensionErrorActionSets or returns current definition of the action to be taken upon printer extension error.

Field name: ExtOnErr.

Public Property ExtensionNameSets or returns current printer extension name.

Field name: ExtName.

Length: 16 characters.

Public Property FollowUpReportSets or returns Follow-Up Report.

Field name: FollowCode.

Public Property ForeignLanguageReportDetermines whether or not to use Foreign Language Report.

Field name: FrgnReport.

FrgnReport
Public Property GridSizeSets or returns the vertical distance between two Grid points.

Field name: GridSize.

Public Property GridTypeSets or returns a valid value that determines the grid lines type in the reports layout: dots, or lines, or combination of dots and lines.

Field name: GridType.

Public Property HeightSets or returns document hight.

Field name: Height.

Public Property ImpExpObjCodeSets or returns the ImpExpObjCode value for the printer.

Field name: RobjCode.

Public Property languageSets or returns the current printer language value.

Field name: Language.

Public Property LayoutCodeThe key of the report layout.

Field name: DocCode

Public Property LeaderReportSets or returns the Leader Report value for the printer.

Field name: LeaderCode.

Length: 8 characters.

Public Property LeftMarginSets or returns the LMargin value of the report layout.

Field name: LMargin.

Public Property LocalizationThe localization assigned to the layout. 

Field name: Local

Public Property NameSets or returns the Document's Name value.

Field name: DocName

Public Property NumberOfCopiesThe number of printed copies.

Field name: NumCopy

Public Property OrientationDetermines the printer's orintation (Vertical or Horizontal).

Field name: Oreint.

Public Property PaperSizeSets or returns printer's Paper Size.

Field name: PaperSize.

Length: 100 characters.

Public Property PictureSets or returns a string that defines the path and name of the picture.

Field name: Picture.

Length: 16 characters.

Public Property PreviewPrintingFontSets or returns the name of the selected font to be Previewed upon screen.Length: 50 characters.

Field name: ScreenFont.

Public Property PrinterThe printer assigned to the layout.

Field name: Printer.

Public Property PrinterFirstPageThe printer for the first page of a layout.

Field name: Prtr1st

Public Property QuerySets or returns query text.

Field name: QString.

Length: 16 characters.

Public Property QueryTypeSets or returns a valid value that determines wether Query type is Wizard or Regular.

Length: 1 character.

Field name: QType.

Public Property RemarksSet or returns the the content of the remark used by the remark property of the printer.

Field name: Notes.

Length 254 characters.

Public Property RepetitiveAreasNumberSet or returns the number of Repetitive Areas property.

Field name: NumRepArs.

Public Property ReportLayoutItemsSet or returns the ReportLayoutItems Object.
Public Property RightMarginSets or returns the RMargin value of the report layout.

Field name: RMargin.

Public Property ShowGridDetermines whether to display or hide a grid in the report layout.

Field name: ShowGrid.

Public Property SnapToGridDetermines whether or not to use the printer grid alignment property for current report.

Field name: SnapGrid.

Public Property SortableDetermines whether or not to use the printer Sortable property for current report.

Field name: CanSort.

Public Property TopMarginSets or returns the TMargin value of the report layout.

Field name: TMargin.

Public Property TranslationLinesproperty TranslationLines
Public Property TypeCodeSets or returns the TypeCode property of the printer.

Field name: TypeCode.

Length 4 characters.

This is a foreign key to the RTYP table.

Public Property TypeDetailproperty TypeDetail
Public Property UseFirstPrinterIndicates whether to use the first printer.

Field name: Use1stPrtr

Public Property WidthSets or returns document width.

Field name: TypeCode.

See Also