StiTitlePadding Class

Namespace: Stimulsoft.Report.Dashboard

Describes the class that realizes object padding.

Inheritance

Implements: ICloneable, IStiJsonReportObject

Constructors

Constructor Description
constructor(number left, number top, number right, number bottom) Creates a new object of the type StiTitlePadding.

constructor(left: number, top: number, right: number, bottom: number)

Creates a new object of the type StiTitlePadding.

Parameters

  • left (number) — Left padding size on the object.
  • top (number) — Top padding size on the object.
  • right (number) — Right padding size on the object.
  • bottom (number) — Bottom padding size on the object.

Properties

Property Type Description
isEmpty boolean  

Methods

Method Returns Description
clone any Creates a new object that is a copy of the current instance.
create static StiTitlePadding Creates a new object of the type StiTitlePadding.
equals boolean Tests to see whether the specified object is a SizeD with the same dimensions as this SizeD.
loadFromJsonObject void  
loadFromXml void  
saveToJsonObject StiJson  

Method Details

clone

clone(): any

Creates a new object that is a copy of the current instance.

Returns any — A new object that is a copy of this instance.


create static

create(all: any): StiTitlePadding

Creates a new object of the type StiTitlePadding.

Parameters

  • all (any) — The padding size for all sides of the object.

Returns StiTitlePadding


equals

equals(obj: any): boolean

Tests to see whether the specified object is a SizeD with the same dimensions as this SizeD.

Parameters

  • obj (any) — The Object to test.

Returns boolean — This method returns true if obj is a SizeD and has the same width and height as this SizeD; otherwise, false.


loadFromJsonObject

loadFromJsonObject(jObject: StiJson): void

Parameters


loadFromXml

loadFromXml(xmlNode: XmlNode): void

Parameters


saveToJsonObject

saveToJsonObject(defLeft: any, defTop: any, defRight: any, defBotttom: any): StiJson

Parameters

  • defLeft (any)
  • defTop (any)
  • defRight (any)
  • defBotttom (any)

Returns StiJson

Fields

Field Type Description
bottom any Gets or sets bottom padding size on the object.
left any Gets or sets left padding size on the object.
right any Gets or sets right padding size on the object.
top any Gets or sets top padding size on the object.