C1.C1Preview Namespace > C1PrintDocument Class > RenderDirect Method : RenderDirect(Unit,Unit,RenderObject,Object,Object) Method |
This method can only be used if 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 StartDoc and EndDoc on the current document, i.e. when the IsStartEndDocMode property is true.
Do not use this method if the document is generated with a call to the 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