<< Click to Display Table of Contents >> UDOIsPrinting |
[Professional Edition and above, not available for Java, PHP, Python, Ruby]
If you want to be able, to scale the visual content of a UDO accordingly to the scale of the Preview, the scale of a printing device or the scale of a virtual surface (i.e. when exporting to PDF or an image) you need to be able to determine onto what surface the UDO has to be drawn. Use this property as well as the UDOIsExporting property for such a task. Do not use the property IsPrinting because while the print job is running and IsPrinting = true, it can still happen that the UDO needs to be painted onto the screen surface, for example because you moved a window of another application over the preview of VPE.
property boolean VPE.UDOIsPrinting
read; runtime only
Returns:
Value |
Description |
True |
yes, the UDO has to be drawn onto a printer’s surface |
False |
no, the UDO has not to be drawn onto a printer’s surface |
Remarks:
This property is useful for the ActiveX and VCL. The .NET control sets the UDOGraphics.ScaleTransform() already accordingly to the output surface and any applied scaling factor.