Show / Hide Table of Contents

Class NSReportLabelLayoutEntity

Syntax

Constructors

NSReportLabelLayoutEntity()

Initializes a new instance of the NSReportLabelLayoutEntity class.

Declaration
NSReportLabelLayoutEntity

Methods

GetBottomMargin()

Declaration
Integer GetBottomMargin()
Returns
Type Description
Integer

Bottom margin in twips.

Examples
NSReportLabelLayoutEntity thing;
Integer bottomMargin = thing.GetBottomMargin();

GetCountColumns()

Declaration
Integer GetCountColumns()
Returns
Type Description
Integer

Number of columns.

Examples
NSReportLabelLayoutEntity thing;
Integer countColumns = thing.GetCountColumns();

GetCountRows()

Declaration
Integer GetCountRows()
Returns
Type Description
Integer

Number of rows.

Examples
NSReportLabelLayoutEntity thing;
Integer countRows = thing.GetCountRows();

GetDescription()

Declaration
String GetDescription()
Returns
Type Description
String

Description.

Examples
NSReportLabelLayoutEntity thing;
String description = thing.GetDescription();

GetLeftMargin()

Declaration
Integer GetLeftMargin()
Returns
Type Description
Integer

Left margin in twips.

Examples
NSReportLabelLayoutEntity thing;
Integer leftMargin = thing.GetLeftMargin();

GetName()

Declaration
String GetName()
Returns
Type Description
String

Name of the label layout.

Examples
NSReportLabelLayoutEntity thing;
String name = thing.GetName();

GetOrientation()

Declaration
Integer GetOrientation()
Returns
Type Description
Integer

Paper orientation 1=portrait, 2=landscape. See ReportPaperOrientation.

Examples
NSReportLabelLayoutEntity thing;
Integer orientation = thing.GetOrientation();

GetPaperHeight()

Declaration
Integer GetPaperHeight()
Returns
Type Description
Integer

Paper height in twips.

Examples
NSReportLabelLayoutEntity thing;
Integer paperHeight = thing.GetPaperHeight();

GetPaperWidth()

Declaration
Integer GetPaperWidth()
Returns
Type Description
Integer

Paper width in twips.

Examples
NSReportLabelLayoutEntity thing;
Integer paperWidth = thing.GetPaperWidth();

GetReportLabelLayoutId()

Declaration
Integer GetReportLabelLayoutId()
Returns
Type Description
Integer

Primary key.

Examples
NSReportLabelLayoutEntity thing;
Integer reportLabelLayoutId = thing.GetReportLabelLayoutId();

GetRightMargin()

Declaration
Integer GetRightMargin()
Returns
Type Description
Integer

Right margin in twips.

Examples
NSReportLabelLayoutEntity thing;
Integer rightMargin = thing.GetRightMargin();

GetTopMargin()

Declaration
Integer GetTopMargin()
Returns
Type Description
Integer

Top margin in twips.

Examples
NSReportLabelLayoutEntity thing;
Integer topMargin = thing.GetTopMargin();

SetBottomMargin(Integer)

Declaration
Void SetBottomMargin(Integer bottomMargin)
Parameters
Type Name Description
Integer bottomMargin

Bottom margin in twips.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
Integer bottomMargin;
thing.SetBottomMargin(bottomMargin);

SetCountColumns(Integer)

Declaration
Void SetCountColumns(Integer countColumns)
Parameters
Type Name Description
Integer countColumns

Number og columns.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
Integer countColumns;
thing.SetCountColumns(countColumns);

SetCountRows(Integer)

Declaration
Void SetCountRows(Integer countRows)
Parameters
Type Name Description
Integer countRows

Number of rows.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
Integer countRows;
thing.SetCountRows(countRows);

SetDescription(String)

Declaration
Void SetDescription(String description)
Parameters
Type Name Description
String description

Description.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
String description;
thing.SetDescription(description);

SetLeftMargin(Integer)

Declaration
Void SetLeftMargin(Integer leftMargin)
Parameters
Type Name Description
Integer leftMargin

Left margin in twips.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
Integer leftMargin;
thing.SetLeftMargin(leftMargin);

SetName(String)

Declaration
Void SetName(String name)
Parameters
Type Name Description
String name

Name of the label layout.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
String name;
thing.SetName(name);

SetOrientation(Integer)

Declaration
Void SetOrientation(Integer orientation)
Parameters
Type Name Description
Integer orientation

Paper orientation. 1=portrait, 2=landscape. See ReportPaperOrientation.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
Integer orientation;
thing.SetOrientation(orientation);

SetPaperHeight(Integer)

Declaration
Void SetPaperHeight(Integer paperHeight)
Parameters
Type Name Description
Integer paperHeight

Paper height in twips.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
Integer paperHeight;
thing.SetPaperHeight(paperHeight);

SetPaperWidth(Integer)

Declaration
Void SetPaperWidth(Integer paperWidth)
Parameters
Type Name Description
Integer paperWidth

Paper width in twips.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
Integer paperWidth;
thing.SetPaperWidth(paperWidth);

SetReportLabelLayoutId(Integer)

Declaration
Void SetReportLabelLayoutId(Integer reportLabelLayoutId)
Parameters
Type Name Description
Integer reportLabelLayoutId

Primary key.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
Integer reportLabelLayoutId;
thing.SetReportLabelLayoutId(reportLabelLayoutId);

SetRightMargin(Integer)

Declaration
Void SetRightMargin(Integer rightMargin)
Parameters
Type Name Description
Integer rightMargin

Right margin in twips.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
Integer rightMargin;
thing.SetRightMargin(rightMargin);

SetTopMargin(Integer)

Declaration
Void SetTopMargin(Integer topMargin)
Parameters
Type Name Description
Integer topMargin

Top margin in twips.

Returns
Type Description
Void
Examples
NSReportLabelLayoutEntity thing;
Integer topMargin;
thing.SetTopMargin(topMargin);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top