Aspose::Pdf::Facades::PdfFileEditor::AddMargins-metod
Innehåll
[
Dölj
]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)
| Parameter | Typ | Beskrivning |
|---|---|---|
| source | const System::SharedPtr<System::IO::Stream>& | Ström som innehåller källdokumentet. |
| destination | const System::SharedPtr<System::IO::Stream>& | Ström där det resulterande dokumentet kommer att sparas. |
| sidor | const System::ArrayPtr<int32_t>& | Array av sidindex. Om null bearbetas alla dokumentets sidor. |
| leftMargin | double | Vänster marginal. |
| rightMargin | double | Höger marginal. |
| topMargin | double | Övre marginal. |
| bottomMargin | double | Nedre marginal. |
ReturnValue
true om operationen lyckades.
Se även
- Typedef SharedPtr
- Class Stream
- Typedef ArrayPtr
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
| Parameter | Typ | Beskrivning |
|---|---|---|
| source | const System::String& | Sökväg till källdokumentet. |
| destination | const System::String& | Sökväg där det resulterande dokumentet kommer att sparas. |
| sidor | const System::ArrayPtr<int32_t>& | Array av sidindex. Om null bearbetas alla dokumentets sidor. |
| leftMargin | double | Vänster marginal. |
| rightMargin | double | Höger marginal. |
| topMargin | double | Övre marginal. |
| bottomMargin | double | Nedre marginal. |
ReturnValue
true om storleksändringen lyckades.
Se även
- Class String
- Typedef ArrayPtr
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++