tWebSize
See Also: tWebDrawingEventData, tWebDrawingResizetData, tWebPoint, Declaring Variables, Struct, Float
Purpose
tWebSize is a structured type that is used to represent information about the size of a shape used in the cWebDrawing class.
You can use the WHSize function to initialize a tWebSize struct.
Type Declaration
Struct tWebSize
Float fWidth
Float fHeight
End_Struct
Struct Members
- fWidth: The width of the shape.
- fHeight: The height of the shape.
Syntax
Use cWebDrawing.pkg
tWebSize {variableName}
Declaring Variables
To declare tWebSize variables, use the name of the type (tWebSize) followed by the variable name.
tWebSize MyShape
See struct variables for more details on instantiating struct types.