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

Represents flexible template value. More...

Inheritance diagram for iText.Layout.Properties.Grid.FlexValue:
iText.Layout.Properties.Grid.BreadthValue iText.Layout.Properties.Grid.GridValue iText.Layout.Properties.Grid.TemplateValue

Public Member Functions

  FlexValue (float value)
  Create new flexible value instance. More...
 
virtual float  GetFlex ()
  Gets fraction value. More...
 
- Public Member Functions inherited from iText.Layout.Properties.Grid.TemplateValue
virtual TemplateValue.ValueType  GetType ()
  Gets template value 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...
 
- 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...
 

Detailed Description

Represents flexible template value.

Constructor & Destructor Documentation

◆ FlexValue()

iText.Layout.Properties.Grid.FlexValue.FlexValue ( float  value )
inline

Create new flexible value instance.

Parameters
value fraction value

Member Function Documentation

◆ GetFlex()

virtual float iText.Layout.Properties.Grid.FlexValue.GetFlex ( )
inlinevirtual

Gets fraction value.

Returns
fraction value