Skip to content

tWebDrawingResizetData

See Also: tWebDrawingEventData, tWebPoint, tWebSize, Declaring Variables, Struct, Float

Purpose

tWebDrawingResizetData is a structured type that is used to represent information about a resize event in the cWebDrawing class.

Type Declaration

Struct tWebDrawingResizetData
    Float fViewWidth
    Float fViewHeight
End_Struct

Struct Members

  • fViewWidth
    The current width of the canvas.

  • fViewHeight
    The current height of the canvas.

Syntax

Use cWebDrawing.pkg

tWebDrawingResizetData {variableName}

Declaring Variables

To declare tWebDrawingResizetData variables, use the name of the type (tWebDrawingResizetData) followed by the variable name.

tWebDrawingResizetData MyResizeData

See struct variables for more details on instantiating struct types.