CreatePortion()

IPortionFactory::CreatePortion() method

Creates an empty text portion.

virtual System::SharedPtr<IPortion> Aspose::Slides::IPortionFactory::CreatePortion()=0

Return Value

Portion.

IPortionFactory::CreatePortion(System::String) method

Creates a text portion from specified string.

virtual System::SharedPtr<IPortion> Aspose::Slides::IPortionFactory::CreatePortion(System::String str)=0

Arguments

ParameterTypeDescription
strSystem::StringString.

Return Value

Portion.

IPortionFactory::CreatePortion(System::SharedPtr<IPortion>) method

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

virtual System::SharedPtr<IPortion> Aspose::Slides::IPortionFactory::CreatePortion(System::SharedPtr<IPortion> portion)=0

Arguments

ParameterTypeDescription
portionSystem::SharedPtr<IPortion>A portion to use.

Return Value

Portion.

See Also