Aspose::Pdf::Facades::PdfFileEditor::AddMargins-metod

PdfFileEditor::AddMargins(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 angivna marginaler. Marginalerna anges i standardenhetsmått.

bool Aspose::Pdf::Facades::PdfFileEditor::AddMargins(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.
leftMargindoubleVänster marginal.
rightMargindoubleHöger marginal.
topMargindoubleÖvre marginal.
bottomMargindoubleNedre marginal.

ReturnValue

true om operationen lyckades.

Se även

PdfFileEditor::AddMargins(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 angivna marginaler. Marginalerna anges i standardenhetsmått.

bool Aspose::Pdf::Facades::PdfFileEditor::AddMargins(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.
leftMargindoubleVänster marginal.
rightMargindoubleHöger marginal.
topMargindoubleÖvre marginal.
bottomMargindoubleNedre marginal.

ReturnValue

true om storleksändringen lyckades.

Se även