Aspose::Pdf::Text::TextFragmentAbsorber::ApplyForAllFragments method

TextFragmentAbsorber::ApplyForAllFragments(const System::SharedPtr<Font>&) method

Applies font for all text fragments that were absorbed. It works faster than looping through the fragments if all fragments on the page(s) were absorbed. Otherwise it works similar with looping.

void Aspose::Pdf::Text::TextFragmentAbsorber::ApplyForAllFragments(const System::SharedPtr<Font> &font)
ParameterTypeDescription
fontconst System::SharedPtr<Font>&Fontof the text.

See Also

TextFragmentAbsorber::ApplyForAllFragments(const System::SharedPtr<Font>&, float) method

Applies font and size for all text fragments that were absorbed. It works faster than looping through the fragments if all fragments on the page(s) were absorbed. Otherwise it works similar with looping.

void Aspose::Pdf::Text::TextFragmentAbsorber::ApplyForAllFragments(const System::SharedPtr<Font> &font, float fontSize)
ParameterTypeDescription
fontconst System::SharedPtr<Font>&Fontof the text.
fontSizefloatFont size of the text.

See Also

TextFragmentAbsorber::ApplyForAllFragments(float) method

Applies font size for all text fragments that were absorbed. It works faster than looping through the fragments if all fragments on the page(s) were absorbed. Otherwise it works similar with looping.

void Aspose::Pdf::Text::TextFragmentAbsorber::ApplyForAllFragments(float fontSize)
ParameterTypeDescription
fontSizefloatFont size of the text.

See Also