Hierarchy

  • StiWatermark

Implements

Index

Constructors

constructor

  • new StiWatermark(textBrush?: StiBrush, text?: string, angle?: number, font?: Font, showBehind?: boolean, enabled?: boolean, aspectRatio?: boolean, rightToLeft?: boolean): StiWatermark
  • Parameters

    • Default value textBrush: StiBrush = null
    • Default value text: string = ""
    • Default value angle: number = 45
    • Default value font: Font = null
    • Default value showBehind: boolean = false
    • Default value enabled: boolean = true
    • Default value aspectRatio: boolean = false
    • Default value rightToLeft: boolean = false

    Returns StiWatermark

Properties

Protected _hash

_hash: StiMeta[]

angle

angle: number = 45

aspectRatio

aspectRatio: boolean = false

enabled

enabled: boolean = true

enabledExpression

enabledExpression: string = ""

font

font: Font = new Font("Arial", 100)

imageAlignment

imageAlignment: ContentAlignment = ContentAlignment.MiddleCenter

imageMultipleFactor

imageMultipleFactor: number = 1

imageStretch

imageStretch: boolean = false

imageTiling

imageTiling: boolean = false

rightToLeft

rightToLeft: boolean = false

showBehind

showBehind: boolean = false

showImageBehind

showImageBehind: boolean = true

text

text: string = ""

textBrush

textBrush: StiBrush = new StiSolidBrush(Color.fromArgb(50, 0, 0, 0))

Accessors

image

  • get image(): Image
  • set image(value: Image): void
  • Returns Image

  • Parameters

    Returns void

imageHyperlink

  • get imageHyperlink(): string
  • set imageHyperlink(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

imageTransparency

  • get imageTransparency(): number
  • set imageTransparency(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

Methods

clone

getImage

  • getImage(report: StiReport): Image
  • Parameters

    • report: StiReport

    Returns Image

implements

  • implements(): any[]
  • Returns any[]

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson): void

loadFromXml

  • loadFromXml(xmlNode: XmlNode): void
  • Parameters

    Returns void

meta

resetImage

  • resetImage(): void
  • Returns void

saveToJsonObject

Generated using TypeDoc