iText 8.0.5 API
iText.Layout.Properties.Grid.LengthValue Class Reference

Abstract class representing length value on a grid. More...

Inheritance diagram for iText.Layout.Properties.Grid.LengthValue:
iText.Layout.Properties.Grid.BreadthValue iText.Layout.Properties.Grid.GridValue iText.Layout.Properties.Grid.TemplateValue iText.Layout.Properties.Grid.PercentValue iText.Layout.Properties.Grid.PointValue

Public Member Functions

virtual float  GetValue ()
  Gets length value. More...
 
- Public Member Functions inherited from iText.Layout.Properties.Grid.TemplateValue
virtual TemplateValue.ValueType  GetType ()
  Gets template value type. More...
 

Package Functions

  LengthValue (TemplateValue.ValueType type, float value)
  Init a breadth value with a given type and value. More...
 
- Package Functions inherited from iText.Layout.Properties.Grid.BreadthValue
  BreadthValue (TemplateValue.ValueType type)
  Init a breadth value with a given type More...
 
- Package Functions inherited from iText.Layout.Properties.Grid.GridValue
  GridValue (TemplateValue.ValueType type)
  Create grid value with a given type. More...
 
- Package Functions inherited from iText.Layout.Properties.Grid.TemplateValue
  TemplateValue (TemplateValue.ValueType type)
  Creates template value with a given type. More...
 

Package Attributes

float  value
 
- Package Attributes inherited from iText.Layout.Properties.Grid.TemplateValue
readonly TemplateValue.ValueType  type
  Template value type. More...
 

Additional Inherited Members

- Public Types inherited from iText.Layout.Properties.Grid.TemplateValue
enum   ValueType {
  ValueType.POINT, ValueType.PERCENT, ValueType.AUTO, ValueType.MIN_CONTENT,
  ValueType.MAX_CONTENT, ValueType.FIT_CONTENT, ValueType.MINMAX, ValueType.FLEX,
  ValueType.FIXED_REPEAT, ValueType.AUTO_REPEAT
}
  Enum of sizing value types. More...
 

Detailed Description

Abstract class representing length value on a grid.

Constructor & Destructor Documentation

◆ LengthValue()

iText.Layout.Properties.Grid.LengthValue.LengthValue ( TemplateValue.ValueType  type,
float  value 
)
inlinepackage

Init a breadth value with a given type and value.

Parameters
type value type
value length value

Member Function Documentation

◆ GetValue()

virtual float iText.Layout.Properties.Grid.LengthValue.GetValue ( )
inlinevirtual

Gets length value.

Returns
length value