C1.C1Preview Namespace > C1PrintDocument Class > RenderDirect Method : RenderDirect(Unit,Unit,RenderObject,Object,Object) Method |
This method can only be used if C1PrintDocument.IsStartEndDocMode is true.
The specified dimensions (width and height) are assigned to the RenderObject.Width and RenderObject.Height properties of the passed object.
As all other RenderBlock..., RenderDirect... and RenderInline... methods, This method can only be used between calls to C1PrintDocument.StartDoc and C1PrintDocument.EndDoc on the current document, i.e. when the C1PrintDocument.IsStartEndDocMode property is true.
Do not use this method if the document is generated with a call to the C1PrintDocument.Generate method.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2