PsDocument.ResizeEps

PsDocument.ResizeEps method

Resizes given PsDocument as EPS file. This method is used only after extracting EPS size. It saves initial EPS file with updated existing %%BoundingBox or new one will be created. Page transformation matrix also will be set.

public void ResizeEps(Stream epsStream, SizeF newSizeInUnits, Units units)
ParameterTypeDescription
epsStreamStreamStream of output EPS file.
newSizeInUnitsSizeFNew size of EPS image in assigned units.
unitsUnitsThe units of the new size. Can be points, inches, millimeters, centimeters and percents of initial size.

See Also