Table of Contents

Class InlineVerticalAlignment

Namespace
iText.Layout.Properties
Assembly
itext.layout.dll

A property corresponding to the css vertical-align property and used to set vertical alignment on inline blocks, it specifies the type of alignment and where needed a numerical value to complete it.

public class InlineVerticalAlignment
Inheritance
InlineVerticalAlignment
Inherited Members

Constructors

InlineVerticalAlignment()

Creates a default InlineVerticalAlignment, it gets the type .

public InlineVerticalAlignment()

InlineVerticalAlignment(InlineVerticalAlignmentType?)

Creates an InlineVerticalAlignment with a specified type.

public InlineVerticalAlignment(InlineVerticalAlignmentType? type)

Parameters

type InlineVerticalAlignmentType?

InlineVerticalAlignment(InlineVerticalAlignmentType?, float)

Creates an InlineVerticalAlignment with a specified type and a value.

public InlineVerticalAlignment(InlineVerticalAlignmentType? type, float value)

Parameters

type InlineVerticalAlignmentType?

value float

In the case of a lenth in pts, in case of a multiplier value.

Remarks

Creates an InlineVerticalAlignment with a specified type and a value. This will throw a PdfException when used with a type that does not require a value.

Methods

GetType()

Gets the type of InlineVerticalAlignment.

public virtual InlineVerticalAlignmentType? GetType()

Returns

InlineVerticalAlignmentType?

the type

GetValue()

Gets the value.

public virtual float GetValue()

Returns

float

value In the case of a lenth in pts, in case of a multiplier value.

SetType(InlineVerticalAlignmentType?)

Sets the type .

public virtual void SetType(InlineVerticalAlignmentType? type)

Parameters

type InlineVerticalAlignmentType?

SetValue(float)

Sets the value.

public virtual void SetValue(float value)

Parameters

value float

In the case of a lenth in pts, in case of a multiplier value.