AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de reportes y controles asociados
  • Physical margin/Logical margin
  • Limit
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The RightMargin property is used to:
  • Find out the right margin of a report.
  • Modify the right margin of a report.
Caution: The right margin of a report can only be modified in the report "Opening" event.
Remark: The different margins of a report are defined in the format of the page ("Layout" in the context menu of the report).
Example
// Modify the right margin of "RPT_Customer" report
RPT_Customer.RightMargin = 25
Syntax

Finding out the right margin of a report Hide the details

<Result> = <Report used>.RightMargin
<Result>: Real
Right margin (in millimeters) of the specified report.
<Report used>: Report name
Name of the report to be used.

Modifying the right margin of a report Hide the details

<Report used>.RightMargin = <New right margin>
<Report used>: Report name
Name of the report to be used.
<New right margin>: Real
New right margin (in millimeters) for the specified report.
Remarks

Physical margin/Logical margin

Each printer includes a physical margin where no print is allowed. The BottomMargin, RightMargin, LeftMargin and TopMargin properties are used to define "logical" print margins.
  • If the physical margin is greater than the logical margin: The logical margin is ignored. The report will be compressed in order to be printed on a single page. To prevent report compression, select "Print the report as it is" in the report description window ("Options" tab).
  • If the physical margin is less than the logical margin: The logical margin is taken into account. The physical margin is ignored.
iEndPrinting cancels the margins.

Limit

The RightMargin property applies only to reports.
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local