RasterFrame_SetDPISizeΒΆ

Change the resolution of a raster frame.
RasterFrame_SetDPISize(imgDocRef; frameIdx; dpiSize{; oriented})
imgDocRef Text The raster document reference.
frameIdx Longint The index of the raster frame.
dpiSize Object The new DPI size of the frame.
oriented Boolean Whether the dpiSize is expressed in the oriented or raw image coordinate space.

Change the resolution of the raster frame specified by imgDocRef and frameIdx.

Parameter imgDocRef is the raster document reference. If imgDocRef refers to a PDF document, this method does nothing.

Parameter frameIdx is the index of the image frame.

The new resolution is specified by the dpiSize parameter, which is a SizeObj object with its Width and Height properties expressed in pixels per inch and representing the new horizontal and vertical resolution respectively.

Note

This method is a convenience wrapper for the RasterFrame_PushFilter method that pushes the Resolution filter into the raster frame’s edit stack.