PdfFileEditor.ContentsResizeParameters.MarginsPercent

PdfFileEditor.ContentsResizeParameters.MarginsPercent method

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

public static 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).

Return Value

Returns new resize parameters.

See Also