Intersoft ClientUI Documentation
Block Class
Members  See Also  Send Feedback
Intersoft.Client.Documents Namespace : Block Class






An abstract class that provides a base for all block-level content elements.

Object Model

Block Class

Syntax

Visual Basic (Declaration) 
Public MustInherit Class Block 
   Inherits TextElement
Visual Basic (Usage)Copy Code
Dim instance As Block
C# 
public abstract class Block : TextElement 
Delphi 
public class Block = class(TextElement)abstract; 
JScript 
public abstract class Block extends TextElement
Managed Extensions for C++ 
public __gc abstract class Block : public TextElement 
C++/CLI 
public ref class Block abstract : public TextElement 

Remarks

All elements that inherit from Block, will have the following configuration:

  • Border
    You can specify border decoration in block elements. You can specify different border configuration to the top, right, bottom, and left part of the border. You can also specify the background color and corner radius. For further information, see Configuring Border Formatting.
  • Line spacing
    You can specify the spacing between lines in block element using LineSpacingType and LineSpacing properties. For further information, see Configuring Line Spacing Formatting.
  • Margin
    You can specify the margin of block element using Margin property.
  • Padding
    You can specify the padding of block element using Padding property.
  • Text alignment
    You can specify the text alignment applied to block element using TextAlignment property. The available text alignment options are Left, Center, Right, and Justify.
  • Spacing before and after
    You can specify the spacing before and after the block element using SpacingBefore and SpacingAfter properties.

Elements that inherit from Block are Section, Paragraph, List, BlockUIContainer, and Table.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      Intersoft.Client.Documents.TextElement
         Intersoft.Client.Documents.Block
            Intersoft.Client.Documents.BlockUIContainer
            Intersoft.Client.Documents.List
            Intersoft.Client.Documents.Paragraph
            Intersoft.Client.Documents.Section
            Intersoft.Client.Documents.Table

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.