Class Block
Class for containing elements used for drawing (Text elements or BaseElements). One object represents one line.
Inheritance
System.Object
Block
Implements
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
public sealed class Block : IEnumerable
Properties
Bounds
Gets the bounds of the block.
Declaration
public Rectangle Bounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
IsMain
Gets or sets a value indicating whether the block is main for its owner element which has a block structure.
Declaration
public bool IsMain { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
Only elements with block structure have main block containing whole element. Inline elements do not have main blocks.
Methods
GetEnumerator()
Returns the enumerator for this object.
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | Enumerator object. |
Implements
System.Collections.IEnumerable