2.2.4.46.4 Worksheet::AutoSize

Description

Autosizing worksheet

Syntax

BOOL AutoSize( BOOL bUndo = false, DWORD dwCntrl = AS_INVALIDATE )

Parameters

bUndo
[input] Indicates if the operation needs to support undo (TRUE for supporting)
dwCntrl
[input] to control if resize row height only, or column width etc, see AS_NOWIDTH enum
AS_SELECTION : resize selection only
AS_NOWIDTH : no resize width
AS_NOHEIGHT : no resize height
AS_INVALIDATE : invalidate to redraw

Return

TRUE on success, FALSE on failure.

Examples

Remark

See Also

Worksheet::AutoSizeRow
OriginObject::AutoSize

Header to Include

origin.h