Aspose::Pdf::Facades::PdfFileEditor::ContentsResizeParameters::MarginsPercent method

ContentsResizeParameters::MarginsPercent method

Creates resize parameters. Margins are specified in percents of initial page size.

static System::SharedPtr<PdfFileEditor::ContentsResizeParameters> Aspose::Pdf::Facades::PdfFileEditor::ContentsResizeParameters::MarginsPercent(double left, double right, double top, double bottom)
ParameterTypeDescription
leftdoubleLeft margin (in percents of page width).
rightdoubleRight margin (in percents of page height).
topdoubleTop margin (in percents of page height).
bottomdoubleBottom margin (in percents of page height).

ReturnValue

Returns new resize parameters.

See Also