Copyright © 2003-2010 MultiMedia Soft

CellsManager.CellSetSize method

Previous pageReturn to chapter overviewNext page

Remarks

Modifies the current size for the cell identified by a UniqueID identifier.

For further details about cells management, see the How to manage cells section

 

 

Syntax

 

[Visual Basic]

Public Function CellsManager.CellSetSize(UniqueID as Short, size as System.Drawing.SizeF) as Bool

 

[C#]

public bool CellsManager.CellSetSize(short UniqueID, System.Drawing.SizeF size);

 

[C++]

public: bool CellsManager.CellSetSize(short UniqueID, System.Drawing.SizeF size);

 

Parameter

Description

 

 

UniqueID

Numerical value representing the cell's unique identifier.

size

Size structure whose Width field represents the new cell's width while the Height field represents the new cell's height. Both fields are expressed in the scale unit specified inside the CellsManager.ScaleUnit property.

 

 

Return value

 

 

Value

Meaning

 

 

False

The operation failed

True

The operation was successful