RenderDirect(Unit,Unit,RenderObject,Object,Object) Method
Adds a
C1.C1Preview.RenderObject to the
C1.C1Preview.C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.
This method can only be used if C1.C1Preview.C1PrintDocument.IsStartEndDocMode is true.
'Declaration
Public Overloads Function RenderDirect( _
ByVal As Unit, _
ByVal As Unit, _
ByVal As RenderObject, _
ByVal As Object, _
ByVal As Object _
) As Boolean
public bool RenderDirect(
Unit ,
Unit ,
RenderObject ,
object ,
object
)
Parameters
- x
- The horizontal (X) coordinate at which to render the object (cannot be auto).
- y
- The vertical (Y) coordinate at which to render the object (cannot be auto).
- ro
- The C1.C1Preview.RenderObject object to render.
- width
- The width of the object (if null, auto is used).
- height
- The height of the object (if null, auto is used).
Return Value
true if no warnings were generated by this call, false otherwise.