Version

TextFrameHeight Structure

Represents the height of a text frame.
Syntax
'Declaration
 
Public Structure TextFrameHeight 
   Inherits System.ValueType
public struct TextFrameHeight : System.ValueType 
Remarks

Note: a type converter is supplied to allow this structure to be specified in xaml. Here are some sample values, in quotes, along with corresponding c# code examples:

  • "auto" - new TextFrameHeight(null, ExtentRule.Auto)
  • "12.5" - new TextFrameHeight(new Extent(12.5, ExtentUnitType.Points), ExtentRule.Exact)
  • "20.5px" - new TextFrameHeight(new Extent(20.5, ExtentUnitType.LogicalPixels), ExtentRule.Exact)
  • "atleast 12.5" - new TextFrameHeight(new Extent(12.5, ExtentUnitType.Points), ExtentRule.AtLeast)
  • "atleast 20.5px" - new TextFrameHeight(new Extent(20.5, ExtentUnitType.LogicalPixels), ExtentRule.AtLeast)

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also