CreatePortion

PortionFactory.CreatePortion method (1 of 3)

Creates an empty text portion.

public IPortion CreatePortion()

Return Value

Portion.

See Also


PortionFactory.CreatePortion method (2 of 3)

Creates a text portion from specified string.

public IPortion CreatePortion(string str)
Parameter Type Description
str String String.

Return Value

Portion.

See Also


PortionFactory.CreatePortion method (3 of 3)

Creates a portion with the using of a specified portion data.

public IPortion CreatePortion(IPortion portion)
Parameter Type Description
portion IPortion A portion to use.

Return Value

Portion.

See Also