RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Types.tagSIZE Record

tagSIZE is a record holding width and height values.

Pascal
tagSIZE = packed record
  cx: Longint;
  cy: Longint;
end;
C++
struct tagSIZE {
  Longint cx;
  Longint cy;
};

Types

The SIZE equates to a TSize type, which in turn equates to a tagSIZE record.  

tagSIZE holds the width (cx) and height (cy) of something, typically in pixels. For example, TextExtent returns the width and height, in pixels, of a string rendered in the current font. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!