Determines whether none of the margins are set (whether the values are all zero).
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable ReadOnly Property IsEmpty As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Inset
Dim value As Boolean
value = instance.IsEmpty |
C# | |
---|
public virtual bool IsEmpty {get;} |
Property Value
true if empty;
false otherwise
Remarks
Example
This example returns whether the inset is empty.
C# | Copy Code |
---|
FarPoint.Web.Spread.Inset inset = new FarPoint.Web.Spread.Inset();
inset.Left = 35;
inset.Top = 5;
inset.Right = 5;
inset.Bottom = 35;
FpSpread1.ActiveSheetView.Cells(0, 0).Margin = inset;
bool b;
b = inset.IsEmpty();
Response.Write(b.ToString());
|
Visual Basic | Copy Code |
---|
Dim inset As New FarPoint.Web.Spread.Inset
inset.Left = 35
inset.Top = 5
inset.Right = 5
inset.Bottom = 35
FpSpread1.ActiveSheetView.Cells(0, 0).Margin = inset
Dim b As Boolean
b = inset.IsEmpty()
Response.Write(b.ToString()) |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also