Aspose::Pdf::Facades::PdfFileEditor::AddMarginsPct-metod

PdfFileEditor::AddMarginsPct(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, const System::ArrayPtr<int32_t>&, double, double, double, double) method

Ändrar storlek på sidinnehållet och lägger till specificerade marginaler. Marginalerna anges i procent av den ursprungliga sidstorleken.

bool Aspose::Pdf::Facades::PdfFileEditor::AddMarginsPct(const System::SharedPtr<System::IO::Stream> &source, const System::SharedPtr<System::IO::Stream> &destination, const System::ArrayPtr<int32_t> &pages, double leftMargin, double rightMargin, double topMargin, double bottomMargin)
ParameterTypBeskrivning
sourceconst System::SharedPtr<System::IO::Stream>&Ström som innehåller källdokumentet.
destinationconst System::SharedPtr<System::IO::Stream>&Ström där det resulterande dokumentet kommer att sparas.
sidorconst System::ArrayPtr<int32_t>&Array av sidindex. Om null bearbetas alla dokumentets sidor.
leftMargindoubleLeft marginal i procent av ursprunglig sidstorlek.
rightMargindoubleRight marginal i procent av ursprunglig sidstorlek.
topMargindoubleÖvre marginal i procent av ursprunglig sidstorlek.
bottomMargindoubleNedre marginal i procent av ursprunglig sidstorlek.

ReturnValue

true om åtgärden utfördes framgångsrikt.

Se även

PdfFileEditor::AddMarginsPct(const System::String&, const System::String&, const System::ArrayPtr<int32_t>&, double, double, double, double) method

Ändrar storlek på sidinnehållet och lägger till specificerade marginaler. Marginalerna anges i procent av den ursprungliga sidstorleken.

bool Aspose::Pdf::Facades::PdfFileEditor::AddMarginsPct(const System::String &source, const System::String &destination, const System::ArrayPtr<int32_t> &pages, double leftMargin, double rightMargin, double topMargin, double bottomMargin)
ParameterTypBeskrivning
sourceconst System::String&Sökväg till källdokumentet.
destinationconst System::String&Sökväg där det resulterande dokumentet kommer att sparas.
sidorconst System::ArrayPtr<int32_t>&Array av sidindex. Om null bearbetas alla dokumentets sidor.
leftMargindoubleLeft marginal i procent av ursprunglig sidstorlek.
rightMargindoubleRight marginal i procent av ursprunglig sidstorlek.
topMargindoubleÖvre marginal i procent av ursprunglig sidstorlek.
bottomMargindoubleNedre marginal i procent av ursprunglig sidstorlek.

ReturnValue

true om storleksändring lyckades

Se även