CreatePortion()

PortionFactory::CreatePortion() method

Creates an empty text portion.

System::SharedPtr<IPortion> Aspose::Slides::PortionFactory::CreatePortion() override

Return Value

Portion.

PortionFactory::CreatePortion(System::String) method

Creates a text portion from specified string.

System::SharedPtr<IPortion> Aspose::Slides::PortionFactory::CreatePortion(System::String str) override

Arguments

ParameterTypeDescription
strSystem::StringString.

Return Value

Portion.

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

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

System::SharedPtr<IPortion> Aspose::Slides::PortionFactory::CreatePortion(System::SharedPtr<IPortion> portion) override

Arguments

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

Return Value

Portion.

See Also