|
ResetImageEx
public int PeFunction.ResetImageEx(int extentX, int extentY, int originX, int originY)
The ResetImageEx function rebuilds the control's internal metafile used to paint itself and export via PEgetmeta.
The ResetImageEx function is designed to be called in custom printing logic. The parameters extentX and extentY should match the units used when calling Windows API SetViewportExt. The originX and originY parameters should match the units used when calling Windows API SetViewportOrg.
This function was needed to handle the new clipping logic built into the image construction process. By default, DisableClipping is FALSE and clipping is enabled, so this function is generally necessary in custom printing logic. If clipping is disabled, then ResetImage can be used instead of ResetImageEx.
Comments For printing example code see common Question 21.
PeFunction.ResetImageEx members of Pego.PeFunction, Pesgo.PeFunction, Pe3do.PeFunction, Pepso.PeFunction, Pepco.PeFunction
See Also: PeFunction.ResetImage, PEgetmeta
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |