Aspose::Pdf::PageCollection::Add metod

PageCollection::Add() method

Lägger till en tom sida. Om dokumentet redan innehåller sidor med olika storlekar väljs storleken på den mest förekommande sidan. Om det bara finns två olika sidor används storleken på den första sidan.

System::SharedPtr<Page> Aspose::Pdf::PageCollection::Add()

ReturnValue

Tillagd sida.

Se även

PageCollection::Add(const System::ArrayPtr<System::SharedPtr<Page>>&) method

Lägger till alla sidor från arrayen i samlingen.

void Aspose::Pdf::PageCollection::Add(const System::ArrayPtr<System::SharedPtr<Page>> &pages)
ParameterTypBeskrivning
sidorconst System::ArrayPtr<System::SharedPtr<Page>>&Array med sidor som kommer att läggas till.

Se även

PageCollection::Add(const System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Page>>>&) method

Lägger till alla sidor från listan i samlingen.

void Aspose::Pdf::PageCollection::Add(const System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Page>>> &pages)
ParameterTypBeskrivning
sidorconst System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Page>>>&Lista som innehåller alla sidor som måste läggas till.

Se även