com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class PortionFactory

  • java.lang.Object
    • com.aspose.slides.PortionFactory
  • All Implemented Interfaces:
    IPortionFactory


    public class PortionFactory
    extends java.lang.Object
    implements IPortionFactory

    Allows to create test portions


    For COM comparibility
    • Constructor Detail

      • PortionFactory

        public PortionFactory()
    • Method Detail

      • createPortion

        public final IPortion createPortion(java.lang.String str)

        Creates a text portion from specified string.

        Specified by:
        createPortion in interface IPortionFactory
        Parameters:
        str - String.
        Returns:
        Portion.
      • createPortion

        public final IPortion createPortion(IPortion portion)

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

        Specified by:
        createPortion in interface IPortionFactory
        Parameters:
        portion - A portion to use.
        Returns:
        Portion.