XLL+ Class Library

CXlMacros::RowHeight

Changes the height of the rows in a reference

[C++]
static int RowHeight(
   double height_num,
   const CXlOper& reference = CXlOper::MissingArg(),
   bool standard = false,
   unsigned short type_num = 0
);

Parameters

height_num

Height_num specifies how high you want the rows to be in points.

reference

Reference specifies the rows for which you want to change the width.

standard

Standard is a logical value that sets the row height as determined by the font in each row.

type_num

Type_num is a number from 1 to 3 corresponding to the Hide, Unhide, or AutoFit Selection commands. Zero is treated as a missing argument.

Return value

Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods