Visual Basic (Declaration) | |
---|---|
Public Property LineSpacingType As LineSpacingType |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As FlowDocument Dim value As LineSpacingType instance.LineSpacingType = value value = instance.LineSpacingType |
C# | |
---|---|
public LineSpacingType LineSpacingType {get; set;} |
Delphi | |
---|---|
public read-write property LineSpacingType: LineSpacingType; |
JScript | |
---|---|
public function get,set LineSpacingType : LineSpacingType |
Managed Extensions for C++ | |
---|---|
public: __property LineSpacingType get_LineSpacingType(); public: __property void set_LineSpacingType( LineSpacingType value ); |
C++/CLI | |
---|---|
public: property LineSpacingType LineSpacingType { LineSpacingType get(); void set ( LineSpacingType value); } |
You can use LineSpacingType and LineSpacing properties to specify spacing between lines in FlowDocument elements. The following are the options of LineSpacingType property:
- Single
When this option is selected, there will be no spacing between the lines. - OneAndHalfLines
When this option is selected, the spacing between lines will be half of the line height. - Double
When this option is selected, the spacing between lines will be the same as the line height. - AtLeast
When this option is selected, the line height will at least be the same with the value of LineSpacing property. For example, if LineSpacing is set to 25, the line height will at least be 25 pixel. The line height can be a larger value than 25 pixel. - Exactly
When this option is selected, the line height will exactly be the same as the value of LineSpacing property. For example, if the LineSpacing is set to 25, the line height will be exactly 25 pixel. If the line height is larger than 25 pixel, the content will be clipped. - Multiple
When this option is selected, the line height will use the value of LineSpacing property multiplied by 2. For example, if the LineSpacing is set to 25, the line height will be 50 pixel.
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